/* B2B order form (plugins/order/order.php). One copy for every market; was an inline <style> in page/it_IT/ordine.html only, so the English order pages had no CSS. */
.ob-wrap {
    background: #F7F5F1;
    padding: 50px 0 70px;
    min-height: 70vh;
    font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2A283C;
}
.ob-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}
.ob-badge {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 12px;
    border: 1px solid #FAA21C;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8A5A00;
    background: #FBEFD9;
}
.ob-wrap h1.ob-h1 {
    color: #2A283C;
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 0 0 8px;
    font-weight: 500;
}
.ob-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}
.ob-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid #E3E0DA;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(42,40,60,0.04);
}
.ob-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2A283C;
}
.ob-form input, .ob-form select {
    background: #FAF9F7;
    border: 1px solid #D6D2CA;
    border-radius: 8px;
    padding: 12px 14px;
    color: #2A283C;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.ob-form input:focus, .ob-form select:focus {
    outline: none;
    border-color: #2A283C;
    background: #FFFFFF;
}
.ob-form small {
    color: #6C6A7E;
    font-size: 0.78rem;
    font-weight: 400;
}
.ob-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ob-check {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px;
    background: #FFF9EE;
    border: 1px solid #FAA21C;
    border-radius: 10px;
    padding: 16px;
}
.ob-check input {
    width: auto;
    flex: 0 0 auto;
    margin-top: 3px;
    accent-color: #C97F06;
}
.ob-check span {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #2A283C;
}
.ob-cta {
    background: #FAA21C;
    color: #2A283C;
    border: 0;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 0 #C97F06;
    transition: background 0.15s ease, transform 0.15s ease;
    margin-top: 8px;
}
.ob-cta:hover {
    background: #FFB23C;
    transform: translateY(-1px);
}
.ob-summary {
    background: #FFFFFF;
    border: 1px solid #E3E0DA;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(42,40,60,0.04);
}
.ob-summary h2 {
    color: #2A283C;
    font-family: Newsreader, Georgia, serif;
    font-size: 1.25rem;
    margin: 0 0 18px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #EDEAE5;
}
.ob-summary img {
    max-width: 100%;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.06));
}
.ob-name {
    font-weight: 600;
    margin: 0 0 16px;
    font-size: 1rem;
    color: #2A283C;
    text-align: center;
}
.ob-summary dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    margin: 0 0 20px;
    font-size: 0.92rem;
    padding-bottom: 16px;
    border-bottom: 1px solid #EDEAE5;
}
.ob-summary dt { color: #56546A; }
.ob-summary dd { margin: 0; text-align: right; font-weight: 600; color: #2A283C; }
.ob-hint {
    font-size: 0.82rem;
    color: #6C6A7E;
    margin: 0 0 16px;
    line-height: 1.45;
}
.ob-back {
    color: #8A5A00;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ob-back:hover { text-decoration: underline; }
.ob-footer-note {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #E3E0DA;
    font-size: 0.8rem;
    color: #8A889A;
    line-height: 1.45;
}
@media(max-width: 820px) {
    .ob-grid { grid-template-columns: 1fr; }
}

/* Phone (owner, 29/09/2026: "a livello mobile ancora non ci siamo"): the form
   and the summary card overflowed the viewport because the inputs kept their
   intrinsic width and the two-column rows never collapsed. */
.ob-wrap, .ob-inner, .ob-grid, .ob-form, .ob-summary { min-width: 0; box-sizing: border-box; }
.ob-form input, .ob-form select { width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0; }
.ob-grid > * { min-width: 0; }
.ob-summary img { max-width: 100%; }
@media (max-width: 820px) {
    .ob-wrap { padding: 28px 0 48px; }
    .ob-inner { padding: 0 16px; }
    .ob-form, .ob-summary { padding: 20px 16px; }
}
@media (max-width: 520px) {
    .ob-row { grid-template-columns: 1fr; }
    .ob-wrap h1.ob-h1 { font-size: 1.6rem; }
    .ob-cta { width: 100%; }
}
/* The plan checkbox row: the label text must wrap next to the box instead of
   running off the card (seen on a 390px screenshot, 30/09/2026). */
.ob-check { align-items: flex-start; }
/* The generic ".ob-form input { width:100% }" above must not apply to the
   checkbox: at full width it pushed the label text into a one-letter column. */
.ob-form .ob-check input { width: auto; max-width: none; flex: 0 0 auto; }
.ob-check span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
