/* --- HEADER --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #000;
    color: white;
}
.logo {
    font-size: 26px;
    font-weight: bold;
}
.nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    background: #f2f2f2;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
}
.hero-content p {
    font-size: 18px;
    margin: 10px 0;
}
.hero-img {
    width: 420px;
    border-radius: 12px;
}
.btn {
    background: #000;
    color: white;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 4px;
}

/* --- CATEGORY SECTION --- */
.categories {
    text-align: center;
    padding: 40px 20px;
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cat-card img {
    width: 100%;
    border-radius: 8px;
}
.cat-card h3 {
    margin-top: 10px;
}

/* --- FEATURED PRODUCTS --- */
.featured {
    padding: 40px 20px;
    text-align: center;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: white;
}
.product-details {
    display: flex;
    gap: 40px;
    padding: 50px;
}

.image-box img {
    width: 400px;
    border-radius: 8px;
}

.info-box {
    max-width: 450px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.desc {
    margin: 20px 0;
    line-height: 1.5;
}

.back {
    margin: 20px 50px;
    display: inline-block;
    text-decoration: none;
    color: #000;
}

.btn {
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
}
th, td {
    padding: 12px;
    text-align: center;
}
img {
    border-radius: 6px;
}
.btn {
    padding: 10px 20px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
form select, form input[type=text], form button {
    padding: 10px 12px;
    margin: 5px;
    font-size: 16px;
}

form button {
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

form select, form input[type=text] {
    border-radius: 4px;
    border: 1px solid #ccc;
}
