/*
Theme Name: Everest Peptides
Theme URI: https://everestpeptides.com
Author: Everest Peptides
Author URI: https://everestpeptides.com
Description: The Peak of Research Peptides - A premium, dark-themed WooCommerce theme for Everest Peptides. Built with Tailwind CSS and Alpine.js for a modern, high-converting e-commerce experience.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: everest-peptides
Tags: e-commerce, woocommerce, dark-mode, custom-colors, custom-logo

Everest Peptides Theme - The Apple Store of Research Peptides
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Backgrounds */
    --bg-deep: #011a2e;
    --bg-primary: #03284f;
    --surface: #064272;
    --surface-hover: #085490;
    
    /* Borders */
    --border: #0a5a9e;
    --border-light: #1a6ab0;
    
    /* Accent (Ice Blue) */
    --accent: #6bb3fb;
    --accent-hover: #9dcbfd;
    --accent-muted: rgba(107, 179, 251, 0.15);
    
    /* Snow Whites */
    --white: #ffffff;
    --white-soft: #f0f7fc;
    --snow: #e1eef5;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a3c4d9;
    --text-tertiary: #6a8fa8;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gold: #c9a227;
    
    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-smooth: 300ms ease-out;
    --transition-slow: 500ms ease-out;
}

/* ==========================================================================
   Base Resets & Typography
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-deep);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.2;
    margin-top: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   WooCommerce Base Overrides
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background-color: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1rem 1.5rem !important;
}

.woocommerce-message {
    border-left-color: var(--success) !important;
}

.woocommerce-info {
    border-left-color: var(--accent) !important;
}

.woocommerce-error {
    border-left-color: var(--error) !important;
}

/* Hide default WooCommerce styling we'll override */
.woocommerce .quantity .qty {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ==========================================================================
   Animation Keyframes
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.3s ease-out forwards;
}

/* Stagger animations for grid items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
