body:has(.fs-account-subpage), .fs-account-subpage { background: #f3ede5; }
.fs-account-subpage .customer.account {
  width: 100%; max-width: 1240px; box-sizing: border-box;
  margin: auto; padding: 32px 28px 44px; text-align: left;
  color: #493022; font-family: var(--font-body-family,Chronica,sans-serif);
}
.fs-account-subpage .customer.account h1 { margin: 0 0 14px; color: #493022; font: 500 26px/1.2 var(--font-heading-family,Chronica,sans-serif); letter-spacing: -.025em; }
.fs-account-subpage .customer.account h2 { margin: 0 0 14px; color: #493022; font: 500 19px/1.3 var(--font-heading-family,Chronica,sans-serif); letter-spacing: -.025em; }
.fs-account-subpage .customer.account p { color: #745546; font-size: 13px; line-height: 1.7; }
.fs-account-subpage .customer.account a { color: #d70104; text-decoration: none; }
.fs-account-subpage .customer.account > div:first-of-type > a,
.fs-account-subpage .customer.account > div:first-of-type > p > a { display: inline-flex; padding: 8px 12px; border-radius: 6px; background: #eae0d6; font-size: 12px; }
.fs-account-subpage .fs-account-subnav { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.fs-account-subpage .fs-account-subnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px; box-sizing: border-box; border-radius: 6px; background: #e8dbcf; color: #745546; font-size: 12px; font-weight: 500; text-decoration: none; }
.fs-account-subpage .fs-account-subnav a[aria-current] { background: #d70104; color: #fff8f0; }
.fs-account-subpage .customer.account:not(.main-wrapper) > div:nth-of-type(2) { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 24px; margin-top: 0; }
.fs-account-subpage .customer.account:not(.main-wrapper) > div:nth-of-type(2) > div { min-width: 0; max-width: none; padding-right: 0; }
.fs-account-subpage .card-box { padding: 24px; background: #fffaf5; border: 0; border-radius: 8px; box-shadow: none; color: #745546; }
.fs-account-subpage .customer.account .button,
.fs-account-subpage .customer.account button,
.fs-account-subpage .customer.account input[type=submit] { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin: 0; padding: 11px 16px; border: 0; border-radius: 7px; box-shadow: none; background: linear-gradient(115deg, #d70104, #b00103); color: #fff8f0; font: 500 12px/1.4 var(--font-body-family,Chronica,sans-serif); letter-spacing: 0; }
.fs-account-subpage .button::before, .fs-account-subpage .button::after { content: none; }
.fs-account-subpage .customer.account .field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; padding: 0; background: transparent; }
.fs-account-subpage .field::before, .fs-account-subpage .field::after { content: none; }
.fs-account-subpage .customer.account .field label,
.fs-account-subpage .customer.account .field input:focus ~ label,
.fs-account-subpage .customer.account .field input:not(:placeholder-shown) ~ label { position: static; order: -1; transform: none; padding: 0; font: 500 12px/1.4 var(--font-body-family,Chronica,sans-serif); color: #745546; letter-spacing: 0; }
.fs-account-subpage .customer.account .field input,
.fs-account-subpage .customer.account .field select { width: 100%; height: 44px; padding: 10px 12px; box-sizing: border-box; border: 1px solid #dfcebd; border-radius: 6px; background-color: #fffaf5; color: #493022; font: 400 16px/1.4 var(--font-body-family,Chronica,sans-serif); box-shadow: none; }
.fs-account-subpage .customer.account .field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23745546' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px 14px; }
.fs-account-subpage .customer.account form .grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
.fs-account-subpage .customer.account form .grid__item { width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; }
.fs-account-subpage .customer.account form .grid::after { content: none; }
.fs-account-subpage .order-tab__slider { display: flex; gap: 7px; padding: 0; margin: 0 0 18px; }
.fs-account-subpage .order-tab__slider .grid__item { width: auto; padding: 10px 12px; border-radius: 6px; background: #e8dbcf; font-size: 12px; }
.fs-account-subpage .order-tab__slider .grid__item.active { background: #d70104; color: #fff8f0; }
.fs-account-subpage .order-tab__slider .grid__item > span { display: none; }
.fs-account-subpage .customer.account .change_password { display: inline-flex; padding: 8px 12px; border-radius: 6px; background: #eee4d8; font-size: 12px; }
.fs-account-subpage .customer.account .text-center { text-align: left; }
.fs-account-subpage[data-account-screen=addresses] .customer.account:not(.main-wrapper) > div:nth-of-type(2),
.fs-account-subpage[data-account-screen=orders] .customer.account:not(.main-wrapper) > div:nth-of-type(2) { display: block; }
.fs-account-subpage .customer.account table { font-size: 13px; }
.fs-account-subpage a:focus-visible, .fs-account-subpage button:focus-visible { outline: 2px solid #d70104; outline-offset: 3px; }
body:has(.fs-account-subpage) .fs-b-footer { margin-top: 0; }
@media(max-width:749px) {
 .fs-account-subpage .customer.account { padding: 28px 22px; }
 .fs-account-subpage .customer.account:not(.main-wrapper) > div:nth-of-type(2) { grid-template-columns: minmax(0,1fr); }
 .fs-account-subpage .customer.account form .grid { grid-template-columns: minmax(0,1fr); }
}

.fs-account-subpage .main-wrapper > h2 { font-size: 26px; }
.fs-account-subpage .main-wrapper .tab { display: flex; gap: 8px; }
.fs-account-subpage .main-wrapper .tablinks { padding: 11px 14px; border-radius: 6px; background: #e8dbcf; color: #d70104; font-size: 12px; cursor: pointer; }
.fs-account-subpage .main-wrapper .tablinks.active { background: #d70104; color: #fff8f0; }
.fs-account-subpage .main-wrapper .tab__divider { display: none; }
.fs-account-subpage .main-wrapper .redeem-modal-content { background: #fffaf5; border: 0; border-radius: 8px; }
.fs-account-subpage[data-account-screen=details] .customer.account > div:nth-of-type(2) > div:first-child { padding: 24px; border-radius: 8px; background: #fffaf5; }
.fs-account-subpage[data-account-screen=details] .customer.account .grid .field { margin-bottom: 4px; }
.fs-account-subpage .customer.account .button--secondary { background: #e8dbcf; color: #d70104; }
.fs-account-subpage .fs-dashboard-preview { max-width: 1240px; margin: auto; padding: 10px 28px 0; font-size: 10px; color: #9a7964; }
.fs-account-subpage[data-account-screen=details] .customer.account > div:nth-of-type(2) { display: block; max-width: 900px; }
.fs-account-subpage[data-account-screen=details] .customer.account > div:nth-of-type(3) { max-width: 900px; padding: 24px; border-radius: 8px; background: #fffaf5; }
.fs-account-subpage[data-account-screen=details] .customer.account > div:nth-of-type(2) .grid { margin-bottom: 8px; }
.fs-account-subpage[data-account-screen=addresses] #AddAddress { max-width: 900px; }
.fs-account-subpage[data-account-screen=addresses] #AddAddress .card-box { max-width: none !important; margin: 0 !important; }
.fs-account-subpage[data-account-screen=addresses] .customer.account form .address-line-info { grid-template-columns: minmax(0,1fr); gap: 0; }
.fs-account-subpage[data-account-screen=addresses] .customer.account .field.mt-4 { margin-top: 0 !important; }
.fs-account-subpage .order-tab__slider .grid__item.active > div { color: #fff8f0; }
.fs-account-subpage[data-account-screen=orders] .card-box.center { padding: 28px !important; }
.fs-account-subpage[data-account-screen=orders] .card-box.center > div:first-child { width: 64px !important; height: 64px !important; margin: 0 auto 18px !important; }
.fs-account-subpage[data-account-screen=orders] .card-box.center p { margin: 0 0 16px; }
.fs-account-subpage .main-wrapper .fs-voucher-preview { margin-top: 20px; padding: 28px; border-radius: 8px; background: #fffaf5; font-size: 13px; color: #745546; }
.fs-account-subpage .customer.account.main-wrapper > h2 { font-size: 26px; }
.fs-account-subpage .customer.account.main-wrapper .tab > .tablinks { display: inline-flex; align-items: center; min-height: 40px; background: #e8dbcf; color: #d70104; }
.fs-account-subpage .customer.account.main-wrapper .tab > .tablinks.active { background: #d70104; color: #fff8f0; }

.fs-account-subpage .customer.account .field :is(input, select) { font-size: 14px; }
.fs-account-subpage .customer.account .field input::placeholder { font-size: 12px; opacity: 1; color: #9a7964; }
.fs-account-subpage .customer.account form .fs-address-default {
  display: flex;
  align-items: center;
  gap: 9px;
  grid-column: 1 / -1;
  width: 100%;
  margin: 6px 0 8px;
  padding: 12px 14px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #f3ede5;
}
.fs-account-subpage .fs-address-default input[type=checkbox] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  padding: 0;
  accent-color: #d70104;
  box-shadow: none;
  cursor: pointer;
}
.fs-account-subpage .fs-address-default label.inline { margin: 0; font-size: 12px; line-height: 1.5; font-weight: 500; color: #745546; cursor: pointer; }
.fs-account-subpage[data-account-screen=orders] .section-wrapper { margin: 0; }
.fs-account-subpage .order-tab .fs-order-filters { display: flex; flex-wrap: wrap; list-style: none; gap: 7px; margin: 0 0 18px; padding: 0; overflow: visible; }
.fs-account-subpage .fs-order-filters > li { flex: none; padding: 0; margin: 0; }
.fs-account-subpage .customer.account .fs-order-filters > li > button {
  min-height: 42px;
  margin: 0;
  padding: 11px 15px;
  border: 0;
  border-radius: 6px;
  background: #e8dbcf;
  color: #745546;
  font-size: 12px;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}
.fs-account-subpage .customer.account .fs-order-filters > li.active > button { background: #d70104; color: #fff8f0; }
.fs-account-subpage .customer.account .fs-order-filters > li > button:hover { background: #ddc9b8; color: #d70104; }
.fs-account-subpage .fs-orders-empty {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 8px;
  background: #fffaf5;
}
.fs-orders-empty__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 7px; background: #eee4d8; color: #d70104; }
.fs-account-subpage .fs-orders-empty h2 { margin: 0 0 8px; font-size: 23px; }
.fs-account-subpage .fs-orders-empty p { margin: 0 0 22px; font-size: 13px; }
.fs-account-subpage .fs-orders-empty .button { width: auto; }
@media (max-width: 600px) {
  .fs-account-subpage .fs-orders-empty { grid-template-columns: minmax(0,1fr); gap: 16px; }
}

.fs-account-subpage .customer.account a.fs-account-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #dfcebd;
  border-radius: 6px;
  background: transparent;
  color: #d70104;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.fs-account-subpage .customer.account a.fs-account-back svg { flex: none; width: 16px; height: 16px; margin: 0; fill: none; }
.fs-account-subpage .customer.account a.fs-account-back:hover { background: #eae0d6; }
.fs-account-subpage .fs-profile-address { margin-top: 26px; padding: 20px; border-radius: 7px; background: #f3ede5; }
.fs-account-subpage .fs-profile-address .fs-profile-address__content { padding: 0; background: transparent; }
.fs-account-subpage .fs-profile-address .fs-profile-address__content p { margin: 0 0 16px; }
.fs-account-subpage .fs-profile-address h2 { font-size: 17px; }
.fs-account-subpage .customer.account .fs-profile-action { display: inline-flex; align-items: center; gap: 14px; min-height: 40px; padding: 10px 14px; border-radius: 6px; background: #fffaf5; color: #d70104; font-size: 12px; font-weight: 500; }
.fs-account-subpage .fs-profile-action span { font-size: 11px; color: #9a7964; }
.fs-account-subpage .customer.account .fs-security-card { padding: 18px; background: #f3ede5; }
.fs-account-subpage .fs-security-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.fs-account-subpage .fs-security-summary strong { display: flex; align-items: center; gap: 10px; margin: 0; color: #493022; font-size: 13px; font-weight: 500; }
.fs-account-subpage .fs-security-summary strong svg { width: 20px; height: 20px; margin: 0; color: #d70104; }
.fs-account-subpage .customer.account .fs-security-summary .change_password { margin: 0; padding: 10px 14px; min-height: 40px; box-sizing: border-box; background: #fffaf5; font-size: 12px; font-weight: 500; }
.fs-account-subpage .confirm_password { margin-top: 20px; }
.fs-account-subpage .fs-orders-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px;
}
.fs-account-subpage .fs-orders-empty h2 { max-width: 40ch; font-size: 22px; margin: 0 0 9px; }
.fs-account-subpage .fs-orders-empty p { max-width: 52ch; margin: 0; }
.fs-account-subpage .fs-orders-empty .button { flex: none; }

.fs-account-subpage .fs-lucide-chevron { width: 14px; height: 14px; margin: 0; fill: none; }

/* Native account screens share the same heading, card and control rhythm. */
.fs-account-subpage .fs-account-page-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.fs-account-subpage .fs-account-page-heading h1 { margin:0; }
.fs-account-subpage .fs-account-subnav { margin:24px 0 28px; gap:8px; }
.fs-account-subpage .fs-account-subnav a { background:transparent; border:1px solid #ddcdbd; color:#745546; }
.fs-account-subpage .fs-account-subnav a:hover { background:#e9ddcf; }
.fs-account-subpage .fs-account-subnav a[aria-current] { background:#d70104; border-color:#d70104; color:#fffaf5; }
.fs-account-subpage[data-account-screen=vouchers] .reward-tab-wrapper { margin:0 0 20px; }
.fs-account-subpage[data-account-screen=vouchers] .main-wrapper .tab { display:flex; gap:4px; width:fit-content; max-width:100%; padding:4px; margin:0 0 20px; background:#e9ddcf; border-radius:7px; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks { flex:0 1 auto; width:auto; min-width:0; min-height:40px; padding:10px 20px; margin:0; border:0; border-radius:5px; background:transparent; color:#745546; font:500 12px/1.4 var(--font-body-family); }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks.active { background:#fffaf5; color:#d70104; box-shadow:0 1px 4px #4930220d; }
.fs-account-subpage[data-account-screen=vouchers] .reward-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; min-height:290px; margin:0; padding:36px 24px; border-radius:8px; box-sizing:border-box; background:#fffaf5; color:#745546; text-align:center; }
.fs-account-subpage[data-account-screen=vouchers] .reward-empty>img { width:86px; height:auto; margin:0; filter:brightness(.55) sepia(.25); opacity:.75; }
.fs-account-subpage[data-account-screen=vouchers] .reward-empty div { color:#745546; font-size:13px; line-height:1.6; margin:0; }
.fs-account-subpage[data-account-screen=vouchers] .reward-empty a { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:11px 18px; background:linear-gradient(110deg, #d70104, #b00103); color:#fffaf5; border-radius:6px; font-size:12px; font-weight:500; }
.fs-account-subpage .fs-credit-layout { grid-template-columns:minmax(220px,.7fr) minmax(0,1.5fr) !important; gap:20px !important; align-items:stretch; margin-bottom:16px; }
.fs-account-subpage .fs-credit-layout>.fs-credit-balance { width:100% !important; padding:28px !important; border-radius:8px; background:#d70104; color:#fffaf5; box-sizing:border-box; }
.fs-account-subpage .fs-credit-balance :is(p,span,h2) { color:#fffaf5 !important; }
.fs-account-subpage .fs-credit-balance h2 { font-size:32px; margin:14px 0 0; font-weight:500; }
.fs-account-subpage .fs-credit-history { width:100% !important; padding:28px !important; border-radius:8px; background:#fffaf5; box-sizing:border-box; }
.fs-account-subpage .fs-credit-history .card-box { padding:24px 0 0; margin:0; background:transparent; font-size:13px; color:#92735e; }
.fs-account-subpage .customer.account.fs-profile-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); gap:0 20px; align-items:start; }
.fs-profile-grid>.fs-account-page-heading,.fs-profile-grid>.fs-account-subnav { grid-column:1/-1; }
.fs-account-subpage[data-account-screen=details] .customer.account>.fs-profile-form-panel { display:block; max-width:none; padding:0; }
.fs-account-subpage[data-account-screen=details] .customer.account>.fs-profile-form-panel>div:first-child { padding:28px; }
.fs-account-subpage[data-account-screen=details] .customer.account>.fs-profile-security-panel { max-width:none; margin:0; padding:24px; }
.fs-account-subpage .fs-profile-security-panel>.grid { display:block !important; margin:0; }
.fs-account-subpage .fs-profile-security-panel .grid__item { width:100%; max-width:none; padding:0; margin:0 0 18px; }
.fs-account-subpage .fs-profile-security-panel .fs-profile-address { margin:0 0 26px; padding:0 0 24px; background:transparent; border-bottom:1px solid #e7dbce; border-radius:0; }
.fs-account-subpage .fs-profile-form-panel form .grid { gap:16px; }
.fs-account-subpage .fs-profile-form-panel .field { margin-bottom:10px; }
@media(max-width:800px){
 .fs-account-subpage .customer.account.fs-profile-grid { display:block; }
 .fs-account-subpage .fs-profile-security-panel { margin-top:20px !important; }
 .fs-account-subpage .fs-credit-layout { grid-template-columns:1fr !important; }
 .fs-account-subpage .fs-account-page-heading { align-items:flex-start; }
 .fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks { padding:10px 12px; }
}
.fs-account-subpage .customer.account .fs-profile-form-panel .grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 16px; margin:0 0 20px; padding:0; }
.fs-account-subpage .customer.account .fs-profile-form-panel .grid::after { content:none; }
.fs-account-subpage .customer.account .fs-profile-form-panel .grid>.grid__item { width:100%; max-width:none; min-width:0; margin:0 !important; padding:0; }
.fs-account-subpage .customer.account .fs-profile-form-panel .grid .field { margin:0; }
.fs-account-subpage .customer.account .fs-credit-balance h2 { font-size:32px; line-height:1.2; margin:14px 0 0; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks { flex:1 1 auto; width:auto !important; padding:10px 16px !important; }
.fs-account-subpage .customer.account .fs-profile-security-panel .fs-profile-address a { display:inline-flex; align-items:center; gap:10px; min-height:40px; padding:10px 14px; border-radius:6px; background:#eee4d8; color:#d70104; font-size:12px; font-weight:500; }
@media(max-width:600px){.fs-account-subpage .customer.account .fs-profile-form-panel .grid{grid-template-columns:1fr}}
.fs-account-subpage .customer.account .fs-profile-form-panel .grid { margin-bottom:20px !important; }
.fs-account-subpage .customer.account .fs-account-back { min-height:40px; box-sizing:border-box; padding:10px 14px; }

/* Address and authentication each have their own clear, compact card. */
.fs-account-subpage[data-account-screen=details] .customer.account>.fs-profile-security-panel { padding:0; background:transparent; }
.fs-account-subpage .customer.account .fs-profile-security-panel>.fs-profile-address { padding:24px; margin:0 0 24px; background:#fffaf5; border:0; border-radius:8px; }
.fs-account-subpage .customer.account .fs-profile-address__content { padding:0; background:transparent; }
.fs-account-subpage .customer.account .fs-profile-address h2 { margin:0 0 12px; font-size:18px; }
.fs-account-subpage .customer.account .fs-profile-address p { margin:0 0 18px; }
.fs-account-subpage .customer.account .fs-profile-address .fs-profile-action { display:inline-flex; gap:12px; align-items:center; padding:10px 14px; min-height:40px; background:#eee4d8; color:#d70104; border-radius:6px; font-size:12px; font-weight:500; }
.fs-account-subpage .fs-profile-action>span { display:inline-flex; justify-content:center; align-items:center; min-width:22px; height:22px; padding:0 5px; border-radius:4px; background:#fffaf5; font-size:11px; line-height:1; color:#745546; }
.fs-account-subpage .customer.account .fs-profile-security-panel>h2 { margin:0 0 14px; font-size:18px; }
.fs-account-subpage .customer.account .fs-security-card,
.fs-account-subpage .customer.account .fs-authentication-card { padding:20px; margin:0; background:#fffaf5; border-radius:8px; }
.fs-account-subpage .fs-security-summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:0; background:transparent; }
.fs-account-subpage .fs-security-summary>strong,
.fs-account-subpage .fs-authentication-card>strong { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:500; line-height:1.4; color:#493022; }
.fs-account-subpage .fs-profile-security-panel strong svg { width:18px; height:18px; flex:none; stroke:currentColor; color:#92735e; vertical-align:middle; }
.fs-account-subpage .customer.account .fs-security-summary .change_password { display:inline-flex; align-items:center; min-height:36px; padding:9px 12px; margin:0; background:#eee4d8; color:#d70104; border-radius:5px; white-space:nowrap; font-size:11px; }
.fs-account-subpage .customer.account .fs-authentication-card p { margin:12px 0 0 28px; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.fs-account-subpage .fs-authentication-card p>span[style] { display:inline-flex; margin-top:7px; padding:3px 8px; border-radius:4px; color:#5f6c49 !important; background:#eaf0e1; font-size:10px; line-height:1.4; }
.fs-account-subpage .fs-address-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 20px; }
.fs-account-subpage .fs-address-toolbar p { margin:0; font-size:14px; font-weight:500; }
.fs-account-subpage .customer.account .fs-address-toolbar .fs-address-add { margin:0 !important; min-height:42px; padding:11px 16px; font-size:12px; }
.fs-account-subpage[data-account-screen=vouchers] .reward-tab-wrapper { display:block; padding:0; margin:0 0 20px; background:transparent; }
.fs-account-subpage[data-account-screen=vouchers] .main-wrapper .tab { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; max-width:560px; gap:4px; box-sizing:border-box; padding:4px; margin:0; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks { display:flex; justify-content:center; align-items:center; width:100% !important; max-width:none; min-width:0; padding:11px 10px !important; margin:0 !important; text-align:center; box-sizing:border-box; }
.fs-account-subpage[data-account-screen=vouchers] .tab>.tablinks>div:not(.tab__divider) { padding:0; margin:0; width:auto; }
@media(max-width:600px){.fs-account-subpage .fs-address-toolbar{align-items:flex-start}.fs-account-subpage .fs-address-toolbar p{font-size:12px}.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks{font-size:11px;padding:10px 7px !important}}
.fs-account-subpage[data-account-screen=details] .customer.account.fs-profile-grid>.fs-profile-security-panel { padding:0; background:transparent; border-radius:0; }

/* Password editing uses the same field rhythm as the profile form. */
.fs-account-subpage .customer.account .confirm_password { padding:20px 0 0; margin:0; }
.fs-account-subpage .customer.account .confirm_password .field { position:relative; display:flex; flex-direction:column; gap:7px; width:100%; margin:0 0 16px; }
.fs-account-subpage .customer.account .confirm_password .field>label { position:static; transform:none; order:-1; margin:0; padding:0; font:500 12px/1.4 var(--font-body-family); color:#745546; }
.fs-account-subpage .customer.account .confirm_password .field>input { width:100%; height:46px; padding:12px 44px 12px 13px; border:1px solid #ddcebf; border-radius:6px; background:#f3ede5; font:400 14px/1.4 var(--font-body-family); }
.fs-account-subpage .customer.account .confirm_password .field>input::placeholder { opacity:0; }
.fs-account-subpage .customer.account .confirm_password .fs-password-toggle { position:absolute; right:6px; bottom:7px; width:32px; height:32px; min-height:32px; margin:0; padding:7px; border:0; border-radius:4px; background:transparent; color:#92735e; }
.fs-account-subpage .customer.account .confirm_password .fs-password-toggle:hover { background:#e8dccf; color:#d70104; }
.fs-account-subpage .confirm_password>br { display:none; }
.fs-account-subpage .customer.account .confirm_password>.text-right { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0 0; text-align:left; }
.fs-account-subpage .customer.account .confirm_password>.text-right>* { width:100%; min-width:0; min-height:42px; margin:0; box-sizing:border-box; }
/* Address actions belong beside the page heading, without an extra caption. */
.fs-account-subpage .fs-account-page-heading { flex-wrap:wrap; }
.fs-account-subpage .fs-account-page-heading h1 { display:block; }
.fs-account-subpage .fs-account-heading-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.fs-account-subpage .customer.account .fs-account-heading-actions .fs-address-add { margin:0 !important; min-height:40px; padding:10px 15px; border-radius:6px; font-size:12px; }
/* Each voucher state is its own contained control. */
.fs-account-subpage[data-account-screen=vouchers] .main-wrapper .tab { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; width:100%; max-width:620px; margin:0; padding:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks { min-height:48px; padding:13px 12px !important; border:1px solid #dfd0c1; border-radius:6px; background:#fffaf5; color:#745546; box-shadow:none; font-size:12px; font-weight:500; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks:hover { background:#eee4d8; border-color:#cdb9a7; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks.active { background:#fffaf5; color:#d70104; border-color:#d70104; box-shadow:inset 0 0 0 1px #d70104; }
@media(max-width:600px){.fs-account-subpage .fs-account-page-heading{gap:16px}.fs-account-subpage .fs-account-heading-actions{width:100%}.fs-account-subpage .fs-account-heading-actions>a{flex:1;justify-content:center}.fs-account-subpage[data-account-screen=vouchers] .main-wrapper .tab{gap:7px}.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks{font-size:11px;padding:12px 7px !important}}
.fs-account-subpage .customer.account .fs-account-page-heading>h1,
.fs-account-subpage .customer.account .fs-account-page-heading>h2 { margin:0; font:500 26px/1.2 var(--font-heading-family); letter-spacing:-.025em; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks,
.fs-account-subpage[data-account-screen=vouchers] .tab>.tablinks>div:not(.tab__divider) { white-space:nowrap; }
.fs-account-subpage[data-account-screen=vouchers] .tab>.tablinks>div:not(.tab__divider) { flex:0 0 auto; width:auto; }
@media(max-width:600px){.fs-account-subpage .customer.account .fs-account-page-heading>h1,.fs-account-subpage .customer.account .fs-account-page-heading>h2{font-size:23px}}
.fs-account-subpage[data-account-screen=details] .customer.account .confirm_password .field { margin:0 0 18px; }
.fs-account-subpage .customer.account .confirm_password .fs-password-toggle { min-width:32px; max-width:32px; width:32px; flex:none; }

/* Voucher states deliberately use the same compact badges as order status filters. */
.fs-account-subpage[data-account-screen=vouchers] .main-wrapper .tab { display:flex; flex-wrap:wrap; gap:7px; width:auto; max-width:none; padding:0; margin:0; border:0; background:transparent; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks { flex:none; width:auto !important; min-height:42px; padding:11px 15px !important; margin:0 !important; border:0; border-radius:6px; background:#e8dbcf; color:#745546; font-size:12px; font-weight:500; line-height:1.4; box-shadow:none; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks.active { background:#d70104; color:#fff8f0; border:0; box-shadow:none; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks:hover { background:#ddc9b8; color:#d70104; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks.active:hover { background:#d70104; color:#fff8f0; }
.fs-account-subpage .fs-order-pagination { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; margin-top:24px; background:#fffaf5; border-radius:7px; text-align:left; }
.fs-account-subpage .fs-order-pagination>p { margin:0; font-size:12px; font-weight:500; color:#92735e; }
.fs-account-subpage .fs-order-pagination .pagination-wrapper { margin:0; }
.fs-account-subpage .fs-order-pagination .pagination__list { display:flex; justify-content:flex-end; align-items:center; gap:6px; margin:0; padding:0; list-style:none; }
.fs-account-subpage .fs-order-pagination .pagination__list>li { flex:none; width:auto; max-width:none; margin:0; }
.fs-account-subpage .fs-order-pagination .pagination__item { display:inline-flex; align-items:center; justify-content:center; width:auto; min-width:36px; height:36px; min-height:36px; margin:0; padding:0 11px; border:0; border-radius:5px; background:#eee4d8; color:#745546; font-size:12px; font-weight:500; box-sizing:border-box; }
.fs-account-subpage .fs-order-pagination .pagination__item--current { background:#d70104; color:#fffaf5; }
.fs-account-subpage .fs-order-pagination .pagination__item:hover { background:#ddc9b8; color:#d70104; }
.fs-account-subpage .fs-order-pagination .pagination__item::after { content:none; }
.fs-account-subpage .fs-order-pagination svg { width:14px; height:14px; }
@media(max-width:600px){.fs-account-subpage .fs-order-pagination{padding:16px;gap:12px;flex-wrap:wrap}.fs-account-subpage .fs-order-pagination .pagination__list{flex-wrap:wrap;justify-content:flex-start}}
/* Native voucher dividers also reserve horizontal space unless explicitly removed. */
body #MainContent .tab .tab__divider { display:none !important; }
.fs-account-subpage[data-account-screen=vouchers] .customer.account.main-wrapper .tab>.tablinks { flex:0 0 auto !important; width:max-content !important; min-width:0; max-width:none; justify-content:center; }
body #MainContent .tab .tablinks::before,
body #MainContent .tab .tablinks::after { content:none !important; display:none !important; }

/* Mobile-native Account subpages polish (strictly max-width: 749px; desktop 100% untouched). */
@media (max-width: 749px) {
  .fs-account-subpage {
    padding: 22px 16px 36px;
  }
  .fs-account-subpage .fs-account-page-heading {
    gap: 12px;
    margin-bottom: 16px;
  }
  /* Single-row swipeable subnav with end-to-end bottom hairline */
  .fs-account-subpage .fs-account-subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 16px;
    margin: 0 -16px 20px;
    padding: 0 16px 14px;
    gap: 8px;
    border-bottom: 1px solid #e4d8cc;
  }
  .fs-account-subpage .fs-account-subnav::-webkit-scrollbar {
    display: none;
  }
  .fs-account-subpage .fs-account-subnav a {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
  }
  /* Single-row swipeable order filter tabs */
  .fs-account-subpage .order-tab .fs-order-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px 16px;
    padding: 0 16px 4px;
  }
  .fs-account-subpage .order-tab .fs-order-filters::-webkit-scrollbar {
    display: none;
  }
  .fs-account-subpage .fs-profile-form-panel,
  .fs-account-subpage .fs-profile-address,
  .fs-account-subpage .fs-security-card,
  .fs-account-subpage .fs-authentication-card,
  .fs-account-subpage .fs-credit-balance,
  .fs-account-subpage .fs-credit-history,
  .fs-account-subpage .reward-empty {
    border-radius: 16px;
    border: 1px solid #e6dcd2;
    background: #fff;
  }
  .fs-account-subpage :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    font-size: 16px !important;
    min-height: 46px;
    border-radius: 8px;
  }
  .fs-account-subpage .fs-profile-form-panel .form-actions,
  .fs-account-subpage .fs-profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .fs-account-subpage .fs-profile-form-panel .form-actions :is(button, a) {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
  }
}
