/* Resetting some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
*, *:before, *:after { 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
    transition: all .2s ease-in-out; 
    -moz-transition: all .2s ease-in-out; 
    -webkit-transition: all .2s ease-in-out; 
}

body { 
    font-family: 'Open Sans', Arial, sans-serif; 
    font-size: 100%; 
}

.grid { 
    width: 80%; 
    margin: 0 auto; 
    display: grid; /* Switch to grid layout */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
    gap: 20px; /* Gap between grid items */
}

.product { 
    padding: 1em; 
    text-align: center; 
    border: solid 1px transparent; 
    background-color: #f9f9f9; 
}

.product:hover { 
    border: solid 1px #ddd;  
}

.product img { 
    width: 100%; /* Ensure all images have the same width */
    height: 200px; /* Set a fixed height for uniform sizing */
    object-fit: cover; /* Maintain aspect ratio while covering the container */
    margin-bottom: 10px; 
}

h6 { 
    margin: 0; 
    font-size: 0.85em; 
    font-weight: normal; 
    color: rgb(27, 27, 193);
   
}


p { 
    margin: 0; 
    font-weight: bold; 
    font-size: 0.85em; 
    color: rgb(205, 35, 35);
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

header { 
    background-color: #131921; 
    color: #fff; 
    padding: 20px 0; 
}

header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Adjusting logo text styling */
.logo h1 { 
    font-size: 3rem; /* Example font size */ 
    font-family: 'Arial', sans-serif; /* Example font family */ 
    color: #fff; /* Example color */ 
    text-transform: lowercase; /* Example text transformation */ 
    /* Add any other styling properties as needed */ 
}

.container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Centering the search bar */
.search-bar { 
    margin: 0 auto; 
    width: 50%; /* Adjust the width as needed */ 
}

.search-bar form { 
    display: flex; 
    align-items: center; 
}

.search-bar input[type="text"] { 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    margin-right: 5px; 
    width: 100%; /* Ensures the input takes up the full width */ 
}

.search-bar button { 
    padding: 8px 15px; 
    background-color: #f0c14b; 
    color: #111; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
}

.search-bar button:hover { 
    background-color: #ddb347; 
}

.btn { 
    display: inline-block; 
    background-color: #f0c14b; 
    color: #111; 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 3px; 
    font-weight: bold; 
    transition: background-color 0.3s ease; 
}

.btn:hover { 
    background-color: #ddb347; 
}
