/* ============================================================
   ORDER23 — LEGACY 23 SKIN (Gemini "Cyber-Minimalist Dark Mode")
   Obsidian #0A0A0C · Jordan Red #E31B23 · Neon Cyan #00F0FF
   Titanium Silver #E5E7EB · Aura Gold #F59E0B
   Loaded after Storefront styles. Storefront + WooCommerce core untouched.
   ============================================================ */

:root{
  --o23-obsidian:#0A0A0C;
  --o23-panel:rgba(255,255,255,.04);
  --o23-panel-strong:rgba(255,255,255,.07);
  --o23-red:#E31B23;
  --o23-cyan:#00F0FF;
  --o23-silver:#E5E7EB;
  --o23-silver-dim:rgba(229,231,235,.62);
  --o23-line:rgba(229,231,235,.13);
  --o23-gold:#F59E0B;
  --o23-mono:'JetBrains Mono',ui-monospace,monospace;
}

/* ---------- Base ---------- */
body, body.home, body.archive, body.single-product, body.page{
  background-color:var(--o23-obsidian) !important;
  color:var(--o23-silver);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
}
h1,h2,h3,h4,h5,h6,.site-title a,.entry-title{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--o23-silver);
  letter-spacing:-.01em;
}
a{ color:var(--o23-cyan); }
a:hover{ color:var(--o23-cyan); text-shadow:0 0 12px rgba(0,240,255,.55); }
::selection{ background:var(--o23-red); color:#fff; }

.o23-mono{ font-family:var(--o23-mono); }
.o23-red{ color:var(--o23-red); }
.o23-kicker{
  font-family:var(--o23-mono); font-size:.78rem; font-weight:700;
  letter-spacing:.28em; text-transform:uppercase; color:var(--o23-cyan);
  margin:0 0 .9rem;
}

/* ---------- Header ---------- */
.site-header{
  background:rgba(10,10,12,.86) !important;
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--o23-line);
  color:var(--o23-silver);
}
.site-header .custom-logo{ max-height:54px; width:auto; }
.site-title a, .site-description{ color:var(--o23-silver); }
.site-description{ color:var(--o23-silver-dim); font-family:var(--o23-mono); font-size:.72rem; letter-spacing:.08em; }
.storefront-primary-navigation{ background:transparent; border-top:1px solid var(--o23-line); }
.main-navigation ul li a, .primary-navigation a, .handheld-navigation a{
  color:var(--o23-silver); font-weight:600;
}
.main-navigation ul li a:hover, .primary-navigation a:hover{ color:var(--o23-cyan); text-shadow:0 0 12px rgba(0,240,255,.5); }
.site-search .widget_product_search input[type=search],
.site-header-cart .cart-contents{ color:var(--o23-silver); }
input[type=search],input[type=text],input[type=email],input[type=tel],input[type=password],
input[type=number],textarea,select,.input-text{
  background:#101014 !important; color:var(--o23-silver) !important;
  border:1px solid var(--o23-line) !important; border-radius:8px;
  box-shadow:none !important;
}
input:focus,textarea:focus,select:focus{ border-color:var(--o23-cyan) !important; outline:none; box-shadow:0 0 0 1px rgba(0,240,255,.35) !important; }
.site-header-cart .widget_shopping_cart{
  background:#101014; border:1px solid var(--o23-line); color:var(--o23-silver);
}
.storefront-breadcrumb{ background:transparent; color:var(--o23-silver-dim); }
.storefront-breadcrumb a{ color:var(--o23-silver-dim); }
button.menu-toggle{ border-color:var(--o23-line); color:var(--o23-silver); }

/* ---------- Buttons (Jordan Red CTAs) ---------- */
.button, button, input[type=button], input[type=submit],
.wp-block-button__link,
.added_to_cart,
ul.products li.product .button,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.checkout-button, #place_order, .single_add_to_cart_button{
  background-color:var(--o23-red) !important;
  border-color:var(--o23-red) !important;
  color:#fff !important;
  font-weight:700; border-radius:10px;
  transition:box-shadow .18s ease, transform .18s ease;
}
.button:hover, button:hover, input[type=submit]:hover,
ul.products li.product .button:hover,
.checkout-button:hover, #place_order:hover, .single_add_to_cart_button:hover{
  background-color:var(--o23-red) !important; color:#fff !important;
  box-shadow:0 0 22px rgba(227,27,35,.55), 0 0 8px rgba(0,240,255,.25);
  text-shadow:none; transform:translateY(-1px);
}
.button.alt, .woocommerce button.button.alt{ background-color:var(--o23-red) !important; }

/* ---------- Hero ---------- */
.o23-hero{
  text-align:left; padding:4.2rem 0 2.6rem; margin-bottom:1rem;
  border-bottom:1px solid var(--o23-line);
}
.o23-hero-title{
  font-size:clamp(2.4rem,6vw,4.3rem); font-weight:800; line-height:1.03;
  margin:.2rem 0 1.1rem; color:var(--o23-silver);
}
.o23-hero-sub{ font-size:1.15rem; color:var(--o23-silver-dim); max-width:44rem; margin:0 0 1.8rem; }
.o23-hero-ctas{ display:flex; flex-wrap:wrap; gap:.9rem; }
.o23-btn{
  display:inline-block; background:var(--o23-red); color:#fff !important;
  font-weight:700; padding:.85rem 1.6rem; border-radius:10px; text-decoration:none;
  box-shadow:0 0 18px rgba(227,27,35,.35);
}
.o23-btn:hover{ box-shadow:0 0 26px rgba(227,27,35,.65); text-shadow:none; }
.o23-btn-ghost{
  background:transparent; color:var(--o23-cyan) !important;
  border:1px solid rgba(0,240,255,.5); box-shadow:none;
}
.o23-btn-ghost:hover{ box-shadow:0 0 18px rgba(0,240,255,.35); }

/* ---------- Sections ---------- */
.o23-section{ padding:2.6rem 0 .6rem; }
.o23-section-head{ margin:2.4rem 0 1.4rem; }
.o23-section-head h2, .o23-section h2{ font-size:clamp(1.6rem,3.4vw,2.3rem); font-weight:800; margin:.2rem 0 .5rem; }
.o23-section-head p{ color:var(--o23-silver-dim); max-width:46rem; }
.o23-panel{
  background:var(--o23-panel);
  border:1px solid var(--o23-line); border-radius:16px;
  padding:2rem 2.2rem; margin:2.2rem 0 0;
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
}
.o23-panel p{ color:var(--o23-silver-dim); max-width:52rem; }
.o23-status{ color:var(--o23-cyan); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:0; }
.o23-badge{
  display:inline-block; font-family:var(--o23-mono); font-size:.7rem; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; padding:.32rem .7rem; border-radius:999px;
  margin-bottom:1rem;
}
.o23-badge-red{ background:var(--o23-red); color:#fff; }
.o23-badge-gold{ background:transparent; color:var(--o23-gold); border:1px solid var(--o23-gold); }

/* ---------- Category tiles ---------- */
.o23-tiles{
  display:grid; gap:.9rem;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  margin:1.2rem 0 1rem;
}
.o23-tile{
  display:flex; flex-direction:column; gap:.55rem;
  background:var(--o23-panel); border:1px solid var(--o23-line); border-radius:14px;
  padding:1.05rem 1.1rem; text-decoration:none;
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.o23-tile:hover{ border-color:rgba(0,240,255,.55); box-shadow:0 0 16px rgba(0,240,255,.18); text-shadow:none; }
.o23-tile-idx{ font-family:var(--o23-mono); font-size:.72rem; font-weight:700; color:var(--o23-red); letter-spacing:.2em; }
.o23-tile-name{ color:var(--o23-silver); font-weight:600; line-height:1.3; }

/* ---------- Product cards (shop loop = Featured grid) ---------- */
ul.products li.product{
  background:var(--o23-panel);
  border:1px solid var(--o23-line); border-radius:16px;
  padding:1rem 1rem 1.2rem;
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
}
ul.products li.product img{ border-radius:10px; }
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2{ color:var(--o23-silver); font-weight:700; }
ul.products li.product .price{
  color:var(--o23-gold); font-family:var(--o23-mono); font-weight:700; font-size:1.05rem;
}
ul.products li.product .price del{ color:var(--o23-silver-dim); }
.onsale{
  background:var(--o23-red) !important; color:#fff !important; border:none !important;
  font-family:var(--o23-mono); letter-spacing:.08em;
}
.storefront-sorting, .woocommerce-result-count{ color:var(--o23-silver-dim); }
.woocommerce-pagination .page-numbers li a{ color:var(--o23-silver); border-color:var(--o23-line); }
.woocommerce-pagination .page-numbers li .current{ background:var(--o23-red); color:#fff; }

/* ---------- Single product ---------- */
.single-product .product .price{ color:var(--o23-gold); font-family:var(--o23-mono); font-weight:700; }
.single-product div.product .woocommerce-product-gallery .flex-viewport,
.single-product div.product .woocommerce-product-gallery__image{ border-radius:14px; }
.woocommerce-tabs ul.tabs{ border-top:1px solid var(--o23-line); }
.woocommerce-tabs ul.tabs li{ border-color:var(--o23-line); background:transparent; }
.woocommerce-tabs ul.tabs li.active{ background:var(--o23-panel-strong); }
.woocommerce-tabs ul.tabs li a{ color:var(--o23-silver); }
.quantity .qty{ background:#101014 !important; }

/* ---------- Cart / Checkout / Account ---------- */
table, .shop_table{ background:transparent; }
table th, table td{ border-color:var(--o23-line) !important; }
table tbody tr:nth-child(odd) td{ background:rgba(255,255,255,.02); }
.cart_totals, .woocommerce-checkout-review-order, #payment{
  background:var(--o23-panel); border:1px solid var(--o23-line); border-radius:14px;
  padding:1.2rem;
}
#payment .payment_methods li{ border-color:var(--o23-line); }
.woocommerce-message, .woocommerce-info, .woocommerce-error{
  background:#101014 !important; color:var(--o23-silver) !important;
  border:1px solid var(--o23-line); border-left:3px solid var(--o23-cyan);
}
.woocommerce-error{ border-left-color:var(--o23-red); }
.woocommerce-form-coupon, form.checkout{ color:var(--o23-silver); }
label{ color:var(--o23-silver); }
fieldset{ border-color:var(--o23-line); }

/* ---------- Content pages ---------- */
.entry-content, .page-content{ color:var(--o23-silver); }
.entry-content p, .entry-content li{ color:var(--o23-silver-dim); }
.entry-content h1,.entry-content h2,.entry-content h3{ color:var(--o23-silver); }
.hentry{ border-color:var(--o23-line); }

/* ---------- Footer ---------- */
.site-footer{
  background:#070708 !important; color:var(--o23-silver-dim) !important;
  border-top:1px solid var(--o23-line);
}
.site-footer a{ color:var(--o23-silver-dim); }
.site-footer a:hover{ color:var(--o23-cyan); }
.site-footer .site-info{ color:var(--o23-silver-dim); }
.footer-widgets{ border-color:var(--o23-line); }
.handheld-footer-bar{ background:#0d0d10; border-top:1px solid var(--o23-line); }
.handheld-footer-bar ul li a{ color:var(--o23-silver); }

/* ---------- Search / misc ---------- */
.widget{ border-color:var(--o23-line); }
.widget .widget-title{ color:var(--o23-silver); border-color:var(--o23-line); }
.price_slider_wrapper .ui-widget-content{ background:var(--o23-panel-strong); }
.star-rating span:before{ color:var(--o23-gold); }

/* ---------- NEO31 cross-link (footer) ---------- */
.o23-neo31-line{
  margin:1.1rem auto .2rem; max-width:52rem; padding:0 1rem;
  text-align:center; color:var(--o23-silver-dim);
  font-size:.85rem; line-height:1.55;
}
.site-footer .o23-neo31-line a{ color:var(--o23-red); font-weight:700; }
.site-footer .o23-neo31-line a:hover{ color:var(--o23-cyan); text-shadow:none; }