/* ===================================================================================

* Theme Name: Dustrial Child
* Theme URI: https://themeforest.net/user/johanspond
* Description: Dustrial Industrial WordPress Theme.
* Version: 1.0.0
* Author: Johanspond
* Author URI: http://pluginspoint.com/
* Template: dustrial
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, threaded-comments, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* Grid container: 2 columns on larger screens, 1 on mobile */
.c-inventory-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .c-inventory-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Card */
.c-inventory-list_item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 25px 15px;
    background-color: #ffffff;
}

.c-inventory-list_item-main {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.c-inventory-list_header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; 
    gap: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.6);
}

.c-inventory-list_part {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 20px;
    color: #15508e;
}

.c-inventory-list_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    background-color: rgba(22, 163, 74, 0.08);
    color: #15803d;
}

.c-inventory-list_title {
    margin: 0;
    font-size: 28px;    
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

@media (min-width: 768px) {
    .c-inventory-list_title {
        font-size: 35px;
    }
}

.c-inventory-list_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.c-inventory-list_meta-item {
    display: flex;
    flex-direction: column;
}

.c-inventory-list_meta-label {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.6);
    font-size: 0.75rem;
    margin-bottom: 0.05rem; 
}

.c-inventory-list_meta-value {
    font-weight: 500;
    color: #111827;
}

.c-inventory-list_actions {
    margin-top: auto; 
}

.c-inventory-list_button {
    display: inline-flex;
    width: 100%; 
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #15508e;
    font-size: 20px;
    padding: 16px 35px 13px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.c-inventory-list_button:hover {
    background: #061538;
    color: #ffffff !important; 
}

.c-inventory-search {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.c-inventory-search_label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.6);
}

.c-inventory-search_input {
    max-width: 480px;
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.25);
    font-size: 0.95rem;
    line-height: 1.4;
}

.c-inventory-search_input:focus {
    outline: none;
    border-color: #15508e;
    box-shadow: 0 0 0 1px rgba(21, 80, 142, 0.2);
}

@media (max-width: 640px) {
    .c-inventory-list {
        display: block;      
        width: auto;
        max-width: 100%;
        padding: 0;
        margin: 0;
        overflow: visible;    
    }

    .c-inventory-list_item {
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 1rem 0;  
        padding: 20px 15px; 
    }
	
	.c-inventory-list_button {
		font-size: 14px;
	}
	
	    .c-inventory-list_title {
        white-space: normal !important;  
        overflow: visible;
        text-overflow: clip;
        word-break: break-word;          
        hyphens: auto;               
        font-size: 24px;  
        line-height: 1.3;
    }
}