/* ===== DETAIL CARD ===== */
.nd-card {
    padding: 40px;
    border-radius: 18px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);

    backdrop-filter: blur(10px);
}

/* ===== LAYOUT ===== */
.nd-wrap {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* ===== LEFT IMAGE ===== */

.nd-image {
    width: 400px;
    min-width: 400px;

    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
}



.nd-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

    transition: transform 0.3s ease;
}

.nd-image:hover img {
    transform: scale(1.2);
}

/* ===== RIGHT CONTENT ===== */
.nd-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* TITLE */
.nd-title {
    font-size: 32px;
    font-weight: 600;
    color: 4fd1c5;
}

/* CODE */
.nd-code {
    font-size: 22px;
    font-weight: 700;
    color: #4fd1c5;
}

/* PRICE */
.nd-price {
    font-size: 24px;
    font-weight: 800;
    
}

.nd-name {
    font-size: 24px;
    font-weight: 400;
   
}

/* META */
.nd-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #cbd5e1;
}

.nd-meta div {
    margin-bottom: 5px;
}

.nd-meta strong {
    color: #4fd1c5;
}

.nd-detail {
    font-size: 18px;
    font-weight: 800;
    color: #6699FF;
}

/* STOCK */
.nd-stock {
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.nd-stock.ok {
    background: rgba(34,197,94,0.2);
    color: #22c55e;
}

.nd-stock.no {
    background: rgba(239,68,68,0.2);
    color: #FFFFFF;
    font-size: 18px;
}

/* DESCRIPTION */
.nd-desc {
    margin-top: 15px;
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.6;
}

/* ------------------ */

/* ?? FIX PRO SEARCH LIST */
.nd-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.nd-row-style {
  border-bottom:1px solid rgba(255,255,255,0.1);
  padding:50px;"
}

.nd-left {
    width: 300px;
    min-width: 300px;
}

.nd-left-smoll {
    width: 200px;
    min-width: 200px;
}

.nd-main-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.nd-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.nd-info {

    text-align: left;
}

/* ========   tabiulka  */
.nd-table {
    border-radius: 10px;
    overflow: hidden;
}

.nd-name_tab {
    font-weight: 500;
    font-size: 14px;
}

.nd-code_tab {
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

.nd-code_tab:hover {
    text-decoration: underline;
}

.nd-price_tab {
    font-weight: 600;
    white-space: nowrap;
}

.table-hover tbody tr:hover {
    background-color: rgba(13,110,253,0.05);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .nd-wrap {
        flex-direction: column;
        text-align: center;
    }

    .nd-image {
        width: 100%;
        height: 220px;
    }

    .nd-title {
        font-size: 22px;
    }

    .nd-price {
        font-size: 28px;
    }
}