/* ===== HERO SECTION ===== */
.kunj-hero-section {
    background: white;
    padding: 3rem 2rem;
    margin-bottom: 0;
    border-bottom: 1px solid #e2e8f0;
}

.kunj-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    gap: 3rem;
    width: 75%;
}

.kunj-hero-content {
    flex: 1;
}

.kunj-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #052e36;
}

.kunj-hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #64748b;
}

.kunj-search-bar {
    max-width: 400px;
}

.kunj-search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.9rem;
}

.kunj-hero-image {
    flex: 0 0 500px;
}

.kunj-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ===== MAIN LAYOUT ===== */
.kunj-main-content-wrapper {
    background: #f8fafc;
    /* padding: 40px; */
    padding-top: 0px;
}

.kunj-products-container {
    display: flex;
    gap: 0;
    max-width: 100%;
    /* margin: 0 auto; */
    font-family: 'Inter', sans-serif;
    background: white;
}

.kunj-filters-sidebar {
    flex: 0 0 280px;
    background: #f8fafc;
    /* padding: 0.5rem; */
    padding-top: 0;
    border-right: 1px solid #e2e8f0;
}

.kunj-products-main {
    flex: 1;
    min-width: 0;
    /* padding: 1.5rem; */
}

#kunj-product-list {
    padding: 0.75rem;
}

/* ===== FILTER SECTION ===== */
.kunj-filter-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.kunj-filter-single-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.kunj-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kunj-filter-label {
    font-size: 1rem;
    font-weight: 600;
    color: #052e36;
    white-space: nowrap;
}

.kunj-filter-btn {
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.kunj-filter-btn:hover,
.kunj-filter-btn.active {
    background: #007986;
    border-color: #007986;
    color: white;
}

.kunj-sort-select {
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 0.9rem;
    background: white;
    min-width: 150px;
}

.kunj-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
}

/* ===== SIDEBAR SECTIONS ===== */
.kunj-sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    /* margin-bottom: 2rem; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: -webkit-fill-available;
}

.kunj-sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #052e36;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.kunj-filter-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #052e36;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.kunj-filter-grid {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.kunj-sidebar-item {
    padding: 0.4rem 0;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.kunj-sidebar-item:hover {
    border-color: #007986;
    background: #f8fafc;
}

.kunj-sidebar-item input[type="checkbox"] {
    margin-right: 8px;
}

/* ===== EVIDENCE GRADING ===== */
.kunj-evidence-grading {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.kunj-evidence-grading li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

.kunj-evidence-label {
    font-weight: bold;
    background-color: #EAF6F6;
    border-radius: 4px;
    padding: 2px 6px;
    margin-right: 8px;
    min-width: 18px;
    text-align: center;
    font-size: 0.75rem;
}

/* ===== PRODUCT CARDS ===== */
.kunj-product-card {
    display: grid;
    grid-template-columns: 140px 1.9fr 0.8fr 1.0fr 0.6fr 0.7fr;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 0.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    align-items: center;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
}

.kunj-product-image img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 10px;
    padding: 10px;
}

.kunj-product-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4em;
    white-space: normal;
    word-break: break-word;
    /* prevents layout breaks on long words */
}

.kunj-product-pillars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kunj-pillar-pill {
    background: rgba(0, 141, 156, 0.23);
    color: #033B46;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    padding: 6px;
    border-radius: 8px;
}

.kunj-benefits-grades-wrapper {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    margin-top: -10px;
}

.kunj-evidence-link {
    font-size: 12px;
    color: #033B46;
    text-decoration: underline;
    font-weight: 500;
    margin-bottom: 8px;
}

.kunj-benefit-grade-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 6px;
}

.kunj-product-benefit {
    flex: 1.7;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #000000;
    padding-left: 18px;
    position: relative;
}

.kunj-product-benefit::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
}

.kunj-product-grade {
    flex: 0.6;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: rgba(1, 87, 96, 0.82);
    text-align: center;
}

.kunj-product-buy {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.kunj-product-buy img {
    width: 130px;
    min-width: 100px;
    max-width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.kunj-product-buy img:hover {
    transform: scale(1.05);
}

/* ===== LOAD MORE LINK ===== */
.kunj-load-more-container {
    text-align: center;
    margin: 30px 0;
}

.kunj-load-more-link {
    font-size: 0.9rem;
    color: #007986;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.kunj-load-more-link:hover {
    color: #033B46;
}

/* ===== DISCLAIMER ===== */
.kunj-disclaimer {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.kunj-disclaimer-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .kunj-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .kunj-hero-image {
        flex: 0 0 auto;
        max-width: 250px;
    }

    /* .kunj-products-container {
        padding: 1.5rem;
    } */

    .kunj-product-card {
        grid-template-columns: 120px 1fr 0.6fr 1.5fr 0.5fr 0.8fr;
        gap: 15px;
        padding: 15px;
    }

    .kunj-filter-single-row {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .kunj-products-container {
        flex-direction: column;
    }

    .kunj-filters-sidebar {
        flex: 0 0 auto;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .kunj-filter-single-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .kunj-filter-group {
        justify-content: flex-start;
    }

    .kunj-hero-content h1 {
        font-size: 2rem;
    }

    .kunj-filter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kunj-product-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .kunj-product-pillars {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .kunj-benefit-grade-row {
        flex-direction: column;
        align-items: center;
    }

    .kunj-product-benefit,
    .kunj-product-grade {
        flex: unset;
        text-align: center;
        padding-left: 0;
    }

    .kunj-product-benefit::before {
        display: none;
    }

    /* .kunj-products-container {
        padding: 1rem;
    } */

    .kunj-hero-content h1 {
        font-size: 1.8rem;
    }

    .kunj-search-bar {
        flex-direction: column;
    }

    .kunj-search-bar input,
    .kunj-search-bar button {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .kunj-filter-single-row {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .kunj-filter-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .kunj-sort-select {
        font-size: 0.8rem;
        padding: 6px 12px;
        min-width: 120px;
    }

    .kunj-product-card {
        padding: 1rem;
    }

    .kunj-hero-section {
        padding: 2rem 1rem;
    }

    .kunj-hero-content h1 {
        font-size: 1.5rem;
    }

    .kunj-hero-content p {
        font-size: 0.9rem;
    }

    .kunj-sidebar-item {
        font-size: 0.8rem;
    }
}
.kunj-search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    /* adjust as needed */
    border: 1px solid #ccc;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
}

.kunj-search-bar input {
    /* flex: 1; */
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 14px;
}

.kunj-search-bar input:focus {
    /* flex: 1; */
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 14px;
}

.kunj-search-bar .search-button {
    background: #008d9c;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: background 0.2s;
}

.kunj-search-bar .search-button:hover {
    background: #006f7a;
}

.kunj-search-bar .search-icon {
    font-style: normal;
    /* prevents italic default */
}

.clear-btn {
    color: #f2f2f2;
    background: #ddd;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    /* transition: background 0.2s; */
}

.clear-btn:hover {
    background: #ffecec;
    color: #d33 !important;
}

.clear-btn:focus {
    background: #ffecec;
    color: #d33 !important;
}