@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

body {
    font-family: 'Patrick Hand', cursive;
    background-color: #f9e7c6;
    color: #4b3821;
    margin: 0;
    padding: 0;
}

header {
    background-color: #dab35a;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

header h1 {
    margin: 0;
    flex-shrink: 1;
}

.chick {
    display: inline-block;
    flex-shrink: 0;
}

.chick-header {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.12));
}

.chick-footer {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.12));
}

.submit-row {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-top: 1em;
}

.submit-row button[type="submit"] {
    flex: 1;
}

.dozens-label {
    font-weight: bold;
}

.radio-group-label {
    margin-top: 1em;
    display: block;
    font-weight: bold;
}

.radio-group {
    display: flex;
    flex-direction: column;
    margin-top: 0.3em;
    gap: 0.3em;
}

.radio-option {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    margin: 0;
}

@media (max-width: 480px) {
    .chick-header {
        width: 52px;
        height: 52px;
    }
    header {
        gap: 0.4em;
    }
}

main {
    padding: 2em;
    max-width: 600px;
    margin: auto;
    background-color: #fff9e6;
    border-radius: 1em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 1em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
button {
    padding: 0.5em;
    margin-top: 0.5em;
    border-radius: 0.3em;
    border: 2px solid #dab35a;
}

.dozens-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    margin-top: 1em;
}

button[type="submit"] {
    background-color: #dab35a;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: #c49b47;
}

button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

@media (max-width: 600px) {
    main {
        padding: 1em;
    }
}
