/* Product List Module Styles - Based on UI Design */
.mod_product_list {
    padding: 20px 0;
}

/* Header Styles */
.mod_product_list .products-header {
    margin-bottom: 30px;
}

.mod_product_list .products-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.mod_product_list .title-highlight {
    color: #f26522;
    font-size: 3rem;
    font-weight: 800;
}

.mod_product_list .title-sub {
    color: #666;
    font-size: 1.8rem;
    font-weight: 400;
    margin-left: 10px;
}
.mod_product_list .products-title {
    border: thin solid #f26522;
    display: inline-block;
    margin: 0 auto;
    padding: 10px 10px 10px 5vw;
    transform: translate(-5vw);
    font-family: arial;
    border-radius: 0 10px 10px 0;
  }
/* Product Card Styles */
.mod_product_list .product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mod_product_list .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Product Image - Square and Responsive */
.mod_product_list .product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Creates a square aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.mod_product_list .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.mod_product_list .product-card:hover .product-image img {
    transform: scale(1.05);
}

/* No Image Placeholder */
.mod_product_list .no-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    color: #adb5bd;
    font-size: 3rem;
}

.mod_product_list .no-image-placeholder i {
    opacity: 0.3;
}

/* Product Content */
.mod_product_list .product-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mod_product_list .product-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #333;
}

.mod_product_list .product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mod_product_list .product-title a:hover {
    color: #f26522;
}

/* Product Specs/Tags */
.mod_product_list .product-specs {
    margin-top: auto;
}

.mod_product_list .product-tags {
    margin-top: auto;
    font-size: 0.75rem;
    color: #999;
    line-height: 1.4;
}

.mod_product_list .spec-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px 2px 2px 0;
    font-weight: 500;
}

/* View All Button */
.mod_product_list .btn-view-all {
    background: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.mod_product_list .btn-view-all:hover {
    background: #f26522;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.3);
}

.mod_product_list .btn-view-all i {
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mod_product_list .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 992px) {
    .mod_product_list .col-lg-2 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .mod_product_list .products-title {
        font-size: 2rem;
    }
    
    .mod_product_list .title-highlight {
        font-size: 2.5rem;
    }
    
    .mod_product_list .title-sub {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mod_product_list .col-lg-2 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    
    .mod_product_list .products-title {
        font-size: 1.8rem;
    }
    
    .mod_product_list .title-highlight {
        font-size: 2.2rem;
    }
    
    .mod_product_list .title-sub {
        font-size: 1.3rem;
    }
    
    .mod_product_list .no-image-placeholder {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .mod_product_list .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .mod_product_list .product-content {
        padding: 10px;
    }
    
    .mod_product_list .product-title {
        font-size: 0.8rem;
    }
    
    .mod_product_list .product-tags {
        font-size: 0.65rem;
    }
    
    .mod_product_list .spec-tag {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .mod_product_list .no-image-placeholder {
        font-size: 2rem;
    }
}
