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

body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
    color: #333;
}

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

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.contact-info {
    text-align: right;
    font-size: 14px;
}

.contact-info p {
    margin: 5px 0;
}

.catalogo {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.produto-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    transition: transform 0.3s;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.produto-imagem {
    width: 300px;
    height: 300px;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.produto-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.descricao {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.preco {
    font-size: 28px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-comprar {
    background: #27ae60;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s;
    width: 200px;
}

.btn-comprar:hover {
    background: #229954;
}

.btn {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #e74c3c;
}

.form-container {
    background: white;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

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

button[type="submit"] {
    background: #27ae60;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #229954;
}

.checkout-container {
    max-width: 600px;
    margin: 50px auto;
}

.resumo-produto {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.opcoes-cliente {
    display: flex;
    gap: 20px;
}

.card {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 20px;
}

.admin-container {
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.admin-menu {
    margin: 20px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

.admin-menu a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
}

.admin-menu a:hover {
    background: #ddd;
    border-radius: 3px;
}

.admin-section {
    margin-top: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.admin-table th {
    background: #f5f5f5;
    font-weight: bold;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .produto-card {
        flex-direction: column;
    }
    
    .produto-imagem {
        width: 100%;
        height: 250px;
    }
    
    .opcoes-cliente {
        flex-direction: column;
    }
    
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
        margin-top: 15px;
    }
    
/* Alertas */
.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Form links */
.form-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-links a {
    color: #667eea;
    text-decoration: none;
}

.form-links a:hover {
    text-decoration: underline;
}