/*
Theme Name: Shogun Peppers
Theme URI: https://shogunpeppers.com/
Author: Shogun Peppers
Author URI: https://shogunpeppers.com/
Description: Custom WooCommerce theme for Shogun Peppers — fresh peppers by the pound, $45/lb with free UPS 2nd Day Air shipping. Dark, flame-forward design built for the pepper shop: quick order, heat ladder, loyalty callout, and a checkout that gets out of the way.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shogun-peppers
Tags: woocommerce, e-commerce, dark, grid-layout, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ============ Tokens ============ */
:root {
    --sp-black: #0d0b09;
    --sp-coal: #171310;
    --sp-panel: #1f1915;
    --sp-line: #33291f;
    --sp-cream: #f5efe4;
    --sp-muted: #b8a894;
    --sp-red: #ff3b00;
    --sp-orange: #ff7a00;
    --sp-amber: #ffb200;
    --sp-green: #7fb069;
    --sp-radius: 10px;
    --sp-font-head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
    --sp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--sp-black);
    color: var(--sp-cream);
    font-family: var(--sp-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--sp-orange); text-decoration: none; }
a:hover { color: var(--sp-amber); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sp-font-head);
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.1;
    margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px;
    clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ============ Top bar ============ */
.sp-topbar {
    background: linear-gradient(90deg, var(--sp-red), var(--sp-orange));
    color: #fff;
    font-family: var(--sp-font-head);
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 16px;
}
.sp-topbar strong { font-weight: 600; }

/* ============ Header ============ */
.sp-header {
    background: var(--sp-coal);
    border-bottom: 3px solid var(--sp-red);
    position: sticky;
    top: 0;
    z-index: 100;
}
.sp-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
}
.sp-logo img { display: block; height: 64px; width: auto; }
.sp-logo-text {
    font-family: var(--sp-font-head);
    font-size: 30px;
    line-height: 1;
    letter-spacing: .06em;
    color: var(--sp-cream);
    text-transform: uppercase;
}
.sp-logo-text span { color: var(--sp-red); }
.sp-nav { margin-left: auto; }
.sp-nav ul {
    display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.sp-nav a {
    display: block;
    padding: 10px 14px;
    color: var(--sp-cream);
    font-family: var(--sp-font-head);
    font-size: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 6px;
}
.sp-nav a:hover, .sp-nav .current-menu-item a {
    background: var(--sp-red);
    color: #fff;
}
.sp-header-actions { display: flex; align-items: center; gap: 12px; }
.sp-header-actions a {
    color: var(--sp-cream);
    font-family: var(--sp-font-head);
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.sp-cart-link { position: relative; padding: 8px 12px; border: 1px solid var(--sp-line); border-radius: 6px; }
.sp-cart-count {
    display: inline-block;
    min-width: 22px;
    padding: 1px 6px;
    margin-left: 6px;
    background: var(--sp-red);
    color: #fff;
    border-radius: 11px;
    font-size: 13px;
    text-align: center;
}
.sp-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--sp-line);
    border-radius: 6px;
    color: var(--sp-cream);
    padding: 8px 12px;
    cursor: pointer;
}

/* ============ Hero ============ */
.sp-hero {
    background:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255, 59, 0, .45), transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 100%, rgba(255, 122, 0, .35), transparent 60%),
        linear-gradient(180deg, #241a12 0%, var(--sp-black) 100%);
    text-align: center;
    padding: 72px 20px 84px;
}
.sp-hero h1 {
    font-size: clamp(42px, 7vw, 84px);
    margin-bottom: .15em;
}
.sp-hero h1 .flame { color: var(--sp-red); }
.sp-hero p.lead {
    font-size: clamp(17px, 2.4vw, 22px);
    color: var(--sp-muted);
    max-width: 640px;
    margin: 0 auto 28px;
}
.sp-hero-price {
    font-family: var(--sp-font-head);
    font-size: 26px;
    letter-spacing: .08em;
    color: var(--sp-amber);
    margin-bottom: 28px;
}
.sp-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--sp-red);
    color: #fff;
    font-family: var(--sp-font-head);
    font-size: 18px;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.sp-btn:hover { background: var(--sp-orange); color: #fff; transform: translateY(-1px); }
.sp-btn-ghost {
    background: transparent;
    border: 2px solid var(--sp-orange);
    color: var(--sp-orange);
}
.sp-btn-ghost:hover { background: var(--sp-orange); color: #fff; }
.sp-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ Sections ============ */
.sp-section { padding: 56px 0; }
.sp-section.alt { background: var(--sp-coal); }
.sp-section-title {
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    margin-bottom: 8px;
}
.sp-section-sub {
    text-align: center;
    color: var(--sp-muted);
    max-width: 640px;
    margin: 0 auto 32px;
}

/* Quick order */
.sp-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.sp-quick-card {
    background: var(--sp-panel);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    padding: 20px;
    text-align: center;
}
.sp-quick-card h3 { font-size: 20px; margin-bottom: 4px; }
.sp-quick-card p { color: var(--sp-muted); font-size: 14px; margin-bottom: 14px; }
.sp-quick-card .price {
    display: block;
    font-family: var(--sp-font-head);
    font-size: 22px;
    color: var(--sp-amber);
    margin-bottom: 14px;
}

/* How it works */
.sp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    counter-reset: step;
}
.sp-step {
    background: var(--sp-panel);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    padding: 24px 20px;
    text-align: center;
}
.sp-step-num {
    display: inline-block;
    width: 44px; height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background: var(--sp-red);
    color: #fff;
    font-family: var(--sp-font-head);
    font-size: 22px;
    margin-bottom: 12px;
}
.sp-step h3 { font-size: 19px; }
.sp-step p { color: var(--sp-muted); font-size: 14px; margin: 0; }

/* Loyalty banner */
.sp-loyalty {
    background: linear-gradient(90deg, rgba(255, 59, 0, .25), rgba(255, 178, 0, .18));
    border: 1px solid var(--sp-orange);
    border-radius: var(--sp-radius);
    padding: 32px;
    text-align: center;
}
.sp-loyalty h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 6px; }
.sp-loyalty p { color: var(--sp-muted); margin-bottom: 0; }
.sp-loyalty strong { color: var(--sp-amber); }

/* ============ Content / pages ============ */
.sp-content { padding: 48px 0 64px; }
.sp-content .wrap-narrow { max-width: 780px; margin: 0 auto; }
.sp-page-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; }
.sp-entry p, .sp-entry li { color: #e8dfcf; }
.sp-entry ul, .sp-entry ol { margin: 0 0 1em 1.4em; }

/* ============ Footer ============ */
.sp-footer {
    background: var(--sp-coal);
    border-top: 3px solid var(--sp-red);
    padding: 48px 0 24px;
    margin-top: 24px;
}
.sp-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.sp-footer h3 { font-size: 18px; color: var(--sp-amber); }
.sp-footer p, .sp-footer li { color: var(--sp-muted); font-size: 14px; }
.sp-footer ul { list-style: none; margin: 0; padding: 0; }
.sp-footer li { margin-bottom: 6px; }
.sp-footer a { color: var(--sp-muted); }
.sp-footer a:hover { color: var(--sp-orange); }
.sp-footer-bottom {
    border-top: 1px solid var(--sp-line);
    padding-top: 20px;
    text-align: center;
    color: var(--sp-muted);
    font-size: 13px;
}

/* ============ Forms ============ */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="search"], select, textarea {
    background: var(--sp-panel);
    border: 1px solid var(--sp-line);
    border-radius: 6px;
    padding: 10px 12px;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--sp-orange);
    outline-offset: 0;
    border-color: var(--sp-orange);
}
label { font-weight: 600; font-size: 14px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .sp-menu-toggle { display: block; }
    .sp-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--sp-coal);
        border-bottom: 3px solid var(--sp-red);
        padding: 8px 20px 16px;
    }
    .sp-nav.open { display: block; }
    .sp-nav ul { flex-direction: column; }
    .sp-header-inner { flex-wrap: wrap; }
    .sp-header { position: relative; }
    .sp-header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
    .sp-logo img { height: 48px; }
    .sp-logo-text { font-size: 22px; }
    .sp-hero { padding: 48px 16px 56px; }
}
