/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Logo styles */
.logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    height: auto;
}

/* Page heading */
h2 {
    margin-top: 20px;
}

/* Product container layout - Fixed 6 products per row */
.product-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Always 6 columns */
    gap: 20px;
    padding: 20px;
    max-width: 80%; /* Limits width to 80% of screen */
    margin-left: auto;
    margin-right: auto;
}

/* Individual product boxes */
.product-box {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

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

/* Product images */
.product-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.blink {
    animation: blinker 1.5s linear infinite;
    color: #FF0000;
    font-size: 0.9em;
    margin-bottom: 10px;
}
@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Responsive styles */
@media (max-width: 600px) {
    .logo img {
        width: 50%; /* Keeps logo size manageable */
        max-width: 180px; /* Prevent excessive resizing */
    }

    .product-container {
        display: grid; /* Keep grid layout */
        grid-template-columns: repeat(3, 1fr); /* 3 products per row */
        gap: 15px; /* Reduce spacing */
        padding: 10px; /* Less padding */
        margin-left: auto;
        margin-right: auto;
        justify-content: center; /* Center items horizontally */
    }

    .product-box {
        width: 100%; /* Ensure full width within grid cell */
        padding: 2px; /* Slightly smaller padding */
        display: flex; /* Use flex to align content */
        flex-direction: column; /* Stack items */
        align-items: center; /* Center contents */
        text-align: center; /* Ensure text is centered */
    }

    .product-box img {
        width: 90%; /* Reduce image size */
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
}
}