/* Account actions share the same shape and touch target across native and TRAJKOT views. */
.woocommerce-account .woocommerce .woocommerce-MyAccount-content>h2{
  margin:0 0 12px;color:var(--tj-account-ink);
  font:400 clamp(28px,2.7vw,38px)/1.15 var(--serif,Georgia,serif);letter-spacing:-.035em;overflow-wrap:anywhere;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content>h2+p{
  margin:0 0 22px;max-width:58ch;color:var(--tj-account-muted);font:400 14px/1.6 Arial,Helvetica,sans-serif;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(a.button,button.button,input.button,.tj-portal-button){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
  min-height:44px;max-width:100%;min-width:0;margin:0;padding:11px 16px;
  border:1px solid var(--tj-account-button);border-radius:3px;
  background:var(--tj-account-button);color:#fff;
  font:500 12px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.035em;text-transform:uppercase;
  text-align:center;text-decoration:none;white-space:normal;overflow-wrap:break-word;
  box-shadow:none;cursor:pointer;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(a.button,button.button,input.button,.tj-portal-button):not(:disabled):not([aria-disabled="true"]):hover{
  background:var(--tj-account-button-hover);border-color:var(--tj-account-button-hover);color:#fff;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(.button,.tj-portal-button):is(.tj-portal-secondary,.tj-offer-secondary,.secondary,.tj-portal-button-secondary){
  background:transparent;border-color:var(--tj-account-line);color:var(--tj-account-ink);
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(.button,.tj-portal-button):is(.tj-portal-secondary,.tj-offer-secondary,.secondary,.tj-portal-button-secondary):not(:disabled):not([aria-disabled="true"]):hover{
  background:var(--tj-account-soft);border-color:var(--tj-account-focus);color:var(--tj-account-ink);
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(.button,.tj-portal-button):is(:disabled,[aria-disabled="true"]){opacity:.55;cursor:default}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(.button,.tj-portal-button):focus-visible{
  outline:2px solid var(--tj-account-focus);outline-offset:3px;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(.button,.tj-portal-button)>svg{flex:none;max-width:none}
.woocommerce-account .woocommerce .tj-account-password-toggle{
  right:2px;top:2px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:3px;
}
.woocommerce-account .woocommerce :is(.tj-account-password-field,.password-input){min-width:0;max-width:100%}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content :is(.tj-account-details,.woocommerce-address-fields,.tj-portal-form) input.input-text,
.woocommerce-account .woocommerce .woocommerce-address-fields select:not(.select2-hidden-accessible),
.woocommerce-account .woocommerce .tj-offer-rename input:not([type="hidden"]){
  box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;
  padding:11px 13px;border:1px solid var(--tj-account-line);border-radius:7px;
  background:var(--tj-account-surface);color:var(--tj-account-ink);font:16px/1.4 Arial,Helvetica,sans-serif;
}
.woocommerce-account .woocommerce .woocommerce-address-fields .select2-hidden-accessible{min-width:1px!important;min-height:1px!important}
.woocommerce-account .woocommerce .woocommerce-address-fields .select2-selection--single{
  display:flex;align-items:center;box-sizing:border-box;min-height:48px;border-radius:7px;border-color:var(--tj-account-line);
  background:var(--tj-account-surface);color:var(--tj-account-ink);
}
.woocommerce-account .woocommerce .woocommerce-address-fields .select2-selection--single .select2-selection__rendered{min-width:0;max-width:100%;line-height:1.4;padding-left:13px;padding-right:30px;color:inherit}
.woocommerce-account .woocommerce .woocommerce-address-fields .select2-selection--single .select2-selection__arrow{height:100%;top:0;right:5px}
.woocommerce-account .woocommerce .tj-offer-tools{flex-wrap:wrap;gap:10px 18px}
.woocommerce-account .woocommerce .tj-offer-list{min-width:0;grid-template-columns:minmax(0,1fr)}
.woocommerce-account .woocommerce .tj-offer-card{min-width:0;max-width:100%}
.woocommerce-account .woocommerce .tj-offer-card-heading>div:first-child{min-width:0}
.woocommerce-account .woocommerce .tj-offer-card h3{overflow-wrap:anywhere}
.woocommerce-account .woocommerce .tj-offer-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px;min-width:0;max-width:100%;white-space:normal}
.woocommerce-account .woocommerce .tj-offer-amount .amount{white-space:nowrap}
.woocommerce-account .trajkot-account-offer{min-width:0;max-width:100%;width:100%;--tj-offer-accent:#875b3e}
.woocommerce-account .trajkot-account-offer .tj-offer-sheet{margin-inline:auto!important}
html[data-tj-theme="dark"] .woocommerce-account .trajkot-account-offer{--tj-offer-accent:#e4b995}
.woocommerce-account .woocommerce .tj-offer-rename{min-width:0;max-width:100%;flex:1 1 200px}
.woocommerce-account .woocommerce .tj-offer-rename form{align-items:flex-end;min-width:0;max-width:100%}
.woocommerce-account .woocommerce .tj-offer-rename label{min-width:0;max-width:100%;flex:1 1 180px}
.woocommerce-account .woocommerce .tj-offer-tools>.tj-offer-manage{flex:none}
.woocommerce-account .woocommerce .tj-account-save{padding:0;margin:24px 0 0}
.woocommerce-account .woocommerce :is(.tj-offer-actions,.tj-portal-actions){gap:10px;min-width:0}
.woocommerce-account .woocommerce .tj-offer-actions{width:100%;max-width:100%}
.woocommerce-account .woocommerce .tj-offer-card-footer{min-width:0;max-width:100%}
.woocommerce-account .woocommerce .tj-offer-actions form{max-width:100%}
.woocommerce-account .woocommerce .tj-portal-form>button.tj-portal-button{justify-self:start;width:auto}
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions{white-space:normal}
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button{margin:4px 4px 4px 0}
.woocommerce-account .woocommerce :is(.tj-offer-delete,.tj-offer-rename>summary){min-height:44px}
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid>label{color:var(--wc-red,#b81c23)}
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid :is(input.input-text,select,.select2-selection--single){border-color:var(--wc-red,#b81c23)!important}
.woocommerce-account .woocommerce .tj-offer-delete:focus-visible,
.woocommerce-account .woocommerce .tj-offer-rename>summary:focus-visible{outline:2px solid var(--tj-account-focus);outline-offset:3px;border-radius:3px}
.woocommerce-account .woocommerce .tj-offer-delete:hover{color:#934334}
html[data-tj-theme="dark"] .woocommerce-account .woocommerce .tj-offer-delete:hover{color:#ffbab4}
.woocommerce-account .woocommerce :is(.tj-portal-form,.woocommerce-address-fields,.tj-offer-rename) :is(input,select,textarea):focus-visible{outline:2px solid var(--tj-account-focus);outline-offset:2px}
.woocommerce-account .woocommerce :is(.wfls-btn,.tj-security-sessions button.button){border-radius:3px}
.woocommerce-account .woocommerce :is(.tj-dashboard-panel-header>a,.tj-dashboard-empty>a,.tj-dashboard-help>a,.tj-dashboard-system-actions>a:not(.button)){
  display:inline-flex;align-items:center;min-height:44px;max-width:100%;white-space:normal;
}
.woocommerce-account .woocommerce p.tj-live-note[data-tj-account-live-note]{
  display:flex;align-items:flex-start;gap:8px;clear:both;width:100%;min-width:0;max-width:none;
  margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--tj-account-line);
  color:var(--tj-account-muted);font:400 12px/1.6 Arial,Helvetica,sans-serif;overflow-wrap:anywhere;
}
.woocommerce-account .woocommerce p.tj-live-note[data-tj-account-live-note]::before{
  content:'';display:block;flex:none;width:5px;height:5px;margin-top:.58em;border-radius:50%;background:var(--tj-account-focus);
}
.woocommerce-account .woocommerce p.tj-live-note[data-tj-live-state="checked"]::before{background:#3c634c}
.woocommerce-account .woocommerce p.tj-live-note:is([data-tj-live-state="error"],[data-tj-live-state="expired"]){color:var(--tj-account-ink)}
.woocommerce-account .woocommerce p.tj-live-note[data-tj-live-state="error"]::before{background:#805b2c}
.woocommerce-account .woocommerce p.tj-live-note[data-tj-live-state="expired"]::before{background:#934334}
html[data-tj-theme="dark"] .woocommerce-account .woocommerce p.tj-live-note[data-tj-live-state="checked"]::before{background:#9dcdb0}
html[data-tj-theme="dark"] .woocommerce-account .woocommerce p.tj-live-note[data-tj-live-state="error"]::before{background:#e5bf87}
html[data-tj-theme="dark"] .woocommerce-account .woocommerce p.tj-live-note[data-tj-live-state="expired"]::before{background:#ffbab4}
/* SelectWoo appends its popup to body, outside the account form's colour variables. */
body.woocommerce-account .select2-dropdown .select2-search__field{box-sizing:border-box;min-height:48px;padding:10px 12px;border-radius:7px;font:16px/1.4 Arial,Helvetica,sans-serif}
body.woocommerce-account .select2-dropdown .select2-results__option:not([role="group"]){display:flex;align-items:center;min-height:44px;padding:10px 12px;box-sizing:border-box}
html[data-tj-theme="dark"] body.woocommerce-account .select2-dropdown{background:var(--tj-account-surface,#191e29);color:var(--tj-account-ink,#eff1f5);border-color:var(--tj-account-line,#465268);color-scheme:dark}
html[data-tj-theme="dark"] body.woocommerce-account .select2-search__field{background:#141b27;color:#eff1f5;border:1px solid #586176}
html[data-tj-theme="dark"] body.woocommerce-account .select2-search__field::placeholder{color:#bdc4d2;opacity:1}
html[data-tj-theme="dark"] body.woocommerce-account .select2-search__field:focus-visible{outline:2px solid #abc1ff;outline-offset:1px}
html[data-tj-theme="dark"] body.woocommerce-account .select2-results__option[aria-selected="true"]{background:#24344a;color:#eff1f5}
html[data-tj-theme="dark"] body.woocommerce-account .select2-results__option--highlighted[aria-selected]{background:#294b96;color:#fff}
html[data-tj-theme="dark"] body.woocommerce-account .select2-results__option[aria-disabled="true"]{color:#bdc4d2}
@media(max-width:760px){
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content>h2{font-size:30px}
  .woocommerce-account .woocommerce .tj-offer-actions{align-items:stretch}
  .woocommerce-account .woocommerce .tj-offer-actions :is(a.button,form){flex:1 1 100px}
  .woocommerce-account .woocommerce .tj-offer-actions form>.button{width:100%}
}
@media(max-width:600px){
  .woocommerce-account .woocommerce .woocommerce-address-fields :is(#billing_first_name_field,#billing_last_name_field,#shipping_first_name_field,#shipping_last_name_field){float:none;clear:both;width:100%}
}
@media(max-width:620px){
  .woocommerce-account .trajkot-account-offer .tj-offer-hero,
  .woocommerce-account .trajkot-account-offer .tj-offer-hero>tbody,
  .woocommerce-account .trajkot-account-offer .tj-offer-hero>tbody>tr{display:block!important;width:100%!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-hero>tbody>tr>td{display:block!important;width:100%!important;box-sizing:border-box;padding:0!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-hero>tbody>tr>td+td{padding-top:18px!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-hero img{width:100%!important;max-width:180px!important;height:auto!important;margin-inline:auto}
  .woocommerce-account .trajkot-account-offer .tj-offer-price-total{padding:20px 16px!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-price-breakdown{padding:16px!important}
  .woocommerce-account .woocommerce .trajkot-account-offer .tj-offer-price-total>span[style*="40px"]{font-size:clamp(23px,6.8vw,32px)!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-price-total>span[style*="40px"]>span:first-child{white-space:normal}
  .woocommerce-account .trajkot-account-offer [data-offer-module="identity"]>td>table:first-child>tbody>tr>td:last-child{overflow-wrap:anywhere}
}
@media(max-width:380px){
  .woocommerce-account .trajkot-account-offer .tj-offer-price-total{padding-inline:8px!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-system-brands,
  .woocommerce-account .trajkot-account-offer .tj-offer-system-brands>tbody{display:block!important;width:100%!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-system-brands>tbody>tr{display:grid!important;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;width:100%!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-system-brands>tbody>tr>td{display:block!important;width:auto!important;padding:0!important}
  .woocommerce-account .trajkot-account-offer .tj-offer-system-brands>tbody>tr>td:first-child{grid-column:1/-1}
}
