/*
Theme Name: Console Central
Theme URI: https://consolecentral.co.uk/
Author: Antigravity
Author URI: https://consolecentral.co.uk/
Description: Custom WooCommerce theme replicating the Console Central UK refurbished gaming store. Includes full support for WooCommerce, Urbanist typography, BNPL badges, and responsive design.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: consolecentral
*/

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-main: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --color-black: #111111;
  --color-dark: #1e1e1e;
  --color-gray-dark: #333333;
  --color-gray-muted: #666666;
  --color-gray-light: #f5f5f5;
  --color-border: #e5e5e5;
  --color-accent-red: #e53e3e;
  --color-star: #ebb868;
}

body {
  font-family: var(--font-main);
  color: var(--color-gray-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-width {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Custom WooCommerce overrides */
.woocommerce ul.products li.product {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
}

.woocommerce ul.products li.product:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  color: #111111 !important;
}

.woocommerce ul.products li.product .button {
  background-color: transparent !important;
  color: #111111 !important;
  border: 1px solid #111111 !important;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  margin-top: 10px;
  display: block;
  text-align: center;
  transition: all 0.2s;
}

.woocommerce ul.products li.product .button:hover {
  background-color: #111111 !important;
  color: #ffffff !important;
}

.woocommerce span.onsale {
  background-color: var(--color-accent-red) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 4px 8px;
  min-height: auto;
  line-height: 1;
}

/* Star rating */
.star-rating {
  color: var(--color-star);
}
