/* ============================================
   POOR MAN'S PAWN SHOP - Professional Stylesheet
   Color Palette inspired by the shop sign:
   - Primary Gold: #D4A528 (refined gold)
   - Black: #1a1a1a
   - Warm neutrals for professional feel
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Refined gold tones */
    --gold-primary: #D4A528;
    --gold-bright: #E8B92F;
    --gold-dark: #B8922A;
    --gold-muted: #C9A227;
    --gold-light: #F5E6B8;
    --gold-pale: #FDF8E8;
    
    /* Neutrals */
    --black: #1a1a1a;
    --black-soft: #2d2d2d;
    --gray-900: #1f2937;
    --gray-800: #374151;
    --gray-700: #4b5563;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #d1d5db;
    --gray-300: #e5e7eb;
    --gray-200: #f3f4f6;
    --gray-100: #f9fafb;
    --white: #ffffff;
    
    /* Accent Colors */
    --success: #059669;
    --success-light: #d1fae5;
    --warning: #d97706;
    --warning-light: #fef3c7;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -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;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-gold: 0 4px 14px rgba(212, 165, 40, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-primary);
    margin-top: var(--spacing-sm);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.section-header .section-title {
    margin-bottom: 0;
}

.view-all-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gold-dark);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    color: var(--gold-primary);
    gap: var(--spacing-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gold-primary);
    color: var(--white);
    border-color: var(--gold-primary);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark);
    border-color: var(--gold-primary);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--white);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-sm), 0 0 0 0 rgba(212, 165, 40, 0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow: var(--shadow-md), 0 0 16px 4px rgba(212, 165, 40, 0.35);
    }
}

@keyframes pulseGlowCircle {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(212, 165, 40, 0.1), 0 0 0 40px rgba(212, 165, 40, 0.05), 0 0 0 0 rgba(212, 165, 40, 0.3);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 20px rgba(212, 165, 40, 0.12), 0 0 0 40px rgba(212, 165, 40, 0.06), 0 0 24px 8px rgba(212, 165, 40, 0.4);
    }
}

@keyframes pulseGlowBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-xl), 0 0 0 0 rgba(212, 165, 40, 0.35);
    }
    50% {
        transform: scale(1.03);
        box-shadow: var(--shadow-xl), 0 0 20px 6px rgba(212, 165, 40, 0.45);
    }
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    animation: pulseGlow 2s ease-in-out infinite;
}

.logo-icon.small {
    width: 40px;
    height: 40px;
}

.logo-dollar {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.logo-dollar.large {
    font-size: 5rem;
    color: var(--gray-800);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--gray-700);
    position: relative;
    padding: var(--spacing-sm) 0;
    transition: color var(--transition-fast);
}

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

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

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

.nav-link.active {
    color: var(--gray-900);
}

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

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    color: var(--gold-primary);
    background: var(--gold-pale);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--gold-primary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 140px 0 var(--spacing-4xl);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 70% 20%, rgba(212, 165, 40, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(212, 165, 40, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A528' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-3xl);
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(212, 165, 40, 0.15);
    color: var(--gold-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(212, 165, 40, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    font-weight: 600;
}

.hero-title .highlight {
    color: var(--gold-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--gold-primary);
    color: var(--gray-900);
    font-weight: 700;
    animation: pulseGlowBadge 2.2s ease-in-out infinite;
}

.hero .btn-primary:hover {
    background: var(--gold-bright);
}

.hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.hero-badge {
    background: var(--gold-primary);
    color: var(--gray-900);
    padding: var(--spacing-xl) var(--spacing-2xl);
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: pulseGlowBadge 2.2s ease-in-out infinite;
}

.hero-badge .badge-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-badge .badge-text:first-child {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories {
    padding: var(--spacing-4xl) 0;
    background: var(--gray-100);
}

.categories .section-title {
    text-align: center;
}

.categories .section-title::after {
    margin: var(--spacing-sm) auto 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
}

.category-card {
    background: var(--white);
    padding: var(--spacing-xl);
    text-align: center;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.category-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-md);
    background: var(--gold-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--gold-primary);
}

.category-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold-dark);
    transition: stroke var(--transition-base);
}

.category-card:hover .category-icon svg {
    stroke: var(--white);
}

.category-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

.category-desc {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ============================================
   FEATURED / ITEMS SECTION
   ============================================ */
.featured {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

/* ============================================
   HOME PAGE SECTIONS
   ============================================ */
.home-section {
    padding: var(--spacing-4xl) 0;
}

.home-section:nth-child(odd) {
    background: var(--white);
}

.home-section:nth-child(even) {
    background: var(--gray-100);
}

.home-how .section-title,
.home-categories .section-title,
.home-deals .section-title,
.home-faq .section-title {
    text-align: center;
}

.home-how .section-title::after,
.home-categories .section-title::after,
.home-deals .section-title::after,
.home-faq .section-title::after {
    margin: var(--spacing-sm) auto 0;
}

.section-lead {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--spacing-2xl);
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* How It Works - Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.step-card {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.home-how .step-card {
    background: var(--gray-50, var(--gray-100));
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold-primary);
    color: var(--gray-900);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* What We Buy - Categories */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0 auto var(--spacing-lg);
    max-width: 520px;
}

.category-list li {
    padding: var(--spacing-sm) 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-700);
}

.category-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: 700;
}

.category-note {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-style: italic;
    margin: 0;
}

/* Why Choose Us */
.home-why {
    background: var(--gray-900) !important;
    color: var(--white);
}

.home-why .section-title {
    color: var(--white);
}

.home-why .section-title::after {
    background: var(--gold-primary);
}

.home-why .section-lead {
    color: var(--gray-400);
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.why-list li {
    padding: var(--spacing-md) 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray-300);
}

.why-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: var(--radius-full);
}

/* Featured Deals */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.deal-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.deal-card .deal-image {
    aspect-ratio: 1;
    background: var(--gray-100);
    overflow: hidden;
}

.deal-card .deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-card .deal-body {
    padding: var(--spacing-md);
    flex: 1;
}

.deal-card .deal-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-card .deal-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.deal-card .deal-call {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.deal-card .deal-call a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
}

.deal-card .deal-call a:hover {
    text-decoration: underline;
}

.deals-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    margin-bottom: 0;
}

.deals-cta .btn-primary {
    animation: pulseGlowBadge 2.2s ease-in-out infinite;
}

/* FAQ */
.home-faq {
    background: var(--gold-pale) !important;
}

.faq-list {
    max-width: 640px;
    margin: var(--spacing-2xl) auto 0;
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid var(--gray-300);
    padding: var(--spacing-lg) 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item dt {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.faq-item dd {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* CTA Strip */
.home-cta {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    padding: var(--spacing-4xl) 0;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    color: var(--gray-400);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.cta-text br {
    display: none;
}

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

.cta-buttons .btn-primary {
    background: var(--gold-primary);
    color: var(--gray-900);
}

.cta-buttons .btn-primary:hover {
    background: var(--gold-bright);
}

.cta-buttons .btn-secondary {
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* Item Card */
.item-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

/* Picture-only cards (no description, price, etc.) */
.item-card-picture-only .item-image {
    aspect-ratio: 1;
}
.item-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.item-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--gray-100);
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.item-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.item-image-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--gray-400);
}

.item-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--gray-900);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.item-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.item-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.item-title a {
    color: var(--gray-900);
    transition: color var(--transition-fast);
}

.item-title a:hover {
    color: var(--gold-dark);
}

.item-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    flex: 1;
    line-height: 1.6;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.item-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.item-condition {
    font-size: 0.6875rem;
    padding: 0.375rem 0.625rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.item-condition.new { background: var(--success-light); color: var(--success); }
.item-condition.like-new { background: #dbeafe; color: #1d4ed8; }
.item-condition.good { background: var(--warning-light); color: var(--warning); }
.item-condition.fair { background: #fef3c7; color: #b45309; }
.item-condition.parts { background: var(--danger-light); color: var(--danger); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--spacing-4xl) 0;
    background: var(--gold-pale);
    color: var(--gray-800);
}

.about .section-title {
    color: var(--gray-900);
}

.about .section-title::after {
    background: var(--gold-primary);
}

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

.about-lead {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.about-text p {
    margin-bottom: var(--spacing-lg);
    color: var(--gray-700);
    line-height: 1.8;
}

.about-text strong {
    color: var(--gray-900);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-300);
    font-size: 0.9375rem;
}

.about .feature {
    color: var(--gray-700);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gold-primary);
    color: var(--gray-900);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 20px rgba(212, 165, 40, 0.1), 0 0 0 40px rgba(212, 165, 40, 0.05);
    animation: pulseGlowCircle 2.5s ease-in-out infinite;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--spacing-4xl) 0;
    background: var(--gold-pale);
}

.contact .section-title {
    text-align: center;
}

.contact .section-title::after {
    margin: var(--spacing-sm) auto 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-item p {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.contact-map {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    box-shadow: var(--shadow-md);
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

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

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

.footer-brand .logo-title {
    color: var(--white);
}

.footer-brand .logo-subtitle {
    color: var(--gold-primary);
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-info h4,
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
}

.footer-info p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-400);
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-info a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-info a:hover {
    color: var(--gold-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.875rem;
}

/* ============================================
   PAGE HEADER & COMMON PAGE STYLES
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    padding: 140px 0 var(--spacing-3xl);
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.page-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-400);
}

/* Filters */
.filters-section {
    background: var(--white);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.filters-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

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

.filter-label {
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.filter-select,
.filter-input {
    padding: 0.625rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--gray-800);
}

.filter-select:hover,
.filter-input:hover {
    border-color: var(--gray-400);
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 40, 0.1);
}

.search-input {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.results-count {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
    color: var(--gray-500);
}

.no-results h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

/* ============================================
   ITEM DETAIL PAGE
   ============================================ */
.item-detail {
    padding: 120px 0 var(--spacing-4xl);
    background: var(--gray-100);
    min-height: 80vh;
}

.item-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
}

/* Picture-only item detail (no description, price, etc.) */
.item-detail-picture-only {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.item-detail-picture-only .gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}
.item-detail-picture-only .gallery-main img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}
.item-detail-picture-only .back-link {
    display: inline-block;
    margin-top: var(--spacing-lg);
}

.item-gallery {
    position: sticky;
    top: 120px;
}

.gallery-main {
    aspect-ratio: 4/3;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: var(--spacing-sm);
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--gold-primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    padding: var(--spacing-md);
}

.item-info .item-category {
    font-size: 0.8125rem;
    margin-bottom: var(--spacing-sm);
}

.item-info .item-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.item-info .item-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-900);
    font-weight: 700;
}

.item-meta {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    font-weight: 500;
}

.meta-value {
    font-weight: 600;
    color: var(--gray-800);
}

.item-description-full {
    margin-bottom: var(--spacing-xl);
}

.item-description-full h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.item-description-full p {
    color: var(--gray-600);
    line-height: 1.8;
}

.item-actions {
    display: flex;
    gap: var(--spacing-md);
}

.item-actions .btn {
    flex: 1;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.status-badge.available {
    background: var(--success-light);
    color: var(--success);
}

.status-badge.on-hold {
    background: var(--warning-light);
    color: var(--warning);
}

.status-badge.sold {
    background: var(--danger-light);
    color: var(--danger);
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-section {
    padding: var(--spacing-2xl) 0 var(--spacing-4xl);
    min-height: 50vh;
    background: var(--gray-100);
}

.cart-section .section-title::after {
    display: none;
}

.cart-empty {
    text-align: center;
    padding: var(--spacing-4xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.cart-empty h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-800);
}

.cart-empty p {
    color: var(--gray-500);
    margin-bottom: var(--spacing-xl);
}

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

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cart-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.cart-item:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    width: 100px;
    height: 75px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

.cart-item-category {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: var(--spacing-xs);
}

.cart-item-remove {
    color: var(--danger);
    font-size: 0.8125rem;
    cursor: pointer;
    font-weight: 500;
    align-self: center;
    padding: var(--spacing-sm);
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    text-decoration: underline;
}

.cart-summary {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow-sm);
}

.cart-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-900);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--gray-800);
}

.summary-row.total {
    font-size: 1.125rem;
    font-weight: 700;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
    margin-top: var(--spacing-md);
    color: var(--gray-900);
}

.summary-row.total span:last-child {
    color: var(--gray-900);
}

.cart-summary .btn {
    width: 100%;
    margin-top: var(--spacing-md);
}

.cart-summary .btn-secondary {
    margin-top: var(--spacing-sm);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badge {
        margin-top: var(--spacing-2xl);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .item-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .item-gallery {
        position: static;
    }
    
    .cart-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header .container {
        height: 70px;
    }
    
    .hero {
        padding-top: 110px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .filters-section {
        top: 70px;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select,
    .filter-input {
        flex: 1;
    }
    
    .search-input {
        max-width: none;
    }
    
    .results-count {
        margin-left: 0;
        text-align: center;
    }
    
    .item-detail {
        padding-top: 100px;
    }
    
    .item-detail-grid {
        padding: var(--spacing-lg);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .hero-eyebrow {
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        width: 100%;
        height: 150px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.item-card:nth-child(1) { animation-delay: 0.05s; }
.item-card:nth-child(2) { animation-delay: 0.1s; }
.item-card:nth-child(3) { animation-delay: 0.15s; }
.item-card:nth-child(4) { animation-delay: 0.2s; }
.item-card:nth-child(5) { animation-delay: 0.25s; }
.item-card:nth-child(6) { animation-delay: 0.3s; }
.item-card:nth-child(7) { animation-delay: 0.35s; }
.item-card:nth-child(8) { animation-delay: 0.4s; }

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-btn,
    .filters-section {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
}
