* { box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; }
body { background-color: #f4f6f8; color: #333; padding-bottom: 130px; }
header { background-color: #0d6efd; color: white; padding: 18px 15px; text-align: center; position: relative; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
header h1 { font-size: 22px; margin-bottom: 4px; }
header p { font-size: 13px; opacity: 0.9; }
.status-badge { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; background: #198754; color: white; }
.status-tutup { background: #dc3545; }
.btn-admin { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.2); border: none; color: white; font-size: 18px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.container { max-width: 800px; margin: 15px auto; padding: 0 15px; }
.promo-box { background: white; border-radius: 10px; padding: 10px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.06); text-align: center; display: none; }
.promo-box img, .promo-box video { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; }
.promo-caption { font-size: 13px; font-weight: bold; color: #0d6efd; margin-top: 6px; }
.search-box { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; margin-bottom: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.card { background: white; border-radius: 10px; padding: 14px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: space-between; }
.card h3 { font-size: 14px; margin-bottom: 6px; color: #222; line-height: 1.3; }
.card .price { font-weight: bold; color: #0d6efd; font-size: 15px; margin-bottom: 10px; }
.qty-control { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.btn-add { width: 100%; background-color: #0d6efd; color: white; border: none; padding: 9px; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 14px; }
.btn-qty { background-color: #e9ecef; color: #333; border: none; width: 32px; height: 32px; border-radius: 6px; font-weight: bold; font-size: 16px; cursor: pointer; }
.qty-num { font-weight: bold; font-size: 15px; }
.cart-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 12px 15px; box-shadow: 0 -3px 10px rgba(0,0,0,0.1); z-index: 150; justify-content: space-between; align-items: center; }
.cart-info { font-size: 13px; }
.cart-info strong { display: block; font-size: 16px; color: #0d6efd; }
.btn-checkout-open { background-color: #198754; color: white; border: none; padding: 12px 18px; border-radius: 8px; font-weight: bold; font-size: 14px; cursor: pointer; }
.floating-chat { position: fixed; bottom: 75px; right: 15px; background-color: #25D366; color: white; border: none; border-radius: 50px; padding: 11px 16px; font-size: 13px; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; display: flex; align-items: center; gap: 6px; z-index: 100; }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.55); justify-content: center; align-items: center; z-index: 250; padding: 15px; overflow-y: auto; }
.modal-content { background: white; padding: 20px; border-radius: 12px; width: 100%; max-width: 420px; box-shadow: 0 5px 15px rgba(0,0,0,0.25); max-height: 90vh; overflow-y: auto; }
.modal-content h3 { margin-bottom: 12px; font-size: 18px; color: #222; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.modal-content h4 { margin: 16px 0 8px; font-size: 14px; color: #0d6efd; border-top: 1px solid #eee; padding-top: 12px; text-transform: uppercase; }
.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-size: 12px; font-weight: bold; margin-bottom: 4px; color: #444; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 9px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; }
.form-group textarea { height: 65px; resize: none; }
.pay-box { background: #eef6ff; border: 1px solid #b6d4fe; padding: 10px; border-radius: 8px; margin-bottom: 12px; text-align: center; font-size: 13px; display: none; }
.pay-box img { max-width: 190px; border-radius: 8px; margin: 8px auto; display: block; border: 1px solid #ddd; }
.preview-media img, .preview-media video { max-width: 100%; max-height: 150px; border-radius: 8px; margin-top: 6px; }
.summary-box { background: #f8f9fa; padding: 10px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; border: 1px solid #e9ecef; line-height: 1.5; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 15px; }
.btn-cancel { background: #e9ecef; color: #333; border: none; padding: 10px 15px; border-radius: 6px; cursor: pointer; font-weight: bold; }
.btn-send { background: #25D366; color: white; border: none; padding: 10px 16px; border-radius: 6px; font-weight: bold; text-decoration: none; display: inline-block; text-align: center; cursor: pointer; font-size: 14px; }
.btn-primary { background: #0d6efd; color: white; border: none; padding: 10px 16px; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 14px; width: 100%; }
