.logo-area {
    text-align: center;
    padding: 20px 0;
    background-color: #fff;
    /* margin-bottom: 30px; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    justify-content: center;  /* Centers the logo horizontally */
    align-items: center;      /* Vertically aligns the logo */
    max-width: 425px;
    margin: 0 auto;  /* Centers the container within the page */
}

.logo {
    max-width: 100%;
    height: auto;
}
/* General Styles for the Content */
.product-selection {
    background-color: #fff;
    padding: 40px 20px;
    margin: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
}

.search-container {
    margin-bottom: 30px;
}

.search-input {
    padding: 12px;
    width: 70%;
    max-width: 400px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Style for the search button (now <a> tag) */
.search-btn-link {
    text-decoration: none;  /* Remove underline from link */
}

.section-title {
    font-size: 2em;
    margin-bottom: 40px;
    color: #333;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* Keep 4 columns */
    gap: 20px;
    justify-items: center;
    padding: 0 20px;
    align-items: stretch;  /* Ensures all grid items stretch to the same height */
}

.product-item {
    display: flex;
    flex-direction: column;  /* Stack the image and text vertically */
    justify-content: center; /* Center the content vertically */
    align-items: center;     /* Center the content horizontally */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: 100%;
    max-width: 250px;
    text-align: center;
    height: 100%; /* Ensures each item takes the full height of the grid cell */
}

.product-item:hover {
    transform: scale(1.05);
}

.product-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.2em;
    color: #333;
    margin-top: 10px;
}

.search-btn-link-epson {
    text-decoration: none;
}

.search-btn-epson {
    padding: 12px 20px;
    background-color: #0068AC;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 10px;
    display: inline-block;  /* Ensures the <a> tag behaves like a block-level element */
    text-align: center;  /* Centers the text */
}

.search-btn-epson:hover {
    background-color: #004b7e;
}

.search-btn-brother {
    padding: 12px 20px;
    background-color: #0d2ea0;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 10px;
    display: inline-block;  /* Ensures the <a> tag behaves like a block-level element */
    text-align: center;  /* Centers the text */
}

.search-btn-brother:hover {
    background-color: #1037c5;
}

@media screen and (max-width: 1200px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);  /* 3 columns for medium screens */
    }
}

@media screen and (max-width: 992px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);  /* 2 columns for smaller screens */
    }
}

@media screen and (max-width: 768px) {
    .search-container {
        display: flex;
        width: 100%;
        flex-direction: column; /* Stack input and button vertically on smaller screens */
        align-items: center; /* Center the items horizontally */
    }

    .product-list {
        grid-template-columns: 1fr;  /* 1 column for mobile screens */
    }

    .search-input {
        width: 90%;  /* Make the input field take up 90% of the screen width on smaller screens */
    }

    .search-btn-link {
        margin-top: 5px;
        width: auto;  /* Adjusts the button size to fit the text */
        padding: 10px 15px;  /* Adjusts the button padding */
    }
}
