/* Customer portal: Batix's indigo, parchment and brass, with a shared form and account rhythm. */
.account-shell { padding-block: 48px 88px; }
.account-layout { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.account-content { width: 100%; max-width: none; min-width: 0; overflow-wrap: anywhere; }
.account-nav { position: sticky; top: calc(var(--bt-sticky-top, 80px) + 24px); padding: 8px 0; border-block: 1px solid var(--line); }
.account-nav a { padding: 13px 14px; margin: 0; border: 0; border-left: 2px solid transparent; line-height: 1.5; }
.account-nav a.active { border-left-color: var(--brass); color: var(--indigo); background: var(--bt-box-bg, #e6e9e1); font-weight: 600; }
.account-nav a:hover { color: var(--indigo); text-decoration: underline; text-underline-offset: 4px; }
.account-nav a:last-child { margin-top: 12px; border-top: 1px solid var(--line); }
.account-title { margin-bottom: 28px; }
.account-title h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 12px; }
.account-title p { line-height: 1.8; max-width: 62ch; margin-bottom: 0; }
.account-title-actions { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 18px; }
.account-title-actions .button { flex-shrink: 0; }
.account-content h2 { font: 500 26px/1.25 var(--serif); letter-spacing: 0; margin-bottom: 14px; }
.account-content h3 { font: 600 15px/1.5 var(--sans); letter-spacing: 0; }
.account-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.account-stats div { background: transparent; padding: 22px 18px; border-right: 1px solid var(--line); }
.account-stats div:first-child { padding-left: 0; }
.account-stats div:last-child { border-right: 0; }
.account-stats strong { font-size: 42px; color: var(--indigo); }
.account-stats span { font-size: 12px; line-height: 1.5; }
.account-panel > section { padding-block: 24px; }
.account-panel .order-card { padding-block: 16px; border-bottom: 1px solid var(--line); }
.account-panel .order-card:last-of-type { margin-bottom: 16px; }
.order-status { display: inline-block; white-space: normal; background: var(--bt-box-bg, #e6e9e1); color: var(--indigo); line-height: 1.5; }
.order-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  line-height: 1.3;
  white-space: nowrap;
}
.order-status-badge.badge-payment--completed,
.order-status-badge.badge-payment--paid,
.order-status-badge.badge-shipment--completed,
.order-status-badge.badge-shipment--delivered,
.order-status-badge.badge-shipment--fulfilled {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}
.order-status-badge.badge-payment--pending,
.order-status-badge.badge-payment--unpaid,
.order-status-badge.badge-shipment--pending {
  background: #fef7e0;
  color: #b06000;
  border: 1px solid #feefc3;
}
.order-status-badge.badge-payment--failed,
.order-status-badge.badge-payment--rejected,
.order-status-badge.badge-shipment--cancelled,
.order-status-badge.badge-shipment--canceled,
.order-status-badge.badge-shipment--rejected {
  background: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}
.order-status-badge.badge-shipment--processing,
.order-status-badge.badge-shipment--shipped {
  background: #e8f0fe;
  color: #1a73e8;
  border: 1px solid #d2e3fc;
}
.order-status-badge.badge-method {
  background: var(--bt-box-bg, #e6e9e1);
  color: var(--indigo, #1c3038);
  border: 1px solid var(--line, #cad2c5);
}
.order-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 12px;
}
.order-status-strip__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.order-status-strip__label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #65726e);
}
.order-item-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.order-item-link:hover {
  color: var(--brass, #b08d57);
}
.customer-orders-table td {
  vertical-align: middle;
}
.order-card { grid-template-columns: minmax(0, 1fr) auto; }
.order-card h2 { font: 600 17px var(--sans); }
.account-shortcuts, .account-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.account-shortcuts { margin-top: 18px; }
.account-form-panel { border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); margin-block: 24px; scroll-margin-top: calc(var(--bt-sticky-top, 80px) + 20px); }
.account-panel-intro { margin: -2px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 64ch; }
.account-content .address-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-content .address-form label { display: grid; align-content: start; gap: 8px; font-size: 12px; color: var(--indigo); min-width: 0; }
.account-content .address-form .wide { grid-column: 1 / -1; }
.account-content input, .account-content select, .account-content textarea { min-width: 0; max-width: 100%; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: var(--bt-surface-bg, var(--paper)); color: var(--ink); font: 14px/1.5 var(--sans); }
.account-content input[readonly] { color: var(--muted); }
.account-content textarea { resize: vertical; min-height: 90px; }
.account-content .address-default-choice { display: flex; align-items: center; gap: 10px; line-height: 1.6; }
.account-content input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: var(--indigo); flex-shrink: 0; }
.account-content input[type="file"] { padding: 10px; font-size: 12px; }
.account-content input[type="file"]::file-selector-button { margin-right: 12px; border: 1px solid var(--line); background: transparent; padding: 7px 10px; font: inherit; color: var(--indigo); cursor: pointer; }
.account-content .button:disabled { opacity: .55; cursor: not-allowed; }
.account-content :is(input, select, textarea, button, a, [tabindex]):focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.account-content [hidden] { display: none !important; }
.account-form-actions { padding-top: 4px; }
.account-form-actions .button { justify-content: center; }
.account-content .text-link { font: 500 12px/1.6 var(--sans); padding: 0; background: transparent; border: 0; color: var(--indigo); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bt-address-grid, .bt-reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bt-address-card { border: 1px solid var(--line); padding: 22px; background: var(--bt-surface-bg, var(--paper)); min-width: 0; }
.bt-address-card.is-default { border-top: 3px solid var(--brass); padding-top: 20px; }
.address-card-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.address-card-heading h2, .address-card-heading h3 { margin: 0; font: 600 15px/1.5 var(--sans); }
.account-badge { display: inline-block; font-size: 10px; line-height: 1.5; padding: 4px 8px; color: var(--indigo); background: var(--bt-box-bg, #e6e9e1); }
.bt-address-card p { margin-block: 10px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.bt-address-card strong { color: var(--indigo); }
.address-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; }
.account-content .address-delete { color: #a3382d; }
.address-location-feedback { padding: 14px; border-left: 2px solid var(--brass); background: var(--bt-box-bg, #e6e9e1); font-size: 12px; line-height: 1.7; }
.address-location-feedback .text-link { margin-top: 6px; }
.account-empty { grid-column: 1 / -1; padding: 28px; background: var(--bt-box-bg, #e6e9e1); font-size: 14px; line-height: 1.8; color: var(--muted); }
.account-empty > .icon { width: 30px; height: 30px; color: var(--indigo); margin-bottom: 14px; }
.account-empty h2 { color: var(--indigo); }
.account-empty .text-link { margin-top: 12px; }
.bt-loyalty-summary { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; padding: 30px; background: var(--indigo); color: var(--paper); border-top: 3px solid var(--brass); }
.loyalty-tier { display: inline-block; font-size: 12px; padding-bottom: 14px; color: #dfc89a; }
.loyalty-balance { display: block; font: 500 clamp(54px, 7vw, 76px)/1 var(--serif); margin-bottom: 10px; }
.bt-loyalty-summary h2 { font: 500 14px var(--sans); color: inherit; margin-bottom: 16px; }
.bt-loyalty-summary p { font-size: 12px; line-height: 1.8; color: inherit; }
.loyalty-progress { border-left: 1px solid #65726e; padding-left: 26px; }
.loyalty-progress h3 { color: inherit; }
.loyalty-progress p { margin-top: 10px; }
.loyalty-progress .icon { color: #dfc89a; height: 36px; width: 36px; }
.loyalty-progress progress { display: block; width: 100%; height: 5px; margin-top: 18px; border: 0; border-radius: 0; background: #65726e; accent-color: var(--brass); }
.loyalty-progress progress::-webkit-progress-bar { background: #65726e; }
.loyalty-progress progress::-webkit-progress-value { background: var(--brass); }
.loyalty-progress progress::-moz-progress-bar { background: var(--brass); }
.loyalty-section { margin-top: 32px; }
.bt-reward-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); min-width: 0; }
.bt-reward-card > .icon { width: 26px; height: 26px; color: var(--indigo); margin-bottom: 18px; }
.bt-reward-card .reward-cost { color: #806333; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.bt-reward-card h3 { margin-bottom: 10px; }
.bt-reward-card > p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.bt-reward-card form { margin-top: auto; padding-top: 22px; }
.bt-reward-card .button { width: 100%; justify-content: center; padding-inline: 14px; }
.bt-voucher-card { border: 1px dashed var(--brass); padding: 20px; min-width: 0; }
.bt-voucher-card small, .bt-voucher-card > p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.account-copy-label { display: block; font-size: 12px; margin-bottom: 8px; }
.account-copy-row { display: flex; align-items: center; gap: 12px; }
.account-copy-row input { flex: 1; width: 0; min-width: 0; }
.account-copy-row button { flex-shrink: 0; }
.account-copy-status { min-height: 18px; font-size: 12px; margin-top: 8px; color: var(--muted); }
.loyalty-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); }
.loyalty-tiers > div { padding: 18px; border-right: 1px solid var(--line); }
.loyalty-tiers p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 6px; }
.account-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); }
.account-table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
.account-table th, .account-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.account-table th { font-weight: 500; background: var(--bt-box-bg, #e6e9e1); }
.account-table td:first-child { white-space: nowrap; color: var(--muted); }
.account-table td:last-child, .account-table th:last-child { text-align: right; }
.points-earned { color: #35634a; font-weight: 600; }
.points-spent { color: #a3382d; font-weight: 600; }
.order-items { padding: 0; list-style: none; }
.order-item { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; }
.order-download { grid-column: 1 / -1; }
.order-status-row { flex-wrap: wrap; }
.order-addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.order-addresses h3 { text-transform: none; letter-spacing: 0; }
.order-totals .grand { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 600; font-size: 17px; }
@media (max-width: 900px) {
  .account-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .bt-address-grid, .bt-reward-grid { grid-template-columns: minmax(0, 1fr); }
  .bt-loyalty-summary { padding: 24px; gap: 20px; }
}
@media (max-width: 700px) {
  .account-shell { padding-block: 24px 56px; }
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .account-nav { position: static; display: flex; overflow-x: auto; white-space: nowrap; padding: 0; gap: 0; scrollbar-width: thin; }
  .account-nav a { flex-shrink: 0; padding: 12px 14px; border: 0; border-bottom: 2px solid transparent; margin: 0; }
  .account-nav a.active { border-left: 0; border-bottom-color: var(--brass); }
  .account-nav a:last-child { margin: 0; border-top: 0; }
  .account-title { margin-bottom: 24px; }
  .account-stats { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
  .account-stats div { padding: 18px 12px; }
  .account-stats strong { font-size: 36px; }
  .account-loyalty { padding: 16px 14px; }
  .account-loyalty-body { flex-direction: column; align-items: flex-start; gap: 14px; }
  .account-loyalty-stats { width: 100%; justify-content: space-between; }
}
@media (max-width: 440px) {
  .account-content .address-form { grid-template-columns: minmax(0, 1fr); }
  .bt-loyalty-summary { grid-template-columns: minmax(0, 1fr); }
  .loyalty-progress { border-left: 0; border-top: 1px solid #65726e; padding: 20px 0 0; }
  .account-copy-row { flex-wrap: wrap; }
  .account-copy-row input { flex-basis: 100%; width: 100%; }
  .order-card { grid-template-columns: minmax(0, 1fr); }
  .order-status { justify-self: start; }
  .order-addresses { grid-template-columns: minmax(0, 1fr); }
  .account-table th, .account-table td { padding: 12px; }
}

.loyalty-history-heading,.loyalty-history-size,.loyalty-history-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.loyalty-history-heading{justify-content:space-between}
.loyalty-history-size{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;align-items:center;gap:8px;max-width:100%;margin:0;font-size:12px;color:var(--bt-muted)}
.loyalty-history-size label{margin:0;line-height:1.4}
.loyalty-history-size select{width:90px;min-width:90px;max-width:90px;height:36px;min-height:36px;margin:0;padding:6px 28px 6px 10px;border:1px solid var(--bt-line);border-radius:6px;background:var(--bt-paper);color:var(--bt-ink);font:inherit}
.loyalty-history-size .button{width:auto;min-width:0;height:36px;min-height:36px;margin:0;padding:0 12px;font:500 12px/1 var(--bt-body-font);letter-spacing:0;white-space:nowrap}
.loyalty-history-size .btn,.loyalty-history-pagination .btn{min-height:44px}
.loyalty-history-pagination{justify-content:flex-end;margin-top:20px;font-size:13px}
.loyalty-history-status{font-size:13px;color:var(--color-text-muted)}
.loyalty-history-status:empty{display:none}
[data-loyalty-history][aria-busy="true"] .account-table-wrap{opacity:.55}
[data-loyalty-history-heading]:focus-visible,.loyalty-history-size select:focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}

.current-tier-tag{display:inline-flex;align-items:center;gap:5px;margin:8px 0;padding:4px 8px;border:1px solid var(--bt-brass);font-size:12px}
.loyalty-tiers .is-current-tier{border-color:var(--bt-brass)}
#bt-referral-link + [data-account-copy]{margin-top:12px}

/* Customer-facing warehouse shipments. */
.order-multiwarehouse-notice{display:flex;align-items:flex-start;gap:14px;margin-top:20px;padding:18px;border:1px solid var(--bt-line,var(--line));border-top:3px solid var(--bt-brass,var(--brass));border-radius:2px;background:var(--bt-surface-bg,var(--paper));color:var(--bt-ink,var(--ink));box-shadow:none}
.order-multiwarehouse-notice__icon{display:inline-flex;flex:0 0 42px;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid var(--bt-line,var(--line));background:var(--bt-paper,var(--paper));color:var(--bt-indigo,var(--indigo))}
.order-multiwarehouse-notice__icon .icon{width:22px;height:22px}
.order-multiwarehouse-notice__body{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.order-multiwarehouse-notice__title{font:500 20px/1.3 var(--serif);color:var(--bt-indigo,var(--indigo))}
.order-addresses .order-multiwarehouse-notice p{max-width:54ch;margin:0 0 5px;font:400 13px/1.65 var(--sans);color:var(--bt-muted,var(--muted))}
.order-multiwarehouse-notice .text-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:3px;padding:9px 14px;border:1px solid var(--bt-indigo,var(--indigo));border-radius:0;background:transparent;color:var(--bt-indigo,var(--indigo));font:600 12px/1.5 var(--sans);text-decoration:none}
.order-multiwarehouse-notice .text-link:hover{background:var(--bt-indigo,var(--indigo));border-color:var(--bt-indigo,var(--indigo));color:var(--bt-paper,var(--paper))}
.order-multiwarehouse-notice .text-link:focus-visible{outline:2px solid var(--bt-brass,var(--brass));outline-offset:3px}
.order-shipments-dialog{width:min(780px,calc(100vw - 32px));max-height:88vh;max-height:min(88dvh,860px);margin:auto;padding:0;overflow:hidden;box-sizing:border-box;border:1px solid var(--bt-line,var(--line));border-radius:3px;background:var(--bt-paper,var(--paper));color:var(--bt-ink,var(--ink));box-shadow:0 28px 70px rgba(28,48,56,.22)}
.order-shipments-dialog::backdrop{background:rgba(28,48,56,.58);backdrop-filter:blur(3px)}
.order-shipments-sheet{display:flex;flex-direction:column;max-height:inherit;overflow:auto;box-sizing:border-box;padding:clamp(20px,3.5vw,32px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.order-shipments-dialog .dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px;min-width:0;margin:0 0 16px;padding-bottom:20px;border-bottom:1px solid var(--bt-line,var(--line))}
.order-shipments-heading{display:flex;flex:1 1 220px;flex-direction:column;gap:5px;min-width:0}
.order-shipments-reference{font:500 12px/1.5 var(--sans);color:var(--bt-muted,var(--muted))}
.order-shipments-dialog .dialog-heading h2{min-width:0;margin:0;overflow-wrap:anywhere;font:500 clamp(28px,4vw,36px)/1.15 var(--serif);letter-spacing:0;color:var(--bt-indigo,var(--indigo))}
.order-shipments-actions{display:flex;align-items:center;gap:8px}
.order-shipments-dialog .order-shipments-print{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid var(--bt-line,var(--line));border-radius:0;background:transparent;color:var(--bt-indigo,var(--indigo));font:600 12px/1.4 var(--sans);cursor:pointer}
.order-shipments-dialog .order-shipments-print:hover{border-color:var(--bt-indigo,var(--indigo));background:var(--bt-surface-bg,var(--paper))}
.order-shipments-dialog .order-shipments-print:focus-visible{outline:2px solid var(--bt-brass,var(--brass));outline-offset:3px}
.order-shipments-dialog .icon-button{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;box-sizing:border-box;padding:10px;border:1px solid var(--bt-line,var(--line));border-radius:0;background:transparent;color:var(--bt-indigo,var(--indigo));cursor:pointer}
.order-shipments-dialog .icon-button:hover{border-color:var(--bt-indigo,var(--indigo));background:var(--bt-surface-bg,var(--paper))}
.order-shipments-dialog .icon-button:focus-visible{outline:2px solid var(--bt-brass,var(--brass));outline-offset:3px}
.order-shipments-dialog .icon-button svg{width:20px;height:20px;flex:0 0 20px}
.order-shipments-dialog .order-shipments-description{max-width:66ch;margin:0 0 24px;font:400 13px/1.7 var(--sans);color:var(--bt-muted,var(--muted))}
.order-shipment-packages{display:grid;gap:18px}
.order-shipment-package{display:block;box-sizing:border-box;min-width:0;padding:22px;border:1px solid var(--bt-line,var(--line));border-radius:2px;background:var(--bt-surface-bg,var(--paper));color:var(--bt-ink,var(--ink));box-shadow:none}
.order-shipment-package__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.order-shipment-package__title{display:flex;flex-direction:column;gap:4px;min-width:0}
.order-shipment-package__count{font:400 12px/1.5 var(--sans);color:var(--bt-muted,var(--muted))}
.order-shipment-package h3{margin:0;font:500 24px/1.25 var(--serif);letter-spacing:0;color:var(--bt-indigo,var(--indigo))}
.order-shipment-package h4{margin:0 0 8px;font:600 13px/1.5 var(--sans);color:var(--bt-ink,var(--ink))}
.order-shipment-status{display:inline-flex;align-items:center;flex-shrink:0;padding:5px 9px;border:1px solid var(--bt-line,var(--line));border-radius:999px;background:var(--bt-paper,var(--paper));color:var(--bt-indigo,var(--indigo));font:600 11px/1.4 var(--sans)}
.order-shipment-status--delivered{border-color:#b8cdbd;background:#edf4ee;color:#315b40}
.order-shipment-status--cancelled,.order-shipment-status--failed,.order-shipment-status--problem{border-color:#dec2b9;background:#f8eeea;color:#8b4435}
.order-shipment-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;padding:16px 0;border-block:1px solid var(--bt-line,var(--line));font:400 13px/1.6 var(--sans)}
.order-shipment-meta>div{min-width:0}
.order-shipment-meta dt{margin-bottom:4px;color:var(--bt-muted,var(--muted));font-size:11px}
.order-shipment-meta dd{margin:0;overflow-wrap:anywhere;color:var(--bt-ink,var(--ink));font-weight:500}
.order-shipment-service{display:inline-block;margin-left:8px;padding-left:8px;border-left:1px solid var(--bt-line,var(--line))}
.shipment-tracking-number{font-weight:600;letter-spacing:.03em;font-variant-numeric:tabular-nums}
.order-shipment-muted{color:var(--bt-muted,var(--muted));font-weight:400}
.order-shipment-cod{margin:14px 0 0;padding-left:10px;border-left:2px solid var(--bt-brass,var(--brass));font:400 12px/1.6 var(--sans);color:var(--bt-muted,var(--muted))}
.order-shipment-items-block{margin-top:20px}
.order-shipment-items{list-style:none;padding:0;margin:0;font:400 13px/1.55 var(--sans)}
.order-shipment-items li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--bt-line,var(--line))}
.order-shipment-items li>span{min-width:0;overflow-wrap:anywhere}
.order-shipment-items small{display:block;margin-top:4px;color:var(--bt-muted,var(--muted))}
.order-shipment-items strong{white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
.order-shipment-totals{display:grid;gap:9px;width:min(100%,380px);box-sizing:border-box;margin:20px 0 0 auto;padding:16px;border:1px solid var(--bt-line,var(--line));background:var(--bt-paper,var(--paper));font:400 13px/1.5 var(--sans)}
.order-shipment-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.order-shipment-totals dt{color:var(--bt-muted,var(--muted));font-weight:400}
.order-shipment-totals dd{margin:0;color:var(--bt-ink,var(--ink));font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-shipment-totals .is-discount dd{color:var(--bt-indigo,var(--indigo))}
.order-shipment-totals .is-total{margin:5px -8px -8px;padding:12px 8px 8px;border-top:1px solid var(--bt-brass,var(--brass));font-size:16px;color:var(--bt-indigo,var(--indigo))}
.order-shipment-totals .is-total dt,.order-shipment-totals .is-total dd{color:var(--bt-indigo,var(--indigo));font-weight:700}
.sf-shipment-print-root{display:none}
@media(max-width:560px){.order-multiwarehouse-notice{gap:12px;padding:15px}.order-multiwarehouse-notice__icon{flex-basis:38px;width:38px;height:38px}.order-shipments-dialog{width:calc(100vw - 20px)}.order-shipments-sheet{padding:18px 16px 22px}.order-shipment-package{padding:16px}.order-shipment-package__head{flex-direction:column;gap:10px}.order-shipment-meta{grid-template-columns:minmax(0,1fr);gap:12px}.order-shipment-totals{width:100%}}
@media(max-width:420px){.order-shipments-actions{width:100%;justify-content:space-between}.order-shipments-dialog .order-shipments-print{flex:1}.order-multiwarehouse-notice__icon{display:none}}
@media print{body.sf-printing-shipments{margin:0!important;background:#fff!important}body.sf-printing-shipments>*:not(.sf-shipment-print-root){display:none!important}.sf-shipment-print-root{display:block!important;box-sizing:border-box;width:100%;padding:0;background:#fff!important;color:#000!important}.sf-shipment-print-root .order-shipments-sheet{display:block;max-height:none;overflow:visible;padding:0}.sf-shipment-print-root .order-shipments-description{display:none}.sf-shipment-print-root .order-shipment-packages{gap:16px}.sf-shipment-print-root .order-shipment-package{break-inside:avoid;page-break-inside:avoid;background:#fff!important;border-color:#aaa!important;box-shadow:none}.sf-shipment-print-root .order-shipment-totals{break-inside:avoid;page-break-inside:avoid;background:#fff!important}.sf-shipment-print-root .order-shipment-totals .is-total,.sf-shipment-print-root .order-shipment-totals .is-total dt,.sf-shipment-print-root .order-shipment-totals .is-total dd{color:#000!important}}

/* Batix order receipt: tabular amounts within the native parchment/indigo palette. */
.bt-order-items-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--bt-line,var(--line));background:var(--bt-paper,var(--paper));scrollbar-width:thin}
.bt-order-items-wrap:focus-visible{outline:2px solid var(--bt-brass,var(--brass));outline-offset:4px}
.bt-order-items-table{display:table;width:100%;min-width:640px;border-collapse:collapse;table-layout:fixed;font:400 13px/1.6 var(--sans);color:var(--bt-ink,var(--ink));text-align:left}
.bt-order-items-table .bt-order-product-col{width:46%}
.bt-order-items-table col:nth-child(2){width:12%}
.bt-order-items-table col:nth-child(3),.bt-order-items-table col:nth-child(4){width:21%}
.bt-order-items-table th,.bt-order-items-table td{padding:18px 16px;vertical-align:top;border-bottom:1px solid var(--bt-line,var(--line))}
.bt-order-items-table thead th{background:var(--bt-box-bg,#e6e9e1);color:var(--bt-ink,var(--ink));font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap}
.bt-order-items-table tbody tr:last-child td{border-bottom:0}
.bt-order-items-table .bt-order-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.bt-order-line-total{font-weight:600}
.bt-order-product{display:flex;align-items:flex-start;gap:12px;min-width:0}
.bt-order-product>img{flex:0 0 56px;width:56px;height:70px;object-fit:cover}
.bt-order-product-info{flex:1;min-width:0;overflow-wrap:anywhere}
.bt-order-product-info>strong,.bt-order-product-info>.order-item-link{font-size:14px;line-height:1.5;color:var(--bt-ink,var(--ink))}
.bt-order-product-meta,.bt-order-product-sku{display:block;font-size:12px;color:var(--bt-muted,var(--muted));margin-top:6px}
.bt-order-product-meta span{display:block}
.bt-order-item-actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;margin-top:12px}
.bt-order-item-actions:empty{display:none}
.bt-order-items-table form{margin:0;max-width:100%}
.bt-order-items-table .button{padding:7px 10px;font-size:12px;line-height:1.5;min-height:36px;max-width:100%;white-space:normal;text-align:left}
.bt-order-bundle{margin-top:14px;padding-top:12px;border-top:1px solid var(--bt-line,var(--line));font-size:12px}
.bt-order-bundle-label{font-weight:600}
.bt-order-bundle ul{list-style:none;padding:0;margin:6px 0 0}
.bt-order-bundle li{padding:6px 0}
.bt-order-bundle small{display:block;color:var(--bt-muted,var(--muted));margin-top:3px}
.bt-order-bundle form{margin-top:6px}
.bt-order-items-table .order-items-empty{padding:24px 16px;white-space:normal;color:var(--bt-muted,var(--muted));text-align:center}
.bt-order-items-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:540px){.bt-order-items-table th,.bt-order-items-table td{padding:14px 12px}}
