/* ============================================
   THRIFTED KICKS - 3D Realistic Design System
   ============================================ */

/* CSS Variables - Acid Neon Palette */
:root {
    /* Colors */
    --color-bg: #0D0D0D;
    --color-bg-secondary: #1A1A2E;
    --color-surface: #1A1A1A;
    --color-surface-elevated: #2A2A3E;
    --color-primary: #CCFF00;
    --color-primary-dark: #A8D600;
    --color-secondary: #FF3CAC;
    --color-accent: #00F0FF;
    --color-text: #FFFFFF;
    --color-text-muted: #A0A0A0;
    --color-text-dark: #0D0D0D;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-success: #00FF88;
    --color-error: #FF4444;
    
    /* Typography */
    --font-display: 'Clash Display', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(204, 255, 0, 0.3);
    --shadow-glow-secondary: 0 0 40px rgba(255, 60, 172, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 3D Effects */
    --perspective: 1000px;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--color-primary));
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: var(--space-xs) 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

.admin-link {
    color: var(--color-secondary);
}

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

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: var(--space-xs);
    transition: var(--transition-fast);
}

.cart-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-primary);
    color: var(--color-text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: var(--perspective);
}

.hero-shoe {
    font-size: 40vw;
    opacity: 0.1;
    filter: blur(2px);
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
    user-select: none;
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(10deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient 5s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(204, 255, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.btn-danger {
    background: var(--color-error);
    color: var(--color-text);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
}

.btn-danger:hover {
    background: #ff6666;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3xl);
    z-index: 10;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SHOP SECTION
   ============================================ */
.shop {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* Filters */
.filters {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

/* Product Card - 3D Effect */
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    transform-style: preserve-3d;
    perspective: var(--perspective);
}

.product-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-surface-elevated));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(-5deg);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-primary);
    color: var(--color-text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-actions {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateX(20px);
    transition: all var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

.product-info {
    padding: var(--space-lg);
}

.product-brand {
    font-size: 0.875rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.product-details {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.product-detail {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.add-to-cart {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.add-to-cart:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.about-text {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: var(--space-lg);
}

.feature {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.feature p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: var(--perspective);
}

.about-card {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-surface), var(--color-surface-elevated));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    animation: cardFloat 6s ease-in-out infinite;
    border: 1px solid var(--color-border);
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotateY(-10deg) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateY(10deg) rotateX(-5deg); }
}

.card-shoe {
    font-size: 12rem;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transform: translateZ(50px);
}

.card-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.2) 0%, transparent 70%);
    border-radius: var(--radius-xl);
    filter: blur(40px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   ADMIN SECTION
   ============================================ */
.admin {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
    display: none;
}

.admin.active {
    display: block;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
}

.admin-form-card,
.admin-inventory {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
}

.admin-form-card h3,
.admin-inventory h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

/* Form Styles */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group label {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

.form-group small {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Inventory List */
.inventory-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-height: 600px;
    overflow-y: auto;
}

.inventory-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    align-items: center;
}

.inventory-item-image {
    width: 80px;
    height: 80px;
    background: var(--color-surface-elevated);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.inventory-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inventory-item-image .shoe-emoji {
    font-size: 2.5rem;
}

.inventory-item-info {
    flex: 1;
}

.inventory-item-name {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.inventory-item-details {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.inventory-item-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.inventory-item-actions {
    display: flex;
    gap: var(--space-xs);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: var(--color-surface);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-slow);
    border-left: 1px solid var(--color-border);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.cart-header h3 {
    font-size: 1.5rem;
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: var(--space-xs);
    transition: color var(--transition-fast);
}

.cart-close:hover {
    color: var(--color-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--color-surface-elevated);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .shoe-emoji {
    font-size: 2.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cart-item-details {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.cart-item-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
}

.remove-item {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.875rem;
    margin-left: auto;
    transition: color var(--transition-fast);
}

.remove-item:hover {
    color: var(--color-error);
}

.cart-empty {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-muted);
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.cart-total span:last-child {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   MODALS
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    padding: var(--space-lg);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-primary);
}

.checkout-form {
    padding: var(--space-lg);
}

.form-section {
    margin-bottom: var(--space-xl);
}

.form-section h4 {
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    font-size: 1.1rem;
}

.payment-options {
    display: flex;
    gap: var(--space-md);
}

.payment-option {
    flex: 1;
    padding: var(--space-md);
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.payment-option input {
    display: none;
}

.payment-option:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(204, 255, 0, 0.1);
}

.order-summary {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.order-summary h4 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-border);
    font-size: 1.25rem;
    font-weight: 700;
}

.order-total span:last-child {
    color: var(--color-primary);
}

/* Success Modal */
.success-content {
    text-align: center;
    padding: var(--space-2xl);
}

.success-icon {
    font-size: 5rem;
    margin-bottom: var(--space-lg);
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.success-content h3 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.success-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.order-id {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.footer-links a {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-card {
        width: 300px;
        height: 300px;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        gap: var(--space-lg);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .cart-sidebar {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Product card entrance animation */
.product-card {
    animation: cardEntrance 0.6s ease backwards;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Stagger animation for product cards */
.products-grid .product-card:nth-child(1) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.4s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.5s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.6s; }