/* Trado V8 - focused user account page fixes, load after earlier theme patches. */
:root{--tf8-pink:#ed1970;--tf8-navy:#202448;--tf8-border:#e9eaf1;--tf8-bg:#f7f7fb;--tf8-text:#272c44}
.tf-v8-account,.tf-v8-account *{box-sizing:border-box}
.tf-v8-account{background:var(--tf8-bg)!important;color:var(--tf8-text);overflow:clip;min-width:0;padding-bottom:36px!important}
.tf-v8-account>.tf-v8-account-grid.container.mb-15{display:grid!important;grid-template-columns:238px minmax(0,1fr)!important;align-items:start!important;gap:22px!important;max-width:1170px!important;width:100%!important;padding:26px 16px 45px!important;margin:0 auto!important;min-width:0!important;grid-auto-rows:auto!important}
.tf-v8-account>.tf-v8-account-grid>.my-8:first-child{grid-area:auto!important;grid-column:1!important;grid-row:1!important;position:sticky!important;top:20px!important;margin:0!important;width:100%!important;max-width:100%!important;padding:0!important;min-width:0!important;z-index:2!important;align-self:start!important}
.tf-v8-account>.tf-v8-account-grid>:not(.my-8){grid-area:auto!important;grid-column:2!important;grid-row:1!important;width:100%!important;max-width:100%!important;min-width:0!important;padding-left:0!important;padding-right:0!important;margin:0!important}
.tf-v8-account .tf8-account-nav{background:#fff;border:1px solid var(--tf8-border);border-radius:17px;box-shadow:0 4px 20px rgba(21,25,54,.035);overflow:hidden;width:100%}
.tf-v8-account .tf8-nav-intro{display:flex;gap:12px;align-items:center;padding:19px 16px;background:linear-gradient(115deg,#fff,#fff2f7);border-bottom:1px solid var(--tf8-border)}
.tf-v8-account .tf8-nav-avatar{width:43px;height:43px;min-width:43px;border-radius:50%;display:grid;place-items:center;background:#ffe3ec;color:var(--tf8-pink);font-size:25px}
.tf-v8-account .tf8-nav-intro strong{display:block;color:var(--tf8-navy);font-size:16px;font-weight:800;line-height:1.3}
.tf-v8-account .tf8-nav-intro span{display:block;font-size:11px;color:#727990;line-height:1.4;margin-top:3px}
.tf-v8-account .tf8-nav-items{display:flex!important;flex-direction:column!important;gap:3px!important;padding:11px!important;margin:0!important;width:100%!important;overflow:visible!important}
.tf-v8-account .tf8-nav-link{display:flex!important;flex:none!important;align-items:center!important;gap:10px!important;min-height:42px!important;width:100%!important;padding:10px 12px!important;background:transparent!important;border:0!important;border-radius:10px!important;color:#424961!important;text-decoration:none!important;white-space:normal!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important}
.tf-v8-account .tf8-nav-link i{width:21px;flex:0 0 21px;font-size:19px;text-align:center;color:#778095}
.tf-v8-account .tf8-nav-link:hover,.tf-v8-account .tf8-nav-link.is-active{background:#fff0f6!important;color:var(--tf8-pink)!important}
.tf-v8-account .tf8-nav-link.is-active{font-weight:800!important}
.tf-v8-account .tf8-nav-link.is-active i{color:var(--tf8-pink)!important}
.tf-v8-account .tf8-nav-logout{color:#b33057!important;border-top:1px solid var(--tf8-border)!important;margin-top:4px}
.tf-v8-account .tf-v8-page-title{border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;padding:22px 24px!important;margin:0 0 16px!important;display:flex;justify-content:space-between;align-items:center;gap:15px}
.tf-v8-account .tf-v8-page-title h1{margin:0!important;font-size:24px!important;line-height:1.3!important;font-weight:850!important;color:var(--tf8-navy)!important;letter-spacing:-.5px}
.tf-v8-account .tf-v8-page-title p{margin:4px 0 0!important;font-size:13px!important;color:#858a9a!important}
.tf-v8-account .tf-v8-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--tf8-pink)}
.tf-v8-account .tf-v8-order-count{background:#fff1f7;color:#b82262;font-size:11px;font-weight:700;border-radius:40px;padding:7px 10px;white-space:nowrap}
.tf-v8-profile>.tf-v8-account-grid>div:not(.my-8)>hr{display:none!important}
.tf-v8-profile .tf-v8-profile-card{padding:24px!important;border-radius:16px!important;border:1px solid var(--tf8-border)!important;background:#fff!important;box-shadow:0 4px 24px rgba(26,28,60,.035)!important;min-width:0!important}
.tf-v8-profile .tf-v8-profile-card .tf-v8-avatar{justify-content:flex-start!important;margin:0 0 20px!important}
.tf-v8-profile .tf-v8-profile-card .tf-v8-avatar img{width:78px!important;height:78px!important;border-radius:50%!important;object-fit:cover!important;border:3px solid #ffeaf3!important}
.tf-v8-profile .tf-v8-profile-form{width:100%;min-width:0}
.tf-v8-profile .tf-v8-profile-form .form-row{display:flex;flex-wrap:wrap;margin-left:-8px!important;margin-right:-8px!important}
.tf-v8-profile .tf-v8-profile-form .form-row>.form-group{min-width:0;flex:0 0 50%;max-width:50%;padding-left:8px!important;padding-right:8px!important}
.tf-v8-profile .tf-v8-profile-form label{font-size:12px!important;font-weight:700!important;color:#343951!important;margin-bottom:6px}
.tf-v8-profile .tf-v8-profile-form .form-control{font-size:14px!important;min-width:0!important;width:100%!important;min-height:46px!important;padding:11px 13px!important;border:1px solid #dfe3ed!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;color:#222841!important;max-width:100%!important}
.tf-v8-profile .tf-v8-profile-form input[type=file]{height:auto!important;padding:10px!important}
.tf-v8-profile .tf-v8-profile-form .form-control:focus{border-color:var(--tf8-pink)!important;box-shadow:0 0 0 3px rgba(237,25,112,.10)!important}
.tf-v8-profile .tf-v8-profile-form .d-flex.gap-2{min-width:0;gap:6px!important}
.tf-v8-profile .tf-v8-profile-form .d-flex.gap-2 input{min-width:0;flex:1 1 0}
.tf-v8-profile .tf-v8-profile-form .badge{flex:0 0 auto;font-size:10px!important;border-radius:6px}
.tf-v8-profile .tf-v8-profile-form .tf-v8-save{background:var(--tf8-pink)!important;border:1px solid var(--tf8-pink)!important;color:#fff!important;border-radius:11px!important;padding:13px 36px!important;min-height:44px;font-size:14px!important;font-weight:800!important;margin-top:8px}
.tf-v8-orders .tf-v8-orders-list{display:grid;gap:13px}
.tf-v8-orders .tf-v8-order-card{background:#fff;border:1px solid var(--tf8-border);border-radius:17px;overflow:hidden;min-width:0;box-shadow:0 4px 18px rgba(26,28,60,.04)}
.tf-v8-orders .tf-v8-order-top{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:14px 18px;background:#fdfdff;border-bottom:1px solid #edf0f4}
.tf-v8-orders .tf-v8-order-label{font-size:13px!important;font-weight:850!important;color:var(--tf8-navy)!important}
.tf-v8-orders .tf-v8-order-top p{margin:3px 0 0!important;font-size:12px!important;color:#808697!important;line-height:1.4!important}
.tf-v8-orders .tf-v8-outline-action{display:inline-flex;align-items:center;gap:3px;padding:8px 12px;color:var(--tf8-pink)!important;border:1px solid #fac1da;border-radius:10px;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}
.tf-v8-orders .tf-v8-order-products{padding:2px 18px}
.tf-v8-orders .tf-v8-order-item{display:flex;align-items:flex-start;gap:14px;padding:15px 0;min-width:0}
.tf-v8-orders .tf-v8-order-item+.tf-v8-order-item{border-top:1px solid #f0f1f5}
.tf-v8-orders .tf-v8-order-item img,.tf-v8-orders .tf-v8-no-image{flex:0 0 76px;width:76px!important;height:94px!important;object-fit:cover!important;border-radius:10px!important;border:1px solid #eef0f4;background:#f9f9fc}
.tf-v8-orders .tf-v8-no-image{display:grid;place-items:center;color:#bbc0cd;font-size:26px}
.tf-v8-orders .tf-v8-item-copy{min-width:0;flex:1}
.tf-v8-orders .tf-v8-item-copy h2{font-size:14px!important;font-weight:750!important;line-height:1.4!important;color:var(--tf8-navy)!important;margin:0 0 7px!important;overflow-wrap:anywhere}
.tf-v8-orders .tf-v8-item-options,.tf-v8-orders .tf-v8-item-quantity{margin:3px 0!important;font-size:12px!important;line-height:1.5!important;color:#747e91!important}
.tf-v8-orders .tf-v8-order-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #edf0f5;padding:12px 18px 15px}
.tf-v8-orders .tf-v8-order-bottom>div{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.tf-v8-orders .tf-v8-order-total-label{font-size:11px;color:#73798a}
.tf-v8-orders .tf-v8-order-bottom strong{font-size:18px;font-weight:850;color:var(--tf8-navy)}
.tf-v8-orders .tf-v8-order-bottom small{color:#868c9c;font-size:11px;display:block;flex-basis:100%}
.tf-v8-orders .tf-v8-reorder{border:0!important;min-height:42px;padding:10px 16px!important;border-radius:10px!important;background:var(--tf8-pink)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap}
.tf-v8-orders .tf-v8-empty-orders{text-align:center;padding:40px 24px;border-radius:16px;background:#fff;border:1px solid var(--tf8-border)}
.tf-v8-orders .tf-v8-empty-orders img{max-width:175px;max-height:155px;object-fit:contain;display:block;margin:0 auto 12px}
.tf-v8-orders .tf-v8-empty-orders h2{font-size:19px;font-weight:800;color:var(--tf8-navy)}
.tf-v8-orders .tf-v8-empty-orders p{font-size:13px;color:#70778a}
.tf-v8-orders .tf-v8-main-action{display:inline-flex;padding:11px 20px;border-radius:10px;background:var(--tf8-pink);color:#fff!important;text-decoration:none;font-weight:750;font-size:13px}
.tf-v8-orders .tf-v8-pagination{overflow-x:auto;margin:23px auto}
.tf-v8-orders .tf-v8-pagination .pagination{margin:0!important;flex-wrap:wrap;gap:5px}
.tf-v8-crumb .container{max-width:1170px!important;padding-left:16px!important;padding-right:16px!important}
@media(max-width:767.98px){
 body .tf-v8-account>.tf-v8-account-grid.container.mb-15{display:flex!important;flex-direction:column!important;gap:12px!important;padding:12px 12px 105px!important;max-width:100%!important}
 body .tf-v8-account>.tf-v8-account-grid>.my-8:first-child{position:static!important;top:auto!important;width:100%!important;max-width:100%!important;margin:0!important;flex:none!important}
 body .tf-v8-account>.tf-v8-account-grid>:not(.my-8){grid-column:auto!important;grid-row:auto!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
 .tf-v8-account .tf8-nav-intro{padding:12px 14px}
 .tf-v8-account .tf8-nav-avatar{height:34px;width:34px;min-width:34px;font-size:20px}
 .tf-v8-account .tf8-nav-intro strong{font-size:14px}
 .tf-v8-account .tf8-nav-intro span{font-size:10px}
 .tf-v8-account .tf8-nav-items{flex-direction:row!important;display:flex!important;gap:8px!important;padding:8px 10px!important;overflow-x:auto!important;scrollbar-width:none!important;white-space:nowrap!important;overscroll-behavior-x:contain;flex-wrap:nowrap!important}
 .tf-v8-account .tf8-nav-items::-webkit-scrollbar{display:none}
 .tf-v8-account .tf8-nav-link{flex:0 0 auto!important;width:auto!important;min-height:36px!important;padding:8px 10px!important;border-radius:999px!important;background:#f7f8fc!important;white-space:nowrap!important;font-size:12px!important}
 .tf-v8-account .tf8-nav-link i{width:16px;flex-basis:16px;font-size:16px}
 .tf-v8-account .tf-v8-page-title{padding:18px!important;margin:0 0 12px!important;border-radius:14px!important}
 .tf-v8-account .tf-v8-page-title h1{font-size:20px!important}
 .tf-v8-account .tf-v8-page-title p{font-size:12px!important}
 .tf-v8-profile .tf-v8-profile-card{padding:17px!important}
 .tf-v8-profile .tf-v8-profile-form .form-row{display:block!important;margin:0!important}
 .tf-v8-profile .tf-v8-profile-form .form-row>.form-group{max-width:100%!important;width:100%!important;padding:0!important;margin-bottom:14px!important}
 .tf-v8-profile .tf-v8-profile-form .form-control{font-size:16px!important}
 .tf-v8-profile .tf-v8-profile-form .tf-v8-save{width:100%!important}
 .tf-v8-orders .tf-v8-order-top{padding:12px!important}
 .tf-v8-orders .tf-v8-order-products{padding:0 12px}
 .tf-v8-orders .tf-v8-order-item{gap:11px;padding:12px 0}
 .tf-v8-orders .tf-v8-order-item img,.tf-v8-orders .tf-v8-no-image{width:68px!important;height:88px!important;flex-basis:68px}
 .tf-v8-orders .tf-v8-item-copy h2{font-size:13px!important}
 .tf-v8-orders .tf-v8-order-bottom{padding:12px!important}
 .tf-v8-orders .tf-v8-outline-action{font-size:11px;padding:7px 9px}
 .tf-v8-orders .tf-v8-reorder{padding:9px 12px!important}
 .tf-v8-orders .tf-v8-order-bottom strong{font-size:16px}
}
@media(max-width:360px){.tf-v8-account .tf-v8-page-title{padding:14px!important}.tf-v8-orders .tf-v8-order-count{font-size:10px}}
