/* ===============================
   RESET & BASE
================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-card: #161616;
    --bg-elevated: #1e1e1e;
    --bg-input: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #f5c542;
    --accent-dark: #d4a830;
    --accent-gradient: linear-gradient(135deg, #ffd966, #f5c542);
    --price-color: #4cda8b;
    --danger: #ff6b6b;
    --border: #2a2a2a;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 480px;
}

/* LIGHT THEME */
[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-elevated: #eaeaea;
    --bg-input: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --accent: #d4a830;
    --accent-dark: #b8912a;
    --accent-gradient: linear-gradient(135deg, #f5c542, #d4a830);
    --price-color: #1b8c4f;
    --danger: #e53935;
    --border: #dcdcdc;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 2px 12px rgba(0,0,0,0.1);
}

html {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===============================
   LAYOUT
================================ */
.app-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    min-height: 100vh;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 12px 90px;
}

/* ===============================
   STICKY HEADER
================================ */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-primary);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.app-header .brand {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
}

.app-header .header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cart {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.header-cart .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--accent);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8e8e8;
    border: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.theme-toggle:active {
    opacity: 0.7;
}

[data-theme="dark"] .theme-toggle {
    background: #3a3a3a;
    border-color: #555555;
}

/* ===============================
   BACK NAVIGATION
================================ */
.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-primary);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.page-header .back-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-elevated);
    font-size: 14px;
}

.page-header .page-title {
    font-size: 15px;
    font-weight: 600;
}

.page-header .header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===============================
   BANNER
================================ */
.banner-section {
    padding: 8px 12px 4px;
}

.banner-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.banner-card img {
    width: 100%;
    height: auto;
}

/* ===============================
   SECTION HEADING
================================ */
.section-title {
    padding: 10px 12px 4px;
    font-size: 14px;
    font-weight: 700;
}

/* ===============================
   CATEGORY GRID
================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 8px 12px 16px;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: background 0.2s;
}

.cat-item:active { background: var(--bg-elevated); }

.cat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ===============================
   PRODUCT GRID (2-col, tight)
================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 6px 12px 24px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.product-card:active { transform: scale(0.98); transition: transform 0.15s; }

.product-card .product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--bg-elevated);
}

.product-card .product-info {
    padding: 8px 10px 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-name {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

.product-card .product-btn {
    margin: 6px 8px 8px;
    padding: 7px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}

.product-card .product-btn:active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* ===============================
   CARD
================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 14px;
    margin: 0 12px 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

/* ===============================
   CART PAGE
================================ */
.cart-empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-secondary);
}

.cart-empty-icon { font-size: 40px; margin-bottom: 8px; opacity: 0.5; }

.cart-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price { font-size: 11px; color: var(--text-secondary); }

.cart-item-subtotal { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 4px; }

.cart-qty {
    display: flex;
    align-items: center;
    align-self: center;
}

.cart-qty a, .cart-qty .qty-value {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-qty a {
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.cart-qty a:active { background: var(--border); }
.cart-qty a.remove-btn { color: var(--danger); margin-left: 6px; }

.cart-summary {
    margin: 10px 12px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
}

.cart-summary .label { font-size: 13px; color: var(--text-secondary); }
.cart-summary .total { font-size: 16px; font-weight: 700; color: var(--accent); }

/* ===============================
   BOTTOM ACTION BAR
================================ */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-max);
    padding: 10px 12px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    z-index: 100;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:active { opacity: 0.85; }

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:active { background: var(--border); }

/* ===============================
   CHECKOUT FORM
================================ */
.checkout-section { padding: 12px; }

.form-group { margin-bottom: 14px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-input);
    color: #000;
    font-size: 14px;
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.15);
}

.form-group input::placeholder { color: #999; }

.change-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.change-box .change-label { font-size: 12px; color: var(--text-secondary); }
.change-box .change-value { font-size: 14px; font-weight: 700; color: var(--price-color); }

/* ===============================
   FLOATING CART (FAB)
================================ */
#floating-cart {
    position: fixed;
    right: 14px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #000;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    z-index: 9999;
    text-decoration: none;
}

#floating-cart:active { transform: scale(0.9); transition: transform 0.15s; }

#floating-cart #cart-count-fab {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #000;
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ===============================
   STATUS BADGE
================================ */
.status-open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-secondary);
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--price-color);
}

/* ===============================
   UTILITIES
================================ */
.text-center { text-align: center; }
.px-12 { padding-left: 12px; padding-right: 12px; }
.mb-8 { margin-bottom: 8px; }

#floating-cart span[aria-hidden] { font-size: 20px; }


/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

/* Page entrance */
.app-wrapper { animation: fadeIn 0.3s ease; }

/* Header slide down */
.app-header, .page-header { animation: slideDown 0.3s ease; }

/* Banner */
.banner-card { animation: scaleIn 0.4s ease 0.1s both; }

/* Category items stagger */
.cat-item { animation: fadeInUp 0.3s ease both; }
.cat-item:nth-child(1) { animation-delay: 0.05s; }
.cat-item:nth-child(2) { animation-delay: 0.1s; }
.cat-item:nth-child(3) { animation-delay: 0.15s; }
.cat-item:nth-child(4) { animation-delay: 0.2s; }
.cat-item:nth-child(5) { animation-delay: 0.25s; }
.cat-item:nth-child(6) { animation-delay: 0.3s; }
.cat-item:nth-child(7) { animation-delay: 0.35s; }
.cat-item:nth-child(8) { animation-delay: 0.4s; }

/* Product cards stagger */
.product-card { animation: fadeInUp 0.35s ease both; }
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

/* Cart items */
.cart-item { animation: fadeInUp 0.3s ease both; }
.cart-item:nth-child(1) { animation-delay: 0.05s; }
.cart-item:nth-child(2) { animation-delay: 0.1s; }
.cart-item:nth-child(3) { animation-delay: 0.15s; }
.cart-item:nth-child(4) { animation-delay: 0.2s; }

/* Buttons hover lift */
.btn-primary, .btn-secondary {
    transition: transform 0.2s, opacity 0.2s;
}

/* Add to cart button bounce feedback */
.product-btn.added {
    animation: bounceIn 0.4s ease;
}

/* FAB entrance */
#floating-cart {
    transition: transform 0.2s, opacity 0.3s;
}

/* Cart summary */
.cart-summary { animation: fadeInUp 0.3s ease 0.1s both; }

/* Form groups */
.form-group { animation: fadeInUp 0.3s ease both; }
.form-group:nth-child(1) { animation-delay: 0.05s; }
.form-group:nth-child(2) { animation-delay: 0.1s; }
.form-group:nth-child(3) { animation-delay: 0.15s; }
.form-group:nth-child(4) { animation-delay: 0.2s; }

/* ===============================
   ORDER HISTORY
================================ */
.history-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    margin: 0 12px 8px;
    animation: fadeInUp 0.3s ease both;
}

.history-item:nth-child(1) { animation-delay: 0.05s; }
.history-item:nth-child(2) { animation-delay: 0.1s; }
.history-item:nth-child(3) { animation-delay: 0.15s; }
.history-item:nth-child(4) { animation-delay: 0.2s; }
.history-item:nth-child(5) { animation-delay: 0.25s; }

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.history-code {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.history-date {
    font-size: 11px;
    color: var(--text-muted);
}

.history-items {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.history-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.history-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.history-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.history-status.pending { background: #2d2510; color: #f5c542; }
.history-status.processed { background: #102a1a; color: #4cda8b; }
.history-status.done { background: var(--bg-elevated); color: var(--text-muted); }

[data-theme="light"] .history-status.pending { background: #fef3cd; color: #856404; }
[data-theme="light"] .history-status.processed { background: #d4edda; color: #155724; }
[data-theme="light"] .history-status.done { background: #e2e3e5; color: #383d41; }

.history-empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-secondary);
    animation: fadeIn 0.4s ease;
}

.history-empty-icon {
    font-size: 40px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* Nav link in header */
.header-history {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid var(--border);
}

.header-history .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    animation: bounceIn 0.4s ease;
}


/* ===============================
   NOTIFICATION TOASTS
================================ */
#notif-container {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 420px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.notif-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    font-size: 13px;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: auto;
}

.notif-toast.notif-show {
    opacity: 1;
    transform: translateY(0);
}

.notif-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notif-text {
    flex: 1;
    line-height: 1.4;
}

.notif-processed {
    border-color: var(--accent);
    background: var(--bg-card);
}

.notif-done {
    border-color: var(--price-color);
}

[data-theme="light"] .notif-toast {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}


/* ===============================
   THEME SWITCH ANIMATION
================================ */
html.theme-ready,
html.theme-ready *,
html.theme-ready *::before,
html.theme-ready *::after {
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.25s ease,
        box-shadow 0.35s ease;
}

/* Don't transition images and performance-heavy stuff */
html.theme-ready img,
html.theme-ready canvas,
html.theme-ready video {
    transition: none;
}

/* Button spin animation */
@keyframes themeSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.theme-toggle.theme-spin {
    animation: themeSpin 0.4s ease;
}


/* =========================================================
   MARKETPLACE FOOTER
   Compact Shopee-inspired layout for Warung Praja
========================================================= */

.app-footer {
    margin-top: 28px;
    background: #102f1d;
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    border: 1px solid rgba(16, 47, 29, .08);
}

.footer-main {
    padding: 18px 14px 16px;
    text-align: left;
}

.footer-brand-box {
    margin-bottom: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-brand {
    margin: 0 0 4px;
    color: #f5c542;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.footer-tagline {
    margin: 0;
    max-width: 330px;
    color: rgba(255,255,255,.72);
    font-size: 9px;
    line-height: 1.5;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    color: rgba(255,255,255,.55);
    font-size: 8px;
}

.footer-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4cda8b;
    flex: 0 0 5px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    text-align: left;
}

.footer-column {
    min-width: 0;
    text-align: left;
}

.footer-heading {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.footer-list {
    display: block;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-list li {
    display: block;
    list-style: none !important;
    margin: 0 0 6px;
    padding: 0 !important;
}

.footer-list li::before {
    content: none !important;
    display: none !important;
}

.footer-list a {
    display: inline-block;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    line-height: 1.35;
    text-decoration: none;
}

.footer-list a:hover {
    color: #f5c542;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    line-height: 1.35;
}

.footer-contact-item strong {
    color: rgba(255,255,255,.88);
    font-weight: 600;
}

.footer-contact-item a {
    color: #f5c542;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.footer-bottom {
    padding: 11px 14px;
    background: rgba(0,0,0,.14);
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-copy {
    margin: 0;
    color: rgba(255,255,255,.42);
    font-size: 8px;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,.48);
    font-size: 8px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #f5c542;
}

[data-theme="dark"] .app-footer {
    background: #0c2918;
}

@media (min-width: 700px) {
    .footer-columns {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 380px) {
    .footer-columns {
        gap: 16px 10px;
    }

    .footer-bottom-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}
