/* --- CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

/* --- IDENTICAL HEADER (Dark Green) --- */

.hero{
    position:relative;
    height:50vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    padding:0 5%;
}
.slider{
    position:absolute;
    width:100%;
    height:100%;
}

/* --- CONTENT WRAPPER --- */
.products-page-wrapper {
    margin-top: 130px; /* Essential to prevent header overlap seen in your image */
    padding-bottom: 80px;
    min-height: 80vh;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: #043a27;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* --- CATEGORY NAVIGATION (Fixes image_d19a76.png) --- */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}

.cat-btn {
    background: none;
    border: none; /* Removes the box borders from your screenshot */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1px;
    padding: 15px 5px;
}

.cat-btn:hover, .cat-btn.active {
    color: #043a27;
    border-bottom: 3px solid #043a27; /* Clean underline style */
}

/* --- 4-COLUMN PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Forces exactly 4 cards in one line */
    gap: 25px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-img-box {
    width: 100%;
    height: 220px;
    background: #fff;
    padding: 15px;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps items like kitchen baskets fully visible */
}

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-details h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-details p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* --- WHATSAPP BUTTON --- */
.wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}

.wa-btn:hover {
    background: #128c7e;
}

.wa-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- IDENTICAL SITE FOOTER --- */
.site-footer {
    background: #043a27;
    color: #fff;
    padding: 60px 8% 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #a5f17c;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(165, 241, 124, 0.3);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    header { padding: 0 4%; }
}

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
    .category-nav { gap: 15px; }
    .section-title { font-size: 2rem; }
}