body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
}

.topbar {
    background: linear-gradient(90deg, #111, #2c2c2c);
    color: white;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 8px;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
    color: white;
}

.tagline {
    margin: 0;
    font-size: 12px;
    color: #d0d0d0;
}

.search-box {
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links button {
    background: #ff7a00;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.nav-links button:hover {
    background: #e56d00;
}

.hero {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    text-align: center;
    padding: 35px 20px;
    margin-bottom: 20px;
}

.hero h2 {
    margin: 0 0 8px;
    font-size: 32px;
}

.hero p {
    margin: 0;
    font-size: 16px;
    color: #444;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.product-card h3 {
    margin: 12px 0 8px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

.category {
    color: gray;
    margin-bottom: 10px;
}

.product-card button {
    background: #ff7a00;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.product-card button:hover {
    opacity: 0.9;
}

.orders-page {
    padding: 30px;
}

.order-card {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-items {
    margin-top: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 8px;
}

.order-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.order-actions {
    margin-top: 15px;
}

.order-actions button {
    margin-right: 10px;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.status {
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    text-transform: capitalize;
}

.status.pending {
    background: orange;
}

.status.accepted {
    background: green;
}

.status.rejected {
    background: red;
}

.items-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.item-card {
    width: 130px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background: #fafafa;
}

.item-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.buttons {
    margin-top: 14px;
}

.accept,
.reject {
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

.accept {
    background: green;
}

.reject {
    background: red;
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    .hero h2 {
        font-size: 26px;
    }
}

.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0 20px 20px;
    flex-wrap: wrap;
}

.controls select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    background: white;
    cursor: pointer;
}

.badge {
    display: inline-block;
    background: #ff7a00;
    color: white;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

.product button {
    transition: all 0.2s ease;
}

.product button:active {
    transform: scale(0.96);
}

.product h3 {
    font-size: 22px;
}

.product p {
    font-size: 18px;
}

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
        align-items: center;
    }

    .controls select {
        width: 220px;
    }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.cart-page {
    padding: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 15px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-details h3 {
    margin: 0 0 10px;
}

.cart-details button {
    background: red;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.order-actions {
    margin-top: 15px;
}

.order-actions button {
    margin-right: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #ff7a00;
    color: white;
    font-weight: 600;
}