/* Services & Products (public /order page and My Tixible) */
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-note { font-size: 14px; color: var(--ink-soft, var(--ink-soft)); margin: 0; }
.cat-cur { font-size: 13px; font-weight: 600; color: var(--ink-soft, var(--ink-soft)); display: flex; align-items: center; gap: 8px; }
.cat-cur select { padding: 8px 10px; border: 1px solid var(--card-border, var(--line)); border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink, var(--ink)); min-height: 40px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat-card { background: var(--surface); border: 1px solid var(--card-border, var(--line)); border-radius: var(--radius, 14px); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cat-card h3 { margin: 0; font-size: 19px; }
.cat-sum { margin: 0; font-size: 14px; color: var(--ink-soft, var(--ink-soft)); }
.cat-incl { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft, var(--ink-soft)); display: flex; flex-direction: column; gap: 3px; }
.cat-meta { margin: 0; font-size: 13px; color: var(--ink-faint, var(--ink-faint)); }
.cat-price { margin: auto 0 0; font-size: 20px; font-weight: 800; }
.cat-price.is-quote { font-size: 16px; font-weight: 700; color: var(--ink-soft, var(--ink-soft)); }
.cat-card .btn { align-self: flex-start; }
.cat-form, .cat-done { margin-top: 24px; background: var(--surface); border: 1px solid var(--card-border, var(--line)); border-radius: var(--radius, 14px); padding: 24px; max-width: 760px; scroll-margin-top: 90px; }
.cat-form h3, .cat-done h3 { margin: 0 0 8px; font-size: 20px; }
.cat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat-field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft, var(--ink-soft)); }
.cat-field input, .cat-field textarea { padding: 12px; border: 1px solid var(--card-border, var(--line)); border-radius: 8px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink, var(--ink)); background: var(--surface); }
.cat-field input:focus, .cat-field textarea:focus, .cat-field select:focus { outline: 2px solid var(--amber, #e8b83e); }
.cat-field select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--card-border, var(--line)); border-radius: 8px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink, var(--ink)); background: var(--surface); }
.cat-field .tx-phone select { padding: 10px 8px; }
.cat-hint { font-size: 12px; font-weight: 400; color: var(--ink-faint, var(--ink-faint)); margin: 8px 0 0; }
.cat-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cat-msg { min-height: 20px; font-size: 14px; margin: 12px 0 0; color: var(--ink-soft, var(--ink-soft)); }
.cat-msg.err { color: var(--err); }
.cat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cat-skel { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat-skel div { height: 230px; border-radius: var(--radius, 14px); background: linear-gradient(90deg, var(--surface-2) 25%, var(--bg) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: catShimmer 1.4s infinite; }
@keyframes catShimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .cat-skel div { animation: none; } }
@media (max-width: 560px) { .cat-row { grid-template-columns: 1fr; gap: 0; } .cat-form, .cat-done { padding: 18px; } }
.cat-msg:empty { min-height: 0; margin: 0; } /* no hole under the buttons until there is something to say */
.cat-form h3:focus { outline: none; } /* focus is moved there for screen readers; it is not a control */

.vh-h { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* "I agree to the Terms of Service and Privacy Policy": a large tick box, and links that stand out and open in a new tab */
.agree { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; margin-top: 16px; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--ink, var(--ink)); cursor: pointer; }
.agree input { width: 24px; height: 24px; min-height: 0; flex: none; margin: 0; padding: 0; accent-color: #e8b84b; cursor: pointer; }
.agree a.policy { display: inline-block; padding: 1px 0; color: var(--link); font-weight: 700; text-decoration: underline; text-decoration-color: #e8b84b; text-decoration-thickness: 3px; text-underline-offset: 3px; border-radius: 4px; transition: transform .1s ease, background-color .1s ease; }
.agree a.policy:active { transform: scale(.95); background: rgba(232, 184, 75, .35); }
html[data-theme="dark"] .agree a.policy { color: #e8b84b; }
button:disabled, .btn:disabled { opacity: .5; cursor: not-allowed; }
body:has(.cat-form) .acct-prompt { display: none; } /* the offer to turn on notifications waits until the form is closed */
/* the order page: the list follows the introduction without a hole between them */
html .hero.order-hero, html.is-inner .hero.order-hero { padding-bottom: 0; }
.order-hero .hero-sub { margin-bottom: 0; }
html .section.order-list { padding-top: 20px; }
.cat-change { align-self: flex-start; margin: 8px 0 0; padding: 6px 0; min-height: 36px; border: 0; background: transparent; color: var(--ink-soft, var(--ink-soft)); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
html[data-theme="dark"] .cat-change { color: #d2cbbb; }
