main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5em;
}

p {
    margin: 0;
}

.note {
    width: 80%;
    text-align: center;
    font-size: 1.25rem;
}

#order_note {
    text-align: center;
    margin-bottom: 2em;
}

#order_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 4em;
}

.order {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--card-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1em;
    border-radius: 0.7em;
    margin-bottom: 4em;
}

@media (max-width: 1600px) {
    .order{
        width: 80%;
    }
}

@media (min-width: 1600px) {
    .order{
        width: min(60em, 60%);
    }
}

.order_header {
    display: flex;
    flex-direction: row;
    gap: 2em;
    align-items: center;
    width: 100%;
    margin-bottom: 1em;
}

.order_header svg {
    height: 4em;
    width: 4em;
}

.order_header_text {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.thank_you {
    font-size: 1.75em;
}

.headline {
    font-weight: bold;
    font-size: 1.5em;
    font-weight: 500;
}

/* Next steps (replaces Google Map) */
.next_steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    height: auto;
    border-radius: 0.7em;
    border: 1px solid var(--card-color);
    margin-bottom: 2em;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.02);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75em;
    width: 100%;
    margin-top: 0.75em;
}

.step {
    border: 1px solid var(--card-color);
    border-radius: 0.7em;
    padding: 0.75em 1em;
    background-color: var(--background-color);
}

.step_title {
    font-weight: 600;
    margin-bottom: 0.25em;
}

.next_steps_note, .next_steps_note * {
    margin-top: 1em;
    text-decoration: none;
    color: var(--text-color);
    word-break: break-word;
}

.button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border: 2px solid transparent;
    color: var(--text-color);
    font-size: 1em;
    font-weight: 700;
    width: 100%;
    height: 3em;
    border-radius: 0.7em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.25s;
}

.button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: 0.25s;
}


#back_to_shop {
    background-color: var(--text-color);
    color: var(--background-color);
    width: auto;
}

#back_to_shop:hover {
    background-color: var(--background-color);
    color: var(--text-color);   
}


.order_data {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
    height: auto;
    border-radius: 0.7em;
    border: 1px solid var(--card-color);
    padding: 1em;
    margin-bottom: 2em;
}

.products {
    width: 100%;
}

.products_grid {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.product_card {
    display: flex;
    flex-direction: row;
    gap: 0.75em;
    border-radius: 0.7em;
    padding: 0.75em;
    background-color: var(--background-color);
    width: 100%;
}

.product_image {
    width: 4.5em;
    min-width: 4.5em;
    height: 6.2em;
    object-fit: cover;
    border-radius: 0.35em;
    border: 0.1em solid var(--text-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product_image_placeholder {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.02));
}

.product_meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.product_title {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0.25em;
    word-break: break-word;
}

.product_sub {
    font-size: 0.85em;
    font-weight: 300;
    color: var(--text-color);
    opacity: 0.9;
    word-break: break-word;
}

.order_note, .order_note * {
    text-decoration: none;
    color: var(--text-color);
}