/*
Theme Name: AR-15 Lower Lab — Industrial Child
Template: astra
Version: 1.0
Description: Industrial / machinist child theme for ar15lowerlab.com
Author: AR-15 Lower Lab
*/

/* ---- Color tokens ---- */
:root {
    --arl-bg: #0a0a0a;
    --arl-surface: #1a1a1a;
    --arl-border: #2a2a2a;
    --arl-text: #e8e8e8;
    --arl-muted: #888;
    --arl-gold: #d4af37;
    --arl-gold-bright: #f5cb5c;
    --arl-steel: #c5c5c5;
}

/* ---- Typography ---- */
body, .site, .ast-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.65;
}
h1, h2, h3, h4, h5, h6, .entry-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #0a0a0a;
}
code, pre, .arl-spec, .arl-sku {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
    font-size: 13px;
}

/* ---- Header / top bar ---- */
.arl-topbar {
    background: var(--arl-bg);
    color: var(--arl-steel);
    padding: 8px 24px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--arl-gold);
}
.arl-topbar a { color: var(--arl-gold); text-decoration: none; }
.arl-topbar .ffl { letter-spacing: 1px; font-family: 'JetBrains Mono', monospace; }

.ast-primary-header-bar { border-bottom: 2px solid var(--arl-bg) !important; }
.site-title a { color: #0a0a0a !important; font-family: 'Space Grotesk', sans-serif; font-weight: 800; letter-spacing: -1px; }

/* ---- Buttons / CTAs ---- */
.wp-block-button__link, .ast-button, .single_add_to_cart_button, .checkout-button {
    background: var(--arl-bg) !important;
    color: #fff !important;
    border: 2px solid var(--arl-gold) !important;
    border-radius: 0 !important;
    padding: 14px 32px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    transition: all .15s !important;
}
.wp-block-button__link:hover, .ast-button:hover, .single_add_to_cart_button:hover, .checkout-button:hover {
    background: var(--arl-gold) !important;
    color: var(--arl-bg) !important;
}

/* ---- Product grid / shop ---- */
.woocommerce ul.products li.product {
    border: 1px solid #e5e5e5 !important;
    background: #fff !important;
    padding: 16px !important;
    transition: border-color .15s;
}
.woocommerce ul.products li.product:hover { border-color: var(--arl-gold) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0a0a0a !important;
    padding: 12px 0 4px !important;
}
.woocommerce ul.products li.product .price {
    color: var(--arl-gold) !important;
    font-weight: 700 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--arl-bg) !important;
    color: var(--arl-steel) !important;
    padding: 56px 24px 24px !important;
    border-top: 4px solid var(--arl-gold) !important;
}
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer .widget-title {
    color: var(--arl-gold) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 16px !important;
}
.site-footer a { color: var(--arl-steel) !important; text-decoration: none; }
.site-footer a:hover { color: var(--arl-gold-bright) !important; }

/* Trust strip */
.arl-trust-strip {
    background: var(--arl-bg);
    color: var(--arl-steel);
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--arl-border);
    border-bottom: 1px solid var(--arl-border);
}
.arl-trust-strip .arl-trust-row {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.arl-trust-item strong {
    display: block;
    color: var(--arl-gold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: 'Space Grotesk', sans-serif;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .arl-topbar { font-size: 11px; padding: 6px 16px; }
    .arl-trust-strip .arl-trust-row { gap: 24px; flex-direction: column; }
}