/*
Theme Name: PokeSpot
Theme URI: https://example.com/pokespot
Author: PokeSpot Team
Author URI: https://example.com
Description: A Pokemon-themed WordPress theme designed for WooCommerce. Features vibrant colors inspired by Pokemon games, custom product displays, and a playful design perfect for gaming merchandise stores.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pokespot
Tags: e-commerce, woocommerce, gaming, pokemon, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready

PokeSpot WordPress Theme, Copyright 2024 PokeSpot Team
PokeSpot is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   CSS Variables - Pokemon Color Palette
   ========================================================================== */
:root {
    /* Primary Pokemon Colors */
    --poke-red: #E3350D;
    --poke-blue: #3B5CA8;
    --poke-yellow: #FFCB05;
    --poke-gold: #B3A125;
    
    /* Type Colors */
    --type-fire: #F08030;
    --type-water: #6890F0;
    --type-grass: #78C850;
    --type-electric: #F8D030;
    --type-psychic: #F85888;
    --type-ice: #98D8D8;
    --type-dragon: #7038F8;
    --type-dark: #705848;
    --type-fairy: #EE99AC;
    --type-normal: #A8A878;
    --type-fighting: #C03028;
    --type-poison: #A040A0;
    --type-ground: #E0C068;
    --type-flying: #A890F0;
    --type-bug: #A8B820;
    --type-rock: #B8A038;
    --type-ghost: #705898;
    --type-steel: #B8B8D0;
    
    /* UI Colors */
    --bg-primary: #F5F5F5;
    --bg-secondary: #FFFFFF;
    --bg-dark: #2C3E50;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Gradients */
    --gradient-pokeball: linear-gradient(180deg, var(--poke-red) 0%, var(--poke-red) 45%, #333 45%, #333 55%, var(--bg-secondary) 55%, var(--bg-secondary) 100%);
    --gradient-header: linear-gradient(135deg, var(--poke-red) 0%, var(--poke-blue) 100%);
    --gradient-button: linear-gradient(135deg, var(--poke-yellow) 0%, var(--poke-gold) 100%);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Fredoka One', 'Poppins', cursive;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

a {
    color: var(--poke-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--poke-red);
}

ul, ol {
    list-style: none;
}

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

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.site-content {
    min-height: calc(100vh - 200px);
    padding: var(--spacing-xxl) 0;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.content-area.has-sidebar {
    grid-template-columns: 1fr 300px;
}

@media (max-width: 992px) {
    .content-area.has-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: var(--gradient-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.header-top {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-xs) 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-links {
    display: flex;
    gap: var(--spacing-md);
}

.header-top-links a {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.header-top-links a:hover {
    opacity: 1;
    color: var(--poke-yellow);
}

.header-main {
    padding: var(--spacing-md) 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Logo */
.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--text-light);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.site-title a {
    color: inherit;
}

.site-title a:hover {
    color: var(--poke-yellow);
}

.site-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Pokeball Logo Animation */
.pokeball-logo {
    width: 50px;
    height: 50px;
    background: var(--gradient-pokeball);
    border-radius: var(--radius-full);
    position: relative;
    border: 3px solid #333;
    transition: transform var(--transition-normal);
}

.pokeball-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--bg-secondary);
    border: 3px solid #333;
    border-radius: var(--radius-full);
}

.pokeball-logo:hover {
    transform: rotate(360deg);
}

/* Navigation */
.main-navigation {
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-light);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: rgba(255, 255, 255, 0.2);
    color: var(--poke-yellow);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.nav-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-menu .sub-menu li a:hover {
    background: var(--bg-primary);
    color: var(--poke-red);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header-search {
    position: relative;
}

.search-toggle {
    color: var(--text-light);
    font-size: var(--font-size-xl);
    padding: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.search-toggle:hover {
    color: var(--poke-yellow);
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.search-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form input[type="search"] {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
}

.search-form input[type="search"]:focus {
    border-color: var(--poke-blue);
}

/* Cart Icon */
.cart-icon {
    position: relative;
    color: var(--text-light);
    font-size: var(--font-size-xl);
    padding: var(--spacing-sm);
}

.cart-icon:hover {
    color: var(--poke-yellow);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    background: var(--poke-yellow);
    color: var(--text-primary);
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: var(--spacing-md);
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
        margin-top: var(--spacing-sm);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-widgets {
    padding: var(--spacing-xxl) 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

.footer-widget h4 {
    color: var(--poke-yellow);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-xl);
}

.footer-widget ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget ul li a:hover {
    color: var(--poke-yellow);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--poke-yellow);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn,
button[type="submit"],
input[type="submit"],
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--gradient-button);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 203, 5, 0.4);
}

.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 203, 5, 0.5);
}

.btn-secondary {
    background: var(--poke-blue);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--poke-red);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--poke-red);
    color: var(--poke-red);
}

.btn-outline:hover {
    background: var(--poke-red);
    color: var(--text-light);
}

.btn-pokeball {
    position: relative;
    background: var(--poke-red);
    color: var(--text-light);
    padding-left: 50px;
    overflow: hidden;
}

.btn-pokeball::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--gradient-pokeball);
    border-radius: var(--radius-full);
    border: 2px solid #333;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--gradient-header);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    background-size: 100px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
    padding: var(--spacing-xxl);
}

.hero-title {
    font-size: var(--font-size-5xl);
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.hero-section .btn {
    color: var(--text-light);
}

.hero-section .btn:hover {
    color: var(--text-primary);
}

/* Floating Pokeballs Animation */
.floating-pokeballs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-pokeball {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-pokeball);
    border-radius: var(--radius-full);
    border: 3px solid #333;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-pokeball:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-pokeball:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-pokeball:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 2s; }
.floating-pokeball:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 3s; }
.floating-pokeball:nth-child(5) { top: 50%; left: 5%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ==========================================================================
   WooCommerce Styles
   ========================================================================== */

/* Product Grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.woocommerce ul.products li.product {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all var(--transition-normal);
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

/* Product Image */
.woocommerce ul.products li.product a img {
    margin: 0;
    border-radius: 0;
    transition: transform var(--transition-normal);
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Product Info */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
    color: var(--text-primary);
}

.woocommerce ul.products li.product .price {
    color: var(--poke-red);
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    padding: 0 var(--spacing-md);
}

.woocommerce ul.products li.product .price del {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
    margin: var(--spacing-md);
    width: calc(100% - var(--spacing-xl));
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--poke-yellow);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
    top: var(--spacing-md);
    left: var(--spacing-md);
    right: auto;
}

/* Star Rating */
.woocommerce .star-rating {
    color: var(--poke-yellow);
    margin: var(--spacing-xs) var(--spacing-md);
}

/* Single Product */
.woocommerce div.product {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.woocommerce div.product div.images {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce div.product .product_title {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.woocommerce div.product p.price {
    color: var(--poke-red);
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Quantity Input */
.woocommerce .quantity .qty {
    width: 80px;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
}

.woocommerce .quantity .qty:focus {
    border-color: var(--poke-blue);
    outline: none;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs {
    margin-top: var(--spacing-xl);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--poke-red);
    border-bottom-color: var(--poke-red);
}

/* Related Products */
.woocommerce div.product .related.products {
    margin-top: var(--spacing-xxl);
}

.woocommerce div.product .related.products h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

/* Cart Page */
.woocommerce-cart .woocommerce {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.woocommerce table.shop_table {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--bg-primary);
    font-family: var(--font-heading);
    color: var(--text-primary);
    padding: var(--spacing-md);
    border: none;
}

.woocommerce table.shop_table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    border-radius: var(--radius-md);
}

.woocommerce table.shop_table td.product-name a {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.woocommerce table.shop_table td.product-remove a {
    color: var(--poke-red);
    font-size: var(--font-size-xl);
}

/* Cart Totals */
.woocommerce .cart-collaterals .cart_totals {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
}

/* Checkout Page */
.woocommerce-checkout .woocommerce {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.woocommerce form .form-row label {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--poke-blue);
    outline: none;
}

/* Order Review */
.woocommerce-checkout #order_review {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

/* Messages */
.woocommerce-message,
.woocommerce-info {
    background: var(--type-grass);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-lg);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--text-light);
}

.woocommerce-error {
    background: var(--poke-red);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-lg);
}

.woocommerce-error::before {
    color: var(--text-light);
}

/* Mini Cart Widget */
.widget_shopping_cart {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.widget_shopping_cart .cart_list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.widget_shopping_cart .cart_list li a {
    font-family: var(--font-heading);
}

.widget_shopping_cart .total {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    padding: var(--spacing-md) 0;
    border-top: 2px solid var(--border-color);
}

.widget_shopping_cart .buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.widget_shopping_cart .buttons a {
    flex: 1;
    text-align: center;
}

/* ==========================================================================
   Sidebar & Widgets
   ========================================================================== */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.widget {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--poke-red);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--poke-yellow);
}

.widget ul li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget ul li a:hover {
    color: var(--poke-red);
}

/* Product Categories Widget */
.woocommerce .widget_product_categories ul li {
    position: relative;
    padding-left: var(--spacing-md);
}

.woocommerce .widget_product_categories ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--poke-yellow);
}

/* Shop by Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 150px));
    gap: var(--spacing-md);
    justify-content: center;
}

.category-card {
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card .card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.category-card .card-image img {
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
}

.category-card .card-body {
    padding: var(--spacing-sm);
}

.category-card .card-title {
    font-size: var(--font-size-sm);
    margin: 0 0 var(--spacing-xs);
    text-transform: capitalize;
}

.category-card .product-count {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* Price Filter Widget */
.woocommerce .widget_price_filter .price_slider_wrapper {
    padding: var(--spacing-md) 0;
}

.woocommerce .widget_price_filter .ui-slider {
    background: var(--border-color);
    border-radius: var(--radius-md);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background: var(--gradient-button);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--poke-red);
    border: none;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.blog-post {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all var(--transition-normal);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.blog-post-thumbnail {
    position: relative;
    overflow: hidden;
}

.blog-post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-post:hover .blog-post-thumbnail img {
    transform: scale(1.05);
}

.blog-post-category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--poke-red);
    color: var(--text-light);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.blog-post-content {
    padding: var(--spacing-lg);
}

.blog-post-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.blog-post-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.blog-post-title a {
    color: var(--text-primary);
}

.blog-post-title a:hover {
    color: var(--poke-red);
}

.blog-post-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.read-more {
    font-family: var(--font-heading);
    color: var(--poke-blue);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.read-more:hover {
    color: var(--poke-red);
}

/* Single Post */
.single-post-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.single-post-header {
    margin-bottom: var(--spacing-xl);
}

.single-post-thumbnail {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.entry-content p {
    margin-bottom: var(--spacing-md);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content blockquote {
    background: var(--bg-primary);
    border-left: 4px solid var(--poke-yellow);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination,
.woocommerce nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    transition: all var(--transition-fast);
}

.pagination a:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--poke-blue);
    color: var(--text-light);
}

.pagination .current,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--poke-red);
    color: var(--text-light);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--poke-blue);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-xxl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-xxl); }

.py-1 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-2 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-3 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-4 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.py-5 { padding-top: var(--spacing-xxl); padding-bottom: var(--spacing-xxl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }
.gap-4 { gap: var(--spacing-xl); }

/* Pokemon Type Badges */
.type-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
}

.type-fire { background: var(--type-fire); }
.type-water { background: var(--type-water); }
.type-grass { background: var(--type-grass); }
.type-electric { background: var(--type-electric); }
.type-psychic { background: var(--type-psychic); }
.type-ice { background: var(--type-ice); color: var(--text-primary); }
.type-dragon { background: var(--type-dragon); }
.type-dark { background: var(--type-dark); }
.type-fairy { background: var(--type-fairy); }
.type-normal { background: var(--type-normal); color: var(--text-primary); }
.type-fighting { background: var(--type-fighting); }
.type-poison { background: var(--type-poison); }
.type-ground { background: var(--type-ground); color: var(--text-primary); }
.type-flying { background: var(--type-flying); }
.type-bug { background: var(--type-bug); }
.type-rock { background: var(--type-rock); }
.type-ghost { background: var(--type-ghost); }
.type-steel { background: var(--type-steel); color: var(--text-primary); }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .hero-content {
        padding: var(--spacing-lg);
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        gap: var(--spacing-sm);
    }
    
    .site-title {
        font-size: var(--font-size-xl);
    }
}

/* ==========================================================================
   Newsletter Form Styles
   ========================================================================== */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--poke-yellow);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button[type="submit"] {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--gradient-button);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 203, 5, 0.4);
}

/* ==========================================================================
   WooCommerce Product Card Fixes
   ========================================================================== */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}

/* Fix for product content area */
.woocommerce ul.products li.product > a {
    display: block;
}

/* ==========================================================================
   Global Input Styles
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--poke-blue);
    box-shadow: 0 0 0 3px rgba(59, 92, 168, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Footer specific input overrides */
.site-footer input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.site-footer input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer input[type="email"]:focus {
    border-color: var(--poke-yellow);
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.2);
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}
