/* =========================================
 *  Global Variables & Base Styling
 *  ========================================= */
:root {
    --pico-primary: #d7261b;
    --pico-primary-background: #d7261b;
    --pico-primary-hover: #b31e15;
    --pico-primary-hover-background: #b31e15;
    --pico-color: #333333;
    --bg-color: #f2f0eb;
    --text-main: #2d3748;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif !important;
}

h3 {
    margin-bottom: 8px;
}

.brand-gold { color: #f3c407; }
nav img { height: 2.5rem; vertical-align: middle; margin-right: 0.5rem; }

/* =========================================
 *  Store & Product Cards
 *  ========================================= */
.grid article {
    display: flex;
    flex-direction: column;
}

.desc {
    font-size: smaller;
    margin-top: 18px;
}

.price {
    font-weight: bold;
    margin-top: 18px;
}

.stock {
    font-size: smaller;
    margin-top: -18px;
}

.hint {
    font-size: small;
    margin-top: auto;
}

/* Store Buttons */
.payhip-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.active-btn {
    background-color: #00664d;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.active-btn:hover {
    background-color: #007e5d;
    transform: translateY(-1px);
}

.disabled-btn {
    background-color: #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

/* =========================================
 *  Flasher Elements
 *  ========================================= */
#terminal {
background: #1e1e1e;
color: #00ff00;
padding: 1rem;
border-radius: 5px;
height: 300px;
overflow-y: auto;
font-family: monospace;
font-size: 0.85rem;
}

/* =========================================
 *  BOM Elements
 *  ========================================= */
th {
    background-color: rgba(243, 196, 7, 0.15);
}
