/*
Theme Name: SteamStore
Theme URI: https://example.com/steamstore
Author: SteamStore Theme
Author URI: https://example.com
Description: Tema WordPress inspirado no design da Steam para loja de jogos digitais. Compatível com WooCommerce.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: steamstore
Tags: e-commerce, woocommerce, games, steam, digital-store
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 8.3
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --steam-dark: #1b2838;
    --steam-darker: #16202d;
    --steam-darkest: #0e1621;
    --steam-blue: #1a9fff;
    --steam-blue-hover: #4db5ff;
    --steam-green: #a4d007;
    --steam-green-hover: #b8e600;
    --steam-light: #c7d5e0;
    --steam-lighter: #ffffff;
    --steam-gray: #8b97a2;
    --steam-gray-dark: #4c5b6c;
    --steam-border: #3d4c5c;
    --steam-card: #1e2c3a;
    --steam-card-hover: #2a475e;
    --steam-gradient: linear-gradient(135deg, #1a9fff 0%, #0d6efd 100%);
    --sidebar-width: 250px;
    --header-height: 40px;
    --nav-height: 42px;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--steam-darkest);
    color: var(--steam-light);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: var(--steam-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--steam-blue-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   HEADER - TOP BAR (Steam-like account bar)
   ============================================ */
.steam-top-bar {
    background-color: var(--steam-darker);
    border-bottom: 1px solid var(--steam-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.steam-top-bar .store-name {
    margin-right: auto;
    font-weight: 600;
    color: var(--steam-lighter);
    font-size: 0.9rem;
}

.steam-top-bar a {
    color: var(--steam-gray);
    margin-left: 15px;
    font-size: 0.85rem;
}

.steam-top-bar a:hover {
    color: var(--steam-lighter);
    text-decoration: none;
}

.steam-top-bar .cart-count {
    background: var(--steam-green);
    color: #000;
    border-radius: 50%;
    padding: 1px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 3px;
}

/* ============================================
   HEADER - MAIN NAVIGATION
   ============================================ */
.steam-nav {
    background: linear-gradient(to right, var(--steam-dark) 0%, var(--steam-darker) 100%);
    border-bottom: 1px solid var(--steam-border);
    position: sticky;
    top: var(--header-height);
    z-index: 1000;
}

.steam-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: var(--nav-height);
}

.steam-logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.steam-logo a {
    display: flex;
    align-items: center;
    color: var(--steam-lighter);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.steam-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--steam-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 1rem;
}

.steam-nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.steam-nav-menu a {
    color: var(--steam-light);
    padding: 12px 16px;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.steam-nav-menu a:hover,
.steam-nav-menu a.current-menu-item,
.steam-nav-menu a.active {
    color: var(--steam-lighter);
    background: rgba(255,255,255,0.05);
    text-decoration: none;
}

.steam-search {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.steam-search input {
    background: var(--steam-darkest);
    border: 1px solid var(--steam-border);
    color: var(--steam-light);
    padding: 6px 12px;
    border-radius: 3px;
    width: 220px;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.steam-search input:focus {
    outline: none;
    border-color: var(--steam-blue);
}

.steam-search input::placeholder {
    color: var(--steam-gray);
}

/* ============================================
   HERO SLIDESHOW
   ============================================ */
.hero-slideshow {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.hero-slideshow-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/5;
    background: var(--steam-dark);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.hero-slide-content h2 {
    font-size: 1.8rem;
    color: var(--steam-lighter);
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-slide-content p {
    color: var(--steam-gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.hero-slide-content .price {
    color: var(--steam-green);
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-slide-content .discount-badge {
    background: var(--steam-green);
    color: #000;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 8px;
}

.hero-slide-content .original-price {
    text-decoration: line-through;
    color: var(--steam-gray);
    font-size: 0.85rem;
    margin-left: 5px;
}

.hero-slide-content .btn-buy {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 24px;
    background: var(--steam-green);
    color: #000;
    font-weight: 700;
    border-radius: 3px;
    transition: background 0.2s;
    font-size: 0.95rem;
    text-decoration: none;
}

.hero-slide-content .btn-buy:hover {
    background: var(--steam-green-hover);
    color: #000;
    text-decoration: none;
}

.hero-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-controls {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.hero-controls button {
    background: rgba(0,0,0,0.5);
    color: var(--steam-light);
    border: 1px solid rgba(255,255,255,0.2);
    width: 36px;
    height: 36px;
    border-radius: 3px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hero-controls button:hover {
    background: rgba(0,0,0,0.8);
}

/* Hero Thumbnails */
.hero-thumbnails {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.hero-thumbnail {
    flex: 0 0 calc(16.666% - 4px);
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
    aspect-ratio: 16/6;
}

.hero-thumbnail:hover {
    opacity: 0.85;
}

.hero-thumbnail.active {
    border-color: var(--steam-blue);
    opacity: 1;
}

.hero-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-thumbnail .thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* ============================================
   SPECIALS / PROMOTIONS BAR
   ============================================ */
.specials-bar {
    max-width: 1200px;
    margin: 10px auto 20px;
    padding: 0 20px;
}

.specials-bar-inner {
    background: linear-gradient(to right, #1a3a5c, #1a2a3c);
    border: 1px solid var(--steam-border);
    border-radius: 4px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.specials-bar h3 {
    color: var(--steam-lighter);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specials-bar .timer {
    color: var(--steam-blue);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================
   GAME GRID - Steam-like carousel
   ============================================ */
.game-section {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.game-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--steam-border);
    padding-bottom: 10px;
}

.game-section-header h2 {
    color: var(--steam-lighter);
    font-size: 1.15rem;
    font-weight: 500;
}

.game-section-header .view-all {
    color: var(--steam-blue);
    font-size: 0.85rem;
}

.game-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--steam-gray-dark) var(--steam-dark);
}

.game-carousel::-webkit-scrollbar {
    height: 6px;
}

.game-carousel::-webkit-scrollbar-track {
    background: var(--steam-dark);
    border-radius: 3px;
}

.game-carousel::-webkit-scrollbar-thumb {
    background: var(--steam-gray-dark);
    border-radius: 3px;
}

/* Game Card */
.game-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--steam-card);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.game-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

.game-card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    gap: 4px;
}

.game-card-badge .badge {
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-card-badge .badge-sale {
    background: var(--steam-green);
    color: #000;
}

.game-card-badge .badge-new {
    background: var(--steam-blue);
    color: #fff;
}

.game-card-badge .badge-top {
    background: #c74e3a;
    color: #fff;
}

.game-card-info {
    padding: 10px;
}

.game-card-title {
    color: var(--steam-lighter);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card-platforms {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.game-card-platforms .platform {
    font-size: 0.65rem;
    color: var(--steam-gray);
    background: rgba(255,255,255,0.05);
    padding: 1px 4px;
    border-radius: 2px;
}

.game-card-price {
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-card-price .current-price {
    color: var(--steam-lighter);
    font-weight: 700;
    font-size: 0.9rem;
}

.game-card-price .original-price {
    color: var(--steam-gray);
    text-decoration: line-through;
    font-size: 0.8rem;
}

.game-card-price .discount {
    color: var(--steam-green);
    font-size: 0.8rem;
    font-weight: 700;
}

.game-card-price.free {
    color: var(--steam-green);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ============================================
   GAME LIST - Wide cards
   ============================================ */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.game-list-card {
    display: flex;
    align-items: center;
    background: var(--steam-card);
    padding: 8px 12px;
    border-radius: 3px;
    transition: background 0.2s;
    gap: 15px;
}

.game-list-card:hover {
    background: var(--steam-card-hover);
}

.game-list-card .list-thumb {
    flex: 0 0 120px;
    height: 45px;
    border-radius: 3px;
    overflow: hidden;
}

.game-list-card .list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-list-card .list-info {
    flex: 1;
    min-width: 0;
}

.game-list-card .list-title {
    color: var(--steam-lighter);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-list-card .list-reviews {
    font-size: 0.75rem;
    color: var(--steam-green);
}

.game-list-card .list-price {
    text-align: right;
    flex: 0 0 100px;
}

.game-list-card .list-price .current {
    color: var(--steam-lighter);
    font-weight: 700;
}

.game-list-card .list-price .original {
    color: var(--steam-gray);
    text-decoration: line-through;
    font-size: 0.8rem;
}

.game-list-card .list-price .disc {
    color: var(--steam-green);
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 6px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.steam-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.steam-sidebar {
    flex: 0 0 var(--sidebar-width);
    width: var(--sidebar-width);
}

.steam-main {
    flex: 1;
    min-width: 0;
}

.sidebar-widget {
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    color: var(--steam-lighter);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 12px;
    background: var(--steam-dark);
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid var(--steam-border);
}

.sidebar-widget .widget-content {
    background: var(--steam-card);
    border-radius: 0 0 3px 3px;
    padding: 10px;
}

.sidebar-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sidebar-tag-cloud a {
    background: var(--steam-dark);
    color: var(--steam-gray);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-tag-cloud a:hover {
    background: var(--steam-blue);
    color: var(--steam-lighter);
    text-decoration: none;
}

.sidebar-filter-group {
    margin-bottom: 12px;
}

.sidebar-filter-group label {
    display: block;
    color: var(--steam-gray);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.sidebar-filter-group select,
.sidebar-filter-group input {
    width: 100%;
    background: var(--steam-dark);
    border: 1px solid var(--steam-border);
    color: var(--steam-light);
    padding: 6px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.sidebar-filter-group select:focus,
.sidebar-filter-group input:focus {
    border-color: var(--steam-blue);
    outline: none;
}

.sidebar-price-range {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sidebar-price-range input {
    width: 50%;
}

.sidebar-price-range span {
    color: var(--steam-gray);
}

/* ============================================
   SINGLE PRODUCT - Steam Store Page
   ============================================ */
.product-hero {
    position: relative;
    width: 100%;
    background: var(--steam-dark);
    margin-bottom: 0;
}

.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center top;
    filter: blur(20px) brightness(0.4);
    transform: scale(1.1);
}

.product-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.product-hero-top {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.product-hero-info {
    flex: 1;
}

.product-hero-info h1 {
    font-size: 2rem;
    color: var(--steam-lighter);
    margin-bottom: 4px;
    font-weight: 500;
}

.product-hero-info .product-tagline {
    color: var(--steam-gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.product-hero-info .product-studio {
    color: var(--steam-blue);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-hero-info .product-studio a {
    color: var(--steam-blue);
}

/* Product Media Gallery (Slideshow) */
.product-media-gallery {
    position: relative;
    width: 100%;
    max-width: 616px;
    margin-bottom: 15px;
}

.product-main-media {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.product-main-media img,
.product-main-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s;
}

.product-media-nav:hover {
    background: rgba(0,0,0,0.9);
}

.product-media-nav.prev { left: 10px; }
.product-media-nav.next { right: 10px; }

.product-media-thumbnails {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-media-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.product-media-thumbnails::-webkit-scrollbar-thumb {
    background: var(--steam-gray-dark);
    border-radius: 2px;
}

.product-thumb {
    flex: 0 0 100px;
    aspect-ratio: 16/9;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: border-color 0.2s, opacity 0.2s;
    position: relative;
}

.product-thumb:hover {
    opacity: 0.85;
}

.product-thumb.active {
    border-color: var(--steam-blue);
    opacity: 1;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

/* Purchase Box */
.product-purchase-box {
    background: var(--steam-darker);
    border: 1px solid var(--steam-border);
    border-radius: 4px;
    padding: 16px;
    width: 300px;
    flex-shrink: 0;
}

.product-purchase-box .buy-title {
    color: var(--steam-lighter);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-purchase-box .buy-area {
    margin-bottom: 12px;
}

.product-purchase-box .price-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-purchase-box .discount-pct {
    background: #4c6b22;
    color: var(--steam-lighter);
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 1.1rem;
}

.product-purchase-box .final-price {
    color: var(--steam-lighter);
    font-size: 1.3rem;
    font-weight: 700;
}

.product-purchase-box .original-price {
    color: var(--steam-gray);
    text-decoration: line-through;
    font-size: 0.85rem;
}

.product-purchase-box .btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--steam-green);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 3px;
    transition: background 0.2s;
    margin-bottom: 8px;
}

.product-purchase-box .btn-add-cart:hover {
    background: var(--steam-green-hover);
}

.product-purchase-box .btn-wishlist {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--steam-border);
    color: var(--steam-light);
    border-radius: 3px;
    font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s;
}

.product-purchase-box .btn-wishlist:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--steam-light);
}

.product-purchase-box .meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--steam-gray);
    padding: 6px 0;
    border-top: 1px solid var(--steam-border);
    margin-top: 8px;
}

.product-purchase-box .meta-row .label {
    color: var(--steam-gray);
}

.product-purchase-box .meta-row .value {
    color: var(--steam-light);
}

/* Product Description Tabs */
.product-details-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.product-tabs {
    display: flex;
    border-bottom: 1px solid var(--steam-border);
    margin-bottom: 20px;
    gap: 0;
}

.product-tab {
    padding: 12px 24px;
    color: var(--steam-gray);
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    background: none;
}

.product-tab:hover {
    color: var(--steam-lighter);
}

.product-tab.active {
    color: var(--steam-lighter);
    border-bottom-color: var(--steam-blue);
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

.product-description {
    color: var(--steam-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-description p {
    margin-bottom: 12px;
}

.product-system-req {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.system-req-column h4 {
    color: var(--steam-lighter);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--steam-border);
}

.system-req-column .req-row {
    display: flex;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.system-req-column .req-label {
    flex: 0 0 120px;
    color: var(--steam-gray);
    font-size: 0.85rem;
}

.system-req-column .req-value {
    color: var(--steam-light);
    font-size: 0.85rem;
}

/* Review Score */
.review-score-section {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--steam-border);
    margin-bottom: 20px;
}

.review-overall {
    flex: 0 0 100px;
    text-align: center;
}

.review-overall .score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--steam-green);
}

.review-overall .label {
    font-size: 0.75rem;
    color: var(--steam-green);
}

.review-bars {
    flex: 1;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.review-bar-row .bar-label {
    flex: 0 0 80px;
    font-size: 0.75rem;
    color: var(--steam-gray);
    text-align: right;
}

.review-bar-row .bar-track {
    flex: 1;
    height: 12px;
    background: var(--steam-dark);
    border-radius: 2px;
    overflow: hidden;
}

.review-bar-row .bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s;
}

.review-bar-row .bar-fill.positive { background: #66c0f4; }
.review-bar-row .bar-fill.mixed { background: #c7d5e0; }
.review-bar-row .bar-fill.negative { background: #c74e3a; }

.review-bar-row .bar-pct {
    flex: 0 0 35px;
    font-size: 0.75rem;
    color: var(--steam-gray);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.woocommerce ul.products li.product {
    background: var(--steam-card) !important;
    border-radius: 4px !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    border: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.woocommerce ul.products li.product a img {
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--steam-lighter) !important;
    font-size: 0.85rem !important;
    padding: 8px 10px 2px !important;
    font-weight: 500;
    border: none !important;
}

.woocommerce ul.products li.product .price {
    color: var(--steam-lighter) !important;
    font-size: 0.9rem !important;
    padding: 0 10px !important;
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: var(--steam-gray) !important;
    font-size: 0.8rem !important;
}

.woocommerce ul.products li.product .price ins {
    color: var(--steam-green) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    background: var(--steam-green) !important;
    color: #000 !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    margin: 8px 10px 10px !important;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    transition: background 0.2s !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: var(--steam-green-hover) !important;
}

/* WooCommerce Product Page */
.woocommerce div.product {
    background: transparent !important;
    border: none !important;
}

.woocommerce div.product div.images {
    border: none !important;
    border-radius: 4px !important;
    overflow: hidden;
}

.woocommerce div.product div.images img {
    border: none !important;
    border-radius: 4px;
}

.woocommerce div.product div.summary {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px;
}

.woocommerce div.product .product_title {
    color: var(--steam-lighter) !important;
    font-size: 2rem !important;
    font-weight: 500 !important;
}

.woocommerce div.product p.price {
    color: var(--steam-lighter) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
}

.woocommerce div.product p.price del {
    color: var(--steam-gray) !important;
    font-size: 0.9rem !important;
}

.woocommerce div.product p.price ins {
    color: var(--steam-green) !important;
    text-decoration: none !important;
}

.woocommerce #content div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 20px !important;
    border-bottom: 1px solid var(--steam-border) !important;
}

.woocommerce #content div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce #content div.product .woocommerce-tabs ul.tabs li a {
    color: var(--steam-gray) !important;
    padding: 12px 24px !important;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.woocommerce #content div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--steam-lighter) !important;
    border-bottom-color: var(--steam-blue) !important;
}

.woocommerce .quantity .qty {
    background: var(--steam-dark) !important;
    border: 1px solid var(--steam-border) !important;
    color: var(--steam-light) !important;
    border-radius: 3px !important;
    padding: 6px !important;
}

.woocommerce button.button.alt,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce a.button {
    background: var(--steam-green) !important;
    color: #000 !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    transition: background 0.2s !important;
    border: none !important;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: var(--steam-green-hover) !important;
}

.woocommerce .woocommerce-breadcrumb {
    color: var(--steam-gray) !important;
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--steam-blue) !important;
}

.woocommerce .products .star-rating {
    color: var(--steam-blue) !important;
}

/* WooCommerce Notices */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
    background: var(--steam-card) !important;
    color: var(--steam-light) !important;
    border-color: var(--steam-border) !important;
}

.woocommerce .woocommerce-info::before {
    color: var(--steam-blue) !important;
}

.woocommerce .woocommerce-info {
    border-top-color: var(--steam-blue) !important;
}

/* Cart Widget */
.woocommerce .widget_shopping_cart_content,
.woocommerce-cart .cart_totals {
    background: var(--steam-card);
    color: var(--steam-light);
}

.woocommerce .widget_shopping_cart_content ul li {
    border-bottom-color: var(--steam-border) !important;
}

.woocommerce .widget_shopping_cart_content ul li .remove {
    color: var(--steam-gray) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.steam-footer {
    background: var(--steam-dark);
    border-top: 1px solid var(--steam-border);
    margin-top: 50px;
    padding: 30px 20px 20px;
}

.steam-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.steam-footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--steam-border);
    margin-bottom: 20px;
}

.steam-footer-col h4 {
    color: var(--steam-lighter);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.steam-footer-col a {
    display: block;
    color: var(--steam-gray);
    font-size: 0.85rem;
    padding: 3px 0;
    transition: color 0.2s;
}

.steam-footer-col a:hover {
    color: var(--steam-lighter);
    text-decoration: none;
}

.steam-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--steam-gray);
}

.steam-footer-bottom .payment-icons {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .steam-layout {
        flex-direction: column;
    }

    .steam-sidebar {
        width: 100%;
        flex: none;
    }

    .product-hero-top {
        flex-direction: column;
    }

    .product-purchase-box {
        width: 100%;
    }

    .product-system-req {
        grid-template-columns: 1fr;
    }

    .steam-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-slideshow-wrapper {
        aspect-ratio: 16/7;
    }

    .hero-slide-content h2 {
        font-size: 1.3rem;
    }

    .hero-thumbnails .hero-thumbnail {
        flex: 0 0 calc(33.333% - 3px);
    }

    .steam-nav-menu {
        display: none;
    }

    .game-card {
        flex: 0 0 160px;
    }

    .steam-footer-top {
        grid-template-columns: 1fr;
    }

    .product-tabs {
        overflow-x: auto;
    }

    .product-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* ============================================
   YOUTUBE EMBED
   ============================================ */
.youtube-embed {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 4px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden { display: none !important; }
.text-green { color: var(--steam-green); }
.text-blue { color: var(--steam-blue); }
.text-gray { color: var(--steam-gray); }
.text-white { color: var(--steam-lighter); }
.font-bold { font-weight: 700; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
