/* Products Page Styles */

/* Hero Section with Banner Image */
.page-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #fff5eb 0%, #fff 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #d4740c;
    margin-bottom: 25px;
    font-style: italic;
}

.page-hero-banner {
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.page-hero-banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.page-hero-desc {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background: #f8f8f8;
}

.products-section .section-title {
    text-align: center;
    margin-bottom: 10px;
}

.products-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4740c;
    font-style: italic;
}

.products-section .section-subtitle {
    text-align: center;
    color: #888;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* Products Grid - Featured Products with Images */
.products-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d4740c;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 3px;
}

.product-card-img {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card-name {
    padding: 15px 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

/* And More Section */
.products-more {
    padding: 50px 0 70px;
    background: #fff;
}

.products-more .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.products-more .section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #d4740c;
    font-style: italic;
}

.products-more-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.products-more-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.95rem;
}

.products-more-list li:hover {
    color: #d4740c;
}

/* Products Page - Old Style (for backwards compatibility) */
.products-page {
    padding: 50px 0 80px;
    background: #fff;
}

.products-filter {
    margin-bottom: 40px;
    text-align: center;
}

.products-filter input {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.products-filter input:focus {
    border-color: #d4740c;
    box-shadow: 0 0 0 3px rgba(212, 116, 12, 0.15);
}

.products-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.product-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.product-item-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-item:hover .product-item-img img {
    transform: scale(1.05);
}

.product-item-info {
    padding: 18px;
    text-align: center;
}

.product-item-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-item-info p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-inquiry-sm {
    display: inline-block;
    background: #d4740c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-inquiry-sm:hover {
    background: #b8620a;
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .products-list-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .products-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-more-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .products-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero-banner img {
        height: 250px;
    }
    
    .product-card-img {
        height: 140px;
    }
    
    .product-item-img {
        height: 140px;
    }
    
    .product-item-info {
        padding: 12px;
    }
    
    .product-item-info h5 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .products-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .products-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .products-more-list {
        grid-template-columns: 1fr;
    }
    
    .product-card-img {
        height: 120px;
    }
    
    .product-item-img {
        height: 120px;
    }
    
    .product-item-info {
        padding: 10px;
    }
    
    .product-item-info h5 {
        font-size: 0.85rem;
    }
    
    .product-item-info p {
        font-size: 0.75rem;
    }
    
    .btn-inquiry-sm {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
}
