/* Order support pages: Track Order, Download Ten Wisdom Practices (and the cancel / return pages). Uses the site header and footer. */
.oh { background: #f3f3f1; color: #1d2433; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.oh *, .oh *::before, .oh *::after { box-sizing: border-box; }
.oh__wrap { max-width: 62rem; display: grid; gap: 1.25rem; }
.oh-hero { margin-bottom: 0.5rem; }
.oh-eyebrow, .oh-k { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b7791f; }
.oh-title { margin: 0 0 0.6rem; font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; color: #000f2e; }
.oh-lead { margin: 0; max-width: 40rem; font-size: 1.05rem; line-height: 1.65; color: #3b4150; }

.oh-card { padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,15,46,0.07); animation: oh-in 0.4s ease both; }
@keyframes oh-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.oh-h2 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; color: #000f2e; }
.oh-h2--sub { margin-top: 1.5rem; }
.oh-text { margin: 0 0 1.25rem; line-height: 1.65; color: #3b4150; }
.oh-text a, .oh-help a { color: #000f2e; font-weight: 600; }
.oh-small { margin: 0.75rem 0 0; font-size: 0.8125rem; color: #8a8f99; }

/* Buttons: flat gold, rounded like the header button; hover navy */
.oh .oh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: 0.85rem 1.75rem; font: 700 0.875rem var(--oao-font, 'Poppins', sans-serif); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: #000a1f; background: #f0ae28; border: 2px solid #f0ae28; border-radius: var(--oao-radius, 12px); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.oh .oh-btn:hover, .oh .oh-btn:focus-visible { color: #fff; background: #000f2e; border-color: #000f2e; }
.oh .oh-btn:focus-visible { outline: 3px solid #f0ae28; outline-offset: 3px; }
.oh .oh-btn--ghost { color: #000f2e; background: transparent; border-color: #000f2e; }
.oh .oh-btn--ghost:hover, .oh .oh-btn--ghost:focus-visible { color: #fff; background: #000f2e; }
.oh-link { padding: 0.5rem 0.25rem; font: 600 0.9rem var(--oao-font, 'Poppins', sans-serif); color: #5b6170; text-decoration: none; border-bottom: 1px solid transparent; }
.oh-link:hover { color: #000f2e; border-bottom-color: #f0ae28; }

/* Lookup */
.oh-lookup { max-width: 34rem; }
.oh-form { display: grid; gap: 1.1rem; }
.oh-field { display: grid; gap: 0.35rem; }
.oh-field label { font-size: 0.8125rem; font-weight: 600; color: #000f2e; }
.oh-field input { width: 100%; padding: 0.85rem 1rem; font: 400 1rem var(--oao-font, 'Poppins', sans-serif); color: #1d2433; background: #fff; border: 1px solid #cfd2d8; border-radius: 10px; transition: border-color 0.2s, box-shadow 0.2s; }
.oh-field input:focus { outline: none; border-color: #f0ae28; box-shadow: 0 0 0 3px rgba(240,174,40,0.28); }
.oh-field small { font-size: 0.8125rem; color: #8a8f99; }
.oh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.oh-error { margin: 0; padding: 0.8rem 1rem; font-size: 0.9rem; line-height: 1.5; color: #b42318; background: #fef3f2; border-radius: 8px; }
.oh-form .oh-btn { width: 100%; }
.oh-help { margin: 1.25rem 0 0; font-size: 0.875rem; color: #5b6170; }

/* Result */
.oh-result { display: grid; gap: 1.25rem; }
.oh-status__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.oh-pill { display: inline-block; padding: 0.4rem 0.9rem; font-size: 0.875rem; font-weight: 700; border-radius: 999px; }
.oh-pill--ok { color: #0e6b3a; background: #e3f6ec; }
.oh-pill--wait { color: #8a5a00; background: #fff3d6; }
.oh-pill--bad { color: #b42318; background: #fee4e2; }
.oh-facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; margin: 0; padding: 0; list-style: none; }
.oh-facts li { display: grid; gap: 0.2rem; }
.oh-facts span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8f99; }
.oh-facts strong { font-size: 1rem; color: #000f2e; }
.oh-note { margin: 1.5rem 0 0; padding: 1rem 1.25rem; font-size: 0.95rem; line-height: 1.6; color: #000f2e; background: #fff8e6; border-radius: 10px; }
.oh-note--bad { background: #fef3f2; }

/* Timeline: four equal columns */
.oh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.oh-step { position: relative; display: grid; justify-items: start; gap: 0.75rem; padding-right: 1rem; }
.oh-step:not(:last-child)::before { content: ''; position: absolute; left: 2.4rem; right: 0.4rem; top: 0.95rem; height: 2px; background: #e2e3e6; }
.oh-step.is-done:not(:last-child)::before { background: #f0ae28; }
.oh-step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 2rem; height: 2rem; font-size: 0.85rem; font-weight: 700; color: #8a8f99; background: #fff; border: 2px solid #cfd2d8; border-radius: 50%; }
.oh-step.is-done .oh-step__dot { color: #fff; background: #000f2e; border-color: #000f2e; }
.oh-step.is-active .oh-step__dot { color: #000a1f; background: #f0ae28; border-color: #f0ae28; box-shadow: 0 0 0 4px rgba(240,174,40,0.22); }
.oh-step__text { display: grid; gap: 0.2rem; }
.oh-step__text strong { font-size: 0.9rem; color: #000f2e; }
.oh-step:not(.is-done):not(.is-active) .oh-step__text strong { color: #8a8f99; }
.oh-step__text small { font-size: 0.8125rem; line-height: 1.45; color: #5b6170; }

/* Tracking */
.oh-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; color: rgba(255,255,255,0.85); background: linear-gradient(150deg, #000a1f, #061a45 70%); }
.oh-track .oh-k { color: #f0ae28; }
.oh-track__no { margin: 0; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: 0.04em; color: #fff; word-break: break-all; }
.oh-track__date { margin: 0.35rem 0 0; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.oh .oh-track .oh-btn:hover, .oh .oh-track .oh-btn:focus-visible { color: #000f2e; background: #fff; border-color: #fff; }

/* Items + details: two equal-height cards */
.oh-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.oh-grid > .oh-card { height: 100%; }
.oh-list { display: grid; gap: 1rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.oh-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; }
.oh-item__img { position: relative; display: block; width: 4rem; height: 4rem; background: #f3f3f1; border-radius: 10px; }
.oh-item__img img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.oh-item__qty { position: absolute; top: -0.45rem; right: -0.45rem; min-width: 1.35rem; height: 1.35rem; padding: 0 0.3rem; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: #fff; background: #000f2e; border-radius: 999px; }
.oh-item__text { display: grid; gap: 0.15rem; line-height: 1.3; }
.oh-item__text strong { color: #000f2e; }
.oh-item__text small { color: #5b6170; }
.oh-item__price { display: grid; justify-items: end; font-weight: 700; color: #000f2e; line-height: 1.25; }
.oh-item__price del { font-size: 0.8rem; font-weight: 500; color: #8a8f99; }
.oh-totals { display: grid; gap: 0.7rem; padding-top: 1rem; border-top: 1px solid #ececea; }
.oh-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; color: #3b4150; }
.oh-row--save { color: #1a7f4b; font-weight: 600; }
.oh-row--total { margin-top: 0.3rem; padding-top: 1rem; font-size: 1.1rem; font-weight: 700; color: #000f2e; border-top: 1px solid #ececea; }
.oh-row--total strong { font-size: 1.6rem; font-weight: 800; }
.oh-addr address { font-style: normal; line-height: 1.7; color: #3b4150; overflow-wrap: anywhere; }

.oh-updates__list { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.oh-updates__list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; line-height: 1.6; }
.oh-updates__list time { font-size: 0.8125rem; font-weight: 600; color: #8a8f99; padding-top: 0.15rem; }

.oh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }

/* Download */
.oh-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; }
.oh-dl__cover { display: grid; place-items: center; padding: 1.5rem; background: linear-gradient(150deg, #000a1f, #061a45); border-radius: 14px; }
.oh-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 7.5rem; aspect-ratio: 3 / 4; padding: 0.85rem 0.75rem; color: #000f2e; background: linear-gradient(160deg, #fcd461, #f0ae28); border-radius: 4px 10px 10px 4px; box-shadow: inset 4px 0 0 rgba(0,0,0,0.12), 0 12px 28px rgba(0,0,0,0.35); transform: rotate(-3deg); }
.oh-cover__k { font-size: 0.5rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.oh-cover__t { font-size: 1rem; font-weight: 800; line-height: 1.1; }
.oh-cover__a { font-size: 0.5rem; font-weight: 600; }
.oh-dl--unpaid .oh-cover, .oh-dl--limit .oh-cover, .oh-dl--nobook .oh-cover { filter: grayscale(0.6); opacity: 0.7; }

@media (max-width: 900px) {
	.oh-grid { grid-template-columns: minmax(0, 1fr); }
	.oh-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.oh-step { grid-template-columns: auto minmax(0, 1fr); align-items: start; padding: 0 0 1.25rem; gap: 1rem; }
	.oh-step:not(:last-child)::before { left: calc(1rem - 1px); right: auto; top: 2.1rem; bottom: 0.15rem; width: 2px; height: auto; }
	.oh-step:last-child { padding-bottom: 0; }
	.oh-step__text { padding-top: 0.15rem; }
}
@media (max-width: 640px) {
	.oh-dl { grid-template-columns: minmax(0, 1fr); }
	.oh-dl__cover { display: none; }
	.oh-updates__list li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
	.oh .oh-actions .oh-btn, .oh .oh-dl .oh-btn, .oh .oh-track .oh-btn { width: 100%; }
	.oh-facts { gap: 0.75rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .oh-card { animation: none; } * { transition: none !important; } }

.oh-page .site-main { padding-block: 0; min-height: 0; }
.oh-facts strong .woocommerce-Price-amount, .oh-facts strong bdi, .oh-facts strong .woocommerce-Price-currencySymbol, .oh .oh-row--total .woocommerce-Price-amount { font: inherit; color: inherit; }

/* Cancel / return: form card beside the order summary */
.oh-grid--form { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.oh-note--plain { margin: 0 0 1.5rem; }
.oh-note--ok { background: #e3f6ec; }
.oh-state .oh-actions { margin-top: 1rem; }
.oh-ff .ff-el-group { margin-bottom: 1.25rem; }
.oh-ff .ff-el-input--label label { font-family: var(--oao-font); font-size: 0.8125rem; font-weight: 600; color: #000f2e; }
.oh-ff .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: #b9810d; }
.oh-ff .ff-el-form-control { width: 100%; padding: 0.85rem 1rem; font-family: var(--oao-font); font-size: 1rem; color: #1d2433; background: #fff; border: 1px solid #cfd2d8; border-radius: 10px; box-shadow: none; transition: border-color 0.2s, box-shadow 0.2s; }
.oh-ff .ff-el-form-control:focus { outline: none; border-color: #f0ae28; box-shadow: 0 0 0 3px rgba(240,174,40,0.28); background: #fff; }
.oh-ff textarea.ff-el-form-control { min-height: 7rem; resize: vertical; }
.oh-ff .ff-el-form-check-label { display: inline-flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.oh-ff .ff-el-form-check-input { flex: none; margin-top: 0.2rem; accent-color: #000f2e; width: 1.1rem; height: 1.1rem; }
.oh-ff .ff-btn-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 3.2rem; padding: 0.85rem 1.75rem; font-family: var(--oao-font); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #000a1f !important; background: #f0ae28 !important; border: 0; border-radius: var(--oao-radius, 12px); cursor: pointer; transition: background 0.2s, color 0.2s; }
.oh-ff .ff-btn-submit:hover, .oh-ff .ff-btn-submit:focus-visible { color: #fff !important; background: #000f2e !important; }
.oh-ff .text-danger, .oh-ff .ff-el-is-error .text-danger { margin-top: 0.35rem; font-size: 0.8125rem; color: #b42318; }
.oh-ff .ff-el-is-error .ff-el-form-control { border-color: #b42318; }
.oh-ff .ff-message-success { padding: 1rem 1.25rem; color: #0e6b3a; background: #e3f6ec; border-radius: 10px; }
@media (max-width: 900px) { .oh-grid--form { grid-template-columns: minmax(0, 1fr); } }

/* Refund & return: two steps beside the summary */
.oh-stack { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.oh-note--policy { margin: 0; }
.oh-badge { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-right: 0.5rem; font-size: 0.85rem; font-weight: 700; color: #000a1f; background: #f0ae28; border-radius: 50%; vertical-align: middle; }
.oh-drop { position: relative; display: grid; justify-items: center; gap: 0.15rem; padding: 1.75rem 1rem; text-align: center; color: #000f2e; background: #fafaf8; border: 2px dashed #cfd2d8; border-radius: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.oh-drop:hover, .oh-drop.is-over { border-color: #f0ae28; background: #fffaf0; }
.oh-drop.is-full { opacity: 0.5; cursor: not-allowed; }
.oh-drop__t { font-weight: 700; }
.oh-drop__s { font-size: 0.85rem; color: #5b6170; }
.oh-drop__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.oh-upload-error { margin: 0.9rem 0 0; }
.oh-files { display: grid; gap: 0.6rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.oh-files:empty { display: none; }
.oh-file { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; padding: 0.5rem 0.65rem 0.5rem 0.5rem; background: #f6f6f3; border-radius: 12px; }
.oh-file__thumb { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; overflow: hidden; font-size: 1.2rem; color: #fff; background: #000f2e; border-radius: 8px; }
.oh-file__thumb img { width: 100%; height: 100%; object-fit: cover; }
.oh-file__name { display: grid; gap: 0.15rem; min-width: 0; font-size: 0.9rem; font-weight: 600; color: #000f2e; overflow-wrap: anywhere; }
.oh-file__name small { font-size: 0.78rem; font-weight: 400; color: #8a8f99; }
.oh-file__bar { display: none; height: 4px; overflow: hidden; background: #e2e3e6; border-radius: 4px; }
.oh-file__bar i { display: block; width: 0; height: 100%; background: #f0ae28; transition: width 0.2s; }
.oh-file.is-up .oh-file__bar { display: block; }
.oh-file__rm { width: 2rem; height: 2rem; font-size: 1.3rem; line-height: 1; color: #5b6170; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.oh-file__rm:hover { color: #fff; background: #000f2e; }
.oh-panel--form { transition: opacity 0.3s; }
.oh-panel--form .oh-lock-msg { display: none; margin: 0 0 1rem; padding: 0.8rem 1rem; font-size: 0.9rem; color: #5b6170; background: #f6f6f3; border-radius: 10px; }
.oh-panel--form.is-locked .oh-lock-msg { display: block; }
.oh-panel--form.is-locked .oh-ff { opacity: 0.45; pointer-events: none; user-select: none; filter: grayscale(0.4); }

/* Nothing in the form column may be wider than the column (long dropdown options, fieldsets) */
.oh-card, .oh-stack, .oh-grid > * { min-width: 0; }
.oh-ff, .oh-ff .fluentform, .oh-ff form, .oh-ff fieldset, .oh-ff .ff-el-group, .oh-ff .ff-el-input--content { min-width: 0; max-width: 100%; }
.oh-ff fieldset { border: 0; margin: 0; padding: 0; }
.oh-ff select.ff-el-form-control { max-width: 100%; text-overflow: ellipsis; }

/* The order summary beside a form hugs its content and stays in view on wide screens */
.oh-grid--form { align-items: start; }
.oh-grid--form > .oh-card { height: auto; }
@media (min-width: 901px) { .oh-grid--form > .oh-items { position: sticky; top: 6rem; } }

/* Return: choose the reason first */
.oh-panel[hidden], .oh-ff .ff-el-group[hidden] { display: none !important; }
.oh-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.oh-kind { position: relative; display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.1rem 1rem 3rem; background: #fff; border: 1.5px solid #dcdcd6; border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.oh-kind:hover { border-color: #000f2e; }
.oh-kind input { position: absolute; left: 1.05rem; top: 1.15rem; width: 1.15rem; height: 1.15rem; margin: 0; accent-color: #000f2e; }
.oh-kind:has(input:checked) { border-color: #000f2e; background: #f6f8fc; }
.oh-kind:has(input:focus-visible) { outline: 2px solid #000f2e; outline-offset: 2px; }
.oh-kind__t { font-weight: 600; color: #000f2e; line-height: 1.35; }
.oh-kind__s { font-size: 0.85rem; line-height: 1.5; color: #5b6170; }
.oh-note--policy a { color: #000f2e; font-weight: 600; text-decoration: underline; }
@media (max-width: 640px) { .oh-kinds { grid-template-columns: 1fr; } }

/* What was already requested */
.oh-req { margin: 1.1rem 0 0; padding: 1.15rem 1.25rem; background: #f6f6f3; border-radius: 12px; }
.oh-req__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin: 0 0 0.9rem; }
.oh-req__type { font-weight: 700; color: #000f2e; }
.oh-req__list { margin: 0 0 1rem; display: grid; gap: 0.55rem; }
.oh-req__list > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.75rem; }
.oh-req__list dt { font-size: 0.85rem; color: #5b6170; }
.oh-req__list dd { margin: 0; font-size: 0.95rem; line-height: 1.5; color: #1d2433; overflow-wrap: anywhere; }
.oh-req__next { margin: 0; padding-top: 0.9rem; font-size: 0.95rem; line-height: 1.65; color: #1d2433; border-top: 1px solid #e4e4de; }
.oh-req__next strong { display: block; margin-bottom: 0.2rem; color: #000f2e; }
@media (max-width: 520px) { .oh-req__list > div { grid-template-columns: 1fr; gap: 0.1rem; } }

/* Request timeline (return / cancellation) and step dates */
.oh-reqtl__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin: 0 0 0.25rem; }
.oh-reqtl__head .oh-h2 { margin: 0; }
.oh-steps--req { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-top: 1.25rem; }
.oh-step.is-todo .oh-step__dot { background: #fff; border-color: #cfd2d8; }
.oh-step.is-todo .oh-step__text strong { color: #8a8f99; }
.oh-step.is-bad .oh-step__dot { color: #fff; background: #b42318; border-color: #b42318; }
.oh-step.is-bad .oh-step__text strong { color: #b42318; }
.oh-step.is-active .oh-step__text strong { color: #000f2e; }
.oh-step__text small.oh-step__date { margin-top: 0.1rem; font-size: 0.75rem; font-weight: 600; color: #8a6d1d; }
@media (max-width: 900px) { .oh-steps--req { grid-template-columns: minmax(0, 1fr); } }
.oh-step { align-content: start; }
.oh-step.is-bad:not(.is-done):not(.is-active) .oh-step__text strong { color: #b42318; }
