
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: auto; min-height: 100%; }
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    padding-bottom: 80px;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; color: #5D4037; }

.container { max-width: 600px; margin: 0 auto; padding: 20px; }

.pesan-button, .checkout-button {
    background-color: #e6a8c7ff; color: #ffffff; border: none; padding: 10px 20px;
    border-radius: 20px; font-weight: 600; cursor: pointer;
    transition: background-color 0.3s ease; text-decoration: none;
    display: inline-block; text-align: center;
}
.pesan-button:hover, .checkout-button:hover { background-color: #f5b5e2ff; }

.product-card, .cart-item, .status-card {
    background-color: #fff; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); overflow: hidden;
}
.product-card { text-align: center; }
.product-card img { width: 100%; height: 120px; object-fit: cover; }
.product-card h3 { font-size: 1rem; margin: 10px 0 5px; font-family: 'Montserrat', sans-serif; color: #333; }
.product-card .rating { font-size: 0.9rem; color: #f9a825; }

.product-item, .cart-item {
    display: flex; align-items: center; margin-bottom: 15px; padding: 15px;
}
.product-item img, .cart-item img {
    width: 80px; height: 80px; object-fit: cover; border-radius: 8px; margin-right: 15px;
}
.product-details, .item-details { flex-grow: 1; }
.product-details h3, .item-details h3 { font-size: 1.1rem; margin-bottom: 5px; font-family: 'Montserrat', sans-serif; color: #333; }
.product-details .price, .item-details .item-price { font-weight: 600; color: #e6a8c7ff; }

.quantity-selector, .quantity-controls {
    display: flex; align-items: center; border: 1px solid #ddd; border-radius: 25px; overflow: hidden;
}
.quantity-selector button, .quantity-controls button, .quantity-controls a {
    background: none; border: none; width: 40px; height: 40px; font-size: 1.2rem;
    cursor: pointer; color: #e6a8c7ff; text-align: center; line-height: 40px;
    text-decoration: none; display: inline-block;
}
.quantity-selector #quantity, .quantity-controls .qty {
    border: none; width: 40px; text-align: center; font-size: 1rem; font-weight: 600;
}

.bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; background-color: #fff;
    border-top: 1px solid #e0e0e0; display: flex;
    justify-content: space-around; padding: 10px 0; z-index: 1000;
}
.bottom-nav a {
    text-decoration: none; color: #888; font-size: 0.9rem; font-weight: 600;
    display: flex; flex-direction: column; align-items: center;
}
.bottom-nav a.active { color: #e6a8c7ff; }
.bottom-nav .icon { font-size: 1.5rem; }
.login-page {
    display: flex; justify-content: center; align-items: center; min-height: 100vh;
    text-align: center; padding: 20px;
}
.login-page .container { width: 100%; max-width: 500px; padding: 0; }
.app-title { font-size: 2.8rem; margin-bottom: 30px; font-weight: 700; }
.main-image {
    width: 100%; max-width: 350px; height: auto; border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); margin-bottom: 40px;
}
.login-page .login-button {
    padding: 15px 60px; border-radius: 50px; font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(216, 67, 21, 0.3);
}
.header-greeting { font-size: 1.2rem; color: #555; margin-bottom: 20px; text-align: center; }
.brand-logo { width: 150px; margin: 20px auto; display: block; border-radius: 12px; }
.section-title { font-size: 1.8rem; margin: 30px 0 15px; text-align: left; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.header-title {
    font-size: 2rem; padding: 20px; text-align: center; background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 20px; border-radius: 0;
}
.product-list { list-style: none; padding: 0; }
.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
}
.form-group textarea { resize: vertical; }
.order-summary-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.order-summary-table th, .order-summary-table td { padding: 10px; text-align: left; border-bottom: 1px solid #ddd; }
.order-summary-table th { background-color: #f4f4f4; }
.total-row td { font-weight: 700; font-size: 1.1rem; color: #e6a8c7ff; }
.status-header { text-align: center; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 15px; }
.status-header h2 { color: #28a745; font-size: 1.5rem; margin-bottom: 5px; }
.status-info p { margin: 5px 0; }
.status-info strong { color: #5D4037; }
.product-image { width: 100%; height: auto; border-radius: 15px; margin-bottom: 20px; }
.product-info h1 { font-size: 2rem; margin-bottom: 10px; }
.product-info p { color: #666; line-height: 1.6; }
.order-section {
    background-color: #fff; padding: 20px; border-radius: 12px; margin-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.price-display { text-align: right; }
.price-display .price-label { font-size: 0.9rem; color: #888; }
.price-display .price-value { font-size: 1.5rem; font-weight: 700; color: #e6a8c7ff; }
.checkout-button-container {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: #fff; padding: 15px 20px; border-top: 1px solid #e0e0e0;
    text-align: center;
}
.checkout-button {
    width: 100%; max-width: 600px; padding: 15px;
    border-radius: 30px; font-size: 1.1rem;
}
.cart-page .checkout-button-container { bottom: 70px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.logout-btn { background-color: #e6a8c7ff; color: white; padding: 8px 15px; border-radius: 5px; text-decoration: none; font-size: 0.9rem; }
.logout-btn:hover { background-color: #f5b5e2ff;}

@media (min-width: 768px) {
    .app-title { font-size: 3.5rem; margin-bottom: 40px; }
    .main-image { max-width: 450px; margin-bottom: 50px; }
    .login-page .login-button { font-size: 1.2rem; padding: 18px 70px; }
    .header-greeting { font-size: 1.5rem; }
    .section-title { font-size: 2.2rem; }
    .product-card img { height: 150px; }
    .product-image { border-radius: 20px; }
    .product-info h1 { font-size: 2.5rem; }
}