/* =========================================
   K DISHA NX - PROFESSIONAL NEW ARRIVALS
========================================= */

.kdn-na-page {
    background: #fff;
}

.kdn-na-page .kdn-container {
    width: min(1400px, calc(100% - 60px));
    margin: 0 auto;
}

/* TOP AREA */
.kdn-na-top {
    padding: 24px 0 18px;
    border-bottom: 1px solid #eee5dc;
    background: #fff;
}

.kdn-na-breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.kdn-na-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
}

.kdn-na-heading-row h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.1;
    color: #1f1b18;
    letter-spacing: 1px;
}

.kdn-na-heading-row p {
    margin: 7px 0 0;
    font-size: 14px;
    color: #6f6258;
}

.kdn-na-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.kdn-na-sort select {
    height: 36px;
    min-width: 160px;
    padding: 0 32px 0 10px;
    border: 1px solid #ded5cd;
    border-radius: 5px;
    background: #fff;
}

/* CATEGORY CIRCLES */
.kdn-na-category-strip {
    padding: 17px 0;
    border-bottom: 1px solid #eee5dc;
    background: #fff;
}

.kdn-na-categories {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    overflow-x: auto;
    padding: 2px 0 5px;
}

.kdn-na-cat {
    min-width: 72px;
    text-align: center;
    color: #222;
    text-decoration: none;
    font-size: 12px;
}

.kdn-na-cat-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 7px;
    border-radius: 50%;
    border: 1px solid #ead8c9;
    background: #fff8f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 11px;
    font-weight: 700;
}

.kdn-na-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kdn-na-cat.active .kdn-na-cat-circle {
    border: 2px solid #b80f0f;
}

/* MAIN LAYOUT */
.kdn-na-main {
    padding: 24px 0 42px;
}

.kdn-na-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
}

/* SIDEBAR */
.kdn-na-sidebar {
    align-self: start;
    border: 1px solid #eadfd5;
    border-radius: 8px;
    background: #fff;
    padding: 15px;
}

.kdn-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee5dc;
}

.kdn-filter-head strong {
    font-size: 14px;
}

.kdn-filter-head button {
    border: 0;
    background: transparent;
    color: #b30e0e;
    font-size: 11px;
    cursor: pointer;
}

.kdn-filter-block {
    padding: 14px 0;
    border-bottom: 1px solid #eee5dc;
}

.kdn-filter-block h3 {
    margin: 0 0 10px;
    font-size: 13px;
}

.kdn-filter-block label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #444;
}

.kdn-filter-block label small {
    margin-left: auto;
    color: #999;
}

.kdn-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.kdn-size-grid button {
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 11px;
}

.kdn-color-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kdn-color-row span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.13);
}

.c-red { background: #cf2432; }
.c-pink { background: #df4d79; }
.c-green { background: #438f52; }
.c-blue { background: #2b5ca7; }
.c-black { background: #1d1d1d; }
.c-yellow { background: #efc51d; }

.kdn-filter-block input[type="range"] {
    width: 100%;
}

.kdn-price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 11px;
    color: #666;
}

.kdn-apply-filter {
    width: 100%;
    margin-top: 14px;
    height: 38px;
    border: 0;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* PRODUCTS AREA */
.kdn-na-products-area {
    min-width: 0;
}

.kdn-na-count-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: #777;
}

.kdn-view-switch {
    display: flex;
    gap: 5px;
}

.kdn-view-switch button {
    width: 32px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.kdn-view-switch button.active {
    color: #b30e0e;
    border-color: #d8b8a4;
}

/* PRODUCT GRID */
.kdn-na-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.kdn-na-card {
    overflow: hidden;
    border: 1px solid #eadfd5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.kdn-na-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.kdn-na-img-wrap {
    position: relative;
    background: #faf7f3;
}

.kdn-na-img-wrap > a {
    display: block;
}

.kdn-na-img-wrap img {
    width: 100% !important;
    height: 300px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    background: #faf7f3;
}

.kdn-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 4px 7px;
    border-radius: 3px;
    background: #df1010;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.kdn-heart {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 3;
    width: 29px;
    height: 29px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    font-size: 17px;
    line-height: 27px;
    cursor: pointer;
}

.kdn-na-card-body {
    padding: 11px;
}

.kdn-na-card h2 {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.35;
}

.kdn-na-card h2 a {
    color: #222;
    text-decoration: none;
}

.kdn-na-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.kdn-na-price {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.kdn-na-price del {
    color: #999;
    font-size: 11px;
    font-weight: 400;
}

.kdn-na-price ins {
    text-decoration: none;
}

.kdn-na-rating {
    white-space: nowrap;
    color: #e89a00;
    font-size: 11px;
}

.kdn-na-actions {
    display: grid;
    grid-template-columns: .9fr 1.2fr;
    gap: 7px;
}

.kdn-quick-view,
.kdn-add-cart {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

.kdn-quick-view {
    border: 1px solid #d9d0c8;
    color: #222;
    background: #fff;
}

.kdn-add-cart {
    border: 1px solid #111;
    background: #111;
    color: #fff;
}

.kdn-add-cart:hover {
    background: #a80f0f;
    border-color: #a80f0f;
}

/* TRUST STRIP */
.kdn-na-trust {
    border-top: 1px solid #eee5dc;
    border-bottom: 1px solid #eee5dc;
    background: #fffaf5;
}

.kdn-na-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.kdn-na-trust-grid > div {
    padding: 17px 10px;
    text-align: center;
    border-right: 1px solid #eee5dc;
}

.kdn-na-trust-grid > div:last-child {
    border-right: 0;
}

.kdn-na-trust-grid strong {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
}

.kdn-na-trust-grid span {
    display: block;
    font-size: 10px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .kdn-na-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .kdn-na-page .kdn-container {
        width: min(100% - 30px, 1400px);
    }

    .kdn-na-layout {
        grid-template-columns: 1fr;
    }

    .kdn-na-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kdn-na-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .kdn-na-heading-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .kdn-na-heading-row h1 {
        font-size: 30px;
    }

    .kdn-na-products-grid {
        grid-template-columns: 1fr;
    }

    .kdn-na-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FINAL PRODUCT GRID WIDTH FIX
========================================= */

.kdn-na-layout {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    width: 100% !important;
}

.kdn-na-products-area {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.kdn-na-products-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.kdn-na-card {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 1200px) {
    .kdn-na-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .kdn-na-layout {
        grid-template-columns: 1fr !important;
    }

    .kdn-na-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .kdn-na-products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL POLISH - NEW ARRIVALS */

.kdn-na-products-grid {
    grid-template-columns: repeat(4, 280px) !important;
    justify-content: start !important;
}

.kdn-na-card {
    width: 280px !important;
}

.kdn-na-img-wrap img {
    height: 340px !important;
    object-fit: contain !important;
}

.kdn-na-top {
    display: block !important;
}

.kdn-na-category-strip {
    display: block !important;
}

.kdn-na-heading-row {
    min-height: 90px;
}

.kdn-na-categories {
    justify-content: flex-start !important;
}

@media (max-width: 1200px) {
    .kdn-na-products-grid {
        grid-template-columns: repeat(3, 280px) !important;
    }
}

@media (max-width: 900px) {
    .kdn-na-products-grid {
        grid-template-columns: repeat(2, 280px) !important;
    }
}

@media (max-width: 600px) {
    .kdn-na-products-grid {
        grid-template-columns: 1fr !important;
    }

    .kdn-na-card {
        width: 100% !important;
    }
}