/* =============================================================================
   Nooni Adello — Product Page CSS
   Loaded only on is_singular('product')
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Variables
   --------------------------------------------------------------------------- */
:root {
    --nca-green:        #2e7d32;
    --nca-green-light:  #4caf50;
    --nca-green-hover:  #1b5e20;
    --nca-black:        #1a1a1a;
    --nca-gray:         #555;
    --nca-gray-light:   #f5f5f5;
    --nca-border:       #e0e0e0;
    --nca-radius:       8px;
    --nca-shadow:       0 2px 12px rgba(0,0,0,.08);
    --nca-max-width:    1240px;
    --nca-transition:   .2s ease;
}

/* ---------------------------------------------------------------------------
   Layout helpers
   --------------------------------------------------------------------------- */
.nca-container {
    max-width: var(--nca-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.nca-section {
    padding: 48px 0;
}

.nca-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--nca-black);
}

/* Nagłówek sekcji + link obok (np. "zobacz więcej opinii" do /nasze-realizacje/) */
.nca-section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 28px;
}
.nca-section-title-row .nca-section-title {
    margin-bottom: 0;
}

.nca-section-title-link {
    flex: 0 0 auto;
    font-size: .95rem;
    color: var(--nca-gray);
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    line-height: 1.3;
    white-space: nowrap;
    transition: color .15s;
}
.nca-section-title-link:hover,
.nca-section-title-link:focus {
    color: var(--nca-green);
    background: none; /* Nooni reset override */
}

/* ---------------------------------------------------------------------------
   Hide WC form wrapper (keep in DOM for JS/cart compatibility)
   --------------------------------------------------------------------------- */
.nca-wc-form-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

/* ---------------------------------------------------------------------------
   SEKCJA 1 — HERO
   --------------------------------------------------------------------------- */
.nca-hero {
    background: #fff;
    padding-top: 32px;
}

@media (max-width: 768px) {
    .nca-hero { padding-top: 8px; }
    .nca-konfigurator-section { padding-top: 12px; padding-bottom: 16px; }
}

.nca-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .nca-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Gallery */
.nca-gallery {
    position: relative;
    min-width: 0;
}

.nca-gallery-main {
    position: relative;
    background: var(--nca-gray-light);
    border-radius: var(--nca-radius);
    overflow: hidden;
    /* Zdjęcia produktowe (rozmiar "woocommerce_single") są generowane przez
       WordPress jako kwadrat 1000×1000 — pudełko 4:3 było od nich węższe,
       więc object-fit:cover ucinał górę i dół zdjęcia, żeby dopasować
       szerokość. 1:1 dokładnie odpowiada realnym wymiarom, więc nic się
       już nie przycina. */
    aspect-ratio: 1/1;
    touch-action: pan-y;  /* allow JS to intercept horizontal swipes */
}

.nca-gallery-main img,
.nca-gallery-main a {
    display: block;
    width: 100%;
    height: 100%;
}

.nca-gallery-main img {
    object-fit: cover;
    transition: opacity var(--nca-transition);
}

.nca-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.85);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--nca-transition);
    -webkit-tap-highlight-color: transparent;
}

.nca-gallery-nav:hover { background: #fff; }
.nca-gallery-prev { left: 10px; }
.nca-gallery-next { right: 10px; }

.nca-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.nca-thumb {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color var(--nca-transition);
}

.nca-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nca-thumb:hover,
.nca-thumb-active {
    border-color: var(--nca-green-light);
}

/* Lightbox */
.nca-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.nca-lightbox.active {
    display: flex;
}

.nca-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nca-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 4px;
}

.nca-lightbox-close,
.nca-lightbox-prev,
.nca-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--nca-transition);
}

.nca-lightbox-close:hover,
.nca-lightbox-prev:hover,
.nca-lightbox-next:hover {
    background: rgba(255,255,255,.3);
}

.nca-lightbox-close { top: -50px; right: 0; }
.nca-lightbox-prev  { left: -60px; top: 50%; transform: translateY(-50%); }
.nca-lightbox-next  { right: -60px; top: 50%; transform: translateY(-50%); }

.nca-lightbox-counter {
    position: absolute;
    bottom: -36px;
    color: #ccc;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .nca-lightbox-prev { left: 4px; bottom: -52px; top: auto; transform: none; }
    .nca-lightbox-next { right: 4px; bottom: -52px; top: auto; transform: none; }
}

/* Product summary */
.nca-product-summary { padding-top: 8px; min-width: 0; }

.nca-badge {
    display: inline-block;
    background: var(--nca-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.nca-product-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--nca-black);
}

.nca-short-desc {
    color: var(--nca-gray);
    margin-bottom: 16px;
    font-size: .97rem;
}

.nca-trustmate-stars {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 16px;
}

/*
 * TrustMate's JS (setTimeout) injects inline margin onto #tm-widget-hornet,
 * making the container taller than the visible stars.  We clip that extra
 * whitespace so the flex "center" lines up with the actual star row.
 */
.nca-tm-stars-widget {
    flex: 0 0 auto;
    overflow: hidden;
    /* cap height to just the star row — TrustMate stars are ~24 px tall */
    max-height: 2.2em;
    display: flex;
    align-items: center;
}

/* Kill any margin TrustMate JS injects below its widget div */
.nca-tm-stars-widget #tm-widget-hornet,
.nca-tm-stars-widget > div {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.nca-trustmate-stars a {
    text-decoration: none;
}

/* "Zobacz opinie" link */
.nca-more-reviews-link {
    flex: 0 0 auto;
    align-self: center;
    font-size: .98rem;
    color: var(--nca-gray);
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    line-height: 1;
    white-space: nowrap;
    transition: color .15s;
}
.nca-more-reviews-link:hover,
.nca-more-reviews-link:focus {
    color: var(--nca-green);
    background: none; /* Nooni reset override */
}

.nca-price-wrap {
    margin-bottom: 20px;
}

.nca-price .woocommerce-Price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--nca-black);
}

.nca-vat-note {
    font-size: .82rem;
    color: var(--nca-gray);
    margin: 2px 0 0;
}

/* ---------- Benefits list: 2-col chip grid ---------- */
.nca-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.nca-benefits-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    background: var(--nca-gray-light);
    border-radius: 10px;
    font-size: .8rem;
    color: var(--nca-black);
    line-height: 1.3;
}

/* Icon circle */
.nca-benefit-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(46, 125, 50, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nca-benefits-list .dashicons {
    color: var(--nca-green);
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 1;
}

/* Flaga Polski — emoji, żeby nie zależeć od fontu dashicons (nie jest
   wczytywany na froncie strony) i mieć naturalne biało-czerwone barwy. */
.nca-benefit-icon-flag {
    font-size: 16px;
    line-height: 1;
}

/* CTA buttons */
.nca-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nca-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: var(--nca-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background var(--nca-transition), color var(--nca-transition), border-color var(--nca-transition);
    line-height: 1.3;
}

.nca-btn-primary {
    background: var(--nca-green);
    color: #fff;
    border-color: var(--nca-green);
    width: 100%;
}

.nca-btn-primary:hover {
    background: var(--nca-green-hover);
    border-color: var(--nca-green-hover);
    color: #fff;
}

.nca-btn-secondary {
    background: transparent;
    color: var(--nca-black);
    border-color: var(--nca-black);
    width: 100%;
}

.nca-btn-secondary:hover {
    background: var(--nca-black);
    color: #fff;
}

.nca-btn-outline {
    background: transparent;
    color: var(--nca-green);
    border-color: var(--nca-green);
}

.nca-btn-outline:hover {
    background: var(--nca-green);
    color: #fff;
}

.nca-btn-full {
    display: block;
    width: 100%;
}

.nca-btn.nca-btn-disabled,
.nca-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: auto;
}

.nca-validation-msg {
    font-size: .82rem;
    color: var(--nca-gray);
    text-align: center;
    margin: 6px 0 0;
    padding: 0;
}

.nca-btn-big {
    padding: 16px 24px;
    font-size: 1.1rem;
}

/* "Zapytaj o produkt" — small, understated text link */
.nca-btn-inquiry {
    background: transparent;
    border: none;
    color: var(--nca-gray);
    font-size: .82rem;
    font-weight: 400;
    padding: 6px 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: color .15s;
    display: block;
}
.nca-btn-inquiry:hover,
.nca-btn-inquiry:focus {
    color: var(--nca-black);
    background: transparent;
    border-color: transparent;
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   SEKCJA KORZYŚCI — jasne, stonowane tło i kafelki
   --------------------------------------------------------------------------- */
.nca-tiles-section {
    background: var(--nca-gray-light);
}

@media (max-width: 768px) {
    .nca-tiles-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .nca-tile {
        padding: 12px 8px;
        gap: 5px;
    }
    .nca-tile-icon.dashicons {
        font-size: 26px;
        width: 26px;
        height: 26px;
    }
    .nca-tile-title { font-size: .8rem; }
    .nca-tile-subtitle { font-size: .72rem; }
}

.nca-tiles-row {
    display: grid;
    /* auto-fit zamiast sztywnych 4 kolumn: kafelki da się teraz pojedynczo
       ukrywać (np. 3 zamiast 4 w stolikach z laminatu) — tak zostają równo
       rozciągnięte na całą szerokość zamiast zostawiać pustą 4. kolumnę. */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

@media (max-width: 900px) {
    .nca-tiles-row { grid-template-columns: repeat(2, 1fr); }
}

.nca-tile {
    background: #fff;
    border: 1px solid var(--nca-border);
    border-radius: var(--nca-radius);
    padding: 13px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: none;
}

/* Indywidualne kolory kafelków — subtelne, pastelowe podbicia.
   Przypięte do data-atut (tożsamość kafelka), nie :nth-child — kafelki da
   się teraz pojedynczo ukrywać (np. "Możliwość rozkładania" w stolikach z
   laminatu), więc kolejność w DOM już nie zawsze odpowiada 1-2-3-4. */
.nca-tiles-row .nca-tile[data-atut="1"] { background: rgba(190,155,95,.08);  border-color: rgba(190,155,95,.28); }
.nca-tiles-row .nca-tile[data-atut="2"] { background: rgba(75,145,200,.08);  border-color: rgba(75,145,200,.28); }
.nca-tiles-row .nca-tile[data-atut="3"] { background: rgba(120,150,175,.08); border-color: rgba(120,150,175,.28); }
.nca-tiles-row .nca-tile[data-atut="4"] { background: rgba(65,155,85,.08);   border-color: rgba(65,155,85,.28); }

.nca-tile-icon.dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: var(--nca-green);
}

.nca-tile-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--nca-black);
}

.nca-tile-subtitle {
    font-size: .8rem;
    color: var(--nca-gray);
}

/* ---------------------------------------------------------------------------
   SEKCJA 3 — KONFIGURATOR
   --------------------------------------------------------------------------- */
.nca-konfigurator-section {
    background: #fff;
}

.nca-konfigurator-loading {
    color: var(--nca-gray);
    font-style: italic;
}

.nca-konfigurator-ui {
    width: 100%;
}

.nca-konfigurator-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1023px) and (min-width: 769px) {
    .nca-konfigurator-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .nca-konfigurator-cols { grid-template-columns: 1fr; }
}

/* Numer kroku (Krok 1, Krok 2 …) */
.nca-step-num {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    color: var(--nca-green);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 2px;
    line-height: 1;
}

/* Single configurator column */
.nca-kol {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nca-kol-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nca-black);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--nca-green-light);
}

/* Nagłówek kolumny + akcja (np. "Zamów próbki kolorów", "Zobacz filmik na YT")
   w jednej linii. Specificity z elementem (h3/a) gwarantuje wygraną nad
   bardziej stonowanymi regułami .nca-step-konfig-section niezależnie od kolejności. */
.nca-kol-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--nca-green-light);
}
.nca-kol-title-row h3.nca-kol-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.nca-kol-title-row a.nca-probki-link,
.nca-kol-title-row a.nca-dostawki-link {
    margin-top: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Text tiles list (fallback / other columns) */
.nca-opt-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

/* Rozmiar blatu — 3 cols desktop, 6 cols mobile */
.nca-opt-list-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.nca-opt-list-tiles .nca-opt-text {
    padding: 8px 4px;
    font-size: .75rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .nca-opt-list-tiles { grid-template-columns: repeat(5, 1fr); }
    .nca-opt-list-tiles .nca-opt-text {
        padding: 6px 2px;
        font-size: .65rem;
    }
}

/* YouTube link for dostawki column (shown below swatches) */
.nca-dostawki-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--nca-green);
    text-decoration: none;
    margin-top: 10px;
    line-height: 1.3;
    background: #fff;
    border: 1.5px solid var(--nca-green);
    border-radius: 20px;
    padding: 5px 13px 5px 10px;
    box-shadow: 0 3px 10px rgba(46,125,50,.2), 0 1px 3px rgba(0,0,0,.08);
    transition: background var(--nca-transition), color var(--nca-transition),
                box-shadow var(--nca-transition), transform var(--nca-transition);
}
.nca-dostawki-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.nca-dostawki-link:hover,
.nca-dostawki-link:focus {
    color: #fff;
    background: var(--nca-green);
    text-decoration: none;
    border-color: var(--nca-green);
    box-shadow: 0 5px 16px rgba(46,125,50,.32), 0 2px 6px rgba(0,0,0,.12);
    transform: translateY(-1px);
}

/* Link do próbek kolorów blatu */
.nca-probki-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--nca-green);
    text-decoration: none;
    margin-top: 10px;
    line-height: 1.3;
}
.nca-probki-link .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.nca-probki-link:hover,
.nca-probki-link:focus {
    color: var(--nca-green-hover);
    text-decoration: underline;
    background: none;
    border-color: transparent;
}

/* Rozmiary blatu — kafelki jak color swatches */
.nca-tile-rozmiar {
    padding: 6px 4px !important;
    font-size: .72rem;
    line-height: 1.25;
    min-width: 64px;
    max-width: 64px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* "więcej" tile wewnątrz swatch-list-rozmiar */
.nca-swatch-list-rozmiar .nca-swatch-more {
    width: 46px !important;
    min-width: 46px;
    max-width: 46px;
    min-height: 52px !important;
    height: auto !important;
    border-style: dashed;
    border-radius: var(--nca-radius) !important;
    overflow: visible;
    flex-direction: column;
    justify-content: center;
    padding: 4px 3px !important;
    gap: 0;
    font-size: .65rem;
    line-height: 1.2;
    flex-shrink: 0;
}
.nca-swatch-list-rozmiar .nca-swatch-more-plus { font-size: .85rem; line-height: 1; }
.nca-swatch-list-rozmiar .nca-swatch-more-count { font-size: .85rem; font-weight: 700; line-height: 1; }
.nca-swatch-list-rozmiar .nca-swatch-more-text { font-size: .58rem; }

.nca-opt-text {
    padding: 10px 14px;
    border: 2px solid var(--nca-border);
    border-radius: var(--nca-radius);
    cursor: pointer;
    font-size: .9rem;
    transition: border-color var(--nca-transition), background var(--nca-transition);
    text-align: center;
    background: #fff;
    color: var(--nca-black);
    user-select: none;
}

.nca-opt-text:hover {
    border-color: var(--nca-green-light);
    background: #fff;
    color: var(--nca-black);
}

.nca-opt-text.nca-selected {
    border-color: var(--nca-green);
    background: #e8f5e9;
    color: var(--nca-black);
    font-weight: 700;
    box-shadow: 0 0 0 2px var(--nca-green), 0 2px 6px rgba(46,125,50,.12);
}

/* Swatch tiles (Kolor blatu / konstrukcji / dostawki) */
.nca-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.nca-swatch {
    width: 70px;
    border: 2px solid var(--nca-border);
    border-radius: var(--nca-radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--nca-transition), transform var(--nca-transition);
    background: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* needed for .nca-multi-badge */
}

.nca-swatch:hover {
    border-color: var(--nca-green-light);
    transform: scale(1.05);
    z-index: 1;
    position: relative;
}

.nca-swatch.nca-selected {
    border-color: var(--nca-green);
    box-shadow: 0 0 0 3px var(--nca-green), 0 2px 8px rgba(46,125,50,.2);
}

/* Odznaka numeryczna dla multi-select (dostawki 1 / 2) */
.nca-multi-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--nca-green);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    line-height: 1;
    pointer-events: none;
}

/* Podpowiedź "Możesz wybrać max 2" dla kolumn z multi-select */
.nca-multi-hint {
    font-size: .73rem;
    color: var(--nca-gray);
    margin-bottom: 8px;
    display: block;
}

.nca-swatch img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    display: block;
    /* Long-press on mobile should trigger our own tap-to-preview (see
       product-configurator.js), not the browser's native "save image"
       menu — this suppresses iOS Safari's long-press callout. */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.nca-swatch-label {
    font-size: .68rem;
    text-align: center;
    padding: 3px 4px;
    line-height: 1.2;
    color: var(--nca-black);
    word-break: break-word;
}

.nca-swatch-no-img {
    width: 70px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nca-gray-light);
    font-size: .75rem;
    text-align: center;
    padding: 4px;
}

/* Show more / less */
.nca-show-more-btn,
.nca-show-less-btn {
    background: transparent;
    border: none;
    color: var(--nca-green);
    cursor: pointer;
    font-size: .85rem;
    padding: 4px 0;
    text-decoration: underline;
    display: block;
}

.nca-show-more-btn:hover,
.nca-show-less-btn:hover {
    background: transparent;
    border-color: transparent;
    color: var(--nca-green-hover);
}

/* Zoom preview (JS-injected into body on swatch hover) */
.nca-swatch-zoom-preview {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.22);
    pointer-events: none;
    background: #fff;
    border: 2px solid var(--nca-border);
    z-index: 99990;
}
.nca-swatch-zoom-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dostawki & kolor konstrukcji — desktop: 2 per row, bigger tiles */
.nca-kol-dostawki .nca-swatch-list,
.nca-kol-konstrukcja .nca-swatch-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.nca-kol-dostawki .nca-swatch,
.nca-kol-konstrukcja .nca-swatch {
    width: 100%;
    height: auto;
    min-height: 90px;
}
.nca-kol-dostawki .nca-swatch img,
.nca-kol-konstrukcja .nca-swatch img {
    height: 70px;
    width: 100%;
    object-fit: cover;
}
.nca-kol-dostawki .nca-swatch-no-img,
.nca-kol-konstrukcja .nca-swatch-no-img {
    height: 70px;
    width: 100%;
}
.nca-kol-dostawki .nca-swatch-label,
.nca-kol-konstrukcja .nca-swatch-label {
    font-size: .7rem;
    padding: 4px 6px 5px;
    line-height: 1.25;
}

/* Mobile: dostawki & kolor ramy — single row, 4 equal columns, compact tiles */
@media (max-width: 768px) {
    .nca-kol-dostawki .nca-swatch-list,
    .nca-kol-konstrukcja .nca-swatch-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    .nca-kol-dostawki .nca-swatch,
    .nca-kol-konstrukcja .nca-swatch {
        min-height: 64px;
    }
    .nca-kol-dostawki .nca-swatch img,
    .nca-kol-konstrukcja .nca-swatch img {
        height: 40px;
    }
    .nca-kol-dostawki .nca-swatch-no-img,
    .nca-kol-konstrukcja .nca-swatch-no-img {
        height: 40px;
        width: 100%;
    }
    .nca-kol-dostawki .nca-swatch-label,
    .nca-kol-konstrukcja .nca-swatch-label {
        font-size: .62rem;
        padding: 3px 4px 4px;
        line-height: 1.2;
    }
}

/* Show-more as an inline swatch tile */
.nca-swatch.nca-swatch-more {
    width: 70px;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border: 2px dashed var(--nca-border);
    background: #fafafa;
    padding: 6px 4px;
    overflow: visible;
}
.nca-kol-dostawki .nca-swatch.nca-swatch-more,
.nca-kol-konstrukcja .nca-swatch.nca-swatch-more {
    width: 100%;
    min-height: 90px;
}
.nca-swatch-more-plus {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--nca-green);
    font-weight: 300;
}
.nca-swatch-more-count {
    font-size: .9rem;
    font-weight: 700;
    color: var(--nca-black);
    line-height: 1;
}
.nca-swatch-more-text {
    font-size: .65rem;
    color: var(--nca-gray);
    line-height: 1;
}

/* Price add-on note */
.nca-price-addon {
    font-size: .75rem;
    font-weight: 600;
    color: var(--nca-green);
    display: block;
    margin-top: 3px;
    letter-spacing: .02em;
}

/* ---------------------------------------------------------------------------
   SEKCJA "TWOJA KONFIGURACJA" — zintegrowana z konfiguratorem
   --------------------------------------------------------------------------- */
.nca-summary-section {
    margin-top: 20px;
    background: transparent;
}

.nca-summary-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--nca-black);
}

.nca-summary-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    background: var(--nca-gray-light);
    border-radius: var(--nca-radius);
    padding: 24px 28px;
    box-shadow: none;
    border: 1px solid var(--nca-border);
}

@media (max-width: 900px) {
    .nca-summary-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


.nca-summary-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--nca-border);
    font-size: .92rem;
}

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

.nca-sl {
    font-weight: 700;
    min-width: 140px;
    color: var(--nca-black);
}

.nca-summary-price-block {
    min-width: 220px;
}

.nca-summary-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--nca-green);
}

.nca-summary-raty {
    font-size: .88rem;
    color: var(--nca-gray);
    margin-bottom: 14px;
}

/* Desktop ≥1024px: konfigurator (4 cols) + podsumowanie 280px po prawej */
@media (min-width: 1024px) {
    .nca-konfigurator-section > .nca-container {
        display: grid;
        grid-template-columns: 1fr 280px;
        column-gap: 28px;
    }
    .nca-konfigurator-section > .nca-container > .nca-section-title {
        grid-column: 1 / -1;
    }
    .nca-summary-section {
        margin-top: 0;
        align-self: start;
        position: sticky;
        top: 90px;
    }
    /* flex-column + overflow:hidden — wiersze nie mogą wyjść poza szare tło */
    .nca-summary-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 18px 20px;
        overflow: hidden;
    }
    .nca-summary-title {
        font-size: 1rem;
        margin: 0 0 14px;
    }
    .nca-summary-details {
        width: 100%;
        margin-bottom: 16px;
    }
    .nca-summary-price-block {
        min-width: 0;
        width: 100%;
    }
    .nca-summary-row {
        font-size: .82rem;
        padding: 5px 0;
        min-width: 0;
    }
    .nca-summary-row > * {
        min-width: 0;
    }
    .nca-sl {
        min-width: 0;
        flex-shrink: 0;
        white-space: nowrap;
        padding-right: 8px;
        font-size: .82rem;
    }
    .nca-summary-price {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }
    .nca-summary-raty {
        font-size: .82rem;
        margin-bottom: 10px;
    }
}

/* ---------------------------------------------------------------------------
   SEKCJA 5 — ZESTAWY
   --------------------------------------------------------------------------- */
.nca-zestawy-section {
    background: #fff;
    padding-top: 24px;
    padding-bottom: 24px;
}

.nca-zestawy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .nca-zestawy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .nca-zestawy-grid { grid-template-columns: repeat(2, 1fr); }
}

.nca-zestaw-card {
    border: 1px solid var(--nca-border);
    border-radius: var(--nca-radius);
    padding: 14px 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    transition: border-color var(--nca-transition), box-shadow var(--nca-transition);
}

.nca-zestaw-card:hover {
    border-color: var(--nca-green-light);
    box-shadow: var(--nca-shadow);
}

.nca-zestaw-featured {
    border-color: var(--nca-green);
}

.nca-zestaw-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    background: var(--nca-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 0 0 6px 6px;
}

.nca-zestaw-name {
    font-size: .95rem;
    font-weight: 700;
    margin: 0;
    color: var(--nca-black);
}

.nca-zestaw-opis {
    font-size: .8rem;
    color: var(--nca-gray);
    margin: 0;
}

.nca-zestaw-params {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .78rem;
    color: var(--nca-black);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nca-zestaw-params li { display: flex; gap: 6px; }

.nca-zestaw-card .nca-btn { margin-top: auto; }

/* FPF zestawy (linked bundles) — zawsze 2 kolumny */
.nca-fpf-zestawy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.nca-fpf-zestaw-item {
    border: 1px solid var(--nca-border);
    border-radius: var(--nca-radius);
    padding: 10px 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    min-width: 0;
}

/* zestawstyle — tekst po lewej, zdjęcie po prawej, układ poziomy */
.zestawstyle1 {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    border: none !important;
    padding: 0 !important;
    box-sizing: border-box;
    margin-bottom: 0 !important;
    gap: 10px;
    min-width: 0;
}
/* tekst — lewa strona, zajmuje resztę */
.zestawstyle2 {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    box-sizing: border-box;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    order: 1;
    overflow: hidden;
}
/* zdjęcie — prawa strona, stały rozmiar, bez obramowania */
.zestawstyle3 {
    flex: 0 0 76px;
    width: 76px !important;
    max-width: 76px;
    box-sizing: border-box;
    padding: 0 !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    order: 2;
    overflow: hidden;
}
.zestawstyle3 img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    flex-shrink: 0;
}

/* Tekst wewnątrz FPF zestaw */
.nca-fpf-zestaw-item p,
.nca-fpf-zestaw-item h4,
.nca-fpf-zestaw-item h3 {
    font-size: .78rem;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* "Przejdź do produktu" — mały link tekstowy */
.nca-fpf-zestaw-item a:not(.nca-btn):not(.button) {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--nca-green);
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-top: 2px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}
.nca-fpf-zestaw-item a:not(.nca-btn):not(.button):hover {
    color: var(--nca-green-hover);
    background: none;
    text-decoration: underline;
}
/* "Dodaj oba produkty do koszyka" button */
.nca-fpf-zestaw-item .button,
.nca-fpf-zestaw-item input[type="submit"],
.nca-fpf-zestaw-item button:not(#nca-add-to-cart-btn) {
    background: var(--nca-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--nca-radius) !important;
    padding: 7px 12px !important;
    font-size: .72rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 6px;
    line-height: 1.3;
    transition: background .2s !important;
    white-space: normal;
    box-shadow: none !important;
}
.nca-fpf-zestaw-item .button:hover,
.nca-fpf-zestaw-item input[type="submit"]:hover,
.nca-fpf-zestaw-item button:not(#nca-add-to-cart-btn):hover {
    background: var(--nca-green-hover) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: none !important;
}
/* Price inside bundle */
.nca-fpf-zestaw-item .woocommerce-Price-amount {
    font-size: .88rem;
    font-weight: 700;
    color: var(--nca-black);
}

/* ---------------------------------------------------------------------------
   SEKCJA 6 — REALIZACJE
   --------------------------------------------------------------------------- */
.nca-realizacje-section {
    background: var(--nca-gray-light);
}

.nca-realizacje-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .nca-realizacje-grid { grid-template-columns: repeat(2, 1fr); }
}

.nca-realizacja img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform var(--nca-transition);
}

.nca-realizacja a:hover img {
    transform: scale(1.03);
}

.nca-realizacja {
    overflow: hidden;
    border-radius: 6px;
}

.nca-realizacje-more {
    text-align: center;
    margin-top: 16px;
}

/* ---------------------------------------------------------------------------
   SEKCJA 7 — OPINIE
   --------------------------------------------------------------------------- */
.nca-opinie-section { background: #fff; }

.nca-admin-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    font-size: .9rem;
    border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   SEKCJA 9 — ZAKŁADKI
   --------------------------------------------------------------------------- */
.nca-tabs-section { background: #fff; }

.nca-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--nca-border);
    margin-bottom: 24px;
}

.nca-tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--nca-gray);
    position: relative;
    transition: color var(--nca-transition);
}

.nca-tab-btn:hover { color: var(--nca-black); }

.nca-tab-btn.nca-tab-active {
    color: var(--nca-green);
}

.nca-tab-btn.nca-tab-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--nca-green);
}

.nca-tab-panel { display: block; }
.nca-tab-panel[hidden] { display: none; }

.nca-product-desc {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--nca-black);
}

/* ---------------------------------------------------------------------------
   CF7 Modal
   --------------------------------------------------------------------------- */
#nca-inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
}

.nca-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.nca-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: var(--nca-radius);
    padding: 32px;
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
}

.nca-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #999;
}

.nca-modal-close:hover { color: var(--nca-black); }

/* ---------------------------------------------------------------------------
   Smooth scroll offset for sticky header
   --------------------------------------------------------------------------- */
#konfigurator,
#nca-summary,
#nca-zestawy,
#nca-realizacje,
#nca-section-opinie {
    scroll-margin-top: 80px;
}

/* ---------------------------------------------------------------------------
   NOONI THEME OVERRIDE
   reset.css: button:hover { background-color:#d10202; border-color:#d10202 }
   a:hover    { color: #d10202; text-decoration: underline }
   We must explicitly set ALL hover properties on every interactive element
   so Nooni's lower-specificity rules (button:hover = 0,1,1) are overridden
   by our class-based rules (0,2,0).
   --------------------------------------------------------------------------- */

/* Main CTA buttons (a + button elements) */
.nca-btn { text-decoration: none; }
.nca-btn:hover, .nca-btn:focus { text-decoration: none; }

.nca-btn-primary:hover, .nca-btn-primary:focus {
    background: var(--nca-green-hover);
    border-color: var(--nca-green-hover);
    color: #fff;
}
.nca-btn.nca-btn-disabled:hover,
.nca-btn:disabled:hover {
    background: var(--nca-green);
    border-color: var(--nca-green);
    color: #fff;
    cursor: not-allowed;
}
.nca-btn-secondary:hover, .nca-btn-secondary:focus {
    background: var(--nca-black);
    border-color: var(--nca-black);
    color: #fff;
}
.nca-btn-outline:hover, .nca-btn-outline:focus {
    background: var(--nca-green);
    border-color: var(--nca-green);
    color: #fff;
}

/* Tab nav buttons */
.nca-tab-btn:hover, .nca-tab-btn:focus {
    background: transparent;
    border-color: transparent;
    color: var(--nca-black);
}
.nca-tab-btn.nca-tab-active:hover, .nca-tab-btn.nca-tab-active:focus {
    background: transparent;
    border-color: transparent;
    color: var(--nca-green);
}

/* Configurator text tiles */
.nca-opt-text:hover, .nca-opt-text:focus {
    background: #fff;
    border-color: var(--nca-green-light);
    color: var(--nca-black);
}
.nca-opt-text.nca-selected:hover {
    background: #e8f5e9;
    border-color: var(--nca-green);
    box-shadow: 0 0 0 2px var(--nca-green), 0 2px 8px rgba(46,125,50,.18);
}

/* Configurator swatch tiles */
.nca-swatch:hover, .nca-swatch:focus {
    background: #fff;
    border-color: var(--nca-green-light);
}
.nca-swatch.nca-selected:hover {
    background: #fff;
    border-color: var(--nca-green);
    box-shadow: 0 0 0 3px var(--nca-green), 0 3px 10px rgba(46,125,50,.25);
}
.nca-swatch.nca-swatch-more:hover, .nca-swatch.nca-swatch-more:focus {
    background: #f0faf0;
    border-color: var(--nca-green-light);
    color: var(--nca-gray);
}

/* Gallery thumbs */
.nca-thumb:hover, .nca-thumb:focus {
    background: none;
    border-color: var(--nca-green-light);
}
.nca-thumb.nca-thumb-active:hover {
    background: none;
    border-color: var(--nca-green-light);
}

/* Gallery prev/next arrows */
.nca-gallery-nav:hover, .nca-gallery-nav:focus {
    background: #fff;
    border-color: transparent;
    color: var(--nca-black);
}

/* Show more / less */
.nca-show-more-btn:hover, .nca-show-more-btn:focus,
.nca-show-less-btn:hover,  .nca-show-less-btn:focus {
    background: none;
    border-color: transparent;
    color: var(--nca-green);
}

/* Lightbox controls */
.nca-lightbox-close:hover, .nca-lightbox-close:focus,
.nca-lightbox-prev:hover,  .nca-lightbox-prev:focus,
.nca-lightbox-next:hover,  .nca-lightbox-next:focus {
    background: rgba(255,255,255,.3);
    border-color: transparent;
    color: #fff;
}

/* Modal close */
.nca-modal-close:hover, .nca-modal-close:focus {
    background: none;
    border-color: transparent;
    color: var(--nca-black);
}

/* ---------------------------------------------------------------------------
   MOBILE COMPACT KONFIGURATOR
   All columns stacked (no tabs), compact CTA with summary at bottom.
   Desktop: 4-col grid + summary sidebar, CTA hidden.
   --------------------------------------------------------------------------- */

/* Desktop defaults: tabs and compact CTA are hidden */
.nca-konfig-tabs { display: none; }
.nca-konfig-cta  { display: none; }

@media (max-width: 768px) {
    /* Hide summary panel — mobile uses compact CTA strip instead */
    .nca-summary-section { display: none; }

    /* Tabs removed — keep container hidden */
    .nca-konfig-tabs { display: none; }

    /* Hide step number labels on mobile — save vertical space */
    .nca-step-num { display: none; }

    /* ---- All columns stacked, all visible ---- */
    .nca-konfigurator-cols {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .nca-konfigurator-cols .nca-kol {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Compact column titles on mobile */
    .nca-kol-title {
        font-size: .88rem;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    /* ---- Compact price + summary + CTA strip ---- */
    .nca-konfig-cta {
        display: block;
        padding: 14px 0 0;
        border-top: 2px solid var(--nca-border);
        margin-top: 16px;
    }

    /* Selected options chips row */
    .nca-konfig-summary-wrap {
        margin-bottom: 10px;
    }
    .nca-konfig-summary-label {
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--nca-gray);
        margin: 0 0 5px;
        padding: 0;
    }
    .nca-konfig-summary-items {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        min-height: 0;
    }
    .nca-konfig-sum-chip {
        background: var(--nca-gray-light);
        border: 1px solid var(--nca-border);
        border-radius: 20px;
        padding: 3px 10px;
        font-size: .72rem;
        color: var(--nca-black);
        white-space: nowrap;
    }

    /* Price + button row */
    .nca-konfig-bottom-row {
        display: flex;
        align-items: center;
        gap: 10px 14px;
    }
    .nca-konfig-price-wrap {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap; /* keep price+vat on one line */
    }
    /* Price + "z VAT" on one line, rata on line below */
    .nca-konfig-price {
        display: inline;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--nca-black);
        white-space: nowrap;
    }
    .nca-konfig-vat {
        display: inline;
        font-size: .7rem;
        color: var(--nca-gray);
        margin-left: 2px;
        white-space: nowrap;
    }
    .nca-konfig-rata {
        display: block;
        font-size: .72rem;
        color: var(--nca-gray);
        margin-top: 3px;
        white-space: nowrap;
    }
    #nca-konfig-add-btn {
        /* .nca-btn-primary sets width:100% globally — inside this flex row
           that claims the whole row and squashes .nca-konfig-price-wrap to
           0 width, making the price invisible even though its text is
           correctly updated. Override back to content-sized. */
        width: auto;
        flex-shrink: 0;
        padding: 13px 20px;
        font-size: .9rem;
        white-space: nowrap;
    }
    #nca-konfig-val-msg {
        width: 100%;
        text-align: center;
        margin: 6px 0 0;
    }
    /* Nooni hover override */
    #nca-konfig-add-btn:hover,
    #nca-konfig-add-btn:focus {
        background: var(--nca-green-hover);
        border-color: var(--nca-green-hover);
        color: #fff;
    }
    #nca-konfig-add-btn.nca-btn-disabled:hover,
    #nca-konfig-add-btn:disabled:hover {
        background: var(--nca-green);
        border-color: var(--nca-green);
        color: #fff;
    }
}

/* ---------------------------------------------------------------------------
   MOBILE OPTIMIZATIONS
   --------------------------------------------------------------------------- */

/* Rozmiary: 5 widocznych + kafelek "+więcej" — działa na desktopie i mobile */

/* Kafelek "więcej" w siatce text-tiles — wygląd jak nca-opt-text ----------- */
.nca-opt-list-tiles .nca-swatch-more {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    border-style: dashed;
    border-radius: var(--nca-radius) !important;
    padding: 4px 2px !important;
    overflow: visible;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    font-size: .65rem;
    line-height: 1.2;
}
.nca-opt-list-tiles .nca-swatch-more-plus { font-size: .85rem; line-height: 1; }
.nca-opt-list-tiles .nca-swatch-more-count { font-size: .85rem; font-weight: 700; line-height: 1; }
.nca-opt-list-tiles .nca-swatch-more-text { font-size: .58rem; }

/* Na mobile 5 kolumn dla text-tiles (6. to "więcej") */
@media (max-width: 768px) {
    .nca-opt-list-tiles { grid-template-columns: repeat(5, 1fr); }
}

/* Tap highlight off for interactive tiles */
.nca-opt-text,
.nca-swatch,
.nca-thumb,
.nca-tab-btn,
.nca-btn {
    -webkit-tap-highlight-color: transparent;
}

/* --- Phones ≤ 600px --- */
@media (max-width: 600px) {
    /* Container & section rhythm */
    .nca-container { padding: 0 16px; }
    .nca-section    { padding: 32px 0; }

    /* Typography scale-down */
    .nca-section-title { font-size: 1.4rem; margin-bottom: 18px; }
    .nca-section-title-row { margin-bottom: 18px; }
    .nca-section-title-link { font-size: .85rem; }
    .nca-product-title { font-size: 1.5rem; }
    .nca-price .woocommerce-Price-amount { font-size: 1.5rem; }

    /* Hero gap */
    .nca-hero-inner { gap: 20px; }

    /* Benefits list — single column on phone */
    .nca-benefits-list { grid-template-columns: 1fr; gap: 6px; }

    /* Swatch tiles — slightly smaller on phone */
    .nca-swatch { width: 60px; }
    .nca-swatch img,
    .nca-swatch-no-img { height: 50px; }

    /* Summary — tighter padding, centred CTA block */
    .nca-summary-inner       { padding: 20px 16px; gap: 16px; }
    .nca-sl                  { min-width: 110px; }
    .nca-summary-price       { font-size: 1.35rem; }
    .nca-summary-price-block { text-align: center; }
    .nca-summary-raty        { text-align: center; }

    /* Tab nav — scrollable row, no wrap */
    .nca-tab-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
    .nca-tab-btn {
        padding: 12px 16px;
        white-space: nowrap;
        font-size: .92rem;
    }

    /* Zestaw card — less inner padding */
    .nca-zestaw-card { padding: 16px 14px; }

    /* FPF zestawy — 1 kolumna na telefonie */
    .nca-fpf-zestawy { grid-template-columns: 1fr; }
    .zestawstyle3 {
        flex: 0 0 88px;
        width: 88px !important;
        max-width: 88px;
    }
    .zestawstyle3 img {
        width: 88px;
        height: 88px;
    }

    /* Modal */
    .nca-modal-box { padding: 24px 20px; }
}

/* --- Very small phones ≤ 390px (e.g. iPhone SE 2nd gen) --- */
@media (max-width: 390px) {
    .nca-product-title { font-size: 1.3rem; }
    .nca-btn           { padding: 13px 18px; }

    /* Swatch even smaller */
    .nca-swatch { width: 58px; }
    .nca-swatch img,
    .nca-swatch-no-img { height: 46px; }

    /* Konfigurator column gap */
    .nca-konfigurator-cols { gap: 8px; }

    /* Summary label narrower */
    .nca-sl { min-width: 96px; }
}

/* --- Lightbox — accessible nav on mobile --- */
@media (max-width: 480px) {
    /* Close button — pull inside viewport */
    .nca-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    /* Prev / Next — large tap areas at bottom corners */
    .nca-lightbox-prev,
    .nca-lightbox-next {
        bottom: 16px;
        top: auto;
        transform: none;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
    .nca-lightbox-prev { left: 20px; }
    .nca-lightbox-next { right: 20px; }

    /* Counter above the buttons */
    .nca-lightbox-counter { bottom: 72px; }
}

/* ---------------------------------------------------------------------------
   "Dodaj do koszyka" secondary button (below "Kup teraz")
   --------------------------------------------------------------------------- */
.nca-btn-add-only {
    margin-top: 10px;
    padding: 11px 20px;
    font-size: .92rem;
    font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Full-width override — Nooni theme may constrain #primary to sidebar width
   (e.g. ~70%) depending on breadcrumb layout setting. Reset for our template.
   --------------------------------------------------------------------------- */
.nca-product-page #primary.site-content,
.nca-product-page #main-content > #primary {
    width: 100%;
    max-width: 100%;
    float: none;
    clear: both;
    padding-left: 0;
    padding-right: 0;
}

/* ---------------------------------------------------------------------------
   Pole tekstowe dla "Inny z palety X" — kolor własny
   --------------------------------------------------------------------------- */
.nca-kolor-wlasny-wrap {
    margin-top: 12px;
    padding: 12px 14px;
    background: #f9f6f2;
    border: 1px solid #e0d6cc;
    border-radius: 6px;
}
.nca-kolor-wlasny-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nca-kolor-wlasny-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: .92rem;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s;
}
.nca-kolor-wlasny-input:focus {
    outline: none;
    border-color: #8b6f47;
}

/* ---------------------------------------------------------------------------
   KONFIGURATOR
   --------------------------------------------------------------------------- */

.nca-step-konfig-section {
    background: #f4f2ee;
    border-top: 3px solid var(--nca-green-light);
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Tytuł sekcji — mniej miejsca */
.nca-step-konfig-section .nca-section-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Ukryj hint multi-select — max 2 dostawki widać już z odznaki na kafelku */
.nca-step-konfig-section .nca-multi-hint {
    display: none;
}

/* Step number — widoczna odznaka nad tytułem */
.nca-step-konfig-section .nca-step-num {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
    background: var(--nca-green);
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: 4px;
    padding: 2px 7px;
    margin-bottom: 4px;
    margin-right: 6px;
    line-height: 1.4;
}

/* Link YT — kompaktowy w step view */
.nca-step-konfig-section .nca-dostawki-link {
    display: inline-flex;
    margin-top: 6px;
    font-size: .68rem;
    padding: 3px 8px 3px 6px;
}

/* Zamów próbki — widoczny przycisk w step view (inline w swatch-list) */
.nca-step-konfig-section .nca-probki-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--nca-green);
    background: #fff;
    border: 1.5px solid var(--nca-green);
    border-radius: 20px;
    padding: 5px 10px 5px 8px;
    box-shadow: 0 2px 8px rgba(46,125,50,.18), 0 1px 3px rgba(0,0,0,.07);
    text-decoration: none;
    transition: background var(--nca-transition), color var(--nca-transition);
}
.nca-step-konfig-section .nca-probki-link:hover,
.nca-step-konfig-section .nca-probki-link:focus {
    background: var(--nca-green);
    color: #fff;
    text-decoration: none;
}

/* Tytuł kolumny — kompaktowy */
.nca-step-konfig-section .nca-kol-title {
    font-size: .82rem;
    margin-bottom: 6px;
    padding-bottom: 4px;
}

/* Wiersz nagłówka + przycisk (próbki / YT) — kompaktowe odstępy jak tytuł */
.nca-step-konfig-section .nca-kol-title-row {
    margin-bottom: 6px;
    padding-bottom: 4px;
}

/* ---- Siatka 2 kolumny, auto-flow -----------------------------------------
   Kolumny płyną w naturalnej kolejności DOM (auto-flow) zamiast sztywnych,
   z góry narzuconych 4 pozycji — konfigurator jest uniwersalny: różne
   produkty mają różne kombinacje pól (czasem brak koloru blatu, czasem
   dodatkowe pole, którego nie ma gdzie indziej), więc liczba i rodzaj
   kolumn nie są znane z góry. Rozmiar/kolor/dostawki/konstrukcja dostają
   swój wygląd przez klasę (.nca-kol-rozmiar itd.), nie przez pozycję.
   -------------------------------------------------------------------------*/
.nca-step-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    align-items: start;
    margin-bottom: 10px;
}

/* ---- Mobile/tablet: pojedyncza kolumna ----------------------------------- */
@media (max-width: 900px) {
    .nca-step-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ---- Rozmiary blatu (pos 1) — flex row kafelków (jak kolory blatu) ----- */
.nca-step-cols .nca-kol-rozmiar .nca-swatch-list-rozmiar {
    gap: 4px;
    flex-wrap: wrap;
}

.nca-step-cols .nca-kol-rozmiar .nca-tile-rozmiar {
    min-width: 92px;
    max-width: 92px;
    min-height: 96px;
    height: auto;
    font-size: .8rem;
}

.nca-step-cols .nca-kol-rozmiar .nca-swatch-more {
    width: 66px !important;
    min-width: 66px;
    max-width: 66px;
    min-height: 96px !important;
    height: auto !important;
}

/* ---- Swatche w widoku kompaktowym — reset base fixed sizes */
.nca-step-cols .nca-swatch {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-top: 5px;
    padding-bottom: 5px;
}

.nca-step-cols .nca-swatch img {
    object-fit: cover;
}

/* ---- Kolory blatu (pos 2) — kompaktowe swatche z widocznymi etykietami --- */
.nca-step-cols .nca-kol-blat .nca-swatch-list {
    gap: 6px;
    align-items: stretch;
}

.nca-step-cols .nca-kol-blat .nca-swatch {
    width: 88px;
    min-height: 96px;
    height: auto;
    justify-content: center;
}

.nca-step-cols .nca-kol-blat .nca-swatch img {
    width: 62px;
    height: 62px;
}

.nca-step-cols .nca-kol-blat .nca-swatch-no-img {
    width: 62px;
    height: 62px;
    font-size: .6rem;
}

.nca-step-cols .nca-kol-blat .nca-swatch-label {
    font-size: .6rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    text-align: center;
    max-width: 82px;
}

.nca-step-cols .nca-kol-blat .nca-swatch.nca-swatch-more {
    width: 88px;
}

/* Price addon — mniejszy font w step view żeby nie nachodzić */
.nca-step-cols .nca-price-addon {
    font-size: .58rem;
    margin-top: 2px;
    white-space: nowrap;
}

/* ---- Dostawki (pos 3) — wyśrodkowane, ~50% szersze niż odcień blatu ----- */
.nca-step-cols .nca-kol-dostawki .nca-swatch-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.nca-step-cols .nca-kol-dostawki .nca-swatch {
    width: 96px;
}

.nca-step-cols .nca-kol-dostawki .nca-swatch img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.nca-step-cols .nca-kol-dostawki .nca-swatch-no-img {
    width: 70px;
    height: 70px;
    font-size: .62rem;
}

.nca-step-cols .nca-kol-dostawki .nca-swatch-label {
    font-size: .58rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    text-align: center;
    max-width: 90px;
    padding: 0 3px;
}

/* ---- Kolor konstrukcji (pos 4) — wyśrodkowane, ~50% szersze ------------- */
.nca-step-cols .nca-kol-generic .nca-swatch-list,
.nca-step-cols .nca-kol-konstrukcja .nca-swatch-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.nca-step-cols .nca-kol-generic .nca-swatch,
.nca-step-cols .nca-kol-konstrukcja .nca-swatch {
    width: 96px;
}

.nca-step-cols .nca-kol-generic .nca-swatch img,
.nca-step-cols .nca-kol-konstrukcja .nca-swatch img {
    width: 70px;
    height: 70px;
}

.nca-step-cols .nca-kol-generic .nca-swatch-no-img,
.nca-step-cols .nca-kol-konstrukcja .nca-swatch-no-img {
    width: 70px;
    height: 70px;
    font-size: .62rem;
}

.nca-step-cols .nca-kol-generic .nca-swatch-label,
.nca-step-cols .nca-kol-konstrukcja .nca-swatch-label {
    font-size: .58rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    text-align: center;
    max-width: 90px;
    padding: 0 3px;
}

/* ---------------------------------------------------------------------------
   Telefon — wszystkie kafelki (rozmiar, odcień blatu, dostawki, konstrukcja)
   w JEDNYM, wspólnym wymiarze (szerokość + wysokość), tak by opcje + kafelek
   "+więcej" mieściły się w jednej linii. Dostawki i kolor konstrukcji
   wyrównane do lewej (nie wyśrodkowane) tak jak rozmiar i odcień blatu.
   Dwa poziomy: bazowy (391–600px, bezpieczny dla węższych telefonów typu
   Pixel/iPhone Pro) i większy (≥420px, iPhone Plus/Pro Max i duże Androidy),
   gdzie zmierzone na żywo zapasowe miejsce po prawej pozwala na większe kafelki.
   --------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-list-rozmiar,
    .nca-step-cols .nca-kol-blat .nca-swatch-list,
    .nca-step-cols .nca-kol-dostawki .nca-swatch-list,
    .nca-step-cols .nca-kol-generic .nca-swatch-list,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-list {
        gap: 3px;
        align-items: stretch;
    }

    /* Dostawki i kolor konstrukcji — start od lewej, nie wyśrodkowane */
    .nca-step-cols .nca-kol-dostawki .nca-swatch-list,
    .nca-step-cols .nca-kol-generic .nca-swatch-list,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-list {
        justify-content: flex-start;
    }

    /* Rozmiar blatu (pos 1) — min-height, nie height: kafelki z dłuższą etykietą
       lub dopłatą rosną, a cały rząd i tak wyrównuje się do najwyższego (stretch) */
    .nca-step-cols .nca-kol-rozmiar .nca-tile-rozmiar {
        min-width: 53px;
        max-width: 53px;
        min-height: 78px;
        height: auto;
        font-size: .6rem;
        padding: 3px 2px !important;
    }
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more {
        width: 53px !important;
        min-width: 53px;
        max-width: 53px;
        min-height: 78px !important;
        height: auto !important;
    }
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more-plus,
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more-count { font-size: .7rem; }
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more-text { font-size: .44rem; }

    /* Odcień blatu (pos 2) — wspólna wysokość z rozmiarem blatu */
    .nca-step-cols .nca-kol-blat .nca-swatch,
    .nca-step-cols .nca-kol-blat .nca-swatch.nca-swatch-more {
        width: 53px;
        min-height: 78px;
        height: auto;
        padding-top: 3px;
        padding-bottom: 3px;
    }
    .nca-step-cols .nca-kol-blat .nca-swatch img,
    .nca-step-cols .nca-kol-blat .nca-swatch-no-img {
        width: 38px;
        height: 38px;
    }
    .nca-step-cols .nca-kol-blat .nca-swatch-no-img { font-size: .44rem; }
    .nca-step-cols .nca-kol-blat .nca-swatch-label {
        font-size: .44rem;
        max-width: 49px;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    /* Dostawki (pos 3) i kolor konstrukcji (pos 4) — te same wymiary co wyżej */
    .nca-step-cols .nca-kol-dostawki .nca-swatch,
    .nca-step-cols .nca-kol-generic .nca-swatch,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch {
        width: 53px;
        min-height: 78px;
        height: auto;
    }
    .nca-step-cols .nca-kol-dostawki .nca-swatch img,
    .nca-step-cols .nca-kol-dostawki .nca-swatch-no-img,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch img,
    .nca-step-cols .nca-kol-generic .nca-swatch img,
    .nca-step-cols .nca-kol-generic .nca-swatch-no-img,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-no-img {
        width: 38px;
        height: 38px;
    }
    .nca-step-cols .nca-kol-dostawki .nca-swatch-no-img,
    .nca-step-cols .nca-kol-generic .nca-swatch-no-img,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-no-img {
        font-size: .44rem;
    }
    .nca-step-cols .nca-kol-dostawki .nca-swatch-label,
    .nca-step-cols .nca-kol-generic .nca-swatch-label,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-label {
        font-size: .44rem;
        max-width: 49px;
        padding: 0 2px;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    /* Cena dopłaty — mniejsza, żeby nie rozpychała kafelków */
    .nca-step-cols .nca-price-addon { font-size: .5rem; }
}

/* ---- Duże telefony ≥420px (iPhone Plus/Pro Max, duże Androidy) —
   zmierzone na żywo zapasowe miejsce po prawej pozwala na większe kafelki --- */
@media (min-width: 420px) and (max-width: 600px) {
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-list-rozmiar,
    .nca-step-cols .nca-kol-blat .nca-swatch-list,
    .nca-step-cols .nca-kol-dostawki .nca-swatch-list,
    .nca-step-cols .nca-kol-generic .nca-swatch-list,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-list {
        gap: 4px;
    }

    .nca-step-cols .nca-kol-rozmiar .nca-tile-rozmiar,
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more {
        min-width: 57px;
        max-width: 57px;
        min-height: 84px;
        height: auto;
        font-size: .64rem;
    }
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more {
        width: 57px !important;
        min-height: 84px !important;
        height: auto !important;
    }

    .nca-step-cols .nca-kol-blat .nca-swatch,
    .nca-step-cols .nca-kol-blat .nca-swatch.nca-swatch-more,
    .nca-step-cols .nca-kol-dostawki .nca-swatch,
    .nca-step-cols .nca-kol-generic .nca-swatch,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch {
        width: 57px;
        min-height: 84px;
        height: auto;
    }
    .nca-step-cols .nca-kol-blat .nca-swatch img,
    .nca-step-cols .nca-kol-blat .nca-swatch-no-img,
    .nca-step-cols .nca-kol-dostawki .nca-swatch img,
    .nca-step-cols .nca-kol-dostawki .nca-swatch-no-img,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch img,
    .nca-step-cols .nca-kol-generic .nca-swatch img,
    .nca-step-cols .nca-kol-generic .nca-swatch-no-img,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-no-img {
        width: 41px;
        height: 41px;
    }
    .nca-step-cols .nca-kol-blat .nca-swatch-label,
    .nca-step-cols .nca-kol-dostawki .nca-swatch-label,
    .nca-step-cols .nca-kol-generic .nca-swatch-label,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-label {
        font-size: .48rem;
        max-width: 53px;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
}

/* ---- Bardzo małe telefony (np. iPhone SE) — jeszcze ciaśniej ----------- */
@media (max-width: 390px) {
    .nca-step-cols .nca-kol-rozmiar .nca-tile-rozmiar,
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more {
        min-width: 46px;
        max-width: 46px;
        min-height: 70px;
        height: auto;
        font-size: .54rem;
    }
    .nca-step-cols .nca-kol-rozmiar .nca-swatch-more {
        width: 46px !important;
        min-height: 70px !important;
        height: auto !important;
    }

    .nca-step-cols .nca-kol-blat .nca-swatch,
    .nca-step-cols .nca-kol-blat .nca-swatch.nca-swatch-more,
    .nca-step-cols .nca-kol-dostawki .nca-swatch,
    .nca-step-cols .nca-kol-generic .nca-swatch,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch {
        width: 46px;
        min-height: 70px;
        height: auto;
    }
    .nca-step-cols .nca-kol-blat .nca-swatch img,
    .nca-step-cols .nca-kol-blat .nca-swatch-no-img,
    .nca-step-cols .nca-kol-dostawki .nca-swatch img,
    .nca-step-cols .nca-kol-dostawki .nca-swatch-no-img,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch img,
    .nca-step-cols .nca-kol-generic .nca-swatch img,
    .nca-step-cols .nca-kol-generic .nca-swatch-no-img,
    .nca-step-cols .nca-kol-konstrukcja .nca-swatch-no-img {
        width: 30px;
        height: 30px;
    }
}

/* ---- Podsumowanie — poziomy pasek na dole ------------------------------- */
.nca-step-summary-section {
    position: static !important;
    margin-top: 0;
}

/* Override desktop flex-column → poziomy rząd */
@media (min-width: 901px) {
    .nca-step-summary-section .nca-summary-inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 0;
        padding: 10px 18px;
        overflow: hidden;
    }

    /* Pola konfiguracji — poziomo, bez zawijania */
    .nca-step-summary-section .nca-summary-details {
        display: flex;
        flex-direction: row;
        flex: 1;
        width: auto;
        margin-bottom: 0;
        gap: 0;
        flex-wrap: nowrap;
        overflow: hidden;
        min-width: 0;
    }

    .nca-step-summary-section .nca-summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        border-bottom: none;
        border-right: 1px solid var(--nca-border);
        padding: 2px 12px 2px 0;
        margin-right: 12px;
        font-size: .78rem;
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }

    .nca-step-summary-section .nca-summary-row:last-child {
        border-right: none;
    }

    .nca-step-summary-section .nca-sl {
        min-width: 0;
        white-space: nowrap;
        font-size: .66rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--nca-green);
        padding-right: 0;
    }

    .nca-step-summary-section .nca-sum-val {
        font-weight: 600;
        font-size: .8rem;
        color: var(--nca-black);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    /* Blok cena + przyciski — po prawej */
    .nca-step-summary-section .nca-summary-price-block {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        min-width: 0;
        width: auto;
        flex-shrink: 0;
        padding-left: 12px;
        border-left: 1px solid var(--nca-border);
    }

    .nca-step-summary-section .nca-summary-price {
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .nca-step-summary-section .nca-summary-raty {
        font-size: .68rem;
        margin-bottom: 0;
        white-space: nowrap;
        color: var(--nca-gray);
    }

    .nca-step-summary-section .nca-btn-big {
        padding: 9px 16px;
        font-size: .82rem;
        white-space: nowrap;
        width: auto;
    }

    .nca-step-summary-section .nca-btn-add-only {
        padding: 7px 13px;
        font-size: .76rem;
        margin-top: 0;
        white-space: nowrap;
        width: auto;
    }

    .nca-step-summary-section .nca-validation-msg {
        white-space: nowrap;
        font-size: .72rem;
        margin: 0;
    }

    .nca-step-price-group {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }
}
