/* «Замовити історію» — preview styles, extend css/style.css */
.order-page { padding: 2rem 0 3.5rem; }
.order-page .hero { padding: .4rem 0 1.2rem; }
.order-steps { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: .9rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.order-steps li::before { content: attr(data-n); display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; margin-right: .35rem; border-radius: 50%; background: #fff5f8; color: var(--accent); border: 1px solid #efc9d5; font-size: .78rem; font-weight: 700; }
.o-section { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.15rem 1.1rem 1.25rem; box-shadow: var(--shadow); margin: 0 0 1rem; }
.o-section h2 { margin: 0 0 .8rem; font-size: 1.08rem; }
.o-section h2 small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.o-types { display: grid; gap: .7rem; }
.o-option { position: relative; display: block; cursor: pointer; }
.o-option input { position: absolute; opacity: 0; pointer-events: none; }
.o-option .box { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .8rem; align-items: center; border: 1.5px solid var(--border); background: #fff; border-radius: 14px; padding: .85rem .95rem; transition: border-color .15s, background .15s, box-shadow .15s; }
.o-option .ico { font-size: 1.45rem; grid-row: span 2; }
.o-option .ttl { font-weight: 650; }
.o-option .price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.o-option .sub { grid-column: 2 / 4; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.o-option input:checked + .box { border-color: var(--accent); background: #fff5f8; box-shadow: 0 0 0 3px rgba(196, 92, 122, .12); }
.o-option input:focus-visible + .box { outline: 2px solid var(--accent2); outline-offset: 2px; }
.o-row { display: grid; gap: .55rem; margin-top: .9rem; }
.o-label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 .35rem; }
.o-label .req { color: var(--accent); }
.o-label .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.o-field { margin: 0 0 1rem; }
.o-field:last-child { margin-bottom: 0; }
.o-input, .o-select, .o-textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: .7rem .85rem; }
.o-textarea { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
.o-textarea.small { min-height: 4.6rem; }
.o-input:focus, .o-select:focus, .o-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196, 92, 122, .12); }
.o-hint { color: var(--muted); font-size: .82rem; margin: .3rem 0 0; }
.o-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.o-pill { cursor: pointer; }
.o-pill input { position: absolute; opacity: 0; pointer-events: none; }
.o-pill span { display: inline-block; border: 1.5px solid var(--border); background: #fff; color: var(--muted); border-radius: 999px; padding: .45rem .9rem; font-size: .93rem; }
.o-pill input:checked + span { border-color: var(--accent); color: var(--accent); background: #fff5f8; font-weight: 600; }
.o-check { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; padding: .55rem 0; }
.o-check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--accent); flex: none; }
.o-check b { color: var(--accent); font-weight: 650; }
.o-radios .o-check { border-top: 1px dashed var(--border); }
.o-radios .o-check:first-child { border-top: 0; }
.o-at { position: relative; }
.o-at::before { content: "@"; position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.o-at .o-input { padding-left: 1.8rem; }
.o-summary { position: sticky; bottom: .6rem; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: rgba(42, 36, 32, .94); color: #fff; border-radius: 16px; padding: .85rem 1rem; box-shadow: 0 10px 30px rgba(42, 36, 32, .25); margin: 1.2rem 0 1rem; backdrop-filter: blur(6px); }
.o-summary .lbl { font-size: .8rem; opacity: .75; display: block; }
.o-summary .val { font-size: 1.3rem; font-weight: 700; }
.o-summary .why { font-size: .78rem; opacity: .7; text-align: right; max-width: 12rem; line-height: 1.35; }
.o-consent { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: .4rem .9rem; margin: 0 0 1rem; }
.o-submit { width: 100%; font-size: 1.05rem; font-weight: 650; padding: .95rem 1.2rem; box-shadow: 0 8px 22px rgba(168, 74, 223, .25); }
.o-note { text-align: center; color: var(--muted); font-size: .88rem; margin: .7rem 0 0; }
.o-turnstile { display: flex; justify-content: center; margin: .6rem 0; min-height: 0; }
.o-turnstile:empty::after { content: ""; }
.o-footnote { color: var(--muted); font-size: .8rem; margin: 1.2rem 0 0; line-height: 1.5; }
.nav-order { color: var(--accent) !important; font-weight: 650; }
@media (min-width: 760px) {
  .order-page { padding-top: 2.6rem; }
  .o-types { grid-template-columns: repeat(3, 1fr); }
  .o-option .box { grid-template-columns: 1fr; height: 100%; align-content: start; padding: 1.1rem; gap: .35rem; }
  .o-option .ico { grid-row: auto; font-size: 1.7rem; }
  .o-option .sub { grid-column: auto; }
  .o-option .price { font-size: 1.15rem; }
  .o-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .o-section { padding: 1.4rem 1.5rem 1.5rem; }
}
.sidebar a.nav-cat { text-decoration: none; display: block; }
.o-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.o-status { margin: .9rem 0 0; padding: .85rem 1rem; border-radius: 12px; font-size: .95rem; line-height: 1.45; display: none; }
.o-status.show { display: block; }
.o-status.ok { background: #effaf2; border: 1px solid #bfe5c9; color: #1f6b35; }
.o-status.err { background: #fff3f3; border: 1px solid #f1c4c4; color: #9b2c2c; }
.o-submit[disabled] { opacity: .65; cursor: progress; }
.o-done { text-align: center; padding: 2rem 1.2rem; }
.o-done .big { font-size: 2.2rem; }
