* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

/* Store Status Bar */
.store-status {
    background: #1a1a2e;
    padding: 8px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #B0E0E6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.store-status i {
    color: #B0E0E6;
    margin-right: 8px;
}

.status-open {
    color: #4CAF50;
}

.status-closed {
    color: #F44336;
}

/* Navbar */
.navbar {
    background: #0f0f0f;
    padding: 15px 0;
    position: sticky;
    top: 38px;
    z-index: 100;
    border-bottom: 1px solid #1a1a2e;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 24px;
    font-weight: 800;
}

.logo h2 span {
    color: #B0E0E6;
}

.logo p {
    font-size: 10px;
    color: #888;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover, .nav-links a.active {
    color: #B0E0E6;
}

.admin-link {
    background: #1a1a2e;
    padding: 6px 12px;
    border-radius: 20px;
}

.nav-links a span {
    background: #B0E0E6;
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.hero h1 span {
    color: #B0E0E6;
}

.hero p {
    color: #888;
    font-size: 18px;
}

/* Filter Buttons */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #1a1a2e;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #B0E0E6;
    color: #000;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2a2a3e;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: #B0E0E6;
}

.product-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-category {
    font-size: 12px;
    color: #B0E0E6;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #B0E0E6;
    margin-bottom: 16px;
}

.product-stock {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
}

.btn-add-cart {
    width: 100%;
    background: #B0E0E6;
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #000;
}

.btn-add-cart:hover {
    background: #87CEEB;
    transform: scale(0.98);
}

.btn-add-cart.disabled {
    background: #444;
    cursor: not-allowed;
    opacity: 0.5;
}

.loading {
    text-align: center;
    padding: 50px;
    color: #888;
}

/* Cart Page */
.page-title {
    margin-bottom: 30px;
    font-size: 28px;
}

.cart-container {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #2a2a3e;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 2;
}

.cart-item-icon {
    font-size: 32px;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-price {
    color: #B0E0E6;
    font-weight: 600;
    flex: 1;
    text-align: right;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 20px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #2a2a3e;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.qty-value {
    width: 40px;
    text-align: center;
}

.cart-item-subtotal {
    font-weight: 700;
    color: #B0E0E6;
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #F44336;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.cart-summary {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
}

.summary-card h3 {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a3e;
}

.summary-row.total {
    border-bottom: none;
    font-size: 20px;
    font-weight: 700;
    color: #B0E0E6;
    padding-top: 16px;
}

.btn-checkout {
    width: 100%;
    background: #B0E0E6;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.store-hours-warning {
    background: #ff9800;
    color: #000;
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
}

/* Checkout Page */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
}

.info-box {
    background: #0a2a1a;
    border: 1px solid #4CAF50;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-box i {
    font-size: 24px;
    color: #4CAF50;
}

.info-box p {
    font-size: 13px;
    color: #ccc;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
}

.form-group label i {
    margin-right: 8px;
    color: #B0E0E6;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #2a2a3e;
    border: 1px solid #3a3a4e;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #B0E0E6;
}

.order-summary {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    margin-bottom: 20px;
}

.order-total {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #2a2a3e;
}

.order-total .row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.order-total .grand-total {
    font-size: 18px;
    font-weight: 700;
    color: #B0E0E6;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid #2a2a3e;
}

.btn-pay {
    width: 100%;
    background: #B0E0E6;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
}

#redeemMessage {
    display: block;
    margin-top: 6px;
    font-size: 11px;
}

.redeem-valid {
    color: #4CAF50;
}

.redeem-invalid {
    color: #F44336;
}

/* Payment Page */
.payment-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 30px;
}

.payment-details {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
}

.payment-details h3, .payment-details h4 {
    margin-bottom: 16px;
}

.payment-summary {
    background: #2a2a3e;
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.payment-summary .row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.payment-summary .grand-total {
    font-size: 18px;
    font-weight: 700;
    color: #B0E0E6;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid #3a3a4e;
}

.customer-info p {
    padding: 6px 0;
    font-size: 14px;
    word-break: break-all;
}

.qris-section {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
}

.qris-card {
    text-align: center;
}

.qris-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.qris-container {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.qris-container canvas {
    width: 240px;
    height: 240px;
}

.qris-note {
    margin-top: 20px;
    font-size: 14px;
}

.qris-note strong {
    color: #B0E0E6;
    font-size: 20px;
}

.payment-status {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2a2a3e;
}

.status-box {
    background: #2a2a3e;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin: 16px 0;
}

.status-pending {
    color: #FF9800;
}

.status-paid {
    color: #4CAF50;
}

.status-paid i {
    font-size: 48px;
    margin-bottom: 12px;
}

.btn-check-status {
    width: 100%;
    background: #B0E0E6;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

/* Success Page */
.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.success-card {
    background: #1a1a2e;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.success-icon i {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-card h1 {
    margin-bottom: 12px;
}

.order-details {
    background: #2a2a3e;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.delivery-info {
    background: #0a2a1a;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.info-message {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.info-message i {
    font-size: 24px;
    color: #4CAF50;
}

.thanks-message {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #2a2a3e;
}

.thanks-message i {
    color: #ff4081;
    margin-right: 8px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.btn-home, .btn-support {
    flex: 1;
    padding: 12px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.btn-home {
    background: #B0E0E6;
    color: #000;
}

.btn-support {
    background: #2a2a3e;
    color: #fff;
}

/* Support Page */
.support-container {
    max-width: 1000px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.support-card {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.support-card i {
    font-size: 48px;
    color: #B0E0E6;
    margin-bottom: 16px;
}

.support-card h3 {
    margin-bottom: 12px;
}

.support-card p {
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.wa-btn {
    background: #25D366;
    color: #fff;
}

.email-btn {
    background: #EA4335;
    color: #fff;
}

.tg-btn {
    background: #0088cc;
    color: #fff;
}

.faq-list details {
    background: #2a2a3e;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    text-align: left;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-list details p {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #3a3a4e;
    font-weight: normal;
}

.business-hours {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.business-hours h3 {
    margin-bottom: 16px;
}

.business-hours p {
    margin-bottom: 8px;
}

/* Admin Page */
.admin-container {
    max-width: 1000px;
}

.admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #1a1a2e;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: #B0E0E6;
    color: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-card {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.admin-card h3 {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    background: #B0E0E6;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
}

.products-list, .redeem-list, .orders-list {
    margin-top: 20px;
}

.product-item, .redeem-item, .order-item {
    background: #2a2a3e;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.product-info h4, .redeem-info h4 {
    margin-bottom: 4px;
}

.product-info p, .redeem-info p {
    font-size: 12px;
    color: #888;
}

.btn-delete {
    background: #F44336;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-edit {
    background: #2196F3;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 8px;
}

.status-paid-badge {
    background: #4CAF50;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.status-pending-badge {
    background: #FF9800;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Footer */
.footer {
    background: #0f0f0f;
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #1a1a2e;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f0f0f;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid #1a1a2e;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .payment-container {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .cart-item-info {
        flex-direction: column;
    }
    
    .product-item, .redeem-item, .order-item {
        flex-direction: column;
        text-align: center;
    }
}