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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #faf8f5;
    color: #3d3d3d;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    color: #8b4513;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.5rem;
}

.form-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-section h2 {
    font-size: 1.1rem;
    color: #8b4513;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #8b4513;
}

.bread-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bread-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #faf8f5;
    border-radius: 4px;
}

.bread-item label {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0;
}

.bread-name {
    font-weight: 500;
}

.bread-price {
    color: #666;
    font-size: 0.9rem;
}

.bread-item select {
    width: 70px;
    text-align: center;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#total {
    color: #8b4513;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #8b4513;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #6d360f;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.success-message {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.success-message h2 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.hidden {
    display: none;
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 1rem;
    }
}
