/* Wfarhali 8.3 — world-class customer surface refresh.
   Loaded last on purpose: one coherent brand layer over legacy releases. */
:root {
  --wf83-purple-950: #2d0b4e;
  --wf83-purple-900: #3f126d;
  --wf83-purple-800: #53169a;
  --wf83-purple-700: #6522c7;
  --wf83-violet: #7c3aed;
  --wf83-fuchsia: #c026d3;
  --wf83-ink: #24142f;
  --wf83-muted: #746c7d;
  --wf83-line: #e9e4ee;
  --wf83-canvas: #f7f7fb;
  --wf83-card: rgba(255, 255, 255, .96);
  --wf83-shadow-sm: 0 10px 28px rgba(42, 17, 66, .07);
  --wf83-shadow-md: 0 20px 52px rgba(46, 18, 74, .11);
  --wf83-radius: 22px;
}

body:not(.premium-admin) {
  color: var(--wf83-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:not(.premium-admin) :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(124, 58, 237, .24) !important;
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* One purple wordmark and one premium header on every customer-facing page. */
/* -------------------------------------------------------------------------- */
body:not(.premium-admin) .wf-global-header {
  position: sticky !important;
  inset: 0 0 auto !important;
  z-index: 900 !important;
  height: 82px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(66, 24, 103, .08) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 12px 36px rgba(42, 17, 66, .065) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
}

body:not(.premium-admin) .wf-global-header-inner {
  width: min(1280px, calc(100% - 48px)) !important;
  height: 100% !important;
  grid-template-columns: 210px minmax(0, 1fr) auto !important;
  gap: clamp(20px, 3.2vw, 48px) !important;
}

body:not(.premium-admin) .wf-global-brand {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
}

body:not(.premium-admin) .wf-global-brand img,
body:not(.premium-admin) .wf-home-brand img,
body:not(.premium-admin) .wf-order-brand img,
body:not(.premium-admin) .wf-dash-brand img,
body:not(.premium-admin) .wf-auth-mobile-logo img,
body:not(.premium-admin) .wf-customer-auth-simple-brand img {
  content: url('/static/images/brand/wfarhali-violet.png');
  display: block !important;
  width: 192px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 60px !important;
  object-fit: contain !important;
}

body:not(.premium-admin) .wf-global-nav {
  gap: clamp(17px, 2vw, 30px) !important;
}

body:not(.premium-admin) .wf-global-nav a {
  color: #554b5b !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: -.01em;
}

body:not(.premium-admin) .wf-global-nav a:hover,
body:not(.premium-admin) .wf-global-nav a.is-active {
  color: var(--wf83-purple-700) !important;
}

body:not(.premium-admin) .wf-global-nav a::after {
  height: 2px !important;
  bottom: 1px !important;
  background: linear-gradient(90deg, var(--wf83-violet), var(--wf83-fuchsia)) !important;
}

body:not(.premium-admin) .wf-global-icon-link,
body:not(.premium-admin) .wf-global-account {
  border-color: #ebe5f0 !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 8px 24px rgba(44, 18, 68, .055) !important;
}

body:not(.premium-admin) .wf-global-account {
  min-height: 50px !important;
  border-radius: 16px !important;
  padding-right: 14px !important;
}

body:not(.premium-admin) .wf-global-account-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, var(--wf83-violet), var(--wf83-purple-900)) !important;
}

body:not(.premium-admin) .wf-global-mobile-title img {
  content: url('/static/images/brand/wfarhali-violet.png');
  width: 154px !important;
  height: auto !important;
}

body:not(.premium-admin) .wf-customer-auth-simple-brand img {
  width: 178px !important;
  max-height: 58px !important;
}

/* -------------------------------------------------------------------------- */
/* International stores — editorial spacing with high-end commerce rows. */
/* -------------------------------------------------------------------------- */
.wf-luxury-home .wf-stores {
  position: relative !important;
  padding: clamp(66px, 8vw, 104px) 0 !important;
  overflow: hidden;
  border-block: 1px solid #eeebf2;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5fa 100%) !important;
}

.wf-luxury-home .wf-stores-shell {
  width: min(1120px, calc(100% - 40px)) !important;
  margin-inline: auto;
}

.wf-luxury-home .wf-stores .wf-section-heading {
  max-width: 760px !important;
}

.wf-luxury-home .wf-stores .wf-eyebrow {
  color: #876d93 !important;
  font-size: 11px !important;
  letter-spacing: .13em !important;
}

.wf-luxury-home .wf-stores .wf-section-heading h2 {
  margin-top: 12px !important;
  color: var(--wf83-purple-950) !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  line-height: 1.08 !important;
  letter-spacing: -1.8px !important;
}

.wf-luxury-home .wf-stores .wf-section-heading p {
  max-width: 720px;
  margin: 17px auto 0 !important;
  color: #6f6876 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

.wf-luxury-home .wf-store-row.wf-store-stack {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 13px !important;
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  margin: 38px auto 0 !important;
}

.wf-luxury-home .wf-store-card {
  position: relative;
  min-width: 0 !important;
  min-height: 84px !important;
  height: auto !important;
  padding: 13px 16px 13px 20px !important;
  display: grid !important;
  grid-template-columns: 172px minmax(0, 1fr) 48px !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(82, 56, 96, .12) !important;
  border-radius: 18px !important;
  color: var(--wf83-ink) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 13px 32px rgba(40, 18, 61, .08) !important;
  text-align: left;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

.wf-luxury-home .wf-store-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #171717;
}

.wf-luxury-home .wf-store-card.wf-temu::before { background: #ff6b1b; }
.wf-luxury-home .wf-store-card.wf-ali::before { background: linear-gradient(#ff8b25, #e74343); }

.wf-luxury-home .wf-store-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(105, 45, 181, .28) !important;
  box-shadow: 0 20px 44px rgba(54, 20, 82, .13) !important;
}

.wf-luxury-home .wf-store-wordmark {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: #111;
  font: 900 28px/1 Inter, Arial, sans-serif;
  letter-spacing: .14em;
  white-space: nowrap;
}

.wf-luxury-home .wf-temu .wf-store-wordmark {
  width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: #ff6b1b;
  font-size: 22px;
  letter-spacing: .04em;
}

.wf-luxury-home .wf-ali .wf-store-wordmark {
  color: #e34e35;
  font-size: 23px;
  letter-spacing: -.06em;
}

.wf-luxury-home .wf-store-copy {
  min-width: 0;
  display: block;
}

.wf-luxury-home .wf-store-copy b,
.wf-luxury-home .wf-store-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-luxury-home .wf-store-copy b {
  color: #2e2434;
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -.02em;
}

.wf-luxury-home .wf-store-copy small {
  margin-top: 6px;
  color: #8a828f;
  font-size: 11px;
  font-weight: 550;
}

.wf-luxury-home .wf-store-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid #e9e3ee;
  border-radius: 13px;
  color: var(--wf83-purple-700);
  background: #faf8fd;
  font-size: 18px;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.wf-luxury-home .wf-store-card:hover .wf-store-arrow {
  transform: translate(2px, -2px);
  color: #fff;
  background: linear-gradient(145deg, var(--wf83-violet), var(--wf83-purple-900));
}

.wf-luxury-home .wf-stores-note {
  max-width: 760px !important;
  margin: 18px auto 0 !important;
  color: #8a8390 !important;
  text-align: center;
  font-size: 10px !important;
  line-height: 1.55;
}

.wf-luxury-home .wf-stores-note span {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #23a86b;
  font-size: 9px;
}

/* -------------------------------------------------------------------------- */
/* Client orders — calm dashboard canvas, vivid state cards, clear progress. */
/* -------------------------------------------------------------------------- */
.wf-dashboard-mode,
.wf-dashboard-mode main {
  background: var(--wf83-canvas) !important;
}

.wf-dashboard-mode .wf-client-shell {
  width: min(1440px, 100%) !important;
  max-width: 1440px !important;
  padding: 34px clamp(20px, 3vw, 44px) 54px !important;
  gap: 30px !important;
}

.wf-dashboard-mode .wf-client-sidebar {
  padding: 14px !important;
  border: 1px solid rgba(64, 29, 86, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--wf83-shadow-sm);
}

.wf-dashboard-mode .wf-client-nav a,
.wf-dashboard-mode .wf-client-nav form button {
  min-height: 46px;
  border-radius: 13px !important;
}

.wf-dashboard-mode .wf-client-nav a.active {
  background: linear-gradient(135deg, var(--wf83-purple-900), var(--wf83-violet)) !important;
  box-shadow: 0 13px 26px rgba(85, 30, 161, .22) !important;
}

.wf-dashboard-mode .wf-client-main {
  min-width: 0;
}

.wf-dashboard-mode .wf-orders-head {
  align-items: flex-end !important;
  margin-bottom: 24px !important;
}

.wf-dashboard-mode .wf-portal-back {
  width: max-content;
  margin-bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #74687c;
  text-decoration: none;
  font-size: 10px;
  font-weight: 750;
}

.wf-dashboard-mode .wf-portal-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-dashboard-mode .wf-orders-head .wf-portal-kicker {
  color: var(--wf83-purple-700) !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
}

.wf-dashboard-mode .wf-orders-head h1 {
  margin: 8px 0 0 !important;
  color: var(--wf83-purple-950) !important;
  font-size: clamp(32px, 3.5vw, 48px) !important;
  line-height: 1.03 !important;
  letter-spacing: -1.7px !important;
}

.wf-dashboard-mode .wf-orders-head p {
  max-width: 680px;
  margin-top: 11px !important;
  color: #756c7d !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.wf-dashboard-mode .wf-portal-primary {
  border-radius: 13px !important;
  background: linear-gradient(135deg, var(--wf83-purple-900), var(--wf83-violet) 62%, var(--wf83-fuchsia)) !important;
  box-shadow: 0 13px 27px rgba(89, 32, 170, .22) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.wf-dashboard-mode .wf-portal-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 32px rgba(89, 32, 170, .27) !important;
}

.wf-dashboard-mode .wf-orders-primary {
  min-height: 50px;
  padding: 0 18px !important;
  font-size: 11px !important;
}

.wf-dashboard-mode .wf-orders-primary svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.wf-dashboard-mode .wf-orders-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 15px !important;
  margin-bottom: 22px !important;
}

.wf-dashboard-mode .wf-orders-stats .wf-portal-stat {
  position: relative;
  min-width: 0;
  min-height: 174px !important;
  padding: 20px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 22px !important;
  color: #fff !important;
  background: linear-gradient(145deg, #4b168e, #7c3aed 65%, #a233d8) !important;
  box-shadow: 0 18px 38px rgba(69, 23, 131, .2) !important;
}

.wf-dashboard-mode .wf-orders-stats .wf-portal-stat::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .17), transparent 35%, transparent 68%, rgba(255, 255, 255, .08));
}

.wf-dashboard-mode .wf-orders-stats .wf-stat-active {
  background: linear-gradient(145deg, #2255a2, #3479cf) !important;
  box-shadow: 0 18px 38px rgba(34, 85, 162, .18) !important;
}

.wf-dashboard-mode .wf-orders-stats .wf-stat-delivered {
  background: linear-gradient(145deg, #35a97a, #67cfa4) !important;
  box-shadow: 0 18px 38px rgba(39, 147, 102, .18) !important;
}

.wf-dashboard-mode .wf-orders-stats .wf-stat-cart {
  background: linear-gradient(145deg, #ef8ba3, #ffb2bf) !important;
  box-shadow: 0 18px 38px rgba(217, 101, 126, .16) !important;
}

.wf-dashboard-mode .wf-orders-stats .icon {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 15px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .18) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.wf-dashboard-mode .wf-orders-stats .icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-dashboard-mode .wf-orders-stats .wf-portal-stat > span:not(.icon),
.wf-dashboard-mode .wf-orders-stats .wf-portal-stat > b,
.wf-dashboard-mode .wf-orders-stats .wf-portal-stat > small {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

.wf-dashboard-mode .wf-orders-stats .wf-portal-stat > span:not(.icon) {
  max-width: calc(100% - 54px);
  font-size: 12px !important;
  font-weight: 720 !important;
}

.wf-dashboard-mode .wf-orders-stats .wf-portal-stat > b {
  margin-top: 25px !important;
  font-size: 38px !important;
  line-height: 1 !important;
  letter-spacing: -1.2px;
}

.wf-dashboard-mode .wf-orders-stats .wf-portal-stat > small {
  display: block;
  margin-top: 10px;
  opacity: .8;
  font-size: 9px;
  font-weight: 650;
}

.wf-dashboard-mode .wf-orders-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.wf-dashboard-mode .wf-order-visual-card {
  min-width: 0;
  padding: 22px !important;
  overflow: hidden;
  border: 1px solid rgba(58, 27, 77, .09) !important;
  border-radius: 24px !important;
  background: var(--wf83-card) !important;
  box-shadow: var(--wf83-shadow-md) !important;
}

.wf-dashboard-mode .wf-order-visual-card.is-cancelled {
  opacity: .78;
}

.wf-dashboard-mode .wf-order-card-top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 0 !important;
  border: 0 !important;
}

.wf-dashboard-mode .wf-order-product-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.wf-dashboard-mode .wf-order-product-identity > img,
.wf-dashboard-mode .wf-order-product-placeholder {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid #ece5f2;
  border-radius: 17px;
  object-fit: contain;
  background: linear-gradient(145deg, #fbf8ff, #f2eaff);
}

.wf-dashboard-mode .wf-order-product-placeholder {
  display: grid;
  place-items: center;
  color: var(--wf83-purple-700);
  font-size: 15px;
  font-weight: 850;
}

.wf-dashboard-mode .wf-order-product-identity > div {
  min-width: 0;
}

.wf-dashboard-mode .wf-order-card-top .wf-portal-kicker {
  color: var(--wf83-purple-700) !important;
  font-size: 9px !important;
  letter-spacing: .06em !important;
  overflow-wrap: anywhere;
}

.wf-dashboard-mode .wf-order-card-top h2 {
  margin: 7px 0 5px !important;
  overflow: hidden;
  color: #2f193d !important;
  font-size: 16px !important;
  line-height: 1.28 !important;
  letter-spacing: -.3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wf-dashboard-mode .wf-order-card-top small {
  color: #8b8392 !important;
  font-size: 9px !important;
  font-weight: 620;
}

.wf-dashboard-mode .wf-portal-status {
  flex: none;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  font-size: 8px !important;
}

.wf-dashboard-mode .wf-order-progress-card {
  margin-top: 20px;
  padding: 14px 15px 12px;
  border: 1px solid #eee7f4;
  border-radius: 16px;
  background: #faf9fc;
}

.wf-dashboard-mode .wf-order-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #887d8e;
  font-size: 9px;
  font-weight: 650;
}

.wf-dashboard-mode .wf-order-progress-copy b {
  color: var(--wf83-purple-700);
  font-weight: 800;
}

.wf-dashboard-mode .wf-order-progress-track {
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e3ec;
}

.wf-dashboard-mode .wf-order-progress-track i {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wf83-purple-800), var(--wf83-violet), var(--wf83-fuchsia));
}

.wf-dashboard-mode .wf-order-visual-card.is-cancelled .wf-order-progress-track i {
  background: #d85470;
}

.wf-dashboard-mode .wf-order-progress-labels {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  color: #a099a5;
  font-size: 8px;
  font-weight: 650;
}

.wf-dashboard-mode .wf-order-card-metrics {
  margin-top: 14px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.wf-dashboard-mode .wf-order-card-metrics > div {
  min-width: 0;
  padding: 11px !important;
  border: 1px solid #eee8f3 !important;
  border-radius: 13px !important;
  background: #fff !important;
}

.wf-dashboard-mode .wf-order-card-metrics span {
  color: #938b98 !important;
  font-size: 8px !important;
  font-weight: 700 !important;
}

.wf-dashboard-mode .wf-order-card-metrics b {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #3b214b !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-dashboard-mode .wf-order-card-footer {
  margin-top: 17px !important;
  padding: 16px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border-top: 1px solid #eee9f2 !important;
}

.wf-dashboard-mode .wf-order-location {
  min-width: 0;
  display: flex !important;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #746b7a !important;
  font-size: 9px !important;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wf-dashboard-mode .wf-order-location svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--wf83-purple-700);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-dashboard-mode .wf-order-card-footer .wf-portal-primary {
  min-height: 39px;
  flex: none;
  padding: 0 13px !important;
  font-size: 9px !important;
}

.wf-dashboard-mode .wf-orders-empty {
  padding: 70px 24px !important;
  border: 1px solid #e8dff1 !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: var(--wf83-shadow-sm);
}

.wf-dashboard-mode .wf-orders-empty .icon {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--wf83-violet), var(--wf83-purple-900));
  box-shadow: 0 14px 28px rgba(87, 31, 162, .22);
}

.wf-dashboard-mode .wf-orders-empty .icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Subtle lift across the rest of the portal without altering its behaviour. */
.wf-dashboard-mode :where(.wf-portal-card, .wf-summary-card, .wf-active-card, .wf-bottom-card, .wf-history, .wf-trust) {
  border-color: rgba(57, 27, 76, .09) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(43, 18, 64, .055);
}

/* -------------------------------------------------------------------------- */
/* Tablet and mobile. */
/* -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  body:not(.premium-admin) .wf-global-header-inner {
    grid-template-columns: 182px minmax(0, 1fr) auto !important;
    gap: 20px !important;
  }

  body:not(.premium-admin) .wf-global-brand img { width: 176px !important; }
  body:not(.premium-admin) .wf-global-nav { gap: 14px !important; }
  body:not(.premium-admin) .wf-global-nav a { font-size: 10.5px !important; }

  .wf-dashboard-mode .wf-orders-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 900px) {
  :root { --wf8-header-height: 72px; }

  body:not(.premium-admin) .wf-global-header,
  body:not(.premium-admin).wf-luxury-home .wf-global-header {
    position: sticky !important;
    height: 72px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 8px 26px rgba(42, 17, 66, .065) !important;
  }

  body:not(.premium-admin) .wf-global-header-inner {
    width: 100% !important;
    padding: 0 17px !important;
    grid-template-columns: minmax(0, 1fr) 50px !important;
    gap: 10px !important;
  }

  body:not(.premium-admin) .wf-global-brand img {
    width: 158px !important;
    max-height: 50px !important;
    object-position: left center !important;
  }

  body:not(.premium-admin) .wf-global-tools {
    width: 50px !important;
  }

  body:not(.premium-admin) .wf-global-mobile-nav > summary {
    width: 48px !important;
    height: 48px !important;
    border: 1px solid #ece6f1 !important;
    border-radius: 15px !important;
    color: var(--wf83-purple-950) !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(44, 18, 68, .06) !important;
  }

  body:not(.premium-admin) .wf-global-mobile-panel {
    top: 72px !important;
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #eee8f2 !important;
    background: rgba(255, 255, 255, .985) !important;
    box-shadow: 0 28px 60px rgba(35, 13, 51, .15) !important;
  }

  .wf-luxury-home .wf-stores {
    padding: 58px 0 !important;
  }

  .wf-luxury-home .wf-stores-shell {
    width: min(100% - 32px, 760px) !important;
  }

  .wf-luxury-home .wf-store-row.wf-store-stack {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .wf-dashboard-mode .wf-client-shell {
    width: 100% !important;
    padding: 22px 16px calc(116px + env(safe-area-inset-bottom)) !important;
    display: block !important;
  }

  .wf-dashboard-mode .wf-client-sidebar {
    display: none !important;
  }

  .wf-dashboard-mode .wf-orders-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .wf-dashboard-mode .wf-orders-stats .wf-stat-total,
  .wf-dashboard-mode .wf-orders-stats .wf-stat-cart {
    grid-column: 1 / -1;
  }

  .wf-dashboard-mode .wf-orders-stats .wf-portal-stat {
    min-height: 148px !important;
  }

  .wf-client-mobile-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000 !important;
    height: calc(84px + env(safe-area-inset-bottom)) !important;
    padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right)) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: end !important;
    border-top: 1px solid rgba(63, 29, 83, .1) !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 -16px 38px rgba(36, 15, 53, .11) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
  }

  .wf-client-mobile-nav a {
    position: relative;
    height: 61px !important;
    min-width: 0 !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 5px !important;
    border-radius: 15px !important;
    color: #716a78 !important;
    font-size: 9px !important;
    font-weight: 720 !important;
  }

  .wf-client-mobile-nav a svg {
    width: 23px !important;
    height: 23px !important;
    stroke-width: 1.8 !important;
  }

  .wf-client-mobile-nav a.active {
    color: var(--wf83-purple-700) !important;
  }

  .wf-client-mobile-nav a.active::before {
    top: -1px !important;
    width: 34px !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--wf83-violet), var(--wf83-fuchsia)) !important;
  }

  .wf-client-mobile-nav .wf-mobile-order {
    width: 64px !important;
    height: 64px !important;
    margin: auto !important;
    transform: translateY(-20px) !important;
    border: 5px solid rgba(255, 255, 255, .95) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: linear-gradient(145deg, var(--wf83-violet), var(--wf83-purple-900)) !important;
    box-shadow: 0 15px 30px rgba(74, 24, 145, .32) !important;
  }

  .wf-client-mobile-nav .wf-mobile-order svg {
    width: 27px !important;
    height: 27px !important;
    stroke: #fff !important;
    stroke-width: 2 !important;
  }

  .wf-client-mobile-nav .wf-mobile-order span {
    top: 68px !important;
    color: var(--wf83-purple-700) !important;
    font-weight: 800 !important;
  }
}

@media (max-width: 620px) {
  .wf-luxury-home .wf-stores .wf-section-heading h2 {
    font-size: 34px !important;
    letter-spacing: -1.1px !important;
  }

  .wf-luxury-home .wf-stores .wf-section-heading p {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  .wf-luxury-home .wf-store-card {
    min-height: 78px !important;
    padding: 12px 12px 12px 15px !important;
    grid-template-columns: 112px minmax(0, 1fr) 38px !important;
    gap: 10px !important;
    border-radius: 16px !important;
  }

  .wf-luxury-home .wf-store-wordmark { font-size: 20px; }
  .wf-luxury-home .wf-temu .wf-store-wordmark { padding: 7px 8px; font-size: 17px; }
  .wf-luxury-home .wf-ali .wf-store-wordmark { font-size: 17px; }
  .wf-luxury-home .wf-store-copy b { font-size: 12px; }
  .wf-luxury-home .wf-store-copy small { font-size: 9px; }
  .wf-luxury-home .wf-store-arrow { width: 36px; height: 36px; border-radius: 11px; }

  .wf-dashboard-mode .wf-orders-head {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .wf-dashboard-mode .wf-orders-primary {
    width: 100%;
  }

  .wf-dashboard-mode .wf-orders-head h1 {
    font-size: 36px !important;
  }

  .wf-dashboard-mode .wf-orders-stats {
    gap: 11px !important;
  }

  .wf-dashboard-mode .wf-orders-stats .wf-portal-stat {
    min-height: 139px !important;
    padding: 16px !important;
    border-radius: 19px !important;
  }

  .wf-dashboard-mode .wf-orders-stats .icon {
    top: 14px;
    right: 14px;
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
  }

  .wf-dashboard-mode .wf-orders-stats .wf-portal-stat > b {
    margin-top: 21px !important;
    font-size: 32px !important;
  }

  .wf-dashboard-mode .wf-order-visual-card {
    padding: 17px !important;
    border-radius: 21px !important;
  }

  .wf-dashboard-mode .wf-order-card-top {
    display: grid !important;
  }

  .wf-dashboard-mode .wf-portal-status {
    width: max-content;
    margin-left: 75px;
  }

  .wf-dashboard-mode .wf-order-card-metrics {
    gap: 6px !important;
  }

  .wf-dashboard-mode .wf-order-card-metrics > div {
    padding: 9px 7px !important;
  }

  .wf-dashboard-mode .wf-order-card-footer {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .wf-dashboard-mode .wf-order-card-footer .wf-portal-primary {
    width: 100%;
  }
}

@media (max-width: 400px) {
  body:not(.premium-admin) .wf-global-header-inner { padding-inline: 13px !important; }
  body:not(.premium-admin) .wf-global-brand img { width: 148px !important; }

  .wf-luxury-home .wf-store-card {
    grid-template-columns: 98px minmax(0, 1fr) 34px !important;
    gap: 8px !important;
  }

  .wf-luxury-home .wf-store-copy small { display: none; }
  .wf-luxury-home .wf-store-arrow { width: 32px; height: 32px; }

  .wf-dashboard-mode .wf-client-shell { padding-inline: 12px !important; }
  .wf-dashboard-mode .wf-orders-stats .wf-portal-stat > span:not(.icon) { font-size: 10px !important; }
  .wf-dashboard-mode .wf-order-product-identity > img,
  .wf-dashboard-mode .wf-order-product-placeholder { width: 56px; height: 56px; flex-basis: 56px; }
  .wf-dashboard-mode .wf-portal-status { margin-left: 69px; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-luxury-home .wf-store-card,
  .wf-luxury-home .wf-store-arrow,
  .wf-dashboard-mode .wf-portal-primary {
    transition: none !important;
  }
}
