/* Oman Glass — storefront (RTL) v1.1 */
.og-app {
  --og-ink: #191b1c; --og-muted: #5d7280; --og-line: #e2e9ee; --og-soft: #f4f8fa; --og-bg: #fbfdfe;
  --og-accent: #24506e; --og-accent-ink: #1c4058; --og-accent-soft: #e9f1f7; --og-glass: #99bed5;
  --og-ok: #16865a; --og-ok-soft: #e8f6ef; --og-warn: #9a6400; --og-warn-soft: #fff6e2; --og-danger: #b42318; --og-danger-soft: #fff0ee;
  --og-r: 16px; --og-r-sm: 10px;
  text-align: start; color: var(--og-ink);
  font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif; font-size: 15px; line-height: 1.6;
}
.og-app [hidden] { display: none !important; }
.og-app *, .og-app *::before, .og-app *::after { box-sizing: border-box; }
.og-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.og-page.og-is-home { padding-top: 1rem; }

/* ---------- hero ---------- */
.og-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; padding: 1.75rem 1.75rem 1.5rem; margin-bottom: 1.25rem; border-radius: 22px;
  background: radial-gradient(120% 140% at 100% 0%, #e4eef5 0%, #f7fbfd 55%, #ffffff 100%); border: 1px solid var(--og-line); position: relative; overflow: hidden; }
.og-hero::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; border-radius: 30px; transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(36,80,110,.10), rgba(36,80,110,0)); border: 1px solid rgba(36,80,110,.12); pointer-events: none; }
.og-h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 .35rem; letter-spacing: -.01em; }
.og-intro { color: var(--og-muted); max-width: 46rem; margin: 0; }
.og-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; position: relative; z-index: 1; }
.og-steps { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.og-steps li { display: flex; align-items: center; gap: .4rem; padding-block: .35rem; padding-inline: .9rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--og-line); color: var(--og-muted); font-size: .85rem; }
.og-steps li b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--og-soft); font-size: .75rem; }
.og-steps li.active { border-color: var(--og-accent); color: var(--og-accent-ink); font-weight: 700; }
.og-steps li.active b { background: var(--og-accent); color: #fff; }
.og-steps li.done b { background: var(--og-ok); color: #fff; }
.og-link-mine { font-size: .9rem; font-weight: 700; color: var(--og-accent-ink); text-decoration: none; }

/* ---------- panels ---------- */
.og-panel { background: #fff; border: 1px solid var(--og-line); border-radius: var(--og-r); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: 0 1px 2px rgba(15,37,51,.04), 0 8px 24px -18px rgba(15,37,51,.18); }
.og-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.og-h2 { font-size: 1.25rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .5rem; }
.og-h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .9rem; display: flex; align-items: center; gap: .5rem; }
.og-h3 small { font-weight: 500; color: var(--og-muted); font-size: .82rem; }
.og-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--og-accent-soft); color: var(--og-accent-ink); font-size: .85rem; }
.og-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 .4rem; border-radius: 999px; background: var(--og-accent); color: #fff; font-size: .85rem; }

/* ---------- editor layout ---------- */
.og-editor { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 991px) { .og-editor { grid-template-columns: 1fr; gap: 1rem; } }
.og-block { padding: 1.1rem 0; border-top: 1px dashed var(--og-line); }
.og-block:first-of-type { border-top: 0; padding-top: 0; }
.og-field { margin-bottom: .9rem; }
.og-label { font-size: .85rem; font-weight: 700; color: var(--og-muted); margin: 0 0 .4rem; }
.og-hidden-select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* pills & chips */
.og-pills, .og-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.og-pill, .og-chip { appearance: none; border: 1.5px solid var(--og-line); background: #fff; color: var(--og-ink); border-radius: 12px; padding: .55rem 1rem; font: inherit; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.og-pills-tight .og-pill { min-width: 70px; text-align: center; }
.og-pill:hover, .og-chip:hover { border-color: #c3d7e6; }
.og-pill.active, .og-chip.active { border-color: var(--og-accent); background: var(--og-accent-soft); color: var(--og-accent-ink); box-shadow: 0 0 0 3px rgba(36,80,110,.12); }
.og-chip { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; }
.og-chip-swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.og-hint { font-size: .9rem; font-weight: 600; color: var(--og-ok); }
.og-hint.text-warning { color: var(--og-warn) !important; }
.og-hint.text-danger { color: var(--og-danger) !important; }

/* size */
.og-size { display: flex; align-items: flex-end; gap: .75rem; flex-wrap: wrap; }
.og-size-field { flex: 1 1 140px; position: relative; margin: 0; }
.og-size-field > span, .og-qty > span, .og-mini-field > span { display: block; font-size: .85rem; font-weight: 700; color: var(--og-muted); margin-bottom: .35rem; }
.og-size-field input { width: 100%; height: 58px; border: 1.5px solid var(--og-line); border-radius: 14px; padding-block: 0; padding-inline: 1rem 3rem; font-size: 1.35rem; font-weight: 800; color: var(--og-ink); background: var(--og-bg); text-align: start; }
.og-size-field em { position: absolute; inset-inline-end: 1rem; bottom: 17px; font-style: normal; color: var(--og-muted); font-size: .85rem; }
.og-times { font-size: 1.3rem; color: var(--og-muted); padding-bottom: 14px; }
.og-qty { flex: 0 0 auto; }
.og-stepper { display: flex; align-items: center; border: 1.5px solid var(--og-line); border-radius: 14px; overflow: hidden; height: 58px; background: var(--og-bg); }
.og-stepper input { width: 56px; border: 0; text-align: center; font-size: 1.2rem; font-weight: 800; background: transparent; height: 100%; }
.og-step-btn { width: 42px; height: 100%; border: 0; background: transparent; font-size: 1.3rem; color: var(--og-accent-ink); cursor: pointer; }
.og-step-btn:hover { background: var(--og-accent-soft); }
.og-app input[type=text]:focus, .og-app input[type=tel]:focus, .og-app input[type=email]:focus, .og-app input[type=password]:focus, .og-app textarea:focus { outline: none; border-color: var(--og-accent); box-shadow: 0 0 0 3px rgba(36,80,110,.15); }

/* extras */
.og-opt { border: 1px solid var(--og-line); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .6rem; background: #fff; transition: border-color .15s, background .15s; }
.og-opt:has(> .og-opt-head input:checked), .og-opt[open] { border-color: #c9dbe8; background: #fafcfe; }
.og-opt-head { display: flex; align-items: center; gap: .8rem; cursor: pointer; margin: 0; list-style: none; }
.og-opt-head::-webkit-details-marker { display: none; }
.og-details > .og-opt-head::after { content: "▾"; margin-inline-start: auto; color: var(--og-muted); }
.og-opt-inner { margin-top: .2rem; }
.og-opt-title { font-weight: 700; display: flex; flex-direction: column; line-height: 1.3; }
.og-opt-title small { font-weight: 500; color: var(--og-muted); font-size: .8rem; }
.og-opt-body { margin-top: .8rem; }
.og-opt-help { font-size: .83rem; color: var(--og-muted); margin-top: .4rem; }
.og-note-warn { color: var(--og-warn); }
.og-note-danger { color: var(--og-danger); }

/* switch */
.og-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.og-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.og-switch i { position: absolute; inset: 0; border-radius: 999px; background: #cfdae1; transition: background .18s; }
.og-switch i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s; }
.og-switch input:checked + i { background: var(--og-accent); }
.og-switch input:checked + i::after { transform: translateX(-20px); }
[dir="ltr"] .og-switch input:checked + i::after { transform: translateX(20px); }
.og-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(36,80,110,.25); }

/* segmented */
.og-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--og-soft); border-radius: 12px; margin-bottom: .8rem; }
.og-seg label { position: relative; margin: 0; }
.og-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 2; width: 100%; height: 100%; }
.og-seg span { display: block; padding: .45rem .95rem; border-radius: 9px; font-weight: 600; color: var(--og-muted); font-size: .92rem; transition: background .15s, color .15s; }
.og-seg input:checked + span { background: #fff; color: var(--og-accent-ink); box-shadow: 0 1px 3px rgba(15,37,51,.12); }

/* small fields */
.og-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 575px) { .og-grid2 { grid-template-columns: 1fr; } }
.og-mini-field { display: block; margin: 0 0 .75rem; }
.og-mini-field input, .og-mini-field textarea { width: 100%; border: 1.5px solid var(--og-line); border-radius: var(--og-r-sm); padding: .6rem .8rem; font: inherit; background: var(--og-bg); color: var(--og-ink); }
.og-w-110 { max-width: 130px; }
.og-check { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; margin: 0 0 .7rem; cursor: pointer; }
.og-check input { width: 18px; height: 18px; accent-color: var(--og-accent); }
.og-sub { margin-top: .4rem; padding-top: .8rem; border-top: 1px dashed var(--og-line); }
.og-hole-tools { display: flex; align-items: flex-end; gap: .75rem; margin-top: .6rem; }
.og-hole-tools .og-mini-field { margin: 0; }
.og-holes-table { width: 100%; margin-top: .6rem; border-collapse: collapse; font-size: .88rem; }
.og-holes-table th { font-weight: 700; color: var(--og-muted); padding: .3rem; text-align: end; }
.og-holes-table td { padding: .25rem; }
.og-holes-table input { width: 100%; max-width: 92px; border: 1.5px solid var(--og-line); border-radius: 8px; padding: .3rem .45rem; }
.og-hole-del { border: 0; background: var(--og-danger-soft); color: var(--og-danger); border-radius: 8px; width: 30px; height: 30px; cursor: pointer; }
.og-upload { display: block; position: relative; border: 1.5px dashed #c3d7e6; border-radius: 12px; padding: .9rem; text-align: center; color: var(--og-accent-ink); font-weight: 700; cursor: pointer; background: #f6f9fc; }
.og-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.og-files { list-style: none; padding: 0; margin: .5rem 0 0; font-size: .88rem; }
.og-files li { display: flex; justify-content: space-between; align-items: center; padding: .35rem .5rem; border-radius: 8px; background: var(--og-soft); margin-bottom: .3rem; }
.og-file-del { border: 0; background: none; color: var(--og-danger); cursor: pointer; font-size: .85rem; }

/* preview */
.og-sticky { position: sticky; top: 1rem; }
.og-svg { width: 100%; max-width: 520px; aspect-ratio: 1 / 1; display: block; margin: 0 auto; background:
  linear-gradient(var(--og-bg), var(--og-bg)) padding-box, repeating-linear-gradient(0deg, transparent 0 23px, #eef3f6 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, #eef3f6 23px 24px);
  background-blend-mode: normal; border: 1px solid var(--og-line); border-radius: 18px; touch-action: none; user-select: none; direction: ltr; font-family: Tahoma, Arial, sans-serif; }
.og-svg .og-glass { cursor: crosshair; }
.og-svg .og-draggable { cursor: grab; }
.og-legend { text-align: center; font-size: .78rem; color: var(--og-muted); margin: .4rem 0 .6rem; }
.og-breakdown { width: 100%; font-size: .9rem; border-collapse: collapse; }
.og-breakdown td { padding: .4rem .2rem; border-bottom: 1px solid var(--og-line); }
.og-breakdown td:last-child { white-space: nowrap; text-align: end; font-weight: 700; }
.og-breakdown td.og-ltr { display: table-cell; color: var(--og-muted); text-align: end; font-size: .82rem; }
.og-piece-total { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 0 .2rem; font-weight: 700; }
.og-piece-total strong { font-size: 1.55rem; font-weight: 800; direction: ltr; unicode-bidi: isolate; color: var(--og-accent-ink); }
.og-piece-total strong.text-warning { color: var(--og-warn) !important; font-size: 1.1rem; }
.og-actions { display: flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.og-center { justify-content: center; }

/* buttons */
.og-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1.5px solid transparent; border-radius: 12px; padding: .6rem 1.1rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: filter .15s, background .15s; }
.og-btn-lg { padding: .85rem 1.3rem; font-size: 1.05rem; flex: 1 1 auto; }
.og-btn-block { width: 100%; }
.og-btn-primary { background: var(--og-accent); color: #fff; }
.og-btn-primary:hover { filter: brightness(1.07); color: #fff; }
.og-btn-success { background: var(--og-ok); color: #fff; }
.og-btn-success:hover { filter: brightness(1.07); color: #fff; }
.og-btn-soft { background: var(--og-accent-soft); color: var(--og-accent-ink); }
.og-btn-ghost { background: #fff; border-color: var(--og-line); color: var(--og-ink); }
.og-btn-sm { padding: .35rem .7rem; font-size: .85rem; border-radius: 9px; }
.og-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }

/* messages */
.og-msg { border-radius: 12px; padding: .65rem .9rem; margin: .6rem 0; font-size: .9rem; }
.og-msg-error { background: var(--og-danger-soft); color: var(--og-danger); }
.og-msg-warn { background: var(--og-warn-soft); color: var(--og-warn); }
.og-msg-info { background: var(--og-accent-soft); color: var(--og-accent-ink); }
.og-msg-ok { background: var(--og-ok-soft); color: var(--og-ok); }

/* pieces */
.og-empty { color: var(--og-muted); padding: 1.2rem; text-align: center; background: var(--og-soft); border-radius: 12px; }
.og-items { display: grid; gap: .75rem; }
.og-item-card { display: flex; gap: 1rem; border: 1px solid var(--og-line); border-radius: 14px; padding: .8rem; align-items: center; }
.og-item-card.editing { border-color: var(--og-accent); background: #f5f9fc; }
.og-mini { width: 96px; height: 96px; flex: 0 0 96px; background: var(--og-bg); border-radius: 10px; direction: ltr; font-family: Tahoma, Arial, sans-serif; }
.og-item-body { flex: 1; min-width: 0; }
.og-item-title { font-weight: 800; }
.og-item-size { font-weight: 700; color: var(--og-accent-ink); }
.og-item-meta { font-size: .85rem; color: var(--og-muted); }
.og-item-side { text-align: end; display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.og-item-price { font-weight: 800; font-size: 1.1rem; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.og-item-price.text-warning { color: var(--og-warn) !important; font-size: .9rem; }
.og-item-actions { display: flex; gap: .3rem; }
.og-icon-btn { border: 1px solid var(--og-line); background: #fff; border-radius: 9px; padding: .3rem .6rem; font: inherit; font-size: .82rem; cursor: pointer; color: var(--og-ink); }
.og-icon-btn.danger { color: var(--og-danger); }
@media (max-width: 575px) { .og-item-card { flex-wrap: wrap; } .og-item-side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; } .og-mini { width: 76px; height: 76px; flex-basis: 76px; } }
.og-summary { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--og-soft); border-radius: 14px; }
.og-summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.og-summary-row strong { font-size: 1.5rem; font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.og-summary .og-btn { margin-top: .9rem; width: 100%; }

/* auth & details */
.og-auth-lead { color: var(--og-muted); margin-bottom: .8rem; }
.og-auth-form { max-width: 460px; }
.og-small-link { display: inline-block; margin-top: .6rem; font-size: .88rem; color: var(--og-accent-ink); }
.og-logged-as { background: var(--og-ok-soft); color: var(--og-ok); border-radius: 12px; padding: .55rem .9rem; margin-bottom: .9rem; font-weight: 600; font-size: .92rem; }
.og-hp { position: absolute !important; inset-inline-end: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.og-app .is-invalid { border-color: var(--og-danger) !important; }
.og-fb { color: var(--og-danger); font-size: .82rem; margin-top: -.45rem; margin-bottom: .6rem; }

/* success */
.og-success { text-align: center; border-color: #bfe6d1; }
.og-success .og-h2 { justify-content: center; }
.og-success-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .8rem; display: grid; place-items: center; background: var(--og-ok); color: #fff; font-size: 2rem; }
.og-success-grid { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.og-success-grid div { background: var(--og-soft); border-radius: 12px; padding: .7rem 1.2rem; min-width: 180px; }
.og-success-grid span { display: block; font-size: .82rem; color: var(--og-muted); }
.og-success-grid strong { font-size: 1.25rem; }

/* mobile bar */
.og-bar { display: none; }
@media (max-width: 991px) {
  .og-bar { display: flex; position: fixed; inset-inline-end: 0; inset-inline-start: 0; bottom: 0; z-index: 1030; gap: .6rem; align-items: center; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--og-line); box-shadow: 0 -6px 20px -12px rgba(15,37,51,.3); }
  .og-bar-price { flex: 1; line-height: 1.2; }
  .og-bar-price small { display: block; color: var(--og-muted); font-size: .75rem; }
  .og-bar-price strong { font-size: 1.1rem; direction: ltr; unicode-bidi: isolate; }
  .og-app { padding-bottom: 80px; }
  .og-sticky { position: static; }
  .og-hero { padding: 1.25rem; }
  .og-hero-side { align-items: stretch; width: 100%; }
  .og-steps li span { display: none; }
  .og-steps li.active span { display: inline; }
  .og-panel { padding: 1.1rem; }
}

/* quote / my orders pages */
.og-badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; color: #fff; font-size: .82rem; font-weight: 700; }
.og-quote-item { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; border-bottom: 1px solid var(--og-line); padding: .9rem 0; }
.og-quote-svg svg { width: 100%; height: auto; }
@media (max-width: 575px) { .og-quote-item { grid-template-columns: 1fr; } }
.og-small { font-size: .85rem; color: var(--og-muted); }
.og-totals { width: 100%; }
.og-totals td, .og-totals th { padding: .45rem 0; border-bottom: 1px solid var(--og-line); }
.og-totals .og-final th { font-size: 1.25rem; }
.og-decision { margin-top: 1rem; }
.og-decision textarea { width: 100%; border: 1.5px solid var(--og-line); border-radius: var(--og-r-sm); padding: .6rem .8rem; }
.og-history { border-bottom: 1px solid var(--og-line); padding: .5rem 0; }
.og-orders { width: 100%; border-collapse: collapse; }
.og-orders th { font-size: .82rem; color: var(--og-muted); font-weight: 700; padding: .5rem; border-bottom: 1px solid var(--og-line); }
.og-orders td { padding: .7rem .5rem; border-bottom: 1px solid var(--og-line); vertical-align: middle; }
.og-cta { border: 1px solid var(--og-line); border-radius: 16px; padding: 1.25rem; background: linear-gradient(135deg, #eef7fb, #fff); }
.og-holes-table.table { margin: .5rem 0; }

.og-app ::placeholder { color: #b9c6ce; font-weight: 500; opacity: 1; }
@media (max-width: 991px) { .og-editor-main > .og-editor-side { margin: 0 0 1rem; padding: 1rem 0; border-top: 1px dashed var(--og-line); } .og-editor-main > .og-editor-side #og-add { display: none; } }

/* ===================== v1.2 landing ===================== */
.og-landing { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2.5rem 2.5rem 2.25rem; margin-bottom: 1.25rem; border-radius: 26px; border: 1px solid var(--og-line);
  background: radial-gradient(90% 120% at 0% 0%, #e4eef5 0%, rgba(223,241,248,0) 60%), radial-gradient(70% 90% at 100% 100%, #eef3f7 0%, rgba(234,246,242,0) 60%), #fff; }
.og-eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--og-accent-ink); background: var(--og-accent-soft); padding: .3rem .8rem; border-radius: 999px; margin-bottom: .9rem; }
.og-display { font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.25; font-weight: 800; margin: 0 0 .8rem; letter-spacing: -.015em; }
.og-lead { color: var(--og-muted); font-size: 1.05rem; max-width: 40rem; margin: 0 0 1.4rem; }
.og-lead-sm { color: var(--og-muted); margin: .2rem 0 1rem; }
.og-cta-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.og-btn-xl { padding: 1rem 1.6rem; font-size: 1.08rem; border-radius: 14px; }
.og-btn-outline { background: #fff; border-color: var(--og-accent); color: var(--og-accent-ink); }
.og-btn-outline:hover { background: var(--og-accent-soft); color: var(--og-accent-ink); }
.og-trust { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--og-ink); font-size: .92rem; }
.og-trust i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--og-ok-soft); color: var(--og-ok); font-size: .75rem; margin-inline-end: .4rem; font-weight: 800; }
.og-landing-art svg { width: 100%; max-width: 380px; display: block; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(36,80,110,.18)); }
@media (max-width: 991px) { .og-landing { grid-template-columns: 1fr; padding: 1.5rem; } .og-landing-art { order: -1; } .og-landing-art svg { max-width: 260px; } .og-btn-xl { flex: 1 1 100%; } }
.og-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1.5rem; }
.og-how-item { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--og-line); border-radius: 16px; padding: 1rem 1.1rem; }
.og-how-item strong { display: block; margin-bottom: .15rem; }
.og-how-item p { margin: 0; color: var(--og-muted); font-size: .88rem; }
.og-how-num { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--og-accent); color: #fff; font-weight: 800; }
@media (max-width: 767px) { .og-how { grid-template-columns: 1fr; } }
.og-mode-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; scroll-margin-top: 1rem; }
.og-seg-lg span { padding: .65rem 1.4rem; font-size: 1rem; }
.og-seg-lg { margin: 0; }

/* drawing-only */
.og-drawing-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 991px) { .og-drawing-grid { grid-template-columns: 1fr; } }
.og-dropzone { display: flex; flex-direction: column; align-items: center; gap: .3rem; position: relative; border: 2px dashed #a9c6da; border-radius: 16px; padding: 2rem 1rem; text-align: center; background: #f5f9fc; cursor: pointer; margin-bottom: .6rem; transition: background .15s, border-color .15s; }
.og-dropzone:hover { background: var(--og-accent-soft); border-color: var(--og-accent); }
.og-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.og-dz-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--og-accent); color: #fff; font-size: 1.3rem; }
.og-dropzone small { color: var(--og-muted); }
.og-drawing-aside { background: var(--og-soft); border-radius: 16px; padding: 1.2rem; align-self: start; }
.og-tips { padding-inline-start: 1.1rem; margin: 0; color: var(--og-muted); font-size: .92rem; }
.og-tips li { margin-bottom: .45rem; }
.og-center-text { text-align: center; }
.og-block { display: block; }
.og-note-box { background: var(--og-soft); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .8rem; white-space: normal; }

/* confirm */
.og-confirm-head { margin-bottom: 1rem; }
.og-confirm-head .og-steps { margin-bottom: 1rem; }
.og-confirm-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 991px) { .og-confirm-grid { grid-template-columns: 1fr; } .og-confirm-summary { order: -1; } }
.og-sum-item { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--og-line); }
.og-sum-svg { flex: 0 0 90px; }
.og-sum-svg svg { width: 90px; height: 90px; }
.og-sum-total { margin-top: .8rem; }

/* dashboard */
.og-dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-top: 1rem; }
@media (max-width: 991px) { .og-dash { grid-template-columns: 1fr; } }
.og-profile { display: flex; align-items: center; gap: .8rem; padding: 1.1rem; }
.og-avatar { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #24506e, #191b1c); color: #fff; font-size: 1.3rem; font-weight: 800; }
.og-hello { font-weight: 800; font-size: 1.05rem; }
.og-dash-nav { padding: .5rem; display: flex; flex-direction: column; }
.og-dash-nav a { display: flex; gap: .6rem; align-items: center; padding: .65rem .8rem; border-radius: 10px; color: var(--og-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.og-dash-nav a i { width: 18px; text-align: center; color: var(--og-accent-ink); }
.og-dash-nav a:hover, .og-dash-nav a.active { background: var(--og-accent-soft); color: var(--og-accent-ink); }
.og-dash-nav a.og-danger-link, .og-dash-nav a.og-danger-link i { color: var(--og-danger); }
@media (max-width: 991px) { .og-dash-nav { flex-direction: row; flex-wrap: wrap; } .og-dash-nav a { flex: 1 1 45%; } }
.og-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.og-dash-head .og-h1 { margin: 0; }
.og-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1.25rem; }
@media (max-width: 767px) { .og-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.og-stat { background: #fff; border: 1px solid var(--og-line); border-radius: 14px; padding: .9rem 1rem; }
.og-stat span { display: block; color: var(--og-muted); font-size: .82rem; }
.og-stat strong { font-size: 1.7rem; font-weight: 800; }
.og-stat-action.on { border-color: #f5c46b; background: var(--og-warn-soft); }
.og-stat-action.on strong { color: var(--og-warn); }
.og-actions-needed { border-color: #f5c46b; background: #fffdf6; }
.og-row-between { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.og-action-row { padding: .6rem 0; border-bottom: 1px dashed #f0dfb5; }
.og-action-row:last-child { border-bottom: 0; }
.og-order-list { display: flex; flex-direction: column; gap: .6rem; }
.og-order-card { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--og-line); border-radius: 14px; text-decoration: none; color: var(--og-ink); transition: border-color .15s, box-shadow .15s; }
.og-order-card:hover { border-color: #c3d7e6; box-shadow: 0 6px 18px -12px rgba(15,37,51,.35); color: var(--og-ink); }
.og-order-card.needs { border-color: #f5c46b; background: #fffdf6; }
.og-order-main { flex: 1; min-width: 0; }
.og-order-top { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.og-order-amount { text-align: end; white-space: nowrap; }
.og-order-amount strong { font-size: 1.1rem; }
.og-order-go { color: var(--og-muted); font-size: 1.4rem; }
.og-empty-state { text-align: center; padding: 2rem 1rem; }
.og-empty-icon { font-size: 2rem; color: #b9c6ce; }
.og-flash { display: flex; gap: 1rem; align-items: center; border-color: #bfe6d1; background: #f6fcf8; }
.og-flash .og-success-icon { margin: 0; flex: 0 0 52px; width: 52px; height: 52px; font-size: 1.5rem; }
.og-flash p { margin: .2rem 0 0; color: var(--og-muted); }
.og-display, .og-h1, .og-h2, .og-h3 { color: var(--og-ink); }

/* ===================== v2 sign-in ===================== */
.og-auth-page { display: flex; justify-content: center; padding: 2rem 0 1rem; }
.og-auth-card { width: 100%; max-width: 470px; padding: 2rem 1.75rem; }
.og-auth-title { justify-content: center; text-align: center; font-size: 1.5rem; }
.og-auth-card .og-lead-sm { text-align: center; }
.og-seg-full { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 1.2rem; }
.og-seg-full span { text-align: center; }
.og-seg-sm span { padding: .35rem .8rem; font-size: .88rem; }
.og-seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.og-phone-input { display: flex; align-items: stretch; border: 1.5px solid var(--og-line); border-radius: var(--og-r-sm); overflow: hidden; background: var(--og-bg); direction: ltr; }
.og-phone-input:focus-within { border-color: var(--og-accent); box-shadow: 0 0 0 3px rgba(36,80,110,.15); }
.og-cc { display: grid; place-items: center; padding: 0 .8rem; background: var(--og-soft); color: var(--og-muted); font-weight: 700; border-inline-end: 1px solid var(--og-line); }
.og-mini-field .og-phone-input input { border: 0 !important; border-radius: 0; box-shadow: none !important; flex: 1; font-size: 1.1rem; letter-spacing: .04em; }
.og-code-input { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-weight: 800; }
.og-mt { margin-top: .8rem; }
.og-link-btn { background: none; border: 0; color: var(--og-accent-ink); font-weight: 700; cursor: pointer; padding: 0; }
.og-link-btn:disabled { color: var(--og-muted); cursor: default; font-weight: 500; }
.og-divider { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0; color: var(--og-muted); font-size: .85rem; }
.og-divider::before, .og-divider::after { content: ""; flex: 1; height: 1px; background: var(--og-line); }
.og-btn-google { background: #fff; border: 1.5px solid var(--og-line); color: var(--og-ink) !important; gap: .6rem; }
.og-btn-google:hover { background: var(--og-soft); }
@media (max-width: 575px) { .og-auth-card { padding: 1.4rem 1.1rem; } .og-auth-page { padding-top: 1rem; } }

/* ---------- v2.0 step wizard ---------- */
.og-wsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; list-style: none; padding: 0; margin: .4rem 0 1rem; counter-reset: none; }
.og-wsteps li { position: relative; display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 12px; background: var(--og-soft); color: var(--og-muted); font-size: .88rem; font-weight: 700; cursor: pointer; user-select: none; border: 1.5px solid transparent; transition: background .15s, border-color .15s; }
.og-wsteps li b { flex: 0 0 auto; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--og-muted); font-size: .8rem; border: 1px solid var(--og-line); }
.og-wsteps li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-wsteps li.active { background: var(--og-accent-soft); border-color: var(--og-accent); color: var(--og-accent-ink); }
.og-wsteps li.active b { background: var(--og-accent); border-color: var(--og-accent); color: #fff; }
.og-wsteps li.done { color: var(--og-ok); }
.og-wsteps li.done b { background: var(--og-ok); border-color: var(--og-ok); color: #fff; font-size: 0; }
.og-wsteps li.done b::after { content: "✓"; font-size: .85rem; }
.og-wsummary { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .6rem; }
.og-ws-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; background: #fff; border: 1px dashed var(--og-line); border-radius: 10px; padding: .45rem .75rem; font-size: .9rem; font-weight: 600; }
.og-link-btn { appearance: none; border: 0; background: none; color: var(--og-accent); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.og-editor .og-block[data-wstep] { border-top: 0; padding-top: .2rem; animation: og-fade .18s ease-out; }
@keyframes og-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.og-wnav { display: flex; justify-content: space-between; gap: .6rem; margin-top: .6rem; padding-top: .9rem; border-top: 1px dashed var(--og-line); }
.og-wnav .og-btn { min-width: 130px; }
.og-wnav #og-wnext { margin-inline-start: auto; }
.og-wnav #og-wprev[hidden] + #og-wnext { margin-inline-start: auto; }
@media (max-width: 991px) {
  .og-editor-side .og-svg { max-height: 240px; }
  .og-editor-side #og-add { display: none; }
  .og-wsteps li { flex-direction: column; gap: .25rem; padding: .5rem .3rem; font-size: .76rem; text-align: center; }
  .og-wsteps li span { white-space: normal; line-height: 1.25; }
  .og-wnav .og-btn { flex: 1 1 0; min-width: 0; }
}

/* ---------- v2.0 store products ---------- */
.og-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.og-prod { display: flex; flex-direction: column; border: 1.5px solid var(--og-line); border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.og-prod.in { border-color: var(--og-ok); box-shadow: 0 0 0 3px rgba(22,134,90,.12); }
.og-prod img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; background: var(--og-soft); }
.og-prod-body { padding: .65rem .75rem .3rem; flex: 1 1 auto; }
.og-prod-name { font-weight: 700; font-size: .92rem; line-height: 1.35; }
.og-prod-price { color: var(--og-accent-ink); font-weight: 800; margin-top: .25rem; }
.og-prod-act { padding: .3rem .75rem .75rem; }
.og-prod-act .og-btn { width: 100%; }
.og-stepper-sm { height: 40px; border-radius: 10px; justify-content: space-between; }
.og-stepper-sm .og-pq { width: 40px; height: 100%; border: 0; background: transparent; font-size: 1.2rem; color: var(--og-accent-ink); cursor: pointer; }
.og-stepper-sm .og-pq:hover { background: var(--og-accent-soft); }
.og-pq-val { min-width: 2rem; text-align: center; font-weight: 800; }
.og-cart-products { margin-top: .8rem; border-top: 1px dashed var(--og-line); padding-top: .8rem; }
.og-cart-title { font-weight: 800; margin-bottom: .5rem; }
.og-cart-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto auto; align-items: center; gap: .7rem; padding: .5rem 0; border-bottom: 1px solid var(--og-soft); }
.og-cart-row img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--og-soft); }
.og-cart-name small { color: var(--og-muted); }
.og-cart-row .og-stepper-sm { width: 120px; }
@media (max-width: 575px) {
  .og-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .og-cart-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .og-cart-row .og-stepper-sm { grid-column: 2; width: 110px; }
  .og-cart-row .og-cart-total { grid-column: 3; grid-row: 1; }
  .og-cart-row .og-icon-btn { grid-column: 3; }
}
.og-more-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.og-more-row .og-btn { flex: 1 1 200px; margin-top: 0 !important; width: auto !important; }
@media (max-width: 991px) { .og-editor[data-ws="1"] .og-editor-side { display: none; } }

/* ---------- v2.0 helpers ---------- */
.og-m0 { margin: 0 !important; }
.og-mt { margin-top: 1rem; }
.og-mb { margin-bottom: .8rem; }
.og-nowrap { white-space: nowrap; }
.og-ellipsis { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-danger-text { color: var(--og-danger) !important; }
.og-btn-wa { background: #1fa855; color: #fff !important; }
.og-btn-wa:hover { filter: brightness(1.06); }
.og-back-link { display: inline-block; margin: 1rem 0 .6rem; font-weight: 700; color: var(--og-accent-ink); text-decoration: none; }

/* ---------- v2.0 dashboard ---------- */
.og-dash-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 0; }
.og-dash-side .og-panel { margin-bottom: .9rem; }
.og-profile-txt { min-width: 0; }
.og-pill-count { margin-inline-start: auto; background: var(--og-soft); color: var(--og-muted); border-radius: 999px; padding: 0 .5rem; font-size: .78rem; }
.og-dot-count { display: inline-flex; align-items: center; gap: .25rem; margin-inline-start: auto; background: var(--og-danger); color: #fff; border-radius: 999px; padding: 0 .5rem; font-size: .75rem; font-weight: 800; line-height: 1.6; }
.og-order-top .og-dot-count { margin-inline-start: 0; }
.og-help-card { padding: 1.1rem; }
.og-help-card .og-btn { margin-top: .45rem; }
.og-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin-bottom: 1.25rem; }
.og-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.05rem; background: #fff; border: 1px solid var(--og-line); border-radius: 16px; text-decoration: none; color: var(--og-ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.og-tile:hover { transform: translateY(-2px); border-color: #c3d7e6; box-shadow: 0 10px 24px -16px rgba(15,37,51,.4); color: var(--og-ink); }
.og-tile strong { font-size: 1rem; }
.og-tile small { color: var(--og-muted); font-size: .8rem; line-height: 1.45; }
.og-tile-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--og-accent-soft); color: var(--og-accent-ink); font-size: 1.1rem; margin-bottom: .35rem; }
.og-tile-main { background: linear-gradient(135deg, #24506e 0%, #1c3a50 100%); border-color: transparent; color: #fff; }
.og-tile-main:hover { color: #fff; }
.og-tile-main small { color: rgba(255,255,255,.78); }
.og-tile-main .og-tile-ic { background: rgba(255,255,255,.14); color: #fff; }
.og-todo { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid #f3e6c8; }
.og-todo:first-of-type { border-top: 0; }
.og-todo-ic { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; }
.og-ic-warn { background: var(--og-warn-soft); color: var(--og-warn); }
.og-ic-pay { background: var(--og-accent-soft); color: var(--og-accent-ink); }
.og-ic-msg { background: var(--og-danger-soft); color: var(--og-danger); }
.og-todo-txt { flex: 1 1 auto; min-width: 0; }
.og-pay-badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 700; border: 1px solid currentColor; }
.og-pay-unpaid { color: var(--og-danger); background: var(--og-danger-soft); }
.og-pay-pending { color: var(--og-warn); background: var(--og-warn-soft); }
.og-pay-partial { color: var(--og-accent-ink); background: var(--og-accent-soft); }
.og-pay-paid { color: var(--og-ok); background: var(--og-ok-soft); }
.og-order-top { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
@media (max-width: 991px) {
  .og-dash-side { position: static; }
  .og-dash-nav { display: none; }
  .og-dash-side .og-help-card { display: none; }
  .og-profile { padding: .8rem 1rem; }
}
@media (max-width: 575px) {
  .og-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .og-tile { padding: .85rem; }
  .og-tile small { display: none; }
  .og-todo { flex-wrap: wrap; }
  .og-todo .og-btn { width: 100%; }
  .og-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .og-stat { padding: .6rem .7rem; }
  .og-stat strong { font-size: 1.3rem; }
  .og-stats .og-stat:nth-child(n+4) { display: none; }
}

/* ---------- v2.0 chat ---------- */
.og-chat { display: flex; flex-direction: column; gap: .5rem; max-height: 380px; overflow-y: auto; padding: .8rem; background: var(--og-soft); border-radius: 14px; margin-bottom: .7rem; }
.og-chat-empty { text-align: center; color: var(--og-muted); font-size: .9rem; padding: 1rem; }
.og-bubble { max-width: 82%; padding: .55rem .8rem; border-radius: 14px; font-size: .93rem; line-height: 1.6; word-wrap: break-word; }
.og-bubble small { display: block; font-size: .72rem; opacity: .7; margin-top: .2rem; }
.og-bubble.mine { align-self: flex-start; background: var(--og-accent); color: #fff; border-end-start-radius: 4px; }
.og-bubble.theirs { align-self: flex-end; background: #fff; border: 1px solid var(--og-line); border-end-end-radius: 4px; }
.og-bubble.unread { box-shadow: 0 0 0 2px var(--og-glass); }
.og-chat-form { display: flex; gap: .5rem; align-items: stretch; }
.og-chat-form textarea { flex: 1 1 auto; border: 1.5px solid var(--og-line); border-radius: 12px; padding: .6rem .8rem; font: inherit; resize: vertical; min-height: 48px; }
.og-chat-form .og-btn { flex: 0 0 auto; }
@media (max-width: 575px) { .og-chat-form { flex-direction: column; } }

/* ---------- v2.0 order page ---------- */
.og-order-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.og-order-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.og-badge-lg { font-size: .95rem; padding: .35rem .95rem; }
.og-order-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.og-order-aside { position: sticky; top: 90px; }
@media (max-width: 991px) { .og-order-grid { grid-template-columns: 1fr; } .og-order-aside { position: static; order: -1; } }
.og-quote-item { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: start; }
.og-quote-item:last-child { border-bottom: 0; }
.og-quote-svg svg { width: 100%; height: auto; max-height: 170px; }
.og-quote-item .og-item-price { font-weight: 800; white-space: nowrap; }
@media (max-width: 575px) { .og-quote-item { grid-template-columns: 90px minmax(0, 1fr); } .og-quote-item .og-item-price { grid-column: 2; } }
.og-holes-details summary { cursor: pointer; font-size: .85rem; color: var(--og-accent-ink); font-weight: 700; }
.og-prod-table { width: 100%; }
.og-prod-table td { padding: .5rem 0; border-bottom: 1px solid var(--og-line); }
.og-prod-table td + td { text-align: end; padding-inline-start: .6rem; }
.og-price-card .og-btn { margin-top: .5rem; }
.og-decision textarea { width: 100%; border: 1.5px solid var(--og-line); border-radius: 12px; padding: .6rem .8rem; font: inherit; margin-top: .8rem; }
.og-pay-card { border-color: #c3d7e6; }
.og-pay-card .og-btn-lg { margin-top: .8rem; }
.og-bank { background: var(--og-soft); border-radius: 12px; padding: .75rem .9rem; margin: .8rem 0; font-size: .92rem; line-height: 1.8; }
.og-receipt { margin-top: .8rem; display: flex; flex-direction: column; gap: .45rem; }
.og-upload-block span { display: block; }
.og-timeline { list-style: none; margin: 0; padding: 0; padding-inline-start: 1.1rem; border-inline-start: 2px solid var(--og-line); }
.og-timeline li { position: relative; padding: 0 0 .9rem; }
.og-timeline li::before { content: ""; position: absolute; inset-inline-start: -1.48rem; top: .45rem; width: 11px; height: 11px; border-radius: 50%; background: var(--og-accent); box-shadow: 0 0 0 3px #fff; }
.og-timeline li + li::before { background: #c3d7e6; }
.og-sum-products { border-top: 1px dashed var(--og-line); padding-top: .6rem; margin-top: .4rem; display: flex; flex-direction: column; gap: .3rem; }
.og-invoice-card { border-color: #c3d7e6; }
.og-invoice-link { display: inline-flex; align-items: center; gap: .35rem; margin: -.3rem .9rem .3rem 0; font-size: .82rem; font-weight: 700; color: var(--og-accent-ink); text-decoration: none; }

/* v2.2 — languages */
[lang="hi"] .og-app, [lang="hi"] body.ogs-site { font-family: "Noto Sans Devanagari", Tajawal, system-ui, sans-serif; }
[lang="ur"] .og-app h1, [lang="ur"] .og-app h2, [lang="ur"] .og-app h3 { font-family: "Noto Nastaliq Urdu", Tajawal, serif; line-height: 1.9; }
.og-doc-link { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; margin-bottom: .8rem; border: 1.5px solid #c3d7e6; border-radius: 12px; text-decoration: none; color: var(--og-accent-ink) !important; background: #f6fafd; font-weight: 700; }
.og-doc-link i { font-size: 1.3rem; }
.og-doc-link span { flex: 1 1 auto; display: flex; flex-direction: column; }
.og-doc-link small { font-weight: 500; color: var(--og-muted); font-size: .8rem; }
.og-doc-link:hover { background: var(--og-accent-soft); }
[lang] .og-ltr { unicode-bidi: isolate; }
.ogs-lang { position: relative; }
.ogs-drawer-langs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.ogs-drawer-langs a { padding: .35rem .7rem; border: 1px solid #e2e9ee; border-radius: 999px; text-decoration: none; color: #191b1c !important; font-size: .9rem; }
.ogs-drawer-langs a.active { background: #24506e; color: #fff !important; border-color: #24506e; }

/* ---------- v2.3: tips in the wizard ---------- */
.og-tip { display: flex; align-items: flex-start; gap: .6rem; padding: .7rem .85rem; margin: .2rem 0 .7rem; border-radius: 12px; background: var(--og-accent-soft); color: var(--og-accent-ink); font-weight: 600; font-size: .95rem; line-height: 1.5; }
.og-tip i { font-size: 1.15rem; margin-top: .1rem; flex: none; }
.og-tip-warn { background: var(--og-warn-soft); color: var(--og-warn); }

/* ---------- v2.3: payment choice, card pay, edits, live ---------- */
.og-msg-big { font-size: 1.05rem; font-weight: 700; }
.og-live-bar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; position: sticky; top: 8px; z-index: 30; }
.og-paychoose { margin-bottom: .8rem; }
.og-paychoose .og-label { font-weight: 800; margin: .6rem 0 .45rem; }
.og-paymethods { display: grid; gap: .5rem; }
.og-paymethod, .og-percent { position: relative; margin: 0; cursor: pointer; }
.og-paymethod input, .og-percent input { position: absolute; opacity: 0; pointer-events: none; }
.og-paymethod span { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; padding: .7rem .85rem; border: 2px solid var(--og-line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.og-paymethod i { grid-row: span 2; font-size: 1.35rem; color: var(--og-accent); text-align: center; }
.og-paymethod b { font-size: 1.02rem; }
.og-paymethod small { color: var(--og-muted); font-size: .85rem; line-height: 1.4; }
.og-paymethod input:checked + span { border-color: var(--og-accent); background: var(--og-accent-soft); }
.og-paymethod input:focus-visible + span, .og-percent input:focus-visible + span { box-shadow: 0 0 0 3px rgba(36,80,110,.25); }
.og-percents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; margin-bottom: .4rem; }
.og-percent span { display: flex; flex-direction: column; align-items: center; padding: .55rem .2rem; border: 2px solid var(--og-line); border-radius: 12px; background: #fff; }
.og-percent b { font-size: 1.15rem; }
.og-percent small { font-size: .72rem; color: var(--og-muted); }
.og-percent input:checked + span { border-color: var(--og-accent); background: var(--og-accent); color: #fff; }
.og-percent input:checked + span small { color: #d6e6f1; }
.og-percent.off { cursor: not-allowed; }
.og-percent.off span { opacity: .4; text-decoration: line-through; }
.og-due-box { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .85rem 1rem; margin: .6rem 0; border-radius: 14px; background: var(--og-warn-soft); color: #6b4700; font-weight: 700; }
.og-due-box b { font-size: 1.3rem; }
.og-pay-actions { display: grid; gap: .5rem; margin: .5rem 0 .8rem; }
.og-change-method { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px dashed var(--og-line); }
.og-change-method .og-small { flex: 1 1 100%; }
.og-doc-btns { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.og-edit-ask { border: 2px solid #f5c46b; background: #fffdf6; }
.og-edit-ask .og-btn { margin-top: .7rem; }
.og-edit-piece { margin-top: .5rem; }
