/* ============================================================
   Ventova Store — Design System
   Inspired by Newegg's clean, professional e-commerce layout
   ============================================================ */

@charset "UTF-8";

/* ── CSS Custom Properties ── */
:root {
    /* Brand Colors (Newegg-inspired deep blue + orange accent) */
    --vs-primary: #1a3c8f;
    --vs-primary-dark: #0f2560;
    --vs-primary-light: #2a5cc7;
    --vs-accent: #f7a825;
    --vs-accent-hover: #e6991b;

    /* Neutral Palette */
    --vs-text: #1f2937;
    --vs-text-muted: #6b7280;
    --vs-text-light: #9ca3af;
    --vs-bg: #f5f5f7;
    --vs-bg-white: #ffffff;
    --vs-bg-dark: #111827;
    --vs-border: #e5e7eb;
    --vs-border-light: #f3f4f6;

    /* Semantic Colors */
    --vs-success: #10b981;
    --vs-danger: #ef4444;
    --vs-warning: #f59e0b;
    --vs-info: #3b82f6;

    /* Typography */
    --vs-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --vs-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing Scale */
    --vs-space-xs: 0.25rem;
    --vs-space-sm: 0.5rem;
    --vs-space-md: 1rem;
    --vs-space-lg: 1.5rem;
    --vs-space-xl: 2rem;
    --vs-space-2xl: 3rem;
    --vs-space-3xl: 4rem;

    /* Shadows */
    --vs-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --vs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --vs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --vs-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Borders & Radius */
    --vs-radius-sm: 4px;
    --vs-radius-md: 8px;
    --vs-radius-lg: 12px;
    --vs-radius-full: 9999px;

    /* Transitions */
    --vs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --vs-transition-fast: all 0.15s ease;
    --vs-transition-slow: all 0.6s ease;

    /* Layout */
    --vs-container: 1280px;
    --vs-header-height: 60px;
}


/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--vs-font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--vs-text);
    background: var(--vs-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--vs-primary);
    text-decoration: none;
    transition: var(--vs-transition-fast);
}

a:hover {
    color: var(--vs-primary-light);
}

ul,
ol {
    list-style: none;
}


/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--vs-font-heading);
    color: var(--vs-bg-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    color: var(--vs-text-muted);
    margin-bottom: var(--vs-space-md);
}


/* ── Layout Utilities ── */
.vs-container {
    width: 100%;
    max-width: var(--vs-container);
    margin: 0 auto;
    padding: 0 var(--vs-space-lg);
}

.vs-section {
    padding: var(--vs-space-3xl) 0;
}

.vs-section-title {
    font-family: var(--vs-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vs-bg-dark);
    margin-bottom: var(--vs-space-xl);
    display: flex;
    align-items: center;
    gap: var(--vs-space-sm);
}

.vs-section-title i {
    color: var(--vs-accent);
}

.vs-grid {
    display: grid;
    gap: var(--vs-space-lg);
}

.vs-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.vs-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.vs-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.vs-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {

    .vs-grid-4,
    .vs-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .vs-grid-3,
    .vs-grid-4,
    .vs-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .vs-grid-2,
    .vs-grid-3,
    .vs-grid-4,
    .vs-grid-5 {
        grid-template-columns: 1fr;
    }
}


/* ── Buttons ── */
.vs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--vs-space-sm);
    padding: 0.65rem 1.5rem;
    font-family: var(--vs-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--vs-radius-md);
    cursor: pointer;
    transition: var(--vs-transition);
    text-decoration: none;
    line-height: 1.4;
}

.vs-btn-primary {
    background: var(--vs-primary);
    color: #fff;
}

.vs-btn-primary:hover {
    background: var(--vs-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--vs-shadow-md);
}

.vs-btn-accent {
    background: var(--vs-accent);
    color: var(--vs-bg-dark);
}

.vs-btn-accent:hover {
    background: var(--vs-accent-hover);
    color: var(--vs-bg-dark);
    transform: translateY(-1px);
    box-shadow: var(--vs-shadow-md);
}

.vs-btn-outline {
    background: transparent;
    color: var(--vs-primary);
    border: 2px solid var(--vs-primary);
}

.vs-btn-outline:hover {
    background: var(--vs-primary);
    color: #fff;
}

.vs-btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

.vs-btn-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--vs-radius-full);
    font-size: 1rem;
}


/* ── Cards ── */
.vs-card {
    background: var(--vs-bg-white);
    border-radius: var(--vs-radius-md);
    border: 1px solid var(--vs-border);
    overflow: hidden;
    transition: var(--vs-transition);
}

.vs-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vs-shadow-hover);
    border-color: var(--vs-primary-light);
}


/* ── Badges ── */
.vs-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--vs-space-xs);
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--vs-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vs-badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--vs-success);
}

.vs-badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--vs-danger);
}

.vs-badge-accent {
    background: var(--vs-accent);
    color: var(--vs-bg-dark);
}


/* ── Forms ── */
.vs-input {
    width: 100%;
    padding: 0.6rem 1rem;
    font-family: var(--vs-font-body);
    font-size: 0.9rem;
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius-md);
    background: var(--vs-bg-white);
    color: var(--vs-text);
    transition: var(--vs-transition-fast);
    outline: none;
}

.vs-input:focus {
    border-color: var(--vs-primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 143, 0.1);
}

.vs-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8.825L.175 3 1.238 1.938 6 6.7 10.763 1.938 11.825 3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}


/* ── Animated Scroll Reveal ── */
.vs-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--vs-transition-slow), transform var(--vs-transition-slow);
}

.vs-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ── Screen Reader Only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}