/* =========================
   RESET & BODY
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f9f9;
    color: #333;
    line-height: 1.5;
}

/* =========================
   HEADER
========================= */
header {
    text-align: center;
    padding: 15px 0;
    background-color: #0077b6;
    color: white;
}

header h1 {
    margin-bottom: 10px;
}

/* =========================
   NAVIGATION BAR
========================= */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: #0096c7;
    padding: 10px 0;
    flex-wrap: wrap;
}

.main-nav a,
.dropbtn {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.main-nav a:hover,
.dropbtn:hover {
    background-color: #023e8a;
}

/* =========================
   DROPDOWN
========================= */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0096c7;
    min-width: 180px;
    flex-direction: column;
    border-radius: 5px;
    margin-top: 5px;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #023e8a;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

/* =========================
   MAIN CONTENT
========================= */
main {
    padding: 20px;
    text-align: center;
}

/* Featured section */
.feature {
    margin-bottom: 30px;
}

.feature img {
    margin: 15px 0;
    border-radius: 8px;
}

/* =========================
   PRODUCT GRID
========================= */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.product {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* =========================
   TABLES (for checkout/cart)
========================= */
table {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #0096c7;
    color: white;
}

/* =========================
   BUTTONS
========================= */
button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0096c7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

button:hover {
    background-color: #023e8a;
}

/* =========================
   FORMS
========================= */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"] {
    padding: 8px;
    width: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 15px;
    background-color: #0077b6;
    color: white;
    margin-top: 30px;
}
