html { font-size: 16px; }
body { min-height: 100vh; margin: 0; }
.store-shell { min-height: 100vh; display: flex; flex-direction: column; }
.store-header { width: 100%; }
.store-header-inner {
  width: min(100% - 2rem, 1120px);
  min-height: 90px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.store-logo img { display: block; max-width: 250px; height: auto; }
.store-nav { display: flex; align-items: center; gap: 1.5rem; }
.store-nav a { text-decoration: none; font-weight: 700; }
.store-nav a:focus-visible, .store-button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
/* Language switcher: header dropdown button (default) or inline list. */
.store-language ul { list-style: none; margin: 0; padding: 0; }
.store-language-inline ul { display: flex; gap: 1rem; }
.store-language-inline a, .store-language-menu a { text-decoration: none; }
.store-language a[aria-current='true'] { font-weight: 700; }
.store-language-dropdown { position: relative; }
.store-language-button {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 44px; padding: 0.35rem 0.75rem;
  border: 1px solid currentColor; border-radius: 4px;
  cursor: pointer; font-weight: 700; list-style: none; user-select: none;
}
.store-language-button::-webkit-details-marker { display: none; }
.store-language-button::after { content: '\25BE'; font-size: 0.8em; }
.store-language-button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.store-language-button [class^='flag-']::before { margin-right: 0; }
.store-language-menu {
  position: absolute; right: 0; top: calc(100% + 0.25rem); z-index: 1000;
  min-width: 10rem; padding: 0.35rem 0 !important;
  background: #fff; color: #111; border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.store-language-menu a { display: block; padding: 0.5rem 1rem; color: inherit; }
.store-language-menu a:hover, .store-language-menu a:focus-visible { background: rgba(0, 0, 0, 0.06); }
.store-main { flex: 1 0 auto; }
/* Site shell shared with the IdentityServer (SSO) pages (identity-brand.css, .site-header): white page,
   full-width white header with a bottom border, logo and links on the left, language codes on the
   right. "html body[class] .store-shell" outranks the brand stylesheets (e.g. body.brand-ikea .store-nav a),
   which are loaded after this file; --bo-accent and --bo-font are the brand identity theme (body style). */
html body[class] { background: #fff; }
html body[class] .store-shell .store-header { display: block; width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0; gap: 0; background: #fff; border-bottom: 1px solid #e6e9ed; }
html body[class] .store-shell .store-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 18px; width: min(100% - 40px, 1440px); min-height: 76px; margin: 0 auto; padding: 12px 0; font-family: var(--bo-font); font-synthesis: none; text-rendering: optimizeLegibility; }
html body[class] .store-shell .store-logo { flex: none; margin: 0; }
html body[class] .store-shell .store-logo img { display: block; width: auto; height: auto; max-width: 250px; max-height: 50px; object-fit: contain; }
html body[class] .store-shell .store-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; padding: 0; }
html body[class] .store-shell .store-nav a { color: var(--bo-accent, #174a7e); font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
html body[class] .store-shell .store-nav a:hover, html body[class] .store-shell .store-nav a:focus-visible { color: var(--bo-accent, #174a7e); text-decoration: underline; }
html body[class] .store-shell .store-language { margin: 0 0 0 auto; padding-left: 18px; }
html body[class] .store-shell .store-language-inline ul { display: flex; gap: 10px; }
html body[class] .store-shell .store-language-inline a { color: #536171; font-size: .8rem; font-weight: 650; text-decoration: none; }
html body[class] .store-shell .store-language-inline a[aria-current='true'] { color: var(--bo-accent, #174a7e); text-decoration: underline; }
/* Language flags (ShowFlags), drawn here so every brand and the SSO show the same ones. */
html body[class] .store-shell .store-language-inline ul { gap: 14px; }
html body[class] .store-shell .store-language-inline a[class^='flag-'] { display: inline-flex; align-items: center; gap: 6px; }
html body[class] .store-shell .store-language [class^='flag-']::before { content: ''; display: inline-block; width: 27px; height: 18px; margin: 0; border-radius: 2px; background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); vertical-align: middle; }
html body[class] .store-shell .store-language .flag-it::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23009246' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23ce2b37' d='M2 0h1v2H2z'/%3E%3C/svg%3E"); }
html body[class] .store-shell .store-language .flag-en::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23t)' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23c8102e' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
html body[class] .store-shell .store-language .flag-fr::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%230055a4' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23ef4135' d='M2 0h1v2H2z'/%3E%3C/svg%3E"); }
html body[class] .store-shell .store-language .flag-de::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Cpath d='M0 0h5v1H0z'/%3E%3Cpath fill='%23dd0000' d='M0 1h5v1H0z'/%3E%3Cpath fill='%23ffce00' d='M0 2h5v1H0z'/%3E%3C/svg%3E"); }
/* Every page: same top spacing below the header and the same card panels as the SSO and back office
   pages (.admin-panel), instead of the brand panels (e.g. body.brand-ikea .store-panel, grey square border). */
html body[class] .store-shell .store-page { width: min(100% - 40px, 1440px); margin-inline: auto; padding-top: clamp(28px, 5vh, 56px); }
/* Buttons: same as the SSO (.button, .button.secondary) and the back office (.bo-button). */
html body[class] .store-shell :is(.store-button, .store-page .btn-primary) { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 20px; border: 0; border-radius: 8px; background: var(--bo-accent, #174a7e); color: #fff; font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; }
html body[class] .store-shell :is(.store-button, .store-page .btn-primary):is(:hover, :focus-visible) { background: var(--bo-accent, #174a7e); color: #fff; filter: brightness(.92); }
html body[class] .store-shell :is(.store-button.btn-outline-primary, .store-button.btn-outline-secondary, .store-button.store-button-secondary, .store-page .btn-outline-primary, .store-page .btn-outline-secondary),
html body[class] .store-shell :is(.store-button.btn-outline-primary, .store-button.btn-outline-secondary, .store-button.store-button-secondary, .store-page .btn-outline-primary, .store-page .btn-outline-secondary):is(:hover, :focus-visible) { background: #fff; border: 1px solid #cbd3dc; color: #273444; }
html body[class] .store-shell :is(.store-button, .store-page .btn-primary):focus-visible { outline: 3px solid color-mix(in srgb, var(--bo-accent, #174a7e), transparent 70%); outline-offset: 2px; }
html body[class] .store-shell :is(.store-button, .store-page .btn-primary):disabled { filter: none; opacity: .6; cursor: not-allowed; }
html body[class] .store-shell .store-page .account-small-button { min-height: 34px; padding: 6px 12px; font-size: .82rem; }
html body[class] .store-shell .store-panel:not(.alert) { padding: 24px; background: #fff; border: 1px solid #e1e6eb; border-radius: 12px; box-shadow: 0 8px 24px #16263808; }
/* Every other box (brand catalog, order and steps boxes, summary, buyer area, tables) gets the same
   rounded card; each brand keeps its own padding and inner layout. */
html body[class] .store-shell :is(.store-catalog, .store-steps, .store-checkout, .store-summary, .account-box, .account-table-wrap) { background: #fff; border: 1px solid #e1e6eb; border-radius: 12px; box-shadow: 0 8px 24px #16263808; }
html body[class] .store-shell :is(.store-steps, .account-table-wrap) { overflow: hidden; }
/* The brand steps lists had no inner padding (they were not boxed): same padding as the other cards. */
html body[class] .store-shell .store-steps { padding: 24px; }
@media (max-width: 560px) { html body[class] .store-shell .store-steps { padding: 18px; } }
html body[class] .store-shell .account-table-wrap { overflow-x: auto; }
html body[class] .store-shell .account-table { border-style: hidden; }
html body[class] .store-shell .account-totals { border: 0; border-top: 1px solid #ddd; }
html body[class] .store-shell .alert { border-radius: 12px; }
/* The catalog section only holds the title and the catalog card: no second box around it. */
html body[class] .store-shell .store-order { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
/* Form fields: same look as the SSO fields (.field input): light border, rounded corners. The
   background colour only, so brand select arrows (background image) stay. */
html body[class] .store-shell .store-page :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='range']), select, textarea) { min-height: 42px; border: 1px solid #cbd3dc; border-radius: 8px; background-color: #fff; color: #18212b; }
html body[class] .store-shell .store-page :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='range']), select, textarea):focus { border-color: var(--bo-accent, #174a7e); outline: 3px solid color-mix(in srgb, var(--bo-accent, #174a7e), transparent 84%); outline-offset: 0; box-shadow: none; }
@media (max-width: 560px) {
  html body[class] .store-shell .store-page { width: calc(100% - 24px); padding-top: 22px; }
  html body[class] .store-shell .store-header-inner { width: calc(100% - 24px); }
  html body[class] .store-shell .store-panel:not(.alert) { padding: 18px; }
}
@media (max-width: 480px) {
  html body[class] .store-shell .store-header-inner { min-height: 64px; }
  html body[class] .store-shell .store-language { padding-left: 8px; }
  html body[class] .store-shell .store-language-inline ul { gap: 7px; }
}
.store-page {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  padding-block: 2rem 4rem;
}
.store-page__header { margin-bottom: 1.5rem; }
.store-page__eyebrow { margin-bottom: 0.35rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.store-intro { margin-bottom: 2rem; }
.store-intro h1 { margin-bottom: 1rem; }
.store-subtitle { max-width: 950px; margin-bottom: 0; }
.store-steps { list-style: none; padding: 0; }
.store-step strong, .store-step span { display: block; }
.store-order > h2 { margin-bottom: 1rem; }
.store-product-visual { min-width: 0; }
.store-product-image { max-width: 100%; height: auto; }
.store-form { display: grid; gap: 0.7rem; }
.store-country-form { margin-bottom: 1.5rem; }
.store-form label { margin-bottom: 0; }
.store-form .form-control, .store-form .form-select { max-width: 100%; }
.store-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.8rem 0;
  font-size: 1.1rem;
}
.store-total strong { font-size: 1.25rem; }
.store-help { margin: 1rem 0; }
.store-information { margin-top: 2.5rem; }
.store-information h2 { font-size: 1.3rem; }
.store-button { cursor: pointer; }
.store-panel { margin-block: 1.2rem; }
.store-summary { overflow-x: auto; }
.store-summary table { min-width: 540px; }
.store-page form.store-form { margin-block: 1.5rem; }
.store-page .store-button { justify-self: start; }
.store-footer { margin-top: auto; }
.store-footer-inner {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem;
}
.store-footer-inner p { margin: 0.5rem 0 0; }
.store-footer-note { align-self: end; }
@media (max-width: 700px) {
  .store-header-inner { min-height: 70px; flex-wrap: wrap; gap: 1rem; padding-block: 0.9rem; }
  .store-nav { width: 100%; flex-wrap: wrap; }
  .store-footer-inner { display: block; }
  .store-footer-note { margin-top: 1.5rem !important; }
  .store-summary table { min-width: 480px; }
}

/* Back office */
.store-page--backoffice .store-panel { overflow: visible; }
/* Order list styled like the IdentityServer user back office (/Admin/Users). */
.store-page--backoffice { --bo-accent: var(--brand-primary, #174a7e); color: #263342; }
/* Same width as the IdentityServer admin pages (.page-shell-admin): the order table has many columns.
   "html body" outranks the brand stylesheets (e.g. body.brand-ikea .store-page, 1000px), loaded after this file. */
html body .store-page.store-page--backoffice { width: min(100% - 40px, 1440px); padding-top: clamp(28px, 5vh, 56px); }
@media (max-width: 560px) { html body .store-page.store-page--backoffice { width: calc(100% - 24px); padding-top: 22px; } }
.bo-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
html body .store-page--backoffice .bo-heading h1 { margin: 0; color: #263342; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.16; }
.bo-heading__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.bo-eyebrow { margin: 0 0 7px; color: var(--bo-accent); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bo-count { padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid #e1e6eb; color: #4c5968; font-size: .86rem; font-weight: 650; white-space: nowrap; }
html body .store-page.store-page--backoffice .bo-search { padding: 18px; background: #fff; border: 1px solid #e1e6eb; border-radius: 12px; box-shadow: 0 8px 24px #16263808; }
.store-page--backoffice .bo-search .form-label { color: #455365; font-size: .81rem; font-weight: 700; }
.store-page--backoffice .bo-search .form-control { min-height: 42px; border-color: #cbd3dc; border-radius: 7px; }
/* Same look as the IdentityServer user back office (identity-brand.css, .admin-*): page background,
   panels, headings and buttons. "html body" outranks the brand stylesheets loaded after this file;
   --bo-accent and --bo-font come from the brand identity theme (style attribute of the page). */
html body .store-page.store-page--backoffice { font-family: var(--bo-font); color: #263342; }
html body .store-page.store-page--backoffice h2 { margin: 0 0 20px; color: #263342; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.bo-intro { margin: 10px 0 0; color: #647181; line-height: 1.5; }
html body[class] .store-shell .bo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 20px; border: 0; border-radius: 8px; background: var(--bo-accent); color: #fff; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
html body[class] .store-shell .bo-button:hover, html body[class] .store-shell .bo-button:focus-visible { color: #fff; filter: brightness(.92); }
html body[class] .store-shell .bo-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--bo-accent), transparent 70%); outline-offset: 2px; }
html body[class] .store-shell .bo-button--secondary, html body[class] .store-shell .bo-button--secondary:hover, html body[class] .store-shell .bo-button--secondary:focus-visible { background: #fff; border: 1px solid #cbd3dc; color: #273444; }
html body[class] .store-shell .bo-button--warning, html body[class] .store-shell .bo-button--warning:hover, html body[class] .store-shell .bo-button--warning:focus-visible { background: #f4c400; color: #1f2933; }
html body[class] .store-shell .bo-button--compact { min-height: 38px; padding: 8px 14px; font-size: .86rem; }
html body[class] .store-shell .bo-button--small { min-height: 34px; padding: 6px 12px; font-size: .82rem; }
.bo-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid #e1e6eb; border-radius: 12px; box-shadow: 0 8px 24px #16263808; }
.bo-table { width: 100%; min-width: 880px; margin: 0; border-collapse: collapse; text-align: left; font-size: .9rem; }
.bo-table th, .bo-table td { padding: 14px 16px; border-bottom: 1px solid #edf0f3; vertical-align: middle; }
.bo-table th { background: #f7f9fb; color: #485667; font-size: .76rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.bo-table tbody tr:last-child td { border-bottom: 0; }
.bo-table tbody tr:hover { background: #fbfcfd; }
/* Order list: fixed columns that fit the page, so there are no scroll bars; long values end with "..."
   and the title attribute shows them in full on hover. Narrow screens keep the horizontal scroll. */
.bo-table--list { table-layout: fixed; }
.bo-table--list td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Column titles are always shown in full: they wrap instead of ending with "...". */
.bo-table--list th { white-space: normal; overflow-wrap: normal; }
.bo-table--list :is(.bo-person, .bo-email) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-table--list .bo-badge { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
/* Actions stay on one line, as before: "Apri" followed by the buttons. */
.bo-table--list td.bo-actions { overflow: visible; }
.bo-col-code { width: 13%; }
.bo-col-date { width: 8%; }
.bo-col-send { width: 11%; }
.bo-col-person { width: 13.5%; }
.bo-col-amount { width: 7.5%; }
.bo-col-status { width: 9.5%; }
.bo-col-actions { width: 13%; }
@media (min-width: 992px) {
  .bo-table-wrap { overflow: hidden; }
  .bo-table { min-width: 0; }
}
.bo-email { display: block; color: var(--bo-accent); overflow-wrap: anywhere; }
.bo-email-value { display: block; overflow-wrap: anywhere; font-size: 0.9rem; }
html body[class] .store-shell .bo-action-link { display: inline-block; margin-right: .5rem; color: var(--bo-accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
html body[class] .store-shell .bo-action-link:hover { text-decoration: underline; }
.bo-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.bo-badge--ok { background: #eaf5ed; color: #28663b; }
.bo-badge--warn { background: #fff7e0; color: #7a4b00; }
.bo-badge--danger { background: #fdecec; color: #8a1c1c; }
.bo-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: center; margin: 22px 0; color: #596777; font-size: .9rem; }
html body[class] .store-shell .bo-pager a { color: var(--bo-accent); font-weight: 700; text-decoration: none; }
html body[class] .store-shell .bo-pager a:hover { text-decoration: underline; }
.bo-search__form .form-label { margin-bottom: 6px; }
.bo-search__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.bo-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.bo-person { display: block; font-weight: 600; }
.bo-muted { color: #5b6470; font-size: 0.9rem; }
.bo-actions { white-space: nowrap; }
.bo-actions form { display: inline-block; margin: 0 0.25rem 0.25rem 0; }
.bo-check { display: inline-block; margin-left: 0.5rem; color: #14532d; font-weight: 700; }
.bo-dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0; }
.bo-dl dt { font-weight: 600; color: #3a4350; }
.bo-dl dd { margin: 0; overflow-wrap: anywhere; }
.bo-dl--wide { grid-template-columns: max-content 1fr; }
.bo-dl--totals { margin-top: 1rem; justify-content: end; grid-template-columns: max-content max-content; }
.bo-card h2 { font-size: 1.1rem; }
.bo-actions-panel { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.bo-actions-panel form { margin: 0; }
.bo-summary { margin-bottom: 0.75rem; }
@media (max-width: 700px) {
  .bo-dl { grid-template-columns: 1fr; }
  .bo-dl dt { margin-top: 0.5rem; }
  .bo-search__actions .bo-button { width: 100%; }
  .bo-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .bo-pager { gap: 12px; font-size: .82rem; }
}

/* Buyer area: order archive and order details, laid out like the legacy storefront. Colors come from
   the brand stylesheet when it defines them (--store-accent, --store-button, --store-border). */
.store-page--account { --account-accent: var(--bo-accent, var(--store-accent, #005caa)); --account-border: var(--store-border, #ccc); }
html body .store-page.store-page--account h2.account-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: #171717; font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.account-step__number { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--account-accent); color: #fff; font-size: .8rem; font-weight: 700; }
.account-order__status { margin: -.25rem 0 1.25rem; font-size: .95rem; }
.account-muted { color: #5b6470; }
.account-box { margin-bottom: 22px; padding: 6px 18px; border: 1px solid var(--account-border); background: #fff; }
.account-section { padding: 18px 0; border-bottom: 1px solid #e5e5e5; }
.account-section:last-child { border-bottom: 0; }
.account-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.account-field { min-width: 0; }
.account-field__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.account-field__value { display: block; font-size: 14px; overflow-wrap: anywhere; }
.account-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.account-change-email { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; margin-top: 14px; }
.account-change-email .account-field { flex: 1 1 260px; max-width: 420px; }
.account-change-email__buttons { display: flex; align-items: center; gap: 8px; }
.account-change-email[hidden], .account-field[hidden], .account-actions [hidden] { display: none !important; }
.account-dedication { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.account-sending { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 36px; }
.account-resend { margin: 0; }
.account-table-wrap { width: 100%; overflow-x: auto; margin-bottom: 22px; }
.account-table { width: 100%; border: 1px solid #ddd; border-collapse: collapse; }
.account-table th, .account-table td { padding: 14px; border: 1px solid #ddd; font-size: 13px; text-align: left; vertical-align: middle; white-space: nowrap; }
.account-table th { color: #171717; font-size: 12px; font-weight: 700; text-transform: uppercase; background: #fff; }
.account-table tbody tr { background: #f5f5f5; }
html body[class] .store-shell .account-table a { color: var(--account-accent); text-decoration: none; }
html body[class] .store-shell .account-table a:hover { text-decoration: underline; }
/* Order archive table: same look as the back office tables (orders and users). */
.account-list-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 22px; background: #fff; border: 1px solid #e1e6eb; border-radius: 12px; box-shadow: 0 8px 24px #16263808; }
.account-list { width: 100%; margin: 0; border-collapse: collapse; text-align: left; font-size: .9rem; color: #263342; }
.account-list th, .account-list td { padding: 14px 16px; border-bottom: 1px solid #edf0f3; vertical-align: middle; white-space: nowrap; }
.account-list th { background: #f7f9fb; color: #485667; font-size: .76rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.account-list tbody tr:last-child td { border-bottom: 0; }
.account-list tbody tr:hover { background: #fbfcfd; }
html body[class] .store-shell .account-list a { color: var(--account-accent); font-weight: 700; text-decoration: none; }
html body[class] .store-shell .account-list a:hover { text-decoration: underline; }
.account-status { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.account-status--ok { background: #eaf5ed; color: #28663b; }
.account-status--wait { background: #fff7e0; color: #7a4b00; }
.account-status--off { background: #f2f3f5; color: #687382; }
.account-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.account-chevron { width: 1%; text-align: center !important; }
html body[class] .store-shell .account-chevron a { display: inline-block; padding: 0 6px; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.account-totals { margin: 0; padding: 14px; border: 1px solid #ddd; border-top: 0; text-align: center; font-size: 13px; }
.account-totals div { display: flex; justify-content: center; gap: 6px; padding: 2px 0; }
.account-totals dt { font-weight: 400; }
.account-totals dt::after { content: ":"; }
.account-totals dd { margin: 0; font-weight: 700; }
.account-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin: 0 0 22px; font-size: .9rem; }
html body[class] .store-shell .account-pager a { color: var(--account-accent); font-weight: 700; text-decoration: none; }
html body[class] .store-shell .account-pager a:hover { text-decoration: underline; }
.account-empty, .account-note { font-size: .95rem; }
.account-footer-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.account-logout { margin-top: 1.5rem; }
.account-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.account-giftcard__greeting { margin: 0 0 1.25rem; font-size: 14px; }
.account-giftcard__delivery { padding: 16px 18px; }
.account-giftcard__delivery p { margin: 0 0 10px; font-size: 14px; }
@media (max-width: 700px) {
  .account-box { padding: 4px 14px; }
  .account-fields { grid-template-columns: 1fr; }
  .account-actions { justify-content: flex-start; }
}

/* Legal footer and checkout consents (always active for every brand). */
.store-footer-links { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.store-footer-note { text-align: right; }
.store-footer-provider { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; }
.store-footer-provider img { height: 34px; width: auto; }
.store-footer-company { font-size: 0.8rem; opacity: 0.85; }
.store-privacy-notice { border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.92rem; }
.store-privacy-notice summary { cursor: pointer; font-weight: 600; }
.store-privacy-notice p { margin-top: 0.6rem; }
.store-consents { font-size: 0.92rem; }
@media (max-width: 700px) {
  .store-footer-note { text-align: left; }
  .store-footer-provider { justify-content: flex-start; }
}

/* Wallet passes: badges in the gift card page (account) and in the landing page of the email link. */
.account-wallet { padding: 16px 18px; }
.account-wallet__heading { margin: 0 0 6px; font-size: 1.1rem; }
.account-wallet__list { margin: 0; padding: 0; list-style: none; }
.account-wallet__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--account-border); }
.account-wallet__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.account-wallet__badge-image { display: block; height: 40px; width: auto; }
.wallet-card__facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 1rem; }
.wallet-card__facts dt { font-weight: 600; }
.wallet-card__facts dd { margin: 0; }
.wallet-card__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1rem; }
.wallet-card__badge-image { display: block; height: 48px; width: auto; }
