/* ========================================
   Modern Lumber & Pipe LLC - Main Styles
   Industrial Luxury Aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #3D3929;
    --color-primary-light: #5A5444;
    --color-primary-dark: #2A2720;
    --color-accent: #C4A86B;
    --color-accent-light: #D4BE8B;
    --color-accent-dark: #A48A4B;
    --color-cream: #F8F5F0;
    --color-cream-dark: #EDE8E0;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray: #6B6B6B;
    --color-gray-light: #9A9A9A;
    --color-success: #2E7D32;
    --color-error: #C62828;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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

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

.btn-light:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

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

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

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

.btn-accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.btn-lg {
    padding: 20px 44px;
    font-size: 15px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(61, 57, 41, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(248, 245, 240, 0.98);
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 85px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-normal);
}

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

.cart-link a {
    display: flex;
    align-items: center;
    position: relative;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(61, 57, 41, 0.9) 0%, rgba(42, 39, 32, 0.85) 100%),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(196, 168, 107, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(196, 168, 107, 0.1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
    animation: fadeInUp 1s ease forwards;
}

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

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(196, 168, 107, 0.2);
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    color: var(--color-white);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

.title-line.accent {
    color: var(--color-accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.7s forwards;
    opacity: 0;
}

.hero-cta .btn-secondary {
    color: var(--color-white);
    border-color: var(--color-white);
}

.hero-cta .btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.9s forwards;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-accent);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: var(--color-accent);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-gray);
    font-size: 15px;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-gray);
    font-size: 17px;
}

/* ========================================
   Categories Section
   ======================================== */
.categories {
    padding: 100px 0;
    background: var(--color-cream);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.category-card.category-large {
    grid-column: span 2;
    grid-row: span 2;
}

.category-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.2) 100%);
    transition: background var(--transition-normal);
}

.category-card:hover .category-image {
    transform: scale(1.08);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(61, 57, 41, 0.9) 0%, rgba(61, 57, 41, 0.4) 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: var(--color-white);
}

.category-content h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.category-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.category-card:hover .category-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Services Banner
   ======================================== */
.services-banner {
    position: relative;
    padding: 120px 0;
    background: 
        linear-gradient(135deg, rgba(61, 57, 41, 0.95) 0%, rgba(42, 39, 32, 0.9) 100%),
        url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1920') center/cover fixed;
}

.services-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.services-content {
    position: relative;
    text-align: center;
    color: var(--color-white);
}

.services-content h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.services-content > p {
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.85;
    font-size: 17px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.services-list span {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(196, 168, 107, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.services-list span:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--color-white);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    position: relative;
}

.quote-icon {
    font-family: var(--font-display);
    font-size: 120px;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 0.6;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-text {
    position: relative;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-primary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
}

.author-title {
    font-size: 14px;
    color: var(--color-gray);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--color-cream);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--color-gray);
    font-size: 17px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.7;
    font-size: 15px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    opacity: 0.7;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-contact p {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-contact strong {
    color: var(--color-accent);
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.5;
}

/* ========================================
   About Page
   ======================================== */
.page-hero {
    padding: 160px 0 80px;
    background: 
        linear-gradient(135deg, rgba(61, 57, 41, 0.9) 0%, rgba(42, 39, 32, 0.85) 100%),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920') center/cover no-repeat;
    text-align: center;
}

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--color-accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.about-content {
    padding: 100px 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--color-gray);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.owner-info {
    padding: 24px;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    margin-top: 32px;
}

.owner-info h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
}

.owner-info p {
    margin-bottom: 0;
    font-size: 15px;
}

.services-section {
    padding: 100px 0;
    background: var(--color-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 24px;
}

.service-card h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info > p {
    color: var(--color-gray);
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
}

.info-content p,
.info-content a {
    color: var(--color-gray);
    font-size: 15px;
}

.info-content a:hover {
    color: var(--color-accent);
}

.contact-form-wrapper {
    padding: 48px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--color-gray);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 2px solid var(--color-cream-dark);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(196, 168, 107, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
}

.map-section {
    padding: 0 0 100px;
    background: var(--color-white);
}

.map-container {
    height: 400px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Shop Page
   ======================================== */
.shop-section {
    padding: 60px 0 100px;
    background: var(--color-white);
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    background: var(--color-cream);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-sort label {
    font-size: 14px;
    color: var(--color-gray);
}

.shop-sort select {
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    border: 2px solid var(--color-cream-dark);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-cream-dark);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-cream);
}

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

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

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

.product-actions .btn {
    width: 100%;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-primary);
}

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

.product-price .original {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-gray);
    text-decoration: line-through;
    margin-left: 8px;
}

/* ========================================
   Cart Page
   ======================================== */
.cart-section {
    padding: 60px 0 100px;
    background: var(--color-white);
}

.cart-empty {
    text-align: center;
    padding: 80px 0;
}

.cart-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: 50%;
    color: var(--color-gray-light);
}

.cart-empty h2 {
    margin-bottom: 12px;
}

.cart-empty p {
    color: var(--color-gray);
    margin-bottom: 32px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 2px solid var(--color-cream-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray);
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-cream-dark);
    align-items: center;
}

.cart-product {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-product-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-cream);
}

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

.cart-product-info h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cart-product-info span {
    font-size: 13px;
    color: var(--color-gray);
}

.cart-price {
    font-weight: 600;
    color: var(--color-primary);
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 18px;
    transition: all var(--transition-fast);
}

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

.qty-value {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-total {
    font-weight: 700;
    color: var(--color-primary);
}

.cart-remove {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-gray-light);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 50%;
}

.cart-remove:hover {
    background: var(--color-error);
    color: var(--color-white);
}

.cart-summary {
    padding: 40px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    position: sticky;
    top: 120px;
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-cream-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
}

.summary-row span:first-child {
    color: var(--color-gray);
}

.summary-row.total {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--color-cream-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-summary .btn {
    width: 100%;
    margin-top: 24px;
}

.cart-summary .btn-outline {
    margin-top: 12px;
}

/* ========================================
   Checkout Page
   ======================================== */
.checkout-section {
    padding: 60px 0 100px;
    background: var(--color-white);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.checkout-form h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-cream-dark);
}

.checkout-form h3:not(:first-child) {
    margin-top: 48px;
}

.order-summary {
    padding: 40px;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    position: sticky;
    top: 120px;
    height: fit-content;
}

.order-summary h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-cream-dark);
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.order-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-white);
}

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

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

.order-item-info h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.order-item-info span {
    font-size: 13px;
    color: var(--color-gray);
}

.order-item-price {
    font-weight: 600;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cart-grid {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        background: var(--color-cream);
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .category-card.category-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 300px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cart-summary,
    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 140px 20px 100px;
    }
    
    .category-card.category-large {
        grid-column: span 1;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid .category-card {
        min-height: 200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
        background: var(--color-cream);
        border-radius: var(--radius-md);
        margin-bottom: 16px;
        border: none;
    }
    
    .cart-product {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-quantity {
        justify-content: center;
    }
    
    .shop-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        flex: 1;
        min-width: calc(50% - 6px);
        text-align: center;
    }
    
    .testimonial-card {
        padding: 40px 24px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .cart-summary,
    .order-summary {
        padding: 24px;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cart-count:not(:empty) {
    animation: pulse 2s ease infinite;
}

/* Success Message */
.success-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 20px 32px;
    background: var(--color-success);
    color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 9999;
}

.success-message.show {
    transform: translateY(0);
    opacity: 1;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}
