*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f5f5f5;
    color:#222;
}

.hidden{
    display:none;
}

/* Authentication */

.auth-screen{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
    background:#111;
}

.auth-card{
    width:350px;
    background:#fff;
    padding:35px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.2);
}

.auth-card h1{
    margin-bottom:10px;
    color:#000;
}

.auth-card p{
    margin-bottom:20px;
}

.auth-card input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:6px;
}

.auth-card button{
    width:100%;
    padding:12px;
    background:#c00000;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-size:16px;
}

.auth-card button:hover{
    background:#000;
}

/* Header */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    background:#111;
    color:#fff;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo h2{
    color:#fff;
}

.logo p{
    font-size:12px;
    color:#ccc;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    transition:.3s;
}

nav a:hover{
    color:red;
}

/* Hero */

.hero{
    height:90vh;
    background:linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("images/hero.jpg") center/cover;
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero h1{
    font-size:55px;
}

.hero p{
    margin:20px 0;
    font-size:20px;
}

.hero button{
    padding:15px 35px;
    background:red;
    color:white;
    border:none;
    cursor:pointer;
    border-radius:8px;
    font-size:18px;
}

.hero button:hover{
    background:white;
    color:black;
}

/* Sections */

section{
    padding:70px 10%;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    font-size:34px;
}

/* Products */

.products{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.product{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.3s;
}

.product:hover{
    transform:translateY(-8px);
}

.product img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.product-content{
    padding:20px;
}

.product-content h3{
    margin-bottom:10px;
}

.product-content p{
    margin:8px 0;
}

.price{
    color:red;
    font-weight:bold;
    font-size:22px;
}

.product button{
    width:100%;
    padding:12px;
    background:black;
    color:white;
    border:none;
    cursor:pointer;
    margin-top:15px;
}

.product button:hover{
    background:red;
}

.category-bar{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    justify-content:center;

    margin-bottom:35px;

}

.category-bar button{

    padding:12px 22px;

    border:none;

    border-radius:30px;

    background:#111;

    color:white;

    cursor:pointer;

    transition:.3s;

}

.category-bar button:hover{

    background:#c00000;

}

/* Cart */

#cart{
    background:#fff;
}

#cart-items{
    margin-bottom:20px;
}

#cart-items{
    margin-top:30px;
}

.cart-page{

display:grid;

grid-template-columns:2fr 1fr;

gap:40px;

padding:50px 10%;

}

.summary-card{

background:white;

padding:30px;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

position:sticky;

top:100px;

}

.summary-row{

display:flex;

justify-content:space-between;

margin:20px 0;

}

.total-row{

font-size:24px;

}

.summary-card button{

width:100%;

padding:15px;

margin-top:20px;

border:none;

border-radius:8px;

background:#c00000;

color:white;

font-size:18px;

cursor:pointer;

}

.summary-card button:hover{

background:black;

}

.continue-btn{

background:#555 !important;

}

.secure{

margin-top:20px;

text-align:center;

color:green;

font-weight:600;

}

.cart-image{

width:120px;

height:120px;

object-fit:cover;

border-radius:10px;

}

@media(max-width:900px){

.cart-page{

grid-template-columns:1fr;

}

.summary-card{

position:static;

}

}

/* Contact */

#contact{
    background:#111;
    color:white;
    text-align:center;
}

footer{
    background:black;
    color:white;
    text-align:center;
    padding:20px;
}

.search-container{
    width:100%;
    display:flex;
    justify-content:center;
    margin:30px 0;
}

#searchInput{
    width:90%;
    max-width:600px;
    padding:14px 18px;
    border:2px solid #ddd;
    border-radius:30px;
    font-size:16px;
    outline:none;
    transition:.3s;
}

#searchInput:focus{
    border-color: blue;
    box-shadow:0 0 10px rgba(192,0,0,.2);
}
.install-btn{
    position:fixed;
    bottom:20px;
    right:20px;

    background:#d60000;
    color:#fff;

    border:none;
    border-radius:50px;

    padding:15px 22px;

    font-size:16px;
    font-weight:bold;

    cursor:pointer;

    box-shadow:0 6px 18px rgba(0,0,0,.25);

    z-index:9999;

    transition:.3s;
}

.install-btn:hover{
    transform:scale(1.05);
}

.install-btn:active{
    transform:scale(.95);
}

/* Mobile */

@media (max-width:768px){

    header{
        flex-direction:column;
        align-items:flex-start;
    }

    nav{
        width:100%;
        flex-direction:row;
        overflow-x:auto;
        justify-content:flex-start;
    }
}

.hero h1{
font-size:38px;
}

.hero p{
font-size:18px;
}

