html, body {
    margin: 0;
    min-height: 100%;
    background: #181818;
    color: #d6d6d6;
    font: 11px Verdana, Arial, Helvetica, sans-serif;
}

body {
    border-top: 2px solid #2f2f2f;
}

.shop-wrap {
    width: min(980px, calc(100% - 28px));
    margin: 38px auto;
}

.shop-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    background: #222;
    border: 1px solid #333;
    padding: 18px;
}

.shop-kicker {
    color: #ff9b1a;
    font-weight: bold;
    margin-bottom: 5px;
}

.shop-header h1,
.shop-card h2 {
    margin: 0;
    color: #eee;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

.shop-header p,
.product-top p,
.checkout-note,
.small-text {
    margin: 8px 0 0;
    color: #bdbdbd;
    line-height: 1.5;
}

.shop-forum {
    color: #58a6ff;
    text-decoration: none;
    white-space: nowrap;
}

.shop-forum:hover {
    text-decoration: underline;
}

.shop-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
}

.shop-card {
    background: #222;
    border: 1px solid #333;
    padding: 18px;
}

.product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.price {
    color: #ff9b1a;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

.stock-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0;
    padding: 12px;
    background: #1b1b1b;
    border: 1px solid #333;
}

.stock-box span {
    color: #aaa;
}

.stock-box strong {
    font-size: 18px;
    color: #eee;
}

.stock-box.in-stock strong {
    color: #8fd18f;
}

.stock-box.out-stock strong {
    color: #ff6b6b;
}

.features {
    margin: 0;
    padding-left: 18px;
    color: #ccc;
    line-height: 1.8;
}

.checkout-card label {
    display: block;
    margin: 14px 0 6px;
    color: #eee;
    font-weight: bold;
}

.checkout-card input,
.checkout-card textarea {
    box-sizing: border-box;
    width: 100%;
    background: #181818;
    color: #ddd;
    border: 1px solid #3d3d3d;
    padding: 9px;
    font: 11px Verdana, Arial, Helvetica, sans-serif;
    outline: 0;
}

.checkout-card input:focus,
.checkout-card textarea:focus {
    border-color: #666;
}

.checkout-card button {
    margin-top: 12px;
    width: 100%;
    background: #2d2d2d;
    color: #eee;
    border: 1px solid #4a4a4a;
    padding: 9px;
    cursor: pointer;
    font: bold 11px Verdana, Arial, Helvetica, sans-serif;
}

.checkout-card button:hover {
    background: #333;
}

.checkout-card button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.alert {
    padding: 10px;
    margin: 12px 0;
    border: 1px solid #444;
    line-height: 1.5;
}

.alert.error {
    background: #2a1717;
    color: #ffb3b3;
    border-color: #573030;
}

.alert.success {
    background: #172617;
    color: #b7e6b7;
    border-color: #315631;
}

.full-card {
    max-width: none;
}

.orders-table {
    overflow-x: auto;
    margin-top: 12px;
}

.orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    text-align: left;
    border: 1px solid #333;
    padding: 7px;
}

.orders-table th {
    background: #303030;
    color: #eee;
}

.orders-table td {
    background: #1d1d1d;
}

@media (max-width: 760px) {
    .shop-grid,
    .shop-header {
        display: block;
    }

    .shop-forum {
        display: inline-block;
        margin-top: 12px;
    }

    .checkout-card {
        margin-top: 14px;
    }
}
