
/*==========================
GENERAL
==========================*/

*{
    box-sizing:border-box;
}

.aabex-shop{
    display:flex;
    gap:35px;
    align-items:stretch;
    margin-top:50px !important;
    width:100%;
}

.shop-content{
    flex:1;
    min-width:0;
}

.filter-box h3::after{
    content:"";
    background:#f26522;
    width:52px;
    height:2px;
    position:absolute;
    left:0;
    top:22px;
}

.filter-item span{
    color:#0d1b2a !important;
    font-weight:500 !important;
}

/*==========================
SIDEBAR
==========================*/

.shop-sidebar{
    flex:0 0 260px;
    max-width:260px;
    width:100%;
    box-shadow:rgba(100,100,111,.2) 0 7px 29px;
    padding:20px;
    border-radius:10px;
    background:#fff;
}

.filter-box{
    margin-bottom:40px !important;
}

.filter-box h3{
    font-size:18px;
    margin-bottom:20px;
    color:#0d1b2a;
    text-transform:uppercase !important;
    font-weight:700 !important;
    position:relative;
    font-family:'Montserrat';
}

.filter-box:nth-child(2){
    position:relative;
    padding-top:20px;
}

.filter-box:nth-child(2)::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:1px;
    background:#ddd;
}

.filter-item{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    cursor:pointer;
    font-size:15px;
}

.filter-item input{
    margin:0;
}

.reset-filter{
    display:block;
    width:100%;
    text-align:center;
    background:#f26522;
    color:#fff;
    padding:14px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
}

/*==========================
TOOLBAR
==========================*/

.shop-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
}

.results-count{
    flex:1;
    font-size:15px;
    color:#000;
}

.toolbar-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
}

#sortProducts{
    height:42px;
    padding:0 15px;
    border:1px solid #ddd;
    border-radius:6px;
    min-width:170px;
}

#gridView,
#listView{
    width:42px;
    height:42px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
    border-radius:6px;
}

/*==========================
GRID
==========================*/

.shop-products{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:25px;
}

.product-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:20px;
    background:#fff;
    border-radius:10px;
    box-shadow:rgba(100,100,111,.2) 0 7px 29px;
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-3px);
}

.product-link{
    display:block;
    text-decoration:none;
    color:inherit;
}

.product-card img{
    width:100%;
    height:180px !important;
    object-fit:contain;
}

.product-info{
    margin-top:15px;
}

.product-card h4{
    font-size:16px;
    line-height:1.4;
    color:#0d1b2a;
    margin:0;
}

.product-short-desc{
    display:none;
}

.quote-btn {
    display: block;
    margin-top: 18px;
    padding: 11px !important;
    border: 2px solid #f26522 !important;
    border-radius: 8px !important;
    text-align: center;
	background: transparent !important;
    text-decoration: none;
    color: #f26522 !important;
    font-weight: 700;
    font-size: 13px !important;
    transition: .3s !important;
}

.quote-btn:hover{
    background:#f26522 !important;
    color:#fff !important;
}

/*==========================
LIST VIEW
==========================*/

.shop-products.list{
    display:block;
}

.shop-products.list .product-card{
    margin-bottom:20px;
}

.shop-products.list .product-link{
    display:flex;
    gap:25px;
    align-items:flex-start;
}

.shop-products.list img{
    width:220px;
    height:220px !important;
    flex-shrink:0;
}

.shop-products.list .product-info{
    flex:1;
}

.shop-products.list .product-short-desc{
    display:block;
    margin-top:12px;
    line-height:1.7;
}

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

.shop-pagination{
    margin-top:40px;
    text-align:center;
}

.shop-pagination .page-numbers{
    display:inline-block;
    padding:10px 15px;
    border:1px solid #ddd;
    margin:4px;
    text-decoration:none;
}

.shop-pagination .current{
    background:#0d1b2a;
    color:#fff;
}

/*==========================
1200px
==========================*/

@media(max-width:1200px){

.shop-products{
grid-template-columns:repeat(3,minmax(0,1fr));
}

}

/*==========================
991px
==========================*/

@media(max-width:991px){

.aabex-shop{
flex-direction:column;
}

.shop-sidebar{
max-width:100%;
flex:unset;
}

.shop-toolbar{
flex-direction:column;
align-items:stretch;
}

.results-count{
width:100%;
}

.toolbar-actions{
width:100%;
margin-left:0;
}

#sortProducts{
flex:1;
}

.shop-products{
grid-template-columns:repeat(2,minmax(0,1fr));
}

}

/*==========================
767px
==========================*/

@media(max-width:767px){

.shop-products{
grid-template-columns:1fr;
}

.toolbar-actions{
display:flex;
}

#sortProducts{
width:100%;
}

.shop-products.list .product-link{
display:block;
}

.shop-products.list img{
width:100%;
height:220px !important;
margin-bottom:20px;
}

.shop-products.list .product-info{
width:100%;
}

.shop-products.grid.list .product-short-desc{
display:block;
}

}

/*==========================
480px
==========================*/

@media(max-width:480px){

.shop-sidebar{
padding:15px;
}

.product-card{
padding:15px;
}

.product-card img{
height:160px !important;
}

.product-card h4{
font-size:15px;
}

.quote-btn{
font-size:12px;
padding:10px;
}

.shop-pagination{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:6px;
}

}


/* Scale the whole product grid/sidebar down slightly - feels less "zoomed in" */
.aabex-shop {
  zoom: 0.85;
}


/* ===== CATEGORY LANDING PAGE (clean grid) ===== */
.aabex-categories { width: 100%; }
.categories-search-wrap { max-width: 640px; margin: 0 auto 40px; }
.categories-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    transition: border-color .2s ease;
}
.categories-search-bar:focus-within { border-color: #f2790a; }
.categories-search-bar svg { flex-shrink: 0; color: #94a3b8; }
.categories-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #0f172a;
    background: transparent;
}
.categories-search-bar input::placeholder { color: #94a3b8; }
.categories-intro { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.categories-intro h2 { font-size: 28px; font-weight: 800; color: #08192f; margin: 0 0 10px; }
.categories-intro p { font-size: 15px; color: #64748b; margin: 0; line-height: 1.6; }
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-tile {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.category-tile:hover {
    border-color: #f2790a;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.category-tile-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 24px;
}
.category-tile-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.category-tile-body { padding: 22px 24px 20px; }
.category-tile-name {
    display: block;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #08192f;
}
.category-tile-divider { height: 1px; background: #e2e8f0; margin: 14px 0; }
.category-tile-meta { display: flex; align-items: center; justify-content: space-between; }
.category-tile-count {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}
.category-tile-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #f2790a;
    color: #f2790a;
    flex-shrink: 0;
    transition: background .2s ease, color .2s ease;
}
.category-tile:hover .category-tile-arrow { background: #f2790a; color: #fff; }
@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .categories-grid { grid-template-columns: 1fr; }
    .category-tile-image { height: 170px; }
    .categories-search-bar { padding: 12px 14px; }
}
