* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f7f7;
}

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

.section {
    margin-bottom: 40px;
}

.Brands {
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: lighter;
    color: #1f1e1e;
}

h2{
    margin-top: 70px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: lighter;
    color: #1f1e1e;
}

/* Banner */
.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Brands */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.brand-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.brand-card img{
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 100px;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.product-card img {
    margin-top: 10px;
    max-width: 100%;
    height: 300px;
    margin-bottom: 10px;
}

/* Budget Cards */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.budget-card {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.iphone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.iphone-card img{
    margin-top: 10px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}