/*
Theme Name: Theron's Gaming Goods
Theme URI: https://theronsgaminggoods.com/
Author: Therons Gaming Goods LLC
Description: A custom storefront theme for retro and modern video game consoles, games, and accessories. Includes a demonstration cart and checkout that do not process payments.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: therons-gaming-goods
License: Proprietary business theme
*/

:root {
  --ink: #101828; --ink-2: #344054; --muted: #667085; --line: #d0d5dd;
  --paper: #ffffff; --soft: #f8fafc; --soft-2: #eef2f6; --accent: #d92d20;
  --accent-dark: #b42318; --positive: #067647; --warning: #b54708;
  --shadow-sm: 0 1px 3px rgba(16,24,40,.10), 0 1px 2px rgba(16,24,40,.06);
  --shadow-lg: 0 24px 55px rgba(16,24,40,.16); --radius: 18px; --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.announcement { background: var(--ink); color: #fff; font-size: .88rem; }
.announcement .container { display:flex; justify-content:center; gap:10px; padding: 8px 0; text-align:center; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(208,213,221,.85); }
.header-row { min-height: 76px; display:flex; align-items:center; gap: 28px; }
.brand img { width: 270px; height: auto; }
.main-nav { display:flex; align-items:center; gap: 22px; margin-left:auto; font-weight: 650; color: var(--ink-2); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display:flex; align-items:center; gap: 10px; }
.icon-button { border: 1px solid var(--line); background: var(--paper); min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display:inline-flex; align-items:center; justify-content:center; gap:8px; color: var(--ink); }
.icon-button:hover { background: var(--soft); }
.cart-count { background: var(--accent); color:white; border-radius:999px; min-width:20px; height:20px; padding:0 5px; display:inline-flex; align-items:center; justify-content:center; font-size:.72rem; font-weight:800; }
.menu-button { display:none; }
.hero { background: radial-gradient(circle at 18% 20%, rgba(229,72,77,.10), transparent 35%), linear-gradient(180deg,#f8fafc 0%,#fff 100%); overflow:hidden; }
.hero-grid { min-height: 650px; display:grid; grid-template-columns: 1.03fr .97fr; align-items:center; gap: 58px; padding: 70px 0; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; margin:0 0 14px; color: var(--accent); font-weight:800; text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; }
.eyebrow::before { content:""; width:28px; height:2px; background:currentColor; }
h1,h2,h3 { line-height:1.12; letter-spacing:-.025em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); margin: 0 0 22px; max-width: 760px; }
h2 { font-size: clamp(2rem,4vw,3.15rem); margin:0; }
h3 { font-size:1.25rem; }
.hero-copy > p { font-size:1.18rem; color:var(--ink-2); max-width:650px; margin:0 0 30px; }
.button-row { display:flex; flex-wrap:wrap; gap:12px; }
.btn { border:0; border-radius:12px; min-height:48px; padding: 12px 20px; font-weight:750; display:inline-flex; justify-content:center; align-items:center; gap:9px; transition:.18s transform,.18s background,.18s box-shadow; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color:white; box-shadow: 0 8px 20px rgba(217,45,32,.22); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background:white; color:var(--ink); border:1px solid var(--line); }
.btn-dark { background:var(--ink); color:white; }
.btn-block { width:100%; }
.trust-row { margin-top:36px; display:flex; flex-wrap:wrap; gap:20px; color:var(--ink-2); font-size:.92rem; }
.trust-item { display:flex; align-items:center; gap:8px; }
.check { color:var(--positive); font-weight:900; }
.hero-art img { filter: drop-shadow(0 30px 40px rgba(16,24,40,.18)); }
.section { padding: 86px 0; }
.section-soft { background:var(--soft); }
.section-dark { background:var(--ink); color:white; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:34px; }
.section-heading p { color:var(--muted); margin:8px 0 0; max-width:650px; }
.section-dark .section-heading p { color:#cbd5e1; }
.text-link { color:var(--accent); font-weight:750; white-space:nowrap; }
.category-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.category-card { min-height:230px; padding:26px; border:1px solid var(--line); border-radius:var(--radius); background:white; position:relative; overflow:hidden; box-shadow:var(--shadow-sm); transition:.2s transform,.2s box-shadow; }
.category-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.category-card::after { content:""; position:absolute; width:120px; height:120px; right:-30px; bottom:-30px; border-radius:50%; background:var(--soft-2); }
.category-icon { width:52px; height:52px; border-radius:14px; background:var(--ink); color:white; display:grid; place-items:center; font-size:1.35rem; }
.category-card h3 { margin:22px 0 8px; }
.category-card p { color:var(--muted); margin:0 0 15px; }
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.product-card { border:1px solid var(--line); border-radius:var(--radius); background:white; overflow:hidden; display:flex; flex-direction:column; min-width:0; box-shadow:var(--shadow-sm); }
.product-card:hover { box-shadow:var(--shadow-lg); }
.product-image-wrap { aspect-ratio:4/3; background:var(--soft); position:relative; overflow:hidden; }
.product-image-wrap img { width:100%; height:100%; object-fit:cover; transition:.25s transform; }
.product-card:hover .product-image-wrap img { transform:scale(1.025); }
.badge { position:absolute; left:12px; top:12px; padding:6px 9px; border-radius:999px; background:rgba(255,255,255,.94); border:1px solid rgba(208,213,221,.9); font-weight:750; font-size:.75rem; }
.product-body { padding:18px; display:flex; flex-direction:column; flex:1; }
.product-meta { color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; font-weight:750; }
.product-title { margin:7px 0 8px; font-size:1.08rem; }
.product-title a:hover { color:var(--accent); }
.product-desc { color:var(--muted); font-size:.91rem; margin:0 0 15px; }
.product-bottom { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-top:auto; }
.price { font-size:1.2rem; font-weight:850; }
.stock { font-size:.78rem; color:var(--positive); }
.card-actions { display:flex; gap:8px; margin-top:15px; }
.card-actions .btn { min-height:42px; padding:9px 12px; font-size:.88rem; flex:1; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; counter-reset:step; }
.step { padding:28px; border:1px solid rgba(255,255,255,.15); border-radius:var(--radius); background:rgba(255,255,255,.04); }
.step::before { counter-increment:step; content:"0" counter(step); display:block; color:#fda29b; font-weight:850; font-size:.85rem; letter-spacing:.12em; margin-bottom:34px; }
.step p { color:#cbd5e1; margin-bottom:0; }
.value-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.value-card { padding:26px; background:white; border:1px solid var(--line); border-radius:var(--radius); }
.value-card p { color:var(--muted); margin-bottom:0; }
.newsletter { padding:45px; border-radius:26px; background:linear-gradient(135deg,#1d2939,#101828); color:white; display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center; }
.newsletter p { color:#cbd5e1; margin-bottom:0; }
.newsletter form { display:flex; gap:10px; min-width:min(100%,440px); }
.newsletter input { flex:1; min-height:48px; border:1px solid #475467; border-radius:11px; padding:0 14px; background:white; color:var(--ink); }
.site-footer { background:#0b1220; color:white; padding:60px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:38px; }
.footer-brand img { width:250px; margin-bottom:18px; }
.footer-brand p { color:#98a2b3; max-width:390px; }
.footer-col h3 { font-size:.95rem; letter-spacing:.06em; text-transform:uppercase; color:#eaecf0; }
.footer-col a { display:block; margin:10px 0; color:#98a2b3; }
.footer-col a:hover { color:white; }
.footer-bottom { border-top:1px solid #344054; margin-top:40px; padding-top:22px; color:#98a2b3; display:flex; justify-content:space-between; gap:20px; font-size:.86rem; }
.footer-bottom p { margin:0; }
.page-hero { background:var(--soft); border-bottom:1px solid var(--line); padding:58px 0; }
.page-hero p { color:var(--muted); max-width:700px; font-size:1.05rem; }
.shop-layout { display:grid; grid-template-columns:260px 1fr; gap:30px; align-items:start; }
.filters { position:sticky; top:104px; padding:20px; border:1px solid var(--line); border-radius:var(--radius); background:white; }
.filter-group { padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.filter-group:last-child { border-bottom:0; margin-bottom:0; }
.filter-group h3 { font-size:.93rem; margin:0 0 12px; }
.filter-list { display:grid; gap:8px; }
.filter-list label { display:flex; gap:9px; align-items:center; color:var(--ink-2); font-size:.92rem; }
.field { display:grid; gap:7px; }
.field label { font-weight:700; font-size:.9rem; }
.input, .select, textarea { width:100%; min-height:46px; border:1px solid var(--line); border-radius:11px; padding:10px 12px; background:white; color:var(--ink); }
.input:focus, .select:focus, textarea:focus { outline:3px solid rgba(217,45,32,.12); border-color:var(--accent); }
.shop-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:20px; }
.search-wrap { flex:1; max-width:480px; }
.result-count { color:var(--muted); font-size:.9rem; }
.empty-state { grid-column:1/-1; text-align:center; border:1px dashed var(--line); border-radius:var(--radius); padding:60px 20px; color:var(--muted); }
.drawer-backdrop, .modal-backdrop { position:fixed; inset:0; background:rgba(16,24,40,.58); z-index:90; opacity:0; pointer-events:none; transition:.2s opacity; }
.drawer-backdrop.open, .modal-backdrop.open { opacity:1; pointer-events:auto; }
.cart-drawer { position:fixed; right:0; top:0; bottom:0; width:min(100%,440px); background:white; z-index:100; box-shadow:var(--shadow-lg); transform:translateX(102%); transition:.25s transform; display:flex; flex-direction:column; }
.cart-drawer.open { transform:translateX(0); }
.drawer-head { display:flex; justify-content:space-between; align-items:center; padding:20px; border-bottom:1px solid var(--line); }
.drawer-head h2 { font-size:1.35rem; }
.cart-items { flex:1; overflow:auto; padding:10px 20px; }
.cart-item { display:grid; grid-template-columns:82px 1fr auto; gap:13px; padding:15px 0; border-bottom:1px solid var(--line); }
.cart-item img { width:82px; height:65px; object-fit:cover; border-radius:10px; background:var(--soft); }
.cart-item h3 { font-size:.95rem; margin:0 0 4px; }
.cart-item p { margin:0; color:var(--muted); font-size:.83rem; }
.qty-controls { display:flex; align-items:center; gap:7px; margin-top:8px; }
.qty-controls button { width:27px; height:27px; border:1px solid var(--line); background:white; border-radius:7px; }
.remove-link { border:0; background:transparent; color:var(--accent); padding:0; font-size:.8rem; margin-top:6px; }
.drawer-foot { border-top:1px solid var(--line); padding:20px; box-shadow:0 -8px 18px rgba(16,24,40,.05); }
.summary-line { display:flex; justify-content:space-between; gap:20px; margin:7px 0; }
.summary-line.total { font-size:1.12rem; font-weight:850; border-top:1px solid var(--line); padding-top:13px; margin-top:13px; }
.mini-note { color:var(--muted); font-size:.78rem; }
.modal { position:fixed; left:50%; top:50%; transform:translate(-50%,-47%) scale(.98); width:min(calc(100% - 28px),820px); max-height:90vh; overflow:auto; background:white; border-radius:22px; z-index:110; opacity:0; pointer-events:none; transition:.2s; box-shadow:var(--shadow-lg); }
.modal.open { opacity:1; pointer-events:auto; transform:translate(-50%,-50%) scale(1); }
.modal-close { position:absolute; right:14px; top:14px; z-index:2; }
.product-modal-grid { display:grid; grid-template-columns:1fr 1fr; }
.product-modal-grid img { width:100%; height:100%; min-height:420px; object-fit:cover; background:var(--soft); }
.modal-copy { padding:42px 34px 30px; }
.modal-copy h2 { font-size:2rem; margin:8px 0 12px; }
.detail-list { padding-left:18px; color:var(--ink-2); }
.notice { border-left:4px solid var(--warning); background:#fffaeb; padding:13px 15px; border-radius:8px; color:#7a2e0e; font-size:.88rem; }
.checkout-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:34px; align-items:start; }
.checkout-form, .order-summary, .content-card { border:1px solid var(--line); border-radius:var(--radius); background:white; padding:26px; }
.form-section { border-bottom:1px solid var(--line); padding-bottom:24px; margin-bottom:24px; }
.form-section:last-child { border:0; margin:0; padding:0; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-grid .full { grid-column:1/-1; }
.order-summary { position:sticky; top:105px; }
.order-row { display:grid; grid-template-columns:58px 1fr auto; gap:10px; align-items:center; margin:13px 0; }
.order-row img { width:58px; height:46px; object-fit:cover; border-radius:8px; }
.demo-payment { background:var(--soft); border:1px dashed var(--line); border-radius:12px; padding:15px; }
.demo-payment strong { display:block; }
.demo-payment span { color:var(--muted); font-size:.86rem; }
.confirmation { text-align:center; max-width:760px; margin:0 auto; }
.confirmation-mark { width:80px; height:80px; border-radius:50%; background:#dcfae6; color:var(--positive); display:grid; place-items:center; font-size:2rem; margin:0 auto 20px; }
.legal { max-width:850px; }
.legal h2 { font-size:1.6rem; margin-top:42px; }
.legal p, .legal li { color:var(--ink-2); }
.faq details { border-bottom:1px solid var(--line); padding:18px 0; }
.faq summary { font-weight:750; cursor:pointer; }
.faq details p { color:var(--muted); }
.toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,30px); background:var(--ink); color:white; border-radius:12px; padding:12px 16px; z-index:200; opacity:0; pointer-events:none; transition:.2s; box-shadow:var(--shadow-lg); }
.toast.show { opacity:1; transform:translate(-50%,0); }
@media (max-width: 980px) {
 .main-nav { position:fixed; left:0; right:0; top:110px; background:white; border-bottom:1px solid var(--line); padding:22px; display:none; flex-direction:column; align-items:flex-start; }
 .main-nav.open { display:flex; }
 .menu-button { display:inline-flex; }
 .brand img { width:220px; }
 .hero-grid, .checkout-grid { grid-template-columns:1fr; }
 .hero-art { max-width:670px; margin:0 auto; }
 .category-grid, .product-grid { grid-template-columns:repeat(2,1fr); }
 .footer-grid { grid-template-columns:1fr 1fr; }
 .shop-layout { grid-template-columns:1fr; }
 .filters { position:static; display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
 .filter-group { border:0; margin:0; padding:0; }
 .order-summary { position:static; }
}
@media (max-width: 650px) {
 .container { width:min(calc(100% - 22px),var(--max)); }
 .announcement { font-size:.76rem; }
 .header-row { min-height:68px; gap:10px; }
 .brand img { width:172px; }
 .header-actions .label { display:none; }
 .hero-grid { min-height:0; padding:52px 0; gap:34px; }
 h1 { font-size:2.65rem; }
 .section { padding:62px 0; }
 .section-heading { align-items:flex-start; flex-direction:column; }
 .category-grid, .product-grid, .steps, .value-grid, .footer-grid, .product-modal-grid { grid-template-columns:1fr; }
 .product-grid { gap:15px; }
 .newsletter { padding:28px 20px; grid-template-columns:1fr; }
 .newsletter form { flex-direction:column; min-width:0; }
 .footer-bottom { flex-direction:column; }
 .filters { grid-template-columns:1fr; }
 .shop-toolbar { align-items:stretch; flex-direction:column; }
 .form-grid { grid-template-columns:1fr; }
 .form-grid .full { grid-column:auto; }
 .product-modal-grid img { min-height:260px; max-height:340px; }
 .modal-copy { padding:27px 22px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }

/* WordPress integration */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.customize-partial-edit-shortcut-button { padding: 0 !important; }
.wp-caption, .wp-block-image { max-width: 100%; }
.alignwide { width: min(calc(100% - 32px), 1400px); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.contact-status { margin-bottom: 18px; padding: 13px 15px; border-radius: 10px; }
.contact-status.success { background:#ecfdf3; color:#05603a; border:1px solid #abefc6; }
.contact-status.error { background:#fef3f2; color:#912018; border:1px solid #fecdca; }
.honeypot { position:absolute!important; left:-9999px!important; opacity:0!important; pointer-events:none!important; }
.site-main-generic { min-height: 48vh; }
.site-main-generic .entry-content { max-width: 850px; margin: 0 auto; padding: 72px 0; }
.site-main-generic .entry-content a { color: var(--accent); text-decoration: underline; }

.main-nav .menu { display:flex; align-items:center; gap:22px; list-style:none; margin:0; padding:0; }
.main-nav .menu li { margin:0; padding:0; }
@media (max-width:980px) { .main-nav .menu { flex-direction:column; align-items:flex-start; gap:18px; width:100%; } }
