*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body{
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.header{
    display: flex;
    align-items: center;
    justify-content: center; 
    background-color: #333;
    height: 80px;
    position: relative;
    padding: 0 20px;
}
.header a{
    text-decoration: none;
    padding: 10px;
    transition: 0.2s;
}
.header a:hover{
  transform: scale(1.2);
}
header {
    background-color: #333;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.h1{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px; 
}
.start{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: white;
    width: 100%;
    flex-wrap: wrap;
}
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-grow: 1;
}
.nav a {
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}
.nav a:hover {
    color: #ff6600;
}
.header img{
    max-width: 100px;
    max-height: 100px;
}

.all {
    display: flex;
   flex-wrap: wrap; 
   gap: 20px; 
   justify-content: center;  
}


.product {
   width: calc(25% - 20px);
   max-width: 300px;
   max-height: 300px;
   height: auto;
   border: 0 !important;        
   outline: none;               
   padding: 10px;
   text-align: center;
   margin: 10px;
   border-radius: 8px;          
   box-shadow: 0 4px 12px rgba(51,51,51,0.3); 
   transition: 0.3s;
}


.product img{
   max-width: 200px;
   max-height: auto;
}
.product a img{
   text-decoration: none;
   padding: 10px;
   transition: 0.4s;
}

.product a:hover img{
transform: scale(0.7);
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 10px ; 
    background-color: #333;
    color: white;
    background: #333;
    color: white;
    padding: 15px 20px;
}

.right {
    display: flex;
    justify-content: flex-end; 
    flex-grow: 0;
    color: white;
    text-decoration: none;
}

.signin-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-left: auto; 
    transition: 0.3s ease-in-out;
}

.signin-link:hover{
    transform: scale(0.9);
}
main {
    flex: 1;
}

/* Responsive – same breakpoints as Home */
@media screen and (max-width: 992px) {
    .product {
        width: calc(50% - 20px);
        max-width: none;
    }
    .nav {
        gap: 12px;
    }
    .nav a {
        font-size: 16px;
        padding: 8px;
    }
    .h1 {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    header,
    .header {
        flex-wrap: wrap;
        height: auto;
        min-height: 80px;
        padding: 10px 15px;
    }
    .h1 {
        position: static;
        transform: none;
        width: 100%;
        order: 1;
        text-align: center;
        font-size: 18px;
        margin: 5px 0;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 10px 0;
    }
    .nav a {
        font-size: 14px;
        padding: 6px 10px;
    }
    .all {
        gap: 15px;
        padding: 0 10px;
    }
    .product {
        width: 100%;
        max-width: 320px;
        margin: 0 auto 10px;
    }
    .product img {
        max-width: 100%;
    }
    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px 10px;
    }
}

@media screen and (max-width: 480px) {
    .h1 {
        font-size: 16px;
    }
    .header img {
        max-width: 70px;
        max-height: 70px;
    }
    .nav a {
        font-size: 13px;
    }
}
