:root {
    --primary: #2563eb;
    --secondary: #3b82f6;
    --bg: #f8fafc;
    --card: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --accent: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.meta-info {
    color: var(--text-light);
    font-size: 1.1rem;
}

.printer-list {
    display: grid;
    gap: 25px;
}

.printer-card {
    background: var(--card);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

.printer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.printer-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    flex-shrink: 0;
}

.printer-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.printer-info {
    margin-left: 30px;
    flex-grow: 1;
}

.printer-info h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.buy-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.buy-button:hover {
    background-color: var(--secondary);
}

.nav-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.nav-back:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .printer-card {
        flex-direction: column;
        text-align: center;
    }
    .printer-image {
        margin-bottom: 20px;
        width: 100%;
    }
    .printer-info {
        margin-left: 0;
    }
}
