/* Account entry points sit beside the established search, basket and account icons. */
.og-account-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto;flex-shrink:0}
.opti-store .og-account-action{display:inline-flex;align-items:center;justify-content:center;min-width:104px;min-height:44px;padding:10px 20px;border:0;border-radius:12px;font:500 14px/24px var(--og-font);text-decoration:none;white-space:nowrap;transition:background-color .15s ease,color .15s ease}
.opti-store .og-account-register{background:#202124;color:#fff}
.opti-store .og-account-register:hover{background:#3c4043;color:#fff}
.opti-store .og-account-signin{background:#f1f3f4;color:#202124}
.opti-store .og-account-signin:hover{background:#e3e5e7;color:#202124}
.opti-store .og-account-action:focus{outline:none;box-shadow:none}
.opti-store .og-account-action:focus-visible{outline:2px solid #202124;outline-offset:3px}
.og-header:has(.og-account-actions) .og-header-actions{margin-inline-start:0}

/* Compact navigation keeps account links inside the mobile menu. */
@media(max-width:1100px){
 .opti-store .og-primary,.opti-store .og-account-actions{display:none}
 .opti-store .og-mobile-toggle{display:inline-flex}
 .opti-store .og-header .og-header-actions{margin-inline-start:auto}
}
@media(prefers-reduced-motion:reduce){.opti-store .og-account-action{transition:none}}

/* Mesh artwork exported from FeralUI; motion stays scoped to the payment summary. */
.og-payment-access { container-type: inline-size; margin-bottom: 44px; }
.og-payment-access-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.og-payment-access-heading h2, .woocommerce-MyAccount-content .og-saved-methods-title { margin: 0; font-size: clamp(1.5rem,2.5vw,2.1rem); line-height: 1.25; }
.og-payment-access > p { max-width: 58ch; margin: 0 0 28px; line-height: 1.65; }
body.opti-store .og-payment-motion-control { border: 0; border-radius: 99px; padding: 9px 14px; min-height: 40px; background: var(--og-surface); color: var(--og-ink); font: 500 .8rem/1.3 var(--og-font); cursor: pointer; }
.og-payment-motion-control[hidden] { display: none !important; }
.og-payment-access .og-payment-wallet { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.og-payment-wallet .og-payment-pass { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 290px; margin: 0; padding: clamp(22px,2.5vw,30px); border: 0; border-radius: 24px; background: #f7e4df; color: #211b29; }
.og-payment-pass::before { content: ''; position: absolute; z-index: -2; inset: -15%; background: var(--og-pass-art) center/cover no-repeat; filter: blur(9px); animation: og-payment-mesh-drift 18s ease-in-out infinite alternate; animation-play-state: paused; transform-origin: 45% 55%; }
.og-payment-pass::after { content: ''; position: absolute; z-index: -1; inset: 0; background: #ffffff66; pointer-events: none; }
.og-payment-pass--card { --og-pass-art: url('payment-gradients/peach-glow.jpg'); }
.og-payment-pass--proforma { --og-pass-art: url('payment-gradients/lagoon.jpg'); }
.og-payment-pass--invoice { --og-pass-art: url('payment-gradients/orchid.jpg'); }
.og-payment-pass--proforma::before { animation-duration: 22s; animation-delay: -8s; transform-origin: 60% 40%; }
.og-payment-pass--invoice::before { animation-duration: 26s; animation-delay: -13s; transform-origin: 40% 65%; }
.og-payment-access[data-motion="playing"] .og-payment-pass[data-in-view="true"]::before { animation-play-state: running; }
.og-payment-pass-art { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 100px; }
.og-payment-pass-brand { font: 650 .95rem/1.3 var(--og-font); letter-spacing: -.025em; }
.og-payment-chip { width: 39px; height: 30px; flex: none; margin-top: 4px; fill: #fff5; stroke: #211b2980; stroke-width: 1; }
.og-payment-stamp { position: absolute; top: -42px; right: -48px; width: 210px; height: 210px; color: #211b29; opacity: .18; transform: rotate(18deg); pointer-events: none; }
.og-payment-stamp circle { stroke: currentColor; stroke-width: 3px; }
.og-payment-stamp circle + circle { stroke-width: 1.5px; }
.og-payment-stamp text { fill: currentColor; font: 750 22px/1 var(--og-font); letter-spacing: 2px; }
.og-payment-pass-copy { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.og-payment-pass-copy > strong { color: inherit; font-size: clamp(1.05rem,1.65vw,1.3rem); line-height: 1.25; }
.og-payment-pass-status { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; font: 500 .8rem/1.4 var(--og-font); }
.og-payment-pass-status .og-icon, .og-payment-pass-status svg { width: 16px; height: 16px; }
.og-payment-pass.is-unavailable::before { filter: blur(9px) grayscale(1); opacity: .22; }
.og-payment-pass.is-unavailable .og-payment-pass-status { font-weight: 650; }
html[data-appearance="dark"] .og-payment-wallet .og-payment-pass { color: #211b29; }
.woocommerce-MyAccount-content .og-saved-methods-title { margin: 0 0 24px; }
.og-saved-payment-details .woocommerce-info { margin-bottom: 24px; }
.og-saved-payment-details .button { margin-top: 8px; }
@keyframes og-payment-mesh-drift { from { transform: translate(-4%,2%) rotate(-7deg) scale(1.08); } to { transform: translate(5%,-4%) rotate(11deg) scale(1.25); } }
@container (max-width: 760px) { .og-payment-access .og-payment-wallet { grid-template-columns: 1fr; gap: 20px; } .og-payment-wallet .og-payment-pass { min-height: 270px; } }
@media (prefers-reduced-motion: reduce) { .og-payment-pass::before { animation: none; transform: scale(1.1); } }

.woocommerce-account a.og-tracking-label {
 display: inline-flex; align-items: center; gap: 10px; max-width: 100%; width: fit-content;
 box-sizing: border-box; min-height: 44px; padding: 10px 15px; border-radius: 12px; line-height: 1.3;
 background: #e7f2ef; color: #185548; text-decoration: none; text-align: left;
}
html[data-appearance="dark"] .woocommerce-account a.og-tracking-label { background: #223e39; color: #b9ebd9; }
.og-tracking-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; min-width: 0; }
.og-tracking-label strong, .og-tracking-ref { display: block; overflow-wrap: anywhere; }
.og-tracking-label strong { font-size: .8rem; }
.og-tracking-ref { font-size: .78rem; font-variant-numeric: tabular-nums; }
.og-tracking-truck, .og-tracking-truck svg { display: block; width: 23px; height: 23px; flex: none; }
.og-tracking-label > .og-icon { margin-inline-start: auto; flex: none; width: 15px; height: 15px; }
.og-tracking-label > .og-icon svg { width: 100%; height: 100%; }
.og-tracking-label:hover strong, .og-tracking-label:focus-visible strong { text-decoration: underline; }
.og-history .as-cards .og-tracking-label { grid-area: 3 / 1 / 4 / -1; align-self: start; min-width: min(100%, 230px); margin: 8px 0 14px; }
.og-history .as-list .og-tracking-label { grid-column: 1 / -1; }
.pma-portal-order-list .og-tracking-label { margin-top: 6px; }
