/* Buy Now button on product pages (SellAuth checkout). */
.product-actions__buttons--single{display:flex}
.product-actions__buttons--single .sa-buy{flex:1 1 auto;width:100%;text-decoration:none;cursor:pointer;background:var(--brand-gradient);color:rgb(var(--t-on-gradient));transition:filter .2s,transform .2s,opacity .2s}
.product-actions__buttons--single .sa-buy:hover,.product-actions__buttons--single .sa-buy:focus-visible{filter:brightness(1.12)}
.product-actions__buttons--single .sa-buy svg{transition:transform .2s}
.product-actions__buttons--single .sa-buy:hover svg{transform:translateX(3px)}
.sa-buy.is-loading{opacity:.7;pointer-events:none}
.sa-buy-note{margin:.6rem 0 0;font-size:.8rem;color:rgb(var(--t-primary)/.45);text-align:center}
/* Navbar cart count */
.inferno-cart-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--brand-gradient);color:rgb(var(--t-on-gradient));font-size:11px;font-weight:700;line-height:18px;text-align:center;pointer-events:none;box-shadow:0 0 0 2px rgb(var(--bg-primary,10 10 12))}
/* Cart page links */
.cart-item a.cart-item__name{text-decoration:none}
.cart-item a.cart-item__name:hover{color:rgb(var(--accent,255 77 92))}
.cart-item a.cart-item__image{display:block}
/* Store backend (Stripe) checkout extras */
.cart-item__unavailable{color:rgb(var(--error,239 68 68))}
.cart-coupon{margin-bottom:1rem}
.cart-coupon__row{display:flex;gap:.5rem}
.cart-coupon__row .text-input{flex:1 1 auto}
.cart-coupon__apply{flex:0 0 auto;padding:0 1rem;border-radius:.5rem;background:rgb(var(--bg-lighter));border:1px solid rgb(var(--border));color:rgb(var(--t-primary)/.8);font-weight:600;cursor:pointer;transition:background .2s,color .2s}
.cart-coupon__apply:hover{background:var(--brand-gradient);color:rgb(var(--t-on-gradient))}
.cart-coupon__msg{margin:.4rem 0 0;font-size:.8rem;min-height:1em}
.cart-coupon__msg.is-ok{color:rgb(var(--success,34 197 94))}
.cart-coupon__msg.is-error{color:rgb(var(--error,239 68 68))}
.cart-turnstile{display:flex;justify-content:center;margin:0 0 .75rem;min-height:65px}
.checkout-error-notice{color:rgb(var(--error,239 68 68));font-size:.85rem;font-weight:500;text-align:center;margin:.6rem 0 0}
.cart-summary__row--discount span:last-child{color:rgb(var(--success,34 197 94))}
/* Order page */
.order-body{padding:1.25rem}
.order-status{display:flex;gap:.9rem;align-items:flex-start;padding:1rem 1.1rem;border-radius:.75rem;background:rgb(var(--bg-lighter));margin-bottom:1rem}
.order-status__dot{flex:0 0 12px;height:12px;margin-top:.35rem;border-radius:999px;background:rgb(var(--t-primary)/.35)}
.order-status--waiting .order-status__dot,.order-status--preparing .order-status__dot{background:#f59e0b;animation:orderPulse 1.4s ease-in-out infinite}
.order-status--delivered .order-status__dot{background:rgb(var(--success,34 197 94))}
.order-status--review .order-status__dot,.order-status--missing .order-status__dot{background:rgb(var(--error,239 68 68))}
@keyframes orderPulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.order-status__dot{animation:none!important}}
.order-status__title{margin:0;font-size:1rem;font-weight:700;color:rgb(var(--t-primary))}
.order-status__text{margin:.2rem 0 0;font-size:.875rem;color:rgb(var(--t-secondary))}
.order-id{font-size:.8rem;color:rgb(var(--t-muted));margin:0 0 .75rem;display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.order-id code{color:rgb(var(--t-primary)/.8);word-break:break-all}
.order-item{grid-template-columns:1fr auto!important}
.order-item .cart-item__info{grid-column:1!important}
.order-item .cart-item__total{grid-column:2!important;grid-row:1!important}
.order-licenses{margin-top:1.25rem}
.order-licenses__title{margin:0 0 .6rem;font-size:.95rem;font-weight:700;color:rgb(var(--t-primary))}
.order-license{padding:.85rem 1rem;border-radius:.75rem;background:rgb(var(--bg-lighter));border:1px solid rgb(var(--border));margin-bottom:.6rem}
.order-license__meta{font-size:.78rem;color:rgb(var(--t-secondary));margin-bottom:.4rem}
.order-license__row{display:flex;gap:.6rem;align-items:center}
.order-license__key{flex:1 1 auto;font-family:ui-monospace,Consolas,monospace;font-size:.95rem;color:rgb(var(--t-primary));word-break:break-all;user-select:text!important;-webkit-user-select:text!important}
.order-copy{flex:0 0 auto;padding:.35rem .8rem;border-radius:.4rem;border:none;background:var(--brand-gradient);color:rgb(var(--t-on-gradient));font-size:.78rem;font-weight:700;cursor:pointer}
.order-next{font-size:.85rem;color:rgb(var(--t-secondary));margin:.75rem 0 0}
.order-next a{color:rgb(var(--accent,255 77 92))}
.order-message{white-space:pre-wrap;overflow-wrap:anywhere;color:inherit;line-height:1.55}
.order-message a{text-decoration:underline}
.inf-setup-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;margin:12px 0 0;border:1px solid #69404b;border-radius:10px;background:#23161b;color:#fff;font-size:14px;line-height:1.4;cursor:pointer}
.cart-card>.inf-setup-option{margin:12px 16px 16px}
.inf-setup-option small{display:block;margin-top:3px;color:#cbbbc3;font-size:12px}
.inf-setup-option__pick{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:700;color:#ffc0cc}
.inf-setup-option input{appearance:auto;width:18px;height:18px;accent-color:#dd3b58;cursor:pointer}
.inf-setup-option:focus-within{outline:2px solid #ff9db0;outline-offset:2px}
/* My Account page */
.account-body{padding:1.5rem}
.account-title{margin:0;font-size:1.15rem;font-weight:700;color:rgb(var(--t-primary))}
.account-sub{margin:.35rem 0 0;font-size:.875rem;color:rgb(var(--t-secondary));line-height:1.5}
.account-sub strong{color:rgb(var(--t-primary))}
.account-sub code{color:rgb(var(--t-primary)/.8);word-break:break-all}
.account-signin{max-width:420px}
.account-form{margin-top:1.1rem;display:flex;flex-direction:column;gap:.5rem}
.account-code{letter-spacing:.4em;font-size:1.1rem;font-family:ui-monospace,Consolas,monospace}
.account-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.5rem;padding:.75rem 1.25rem;border:none;border-radius:.5rem;background:var(--brand-gradient);color:rgb(var(--t-on-gradient));font-weight:700;font-size:.95rem;cursor:pointer;text-decoration:none;transition:filter .2s,opacity .2s}
.account-btn:hover{filter:brightness(1.1)}
.account-btn:disabled{opacity:.6;cursor:not-allowed}
.account-btn--ghost{background:rgb(var(--bg-lighter));color:rgb(var(--t-primary)/.8);border:1px solid rgb(var(--border));margin-top:0}
.account-msg{min-height:1.2em;margin:.75rem 0 0;font-size:.85rem;color:rgb(var(--error,239 68 68))}
.account-links{margin:.5rem 0 0;font-size:.85rem;color:rgb(var(--t-muted))}
.account-link{background:none;border:none;padding:0;color:rgb(var(--accent,255 77 92));font:inherit;cursor:pointer}
.account-link:disabled{color:rgb(var(--t-muted));cursor:default}
.account-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.account-order{border-bottom:1px solid rgb(var(--border))}
.account-order:last-child{border-bottom:none}
.account-order__row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem .25rem;background:none;border:none;color:inherit;text-align:left;cursor:pointer}
.account-order__row:hover .account-order__items{color:rgb(var(--t-primary))}
.account-order__main{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.account-order__items{font-weight:600;font-size:.9rem;color:rgb(var(--t-primary)/.9)}
.account-order__meta{font-size:.78rem;color:rgb(var(--t-muted))}
.account-order__side{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.account-order__total{font-weight:700;color:rgb(var(--t-primary))}
.account-order__detail{padding:0 .25rem 1rem}
.account-status{font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:.3rem .55rem;border-radius:.4rem;background:rgb(var(--bg-lighter));color:rgb(var(--t-secondary))}
.account-status.is-ok{color:rgb(var(--success,34 197 94));background:rgb(var(--success,34 197 94)/.12)}
.account-status.is-wait{color:#f59e0b;background:rgba(245,158,11,.12)}
.account-status.is-bad{color:rgb(var(--error,239 68 68));background:rgb(var(--error,239 68 68)/.12)}
.account-empty{padding:1.5rem 0;color:rgb(var(--t-secondary))}
.account-pager{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;font-size:.85rem;color:rgb(var(--t-muted))}
@media (max-width:640px){.account-order__row{flex-direction:column;align-items:flex-start}.account-order__side{width:100%;justify-content:space-between}}
