/* Readable account forms, including controls used on a phone. */
.shop2-preview .ts-account-home-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px}
.shop2-preview .ts-account-home-grid>*{min-width:0}
@media(max-width:991px){.shop2-preview .ts-account-home-grid{grid-template-columns:minmax(0,1fr)}}
.shop2-preview .shop-account-page,
.shop2-preview .shop-account-login-page{font-size:16px;line-height:1.6}
.shop2-preview .ts-account-subtitle,
.shop2-preview .ts-login-box__text{font-size:16px;line-height:1.6}
.shop2-preview .ts-account-nav__item,
.shop2-preview .ts-account-form label,
.shop2-preview .ts-login-form label,
.shop2-preview .ts-address-line,
.shop2-preview .ts-account-linkbox{font-size:15px;line-height:1.5}
.shop2-preview .ts-form-helper,
.shop2-preview .ts-form-section__head p,
.shop2-preview .ts-address-badge,
.shop2-preview .ts-account-usercard__email{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.shop2-preview .ts-account-form .field-control,
.shop2-preview .ts-login-form .field-control{font-size:16px;min-height:46px}
.shop2-preview .ts-account-actions .btn,
.shop2-preview .ts-address-card__actions .btn,
.shop2-preview .js-account-address-new{min-height:44px;font-size:14px;white-space:normal;line-height:1.4}
.shop2-preview .ts-account-form input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px;accent-color:#1674b8}
.shop2-preview .ts-account-form-feedback{margin-bottom:18px}
.shop2-preview .ts-account-nav__item{box-sizing:border-box}
.shop2-preview .ts-account-form .field-control:focus,
.shop2-preview .ts-login-form .field-control:focus{outline:2px solid #1674b8;outline-offset:2px}
.shop2-preview .ts-account-panel{border-radius:16px;padding:26px;box-shadow:0 6px 22px rgba(28,55,82,.035)}
.shop2-preview .ts-account-card{border-radius:12px;background:#fff;box-shadow:none}
.shop2-preview .ts-account-header{margin-bottom:24px;padding-bottom:20px}
.shop2-preview .ts-account-title{font-size:28px;letter-spacing:-.025em}
.shop2-preview .ts-account-card__title{font-size:20px;line-height:1.4}
.shop2-preview .ts-account-stats{gap:12px}
.shop2-preview .ts-account-stat{border-radius:12px;background:#f8fafc;padding:18px;box-shadow:none}
.shop2-preview .ts-account-stat__label{font-size:12px;letter-spacing:.02em;line-height:1.4;min-height:34px}
.shop2-preview .ts-account-stat__value{font-size:28px}
.shop2-preview .ts-account-card__link{font-size:14px;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.shop2-preview .ts-account-form label{font-size:14px;font-weight:600;text-transform:none;letter-spacing:0;color:#35475c}
.shop2-preview .ts-account-form .field-wrap{display:block}
.shop2-preview .ts-account-form .field-control{border:1px solid #ced8e3;border-radius:8px;padding:12px 14px;height:48px;line-height:22px;background:#fff;box-sizing:border-box}
.shop2-preview .ts-account-form .field-back{display:none}
.shop2-preview .ts-account-form textarea.field-control{height:112px}
.shop2-preview .ts-account-actions{display:flex;flex-wrap:wrap;gap:10px}
.shop2-preview .ts-account-actions .btn,.shop2-preview .ts-address-card__actions .btn,.shop2-preview .js-account-address-new{height:auto;min-height:44px;padding:11px 17px;line-height:1.5;border-radius:7px;overflow:hidden;text-transform:none}
.shop2-preview .ts-account-actions .btn+.btn{margin-left:0}
.shop2-preview .ts-address-card{display:flex;flex-direction:column;height:100%;box-sizing:border-box;border-radius:10px}
.shop2-preview .ts-address-card__body{flex:1}
.shop2-preview .ts-address-card__meta{gap:6px}
.shop2-preview .ts-address-badge{font-size:12px;text-transform:none;letter-spacing:0}
.shop2-preview .ts-address-card__actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid #edf1f5}
.shop2-preview .ts-address-card__actions .btn{font-size:14px;margin:0;min-width:0}
.shop2-preview .ts-address-card__actions .js-account-address-delete{color:#b43232;background:#fff5f5;margin-left:auto}
.shop2-preview .ts-address-card__actions .js-account-address-delete::before{background:transparent}
.shop2-preview .ts-address-card__actions .js-account-address-delete::after{border:1px solid #efd5d5;border-radius:7px}
.shop2-preview .ts-address-card__actions .js-account-address-delete:hover{background:#ffe8e8;color:#8d2424}
.shop2-preview .ts-login-options{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 24px;flex-wrap:wrap}
.shop2-preview .ts-login-options>a{font-size:15px;min-height:44px;display:inline-flex;align-items:center}
.shop2-preview .ts-login-form label.ts-account-check,.shop2-preview .ts-account-form label.ts-account-check{display:flex;align-items:flex-start;gap:10px;margin:0;cursor:pointer;color:#35475c;font-size:15px;font-weight:400;line-height:1.55;text-transform:none;letter-spacing:0}
.shop2-preview .ts-account-check input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;display:inline-block;position:static;opacity:1;width:20px;height:20px;min-width:20px;min-height:20px;margin:2px 0 0;padding:0;flex:0 0 20px;box-shadow:none;accent-color:#1674b8}
.shop2-preview .ts-account-check input[type=checkbox]::before,.shop2-preview .ts-account-check input[type=checkbox]::after,.shop2-preview label.ts-account-check::before,.shop2-preview label.ts-account-check::after{content:none!important;display:none!important}
.shop2-preview .ts-register-help{margin:0 0 20px;color:#5a6d82}
.shop2-preview .ts-account-order-list{display:grid;gap:12px}
.shop2-preview .ts-account-order{padding:18px;border:1px solid #e1e8f0;border-radius:10px;background:#fff}
.shop2-preview .ts-account-order__head,.shop2-preview .ts-account-order__foot{display:flex;align-items:center;justify-content:space-between;gap:16px}
.shop2-preview .ts-account-order__head{align-items:flex-start}
.shop2-preview .ts-account-order__reference{font-family:Montserrat,sans-serif;font-size:15px;font-weight:700;color:#23425e;text-decoration:none}
.shop2-preview .ts-account-order__reference:hover{text-decoration:underline;color:#1674b8}
.shop2-preview .ts-account-order__date{font-size:14px;color:#62748a;margin-top:4px;line-height:1.5}
.shop2-preview .ts-account-order__total{font-size:18px;white-space:nowrap;font-family:Montserrat,sans-serif;color:#26364b}
.shop2-preview .ts-account-order__foot{margin-top:16px;flex-wrap:wrap}
.shop2-preview .ts-account-order__badges{display:flex;flex-wrap:wrap;gap:6px}
.shop2-preview .ts-order-badge{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border-radius:6px;font-size:12px;font-weight:600;line-height:1.5;background:#f1f4f8;color:#53637a}
.shop2-preview .ts-order-badge.is-pending{background:#fff5df;color:#805a09}
.shop2-preview .ts-order-badge.is-ok{background:#eaf7f1;color:#216447}
.shop2-preview .ts-order-badge.is-info{background:#eaf3fc;color:#24608f}
.shop2-preview .ts-order-badge.is-test{background:#f1edfb;color:#65518a}
.shop2-preview .ts-account-order__actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.shop2-preview .ts-account-order__details{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:14px;font-weight:600;color:#1674b8}
.shop2-preview .ts-account-invoices{display:grid;gap:10px}
.shop2-preview .ts-account-invoice{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid #e1e8f0;border-radius:9px}
.shop2-preview .ts-account-invoice>div{min-width:0;overflow-wrap:anywhere}
.shop2-preview .ts-account-invoice span{display:block;font-size:14px;color:#62748a;margin-top:4px}
.shop2-preview .ts-account-invoice__total{white-space:nowrap;flex-shrink:0;font-family:var(--shop2-ui-font,system-ui,sans-serif);font-variant-numeric:lining-nums tabular-nums}
@media(max-width:767px){
 .shop2-preview .ts-account-shell{display:block}
 .shop2-preview .ts-account-sidebar{margin-bottom:20px}
 .shop2-preview .shop-account-page{padding-top:0}
 .shop2-preview .ts-account-usercard{padding:12px;margin-bottom:10px}
 .shop2-preview .ts-account-sidebar__footer{margin-top:8px}
 .shop2-preview .ts-account-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .shop2-preview .ts-account-nav__item{min-height:46px;display:flex;align-items:center;gap:8px;padding:10px}
 .shop2-preview .ts-account-card{padding:18px 14px}
 .shop2-preview .ts-account-card__head{flex-wrap:wrap;gap:12px}
 .shop2-preview .ts-account-form .row{display:flex;flex-wrap:wrap}
 .shop2-preview .ts-account-form .row>[class*="-col-"]{width:100%;max-width:100%;flex:0 0 100%}
 .shop2-preview .ts-address-card__actions{display:flex;flex-wrap:wrap;gap:8px}
 .shop2-preview .ts-address-card__actions .btn{flex:1 1 120px}
 .shop2-preview .ts-account-actions{display:flex;flex-wrap:wrap;gap:10px}
 .shop2-preview .ts-login-box{padding:24px 20px}
 .shop2-preview .ts-login-card{padding:24px 16px}
 .shop2-preview .ts-account-panel{padding:18px 14px}
 .shop2-preview .ts-account-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .shop2-preview .ts-account-stat{padding:14px}
 .shop2-preview .ts-account-title{font-size:25px}
 .shop2-preview .ts-account-order{padding:14px}
 .shop2-preview .ts-account-order__head{gap:10px}
 .shop2-preview .ts-account-order__reference{font-size:14px}
 .shop2-preview .ts-account-order__total{font-size:16px}
 .shop2-preview .ts-address-card__actions .btn{flex:1 1 auto}
 .shop2-preview .ts-address-card__actions .js-account-address-delete{margin-left:0}
}

/* Solid/native borders replace the theme's pseudo-element outline animation. */
.shop2-preview :is(.ts-account-shell,.ts-account-address-dialog) .btn::before,.shop2-preview :is(.ts-account-shell,.ts-account-address-dialog) .btn::after{content:none!important;display:none!important}
.shop2-preview :is(.ts-account-shell,.ts-account-address-dialog) .btn{border:1px solid #176fb2!important;background:#176fb2!important;color:#fff!important;box-shadow:none!important;transform:none!important;border-radius:9px!important;font:600 15px/1.4 system-ui!important;min-height:44px;padding:11px 17px!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;white-space:normal}
.shop2-preview :is(.ts-account-shell,.ts-account-address-dialog) .btn:hover{background:#125d98!important;border-color:#125d98!important}
.shop2-preview :is(.ts-account-shell,.ts-account-address-dialog) .btns-bordered{background:#edf5fc!important;color:#185f96!important;border-color:#d0e2f1!important}
.shop2-preview :is(.ts-account-shell,.ts-account-address-dialog) .btns-bordered:hover{background:#deecf8!important}
.shop2-preview .ts-address-card__actions .js-account-address-delete{margin-left:0;background:#fff0f0!important;border-color:#f1cccc!important;color:#a83232!important}
.shop2-preview .ts-address-card__actions{justify-content:flex-start;align-items:center}.shop2-preview .ts-account-shell .btn:focus-visible,.shop2-preview .ts-account-address-dialog .btn:focus-visible{outline:3px solid #9bcaf0;outline-offset:3px}

/* Dedicated elements avoid legacy .row/.cols-lg descendant width rules. */
.shop2-preview .ts-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;align-items:stretch}
.shop2-preview .ts-address-slot{display:flex;width:100%;min-width:0;margin:0;padding:0}
.shop2-preview .ts-address-slot>.ts-address-card{width:100%;min-width:0;padding:20px;height:auto;border-color:#dce5ee;border-radius:10px}
.shop2-preview .ts-address-card.is-default{border-color:#8ebae0;box-shadow:inset 0 3px #1873b8}
.shop2-preview .ts-address-card__body{margin-bottom:18px;overflow-wrap:anywhere;color:#35475c}
.shop2-preview .ts-address-card__body .ts-address-line{color:#455b70;margin:3px 0}
.shop2-preview .ts-address-card__head{margin-bottom:14px}
.shop2-preview .ts-address-card__alias{font-size:17px;line-height:1.35}
.shop2-preview .ts-address-card__actions{margin-top:auto;gap:8px}
.shop2-preview .ts-address-card__actions .btn{flex:0 1 auto;min-height:40px;font-size:14px!important;padding:9px 12px!important}
@media(max-width:1100px){.shop2-preview .ts-address-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1024px){.shop2-preview .ts-account-content{width:100%}}
@media(max-width:480px){.shop2-preview .ts-address-slot>.ts-address-card{padding:16px}.shop2-preview .ts-address-card__actions .btn{flex:1 1 auto}}
