/*
Theme Name: Aspire Collectibles | By Hostyler Group
Description: A custom e-commerce theme for Pokemon card stores built on WooCommerce. Features a modern, mobile-first design with authentic Pokemon branding colors and specialized product layouts.
Author: Alex | Hostyler Group
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8.2
Requires PHP: 8.0+
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pokemon-cards-theme
Tags: e-commerce, woocommerce, pokemon, cards, custom, responsive

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ==========================================================================
   POKEMON COLOR PALETTE
   ========================================================================== */

:root {
    /* Primary Colors */
    --pokemon-yellow: #FFCB05;
    --pokemon-red: #CC0000;
    --pokemon-blue: #3B4CCA;
    
    /* Neutral Colors */
    --pokemon-black: #2c2c2c;
    --pokemon-white: #ffffff;
    --pokemon-light-grey: #f8f9fa;
    --pokemon-medium-grey: #6c757d;
    --pokemon-dark-grey: #495057;
    
    /* Functional Colors */
    --pokemon-success: #28a745;
    --pokemon-danger: #dc3545;
    --pokemon-warning: #ffc107;
    --pokemon-info: #17a2b8;
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
    color: var(--pokemon-black);
}

h2 {
    font-size: 2rem;
    color: var(--pokemon-black);
}

h3 {
    font-size: 1.5rem;
    color: var(--pokemon-black);
}

h4 {
    font-size: 1.25rem;
    color: var(--pokemon-dark-grey);
}

h5 {
    font-size: 1.1rem;
    color: var(--pokemon-dark-grey);
}

h6 {
    font-size: 1rem;
    color: var(--pokemon-medium-grey);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--pokemon-dark-grey);
}

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

a:hover, a:focus {
    color: var(--pokemon-red);
    text-decoration: underline;
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

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

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-sm));
}

.col {
    flex: 1;
    padding: 0 var(--spacing-sm);
}

.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--pokemon-yellow);
    color: var(--pokemon-black);
    border-color: var(--pokemon-yellow);
}

.btn-primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    color: var(--pokemon-black);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--pokemon-red);
    color: var(--pokemon-white);
    border-color: var(--pokemon-red);
}

.btn-secondary:hover {
    background-color: #b30000;
    border-color: #b30000;
    color: var(--pokemon-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--pokemon-blue);
    border-color: var(--pokemon-blue);
}

.btn-outline:hover {
    background-color: var(--pokemon-blue);
    color: var(--pokemon-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.8rem;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
    background-color: var(--pokemon-white);
    border-bottom: 3px solid var(--pokemon-yellow);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    min-height: 80px;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pokemon-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo:hover {
    color: var(--pokemon-red);
    text-decoration: none;
}

.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 var(--spacing-lg);
}

.search-form {
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--pokemon-light-grey);
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.search-input:focus {
    border-color: var(--pokemon-blue);
}

.search-submit {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--pokemon-blue);
    color: var(--pokemon-white);
    border: 2px solid var(--pokemon-blue);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-submit:hover {
    background-color: var(--pokemon-red);
    border-color: var(--pokemon-red);
}

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

.account-link, .cart-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    color: var(--pokemon-dark-grey);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.account-link:hover, .cart-link:hover {
    background-color: var(--pokemon-light-grey);
    color: var(--pokemon-blue);
    text-decoration: none;
}

.cart-count {
    background-color: var(--pokemon-red);
    color: var(--pokemon-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: var(--spacing-xs);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.site-footer {
    background-color: var(--pokemon-black);
    color: var(--pokemon-light-grey);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--pokemon-yellow);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--pokemon-light-grey);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--pokemon-yellow);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--pokemon-dark-grey);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    color: var(--pokemon-medium-grey);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--pokemon-dark-grey);
    color: var(--pokemon-light-grey);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--pokemon-yellow);
    color: var(--pokemon-black);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }
    
    .header-search {
        order: 2;
        margin: 0;
        width: 100%;
        max-width: none;
    }
    
    .header-actions {
        order: 1;
        width: 100%;
    }
    
    .site-logo {
        order: 0;
        margin-bottom: var(--spacing-sm);
    }
    
    .col-2, .col-3, .col-4, .col-6, .col-8, .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .header-actions {
        gap: var(--spacing-sm);
    }
    
    .account-link span {
        display: none;
    }
    
    .cart-link span {
        display: block;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

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

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

.hidden { display: none; }
.visible { display: block; }

.pokemon-yellow { color: var(--pokemon-yellow); }
.pokemon-red { color: var(--pokemon-red); }
.pokemon-blue { color: var(--pokemon-blue); }

/* Lost Password Page - Simple Design */
.lost-password-main {
    padding: 40px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.lost-password-content {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.lost-password-header h1 {
    font-family: var(--font-title);
    color: #2c3e50;
    margin-bottom: 10px;
}

.lost-password-header p {
    color: #6c757d;
    margin-bottom: 25px;
}

.lost-password-content .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.lost-password-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
}

.lost-password-content .woocommerce-Input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.lost-password-content .woocommerce-button {
    width: 100%;
    padding: 12px;
    background: var(--pokemon-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lost-password-content .woocommerce-button:hover {
    background: var(--pokemon-red);
}

.lost-password-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.lost-password-footer a {
    color: var(--pokemon-blue);
    text-decoration: none;
}

.lost-password-footer a:hover {
    color: var(--pokemon-red);
}

/* Success Message */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.success-icon {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 10px;
}

.lost-password-footer .help-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
}

/* ==========================================================================
   QUANTITY CONTROLS
   ========================================================================== */

/* Quantity Controls */
.quantity-wrapper {
    display: flex;
    flex-direction: column;
  

}

.quantity-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pokemon-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-align: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--pokemon-blue);
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 
        0 8px 25px rgba(59, 76, 202, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    max-width: 200px;
    margin: 0 auto;
}

.quantity-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 76, 202, 0.05) 0%, rgba(255, 203, 5, 0.05) 100%);
    pointer-events: none;
}

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 100%;
    min-height: 50px;
    border: none;
   
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 4px 15px rgba(59, 76, 202, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.quantity-btn:hover {
    background: linear-gradient(135deg, var(--pokemon-red) 0%, #8b0000 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(204, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.quantity-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(59, 76, 202, 0.4),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}



.quantity-btn i {
    font-size: 14px;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.quantity-controls input[type="number"] {
    width: 80px;
    height: 50px;
    border: none;
    text-align: center;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pokemon-blue);
    outline: none;
    -moz-appearance: textfield;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.quantity-controls input[type="number"]::-webkit-outer-spin-button,
.quantity-controls input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-controls input[type="number"]:focus {
    background: rgba(59, 76, 202, 0.1);
    border-radius: 8px;
    box-shadow: 
        0 0 0 3px rgba(59, 76, 202, 0.2),
        inset 0 2px 4px rgba(59, 76, 202, 0.1);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .quantity-wrapper {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .quantity-label {
        font-size: 0.9rem;
    }
    
    .quantity-controls {
        border-radius: 12px;
        max-width: 180px;
    }
    
    .quantity-btn {
        width: 45px;
        height: 100%;
        min-height: 45px;
        font-size: 14px;
    }
    
    .quantity-controls input[type="number"] {
        width: 70px;
        height: 45px;
        font-size: 1.1rem;
    }
    
}

@media (max-width: 480px) {
    .quantity-controls {
        max-width: 160px;
    }
    
    .quantity-btn {
        width: 40px;
        height: 100%;
        min-height: 40px;
        font-size: 12px;
    }
    
    .quantity-controls input[type="number"] {
        width: 60px;
        height: 40px;
        font-size: 1rem;
    }
}
