/*
Theme Name: Radioactive Shop
Theme URI: https://radioactivetv.online/shop
Description: Child theme of Twenty Twenty-Five, styled to match radioactivetv.online — same palette, gradients and button language as the landing page.
Author: Radioactive TV
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.0
License: GPLv2 or later
Text Domain: radioactive-shop
*/

/* Tokens copied from the landing page so the two sites cannot drift apart by
   accident. Change them here and in index.html together. */
:root {
  --rtv-bg:      #05060f;
  --rtv-bg2:     #0a0c1c;
  --rtv-card:    #0f1228;
  --rtv-border:  #20264a;
  --rtv-text:    #eaf0ff;
  --rtv-muted:   #9aa3c7;
  --rtv-faint:   #6b74a0;
  --rtv-blue:    #4C7DFF;
  --rtv-violet:  #7D4DFF;
  --rtv-purple:  #B14DFF;
  --rtv-gold:    #FFC21A;
  --rtv-radius:  12px;
}

body,
body.woocommerce,
body.woocommerce-page {
  background: var(--rtv-bg);
  color: var(--rtv-text);
}

/* ── Headings ───────────────────────────────────────────────────────────── */
.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3,
.woocommerce-products-header__title,
.product_title {
  color: var(--rtv-text);
  font-weight: 800;
  letter-spacing: -.5px;
}

/* The landing page's gradient headline, available to any heading that wants it. */
.rtv-grad {
  background: linear-gradient(100deg, var(--rtv-blue), var(--rtv-purple) 55%, var(--rtv-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Product grid ───────────────────────────────────────────────────────── */
.woocommerce ul.products li.product,
.wc-block-grid__product,
.wp-block-post.product {
  background: var(--rtv-card);
  border: 1px solid var(--rtv-border);
  border-radius: 16px;
  padding: 18px;
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease;
}
.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover,
.wp-block-post.product:hover {
  transform: translateY(-2px);
  border-color: var(--rtv-blue);
  box-shadow: 0 14px 40px -24px rgba(76, 125, 255, .9);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
  color: var(--rtv-text);
  font-weight: 700;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.wc-block-grid__product-price {
  color: var(--rtv-text);
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: -.02em;
}
/* "was" price — muted, not shouting. */
.woocommerce div.product p.price del,
.woocommerce ul.products li.product .price del {
  color: var(--rtv-faint);
  font-weight: 500;
}
.woocommerce div.product p.price ins,
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--rtv-gold);
}

.woocommerce span.onsale,
.wc-block-grid__product-onsale {
  background: linear-gradient(135deg, var(--rtv-gold), #ff9d00);
  color: #2a1c00;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 13px;
  min-height: 0;
  min-width: 0;
  line-height: 1;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.wp-element-button,
.wp-block-button__link {
  background: linear-gradient(135deg, var(--rtv-blue), var(--rtv-violet));
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--rtv-radius);
  font-weight: 700;
  padding: 14px 26px;
  box-shadow: 0 10px 30px -14px rgba(76, 125, 255, .8);
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px -14px rgba(124, 77, 255, .9);
  color: #fff;
}

/* The one that takes money is gold, as on the landing page. */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order,
.wc-block-components-checkout-place-order-button {
  background: linear-gradient(135deg, var(--rtv-gold), #ff9d00);
  color: #2a1c00;
  box-shadow: 0 10px 30px -14px rgba(255, 194, 26, .9);
}
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce #place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
  color: #2a1c00;
  box-shadow: 0 16px 42px -14px rgba(255, 194, 26, 1);
}

/* ── Forms ──────────────────────────────────────────────────────────────── */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wc-block-components-text-input input,
.select2-container--default .select2-selection--single,
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], input[type="search"], textarea, select {
  background: #070920;
  color: var(--rtv-text);
  border: 1px solid var(--rtv-border);
  border-radius: 10px;
  padding: 12px 13px;
}
.woocommerce form .form-row input.input-text:focus,
.wc-block-components-text-input input:focus,
input:focus, textarea:focus, select:focus {
  border-color: var(--rtv-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 125, 255, .18);
}
.woocommerce form .form-row label,
.wc-block-components-text-input label {
  color: var(--rtv-muted);
}

/* ── Tables: cart, order review, account ────────────────────────────────── */
.woocommerce table.shop_table,
.woocommerce-cart table.cart,
.woocommerce table.woocommerce-orders-table {
  background: var(--rtv-card);
  border: 1px solid var(--rtv-border);
  border-radius: 16px;
  border-collapse: separate;
  overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--rtv-border);
  color: var(--rtv-text);
}
.woocommerce table.shop_table thead th {
  color: var(--rtv-muted);
  font-weight: 650;
}
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce .cart_totals,
.woocommerce-checkout #order_review,
.wc-block-components-totals-wrapper {
  background: var(--rtv-card);
  border: 1px solid var(--rtv-border);
  border-radius: 16px;
}

/* ── Notices ────────────────────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  background: var(--rtv-bg2);
  border: 1px solid var(--rtv-border);
  border-radius: var(--rtv-radius);
  color: var(--rtv-text);
}
.woocommerce-message { border-left: 4px solid var(--rtv-blue); }
.woocommerce-info    { border-left: 4px solid var(--rtv-violet); }
.woocommerce-error   { border-left: 4px solid #ff5f6d; }
.woocommerce-message::before { color: var(--rtv-blue); }
.woocommerce-info::before    { color: var(--rtv-violet); }

/* ── Odds and ends ──────────────────────────────────────────────────────── */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.wc-block-components-product-metadata {
  color: var(--rtv-muted);
}
.woocommerce nav.woocommerce-pagination ul {
  border-color: var(--rtv-border);
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: var(--rtv-text);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--rtv-blue);
  color: #fff;
}
hr, .wp-block-separator { border-color: var(--rtv-border); }

/* Woo's star ratings default to a dark amber that vanishes on this background. */
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before { color: var(--rtv-gold); }
