/* css/lite.css */
:root {
    --primary: #e65540;
    --text: #333;
    --bg: #fff;
    --gap: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* css/lite.css */

/* 1. Define Fonts Efficiently */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-display: swap; /* Prevents invisible text while loading */
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold */
    font-display: swap;
}

/* 2. Global Base Styles */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400; /* Use Regular by default for speed */
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* 3. Use Bold ONLY where it matters */
h1, h2, h3, h4, h5, h6, 
.btn, 
.product-price, 
{
    font-family: Montserrat-Bold;
    font-weight: 700; /* Use Bold for impact */
    letter-spacing: -0.5px; /* Makes bold headers look tighter/cleaner */
}

.hero-content h1
{
    font-family: Montserrat-Bold;
    font-weight: 700; /* Use Bold for impact */
    letter-spacing: -0.5px; /* Makes bold headers look tighter/cleaner */
}

.sidebar-section h3 {
    font-weight: 500;
    line-height: 1.1;
}

/* 4. Ensure links aren't too heavy */
a {
    font-weight: 500; /* Medium weight for links is a good compromise */
    color: #e65540;
    text-decoration: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: var(--bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 20px 0;
}

.sidebar-section { padding-top:3rem; }
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

/* Product Grid (Replaces Bootstrap Rows/Cols) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: var(--gap);
    margin-top: 40px;
}

/* Product Card */
.product-card {
    border: 1px solid #eee;
    transition: transform 0.2s;
}

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

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4; /* Keeps images uniform */
    object-fit: cover;
}

.card-details {
    padding: 15px;
    text-align: center;
}

.price {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1em;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

/* Page Layout with Sidebar */
.page-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.sidebar {
    width: 250px; /* Fixed width for filters */
    flex-shrink: 0;
}

.main-content {
    flex-grow: 1;
    padding-top:1.7rem;
}

/* Mobile Responsive: Stack sidebar on top/bottom */
@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px 0;
}
.btn {
    padding: 8px 16px;
    background: #e65540;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

/* Page Hero Banner */
.page-hero {
    background-image: url('/images/heading-pages-02.jpg'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 40px;
}

/* Dark overlay so text is readable */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {

    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: Montserrat-Bold;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.card-details h3 { font-size:15px; font-weight:400;  color:initial;}
.card-details p { font-size:15px; font-weight:400; }

        /* [Keep your existing .page-hero-full, .toolbar, and .pagination-range styles here] */
        .page-hero-full { background-image: url('/images/heading-pages-02.jpg'); background-size: cover; background-position: center; padding: 60px 20px; text-align: center; color: white; position: relative; width: 100%; }
        .page-hero-full::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); }
        .hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
        .toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; padding: 10px 0; border-bottom: 1px solid #eee; }
        .results-count { font-size: 14px; color: #666; }
        .sort-select { padding: 8px 12px; border: 1px solid #e1e1e1; border-radius: 4px; background-color: #fff; font-family: Montserrat, sans-serif; font-size: 13px; color: #555; outline: none; cursor: pointer; }
        .pagination-range { display: flex; justify-content: center; gap: 5px; margin-top: 30px; flex-wrap: wrap; }
        .pagination-range a, .pagination-range span { padding: 8px 12px; border: 1px solid #ddd; text-decoration: none; color: #333; border-radius: 4px; font-size: 14px; }
        .pagination-range a:hover { background-color: #f0f0f0; border-color: #ccc; }
        .pagination-range .active { background-color: #e65540; color: white; border-color: #e65540; }

        .site-footer { margin-top:100px!important; }