.order-page {
    background: linear-gradient(180deg,var(--paper),var(--cream));
    min-height: 100vh;
}

.order-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3.5rem clamp(1.2rem,5vw,4rem) 5rem;
}

.order-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.order-head h1 {
    font-size: clamp(2.5rem,5vw,4.7rem);
    margin: .4rem 0 1rem;
}

.order-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.order-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(300px,.42fr);
    gap: 2rem;
    align-items: start;
}

.order-card,
.order-aside {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(21,59,41,.08);
    padding: clamp(1.2rem,3vw,2.2rem);
}

.order-section {
    padding: 0 0 2rem;
    margin: 0 0 2rem;
    border-bottom: 1px solid var(--line);
}

.order-section:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
}

.order-section h2 {
    font-size: 1.65rem;
    margin: 0 0 1.25rem;
    color: var(--green);
}

.order-section .hint {
    font-size: .82rem;
    color: var(--muted);
    margin: -.7rem 0 1.2rem;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .42rem;
}

.field.full {
    grid-column: 1/-1;
}

.field label,
.choice-title {
    font-weight: 800;
    font-size: .86rem;
}

.field input,
.field textarea,
.field select,
.product-row select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #bdc9c1;
    background: #fffdf8;
    border-radius: 6px;
    padding: .7rem .8rem;
    font: inherit;
    color: var(--ink);
}

.field textarea {
    min-height: 100px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.product-row select:focus {
    outline: 3px solid rgba(184,218,120,.45);
    border-color: var(--green2);
}

.product-row {
    display: grid;
    grid-template-columns: minmax(150px,1fr) minmax(190px,.75fr);
    gap: 1rem;
    align-items: center;
    padding: .85rem 0;
    border-top: 1px solid var(--line);
}

.product-row:first-of-type {
    border-top: 0;
}

.product-row b {
    font-family: Georgia,serif;
    font-size: 1.05rem;
}

.product-row small {
    display: block;
    color: var(--muted);
    font-weight: 500;
}

.check-row,
.radio-row {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fffdf8;
}

.check-row input,
.radio-row input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: .12rem;
    accent-color: var(--green);
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}

.choice-grid.three {
    grid-template-columns: repeat(3,1fr);
}

.actions-order {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-top: 1.5rem;
}

.actions-order .button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.button.secondary {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
}

.order-aside {
    position: sticky;
    top: 1.5rem;
}

.order-aside h3 {
    font: 500 1.65rem Georgia,serif;
    margin: 0 0 1rem;
}

.order-aside p {
    color: var(--muted);
    font-size: .9rem;
}

.order-aside .mini {
    background: var(--cream);
    padding: 1rem;
    margin: 1.2rem 0;
}

.order-aside .mini b {
    display: block;
    color: var(--green);
    margin-bottom: .25rem;
}

.order-aside a.text-link {
    color: var(--green2);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seed-only-note {
    padding: .8rem 1rem;
    background: #f6f1dc;
    border-left: 4px solid var(--orange);
    font-size: .84rem;
    margin-bottom: 1rem;
}

.order-footer-note {
    text-align: center;
    color: var(--muted);
    font-size: .78rem;
    margin-top: 1.4rem;
}

.topbar.order-topbar {
    background: var(--paper);
}

@media (max-width:850px){
    .order-grid {
        grid-template-columns: 1fr;
    }

    .order-aside {
        position: static;
        order: -1;
    }

    .choice-grid.three {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:600px){
    .order-shell {
        padding: 2rem 1rem 3rem;
    }

    .order-head {
        margin-bottom: 1.5rem;
    }

    .order-head h1 {
        font-size: 2.7rem;
    }

    .order-card,
    .order-aside {
        padding: 1.15rem;
    }

    .field-grid,
    .product-row,
    .choice-grid,
    .choice-grid.three {
        grid-template-columns: 1fr;
    }

    .product-row {
        gap: .5rem;
    }

    .actions-order {
        flex-direction: column;
    }

    .actions-order .button {
        width: 100%;
    }

    .order-section {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* По-компактни разстояния между блоковете */
.order-section {
    padding: 28px 0 !important;
    margin: 0 !important;
}

.order-section h2 {
    margin: 0 0 16px !important;
}

.order-head {
    margin-bottom: 28px !important;
}

@media (max-width: 600px) {
    .order-section {
        padding: 20px 0 !important;
    }

    .order-section h2 {
        margin-bottom: 12px !important;
    }

    .order-head {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 600px) {
    .order-card {
        display: block !important;
    }

    .order-section {
        min-height: 0 !important;
        height: auto !important;
        padding: 18px 0 !important;
        margin: 0 !important;
    }

    .order-section + .order-section {
        margin-top: 0 !important;
    }

    .order-section h2 {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
}