/* VTX — order/inquiry (Заявка) page styles. Loaded on the order page template. Extracted 1:1. */
.crumb{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted-2);margin-bottom:18px;flex-wrap:wrap}
.crumb a{color:var(--muted-2);text-decoration:none}.crumb a:hover{color:var(--blue)}
.crumb svg{width:6px;height:10px;opacity:.7;flex-shrink:0}.crumb .cur{color:var(--muted)}
/* ===== ORDER / Заявка ===== */
.ord-grid{display:grid;grid-template-columns:1fr 360px;gap:26px;align-items:start}
.ord-items{display:flex;flex-direction:column;gap:14px}
.ord-item{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff;display:grid;grid-template-columns:84px 1fr auto;gap:16px;align-items:center}
.ord-thumb{width:84px;height:84px;border-radius:12px;overflow:hidden;background:#f3f4f6;line-height:0}
.ord-thumb img{width:100%;height:100%;object-fit:cover}
.ord-info h3{font-size:15px;font-weight:700;color:var(--ink);line-height:1.35;margin-bottom:5px}
.ord-info .sku{font-size:12.5px;color:var(--muted-2);margin-bottom:10px}
.ord-price{font-size:13.5px;font-weight:700;color:var(--blue)}
.ord-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.qty button{width:34px;height:36px;border:none;background:#fff;font-size:18px;color:var(--ink-soft);cursor:pointer;font-family:inherit;transition:background .12s}
.qty button:hover{background:var(--blue-soft);color:var(--blue)}
.qty input{width:42px;height:36px;border:none;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;font-size:14px;font-weight:600;color:var(--ink);font-family:inherit;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.ord-remove{background:none;border:none;color:var(--muted-2);cursor:pointer;display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-family:inherit;transition:color .13s}
.ord-remove:hover{color:#e0444b}
.ord-remove svg{width:14px;height:14px}
.ord-empty{display:none;border:1px dashed var(--line);border-radius:16px;padding:48px 24px;text-align:center;color:var(--muted)}
.ord-empty svg{width:48px;height:48px;color:var(--muted-2);margin-bottom:14px}
.ord-empty.show{display:block}
.ord-empty .eh{font-size:17px;font-weight:700;color:var(--ink);margin-bottom:6px}
.ord-summary{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff;position:sticky;top:96px}
.ord-summary h3{font-size:17px;font-weight:700;color:var(--ink);margin-bottom:16px}
.ord-srow{display:flex;justify-content:space-between;align-items:center;font-size:14px;padding:9px 0;color:var(--ink-soft)}
.ord-srow.total{border-top:1px solid var(--line);margin-top:6px;padding-top:14px;font-size:15px}
.ord-srow.total .v{font-weight:800;color:var(--blue)}
.ord-note{background:var(--blue-soft);border-radius:11px;padding:13px 15px;font-size:12.5px;color:var(--ink-soft);line-height:1.55;margin:14px 0}
.ord-form .fld{margin-bottom:12px}
.ord-form label{display:block;font-size:12.5px;font-weight:600;color:var(--ink-soft);margin-bottom:5px}
.ord-form input,.ord-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 13px;font-size:14px;font-family:inherit;color:var(--ink)}
.ord-form input:focus,.ord-form textarea:focus{outline:none;border-color:var(--blue)}
.ord-form textarea{resize:vertical;min-height:74px}
.ord-submit{width:100%;background:linear-gradient(135deg,var(--cart1),var(--cart2));color:#fff;font-weight:700;font-size:15px;border:none;border-radius:11px;padding:14px;cursor:pointer;font-family:inherit;margin-top:4px}
.ord-submit:hover{filter:brightness(1.05)}
.ord-consent{font-size:11.5px;color:var(--muted-2);margin-top:10px;line-height:1.5;text-align:center}
.ord-ok{display:none;margin-top:14px;background:#eaf7ee;color:#1ca65a;border-radius:10px;padding:13px;font-size:13.5px;font-weight:600;text-align:center}
.ord-ok.show{display:block}

@media (max-width:900px){
  .m-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .ord-grid{grid-template-columns:1fr}
  .ord-summary{position:static}
}
@media (max-width:520px){
  .steps{grid-template-columns:1fr}
  .ord-item{grid-template-columns:64px 1fr;gap:12px}
  .ord-thumb{width:64px;height:64px}
  .ord-right{grid-column:1 / -1;flex-direction:row;justify-content:space-between;align-items:center}
}


@media (max-width:600px){ .crumb{margin-bottom:14px;font-size:12.5px} }


/* CTA buttons (shared with pages.css) — needed because order page does not load pages.css */
/* CTA band (shared) */
.cta-band{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:clamp(28px,3.5vw,42px);text-align:center;margin-top:10px}
.cta-band h2{font-size:clamp(20px,2.2vw,27px);font-weight:800;color:var(--ink);margin-bottom:9px}
.cta-band p{font-size:15px;color:var(--muted);margin-bottom:22px}
.cta-btns{display:flex;gap:13px;justify-content:center;flex-wrap:wrap}
.cta-btns a{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:15px;padding:13px 25px;border-radius:11px;text-decoration:none}
.cta-p{background:var(--blue);color:#fff}
.cta-p:hover{background:var(--blue-hover)}
.cta-p svg{width:17px;height:17px}
.cta-g{background:#fff;border:1.5px solid var(--line);color:var(--ink)}
.cta-g:hover{border-color:var(--blue);color:var(--blue)}
.cta-g svg{width:17px;height:17px}

/* ============================================================
   Quote (заявка) — save to PDF / print
   ============================================================ */
.ord-actions { margin: 0 0 14px; }
.ord-print-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; color: var(--blue); border: 1.5px solid var(--blue);
	border-radius: 9px; padding: 9px 16px; font-size: 14px; font-weight: 600;
	cursor: pointer; transition: background .15s, color .15s;
}
.ord-print-btn:hover { background: var(--blue-soft); }
.ord-print-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* Print sheet is hidden on screen, revealed only when printing. */
.ord-print { display: none; }

@media print {
	.topbar, .header, .footer, .toast, .modal-overlay, .search-modal, .mnav,
	.cookie-notice, .skip-link, .ord-page > .crumb, .ord-page > .pg-head, .ord-grid {
		display: none !important;
	}
	@page { margin: 16mm; }
	html, body { background: #fff !important; }
	.ord-page { max-width: none !important; margin: 0 !important; padding: 0 !important; }

	.ord-print { display: block !important; color: #000; }
	.opr-head {
		display: flex; justify-content: space-between; align-items: flex-start;
		border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 18px;
	}
	.opr-co-name { font-size: 19pt; font-weight: 700; letter-spacing: .3px; }
	.opr-co-meta { font-size: 9.5pt; color: #333; margin-top: 5px; line-height: 1.45; }
	.opr-meta { text-align: right; padding-left: 18px; }
	.opr-title { font-size: 14pt; font-weight: 700; }
	.opr-sub { font-size: 9.5pt; color: #333; margin-top: 5px; }
	.opr-cust { font-size: 10pt; line-height: 1.55; margin-bottom: 14px; }
	.opr-cust:empty { display: none; }
	.opr-table { width: 100%; border-collapse: collapse; font-size: 10pt; }
	.opr-table th, .opr-table td {
		border: 1px solid #999; padding: 7px 9px; text-align: left; vertical-align: top;
	}
	.opr-table thead th { background: #eee; font-weight: 700; }
	.opr-table .n { width: 34px; text-align: center; }
	.opr-table .a { width: 26%; }
	.opr-table .q { width: 64px; text-align: center; }
	.opr-table tbody tr { page-break-inside: avoid; }
	.opr-note {
		margin-top: 20px; font-size: 8.5pt; color: #555; line-height: 1.45;
		border-top: 1px solid #ccc; padding-top: 9px;
	}
}

/* Page head spacing on the order page (pages.css is not enqueued here) */
.ord-page .pg-head,.pg-head{margin-bottom:30px}
.ord-page .pg-head h1{font-size:clamp(24px,2.8vw,34px);font-weight:800;color:var(--ink);letter-spacing:-.01em;margin-bottom:8px}
.ord-page .pg-head p{font-size:15px;color:var(--muted);line-height:1.55;max-width:680px}
