/* ==========================================================
   Category / Inventory Listing
========================================================== */


.product-list-item {

    padding:15px;

    border-bottom:1px solid #ddd;

}



.product-list-item img {

    border-radius:6px;

}



.product-list-title {

    font-size:18px;

    font-weight:bold;

}



@media(max-width:768px){


    .product-list-item {

        text-align:center;

    }


}

/* ==========================================================
   Product Grid Cards
========================================================== */


.product-grid-card {

    background:#fff;

    border:1px solid #ddd;

    border-radius:10px;

    overflow:hidden;

    margin-bottom:30px;

    height:100%;

    transition:.2s;

}



.product-grid-card:hover {

    box-shadow:0 6px 18px rgba(0,0,0,.15);

    transform:translateY(-4px);

}



.product-grid-card a {

    color:inherit;

}



.product-grid-image {

    width:100%;

    height:240px;

    overflow:hidden;

}



.product-grid-image img {
    width:100%;
    height:100%;
    object-fit:contain;
    background:#fff;
}



.product-grid-body {

    padding:15px;

}



.product-grid-body h3 {

    font-size:18px;

    min-height:45px;

    margin-top:0;

    color:#333;

}



.product-meta {

    font-size:14px;

    line-height:1.7;

    color:#555;

}



.product-grid-price {

    margin-top:15px;

    font-size:24px;

    font-weight:bold;

    color:#000000;

}



.product-grid-button {

    padding:0 15px 15px;

}



.product-grid-button .btn {

    width:100%;

}



@media(max-width:768px){


.product-grid-image {

    height:220px;

}


}
/* ==========================================================
   Category Page
========================================================== */


.category-page {

    padding:30px 15px;

}



.category-header {

    margin-bottom:40px;

}



.category-header h1 {

    font-size:36px;

    font-weight:700;

    margin-bottom:15px;

}



.category-header p {

    color:#666;

    font-size:18px;

}



@media(max-width:768px){


.category-header h1 {

    font-size:28px;

}


.category-header p {

    font-size:15px;

}


}

/* ==========================================================
   INVENTORY PAGINATION
========================================================== */

.inventory-pagination{
    margin:40px 0 20px;
}

.inventory-pagination .pagination{
    margin-bottom:10px;
}

.inventory-pagination .pagination > li > a,
.inventory-pagination .pagination > li > span{
    color:#333;
    border-radius:8px !important;
    margin:0 3px;
    border:1px solid #ddd;
    padding:10px 16px;
}

.inventory-pagination .pagination > .active > a,
.inventory-pagination .pagination > .active > span{
    background:#f0ad4e;
    border-color:#f0ad4e;
    color:#fff;
}

.inventory-pagination .pagination > li > a:hover{
    background:#f8f8f8;
    color:#ec971f;
}

.inventory-count{
    font-size:14px;
    margin-top:8px;
}

/* ==========================================================
   INVENTORY PAGE HEADER
========================================================== */

.inventory-header{
    margin:20px 0 40px;
}

.inventory-badge{
    display:inline-block;
    background:#f0ad4e;
    color:#fff;
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    margin-bottom:15px;
}

.inventory-header h1{
    font-size:42px;
    font-weight:800;
    margin:0 0 10px;
    color:#222;
}

.inventory-header p{
    font-size:17px;
    color:#666;
    max-width:620px;
    margin:0 auto;
}

@media (max-width: 767px){

    .inventory-header h1{
        font-size:32px;
    }

    .inventory-header p{
        font-size:15px;
    }
}

/* ==========================================================
   INVENTORY FILTERS
========================================================== */

.inventory-filters-wrapper{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:16px;
    padding:22px;
    margin-bottom:30px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.filter-group{
    margin-bottom:15px;
}

.filter-group label{
    display:block;
    font-size:13px;
    font-weight:700;
    color:#555;
    margin-bottom:8px;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.filter-group .form-control{
    height:44px;
    border-radius:10px;
    border:1px solid #ddd;
    box-shadow:none;
}

.filter-group .form-control:focus{
    border-color:#f0ad4e;
    box-shadow:0 0 0 3px rgba(240,173,78,.15);
}

.filter-actions{
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    height:100%;
    gap:10px;
}

.filter-submit-btn{
    height:44px;
    border-radius:10px;
    font-weight:700;
}

.inventory-results-summary{
    margin-bottom:20px;
    color:#666;
    font-size:14px;
}

.inventory-results-summary strong{
    color:#222;
}

@media (max-width: 991px){

    .filter-actions{
        margin-top:10px;
    }
}

@media (max-width: 767px){

    .inventory-filters-wrapper{
        padding:18px;
    }
}

/* ==========================================================
   CATEGORY SWITCHER
========================================================== */

.inventory-header .category-switcher{
    position:relative;
    display:inline-block;
    margin-bottom:24px;
}

.inventory-header .category-switcher-btn{
    min-width:320px;
    border-radius:14px;
    padding:14px 24px;
    font-size:22px;
    font-weight:800;
    color:#222;
    border:1px solid #cfcfcf;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.inventory-header .category-switcher-btn:hover,
.inventory-header .category-switcher-btn:focus{
    background:#fff;
    border-color:#f0ad4e;
    color:#ec971f;
}

.inventory-header .category-switcher > .category-switcher-menu{
    position:absolute;
    top:100%;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    margin-top:10px;
    min-width:320px;
    border-radius:12px;
    padding:8px 0;
    box-shadow:0 10px 24px rgba(0,0,0,.12);
    text-align:left;
    z-index:1000;
}

.inventory-header .category-switcher-menu > li > a{
    padding:10px 18px;
    font-weight:500;
}

.inventory-header .category-switcher-menu > .active > a{
    background:#f8f8f8;
    color:#ec971f;
    font-weight:700;
}

.inventory-category-subtitle{
    font-size:16px;
    color:#666;
    max-width:620px;
    margin:0 auto 10px;
}

@media (max-width: 767px){

    .inventory-header .category-switcher{
        width:100%;
        margin-bottom:20px;
    }

    .inventory-header .category-switcher-btn{
        width:100%;
        min-width:auto;
        font-size:20px;
        padding:12px 18px;
    }

    .inventory-header .category-switcher > .category-switcher-menu{
        width:100%;
        min-width:100%;
        left:0;
        transform:none;
    }
}

/* ==========================================================
   MOBILE INVENTORY FILTERS
========================================================== */

.mobile-filter-toggle-wrapper{
    margin-bottom:18px;
}

.mobile-filter-toggle{
    height:44px;
    border-radius:10px;
    font-weight:700;
}

#inventoryFiltersCollapse{
    margin-top:15px;
}

@media (min-width: 768px){

    .mobile-filter-toggle-wrapper,
    #inventoryFiltersCollapse{
        display:none !important;
    }
}

/* ==========================================================
   PRODUCT GRID FLEX FIX
========================================================== */

.product-grid-row{
    display:flex;
    flex-wrap:wrap;
}

.product-grid-row > [class*="col-"]{
    display:flex;
    margin-bottom:30px;
}

.product-grid-row .product-grid-card{
    width:100%;
    display:flex;
    flex-direction:column;
}

.product-grid-row .product-grid-button{
    margin-top:auto;
}

/* ==========================================================
   FIND YOUR TRAILER CARD
========================================================== */

.inventory-search-card{
    max-width:900px;
    margin:0 auto 30px;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:18px;
    box-shadow:0 4px 16px rgba(0,0,0,.06);
    overflow:hidden;
}

.inventory-search-toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:18px 24px;
    background:linear-gradient(135deg,#f0ad4e 0%,#ec971f 100%);
    border:none;
    color:#fff;
    font-size:22px;
    font-weight:700;
    text-align:center;
    transition:all .2s ease;
}

.inventory-search-toggle:hover,
.inventory-search-toggle:focus{
    background:linear-gradient(135deg,#ec971f 0%,#d58512 100%);
    color:#fff;
    outline:none;
}

.inventory-search-toggle .toggle-icon{
    font-size:22px;
    line-height:1;
}

.inventory-search-toggle .toggle-arrow{
    margin-left:auto;
    font-size:16px;
    opacity:.9;
    line-height:1;
}

.inventory-search-toggle .toggle-arrow{
    margin-left:auto;
    font-size:16px;
    opacity:.9;
}

.inventory-search-body{
    padding:28px;
    background:#fff;
}

.inventory-search-body .form-group label{
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    color:#555;
    margin-bottom:8px;
}

.inventory-search-body .form-control{
    height:46px;
    border-radius:12px;
    border:1px solid #ddd;
    box-shadow:none;
    font-size:15px;
}

.inventory-search-body .form-control:focus{
    border-color:#f0ad4e;
    box-shadow:0 0 0 3px rgba(240,173,78,.15);
}

.inventory-search-body .btn-warning{
    height:46px;
    border-radius:12px;
    font-weight:700;
    font-size:15px;
}

.inventory-search-body .btn-default{
    height:46px;
    border-radius:12px;
    font-weight:600;
    margin-top:10px;
}

@media (max-width: 767px){

    .inventory-search-card{
        margin-bottom:22px;
        border-radius:16px;
    }

    .inventory-search-toggle{
        font-size:19px;
        padding:16px 18px;
    }

    .inventory-search-body{
        padding:20px 18px;
    }
}