:root {
  --orange: #ff7a1a;
  --orange-dark: #e85e00;
  --ink: #17191d;
  --muted: #69707d;
  --line: #e5e7eb;
  --soft: #f6f7f9;
  --success: #198754;
  --danger: #d7373f;
  --purple: #461789;
  --sidebar: #20252b;
  --shadow: 0 8px 28px rgba(24, 30, 40, .1);
}

/* Storefront V5: operational cross-border commerce */
body { font-family: Aptos, "Segoe UI", "Noto Sans SC", "Microsoft YaHei UI", Arial, sans-serif; letter-spacing: 0; }
.promo-bar { height: 34px; min-height: 34px; padding: 0 40px; color: #d6dede; background: #0d1517; font-size: 11px; }
.promo-action { min-height: 26px; padding: 0 12px; border: 1px solid #596566; border-radius: 3px; color: #fff; background: transparent; }
.site-header { height: 78px; padding: 0 max(34px, calc((100vw - 1260px) / 2)); background: #fff; border-bottom: 1px solid #dce1e0; box-shadow: none; }
.site-header .brand img { width: 132px; max-height: 58px; object-fit: contain; }
.main-nav { gap: 30px; margin-left: 48px; color: #334042; font-size: 13px; font-weight: 650; }
.header-tools { margin-left: auto; }
.header-tools .icon-button, .language-button, .currency-button, .avatar-button { border-radius: 4px; }
.site-header .language-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; color: #334042; font-size: 11px; font-weight: 700; }
.currency-button { min-height: 36px; padding: 0 9px; border: 1px solid #dce1e0; color: #334042; background: #fff; white-space: nowrap; font-size: 11px; font-weight: 800; }
.site-header .language-button { padding-inline: 10px; border-right: 1px solid #e1e5e4; }
.language-popover .system-language-option { width: calc(100% - 16px); min-height: 40px; margin: 8px 8px 0; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #dce1e0; border-radius: 3px; color: #334042; background: #fff; text-align: left; }
.language-popover .system-language-option.active { border-color: #eebcac; color: #d8401f; background: #fff4ef; font-weight: 700; }
.mobile-bottom-nav { display: none; }

.fb-home-wrap { width: min(1260px, calc(100% - 40px)); margin: 0 auto; }
.fb-home-hero { min-height: 538px; color: #fff; background: #142022; overflow: hidden; }
.fb-hero-layout { min-height: 538px; display: grid; grid-template-columns: 1.06fr .94fr; gap: 72px; align-items: center; position: relative; }
.fb-hero-layout::after { content: ""; position: absolute; z-index: 0; inset: 0 0 0 52%; background-image: linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px); background-size: 42px 42px; }
.fb-hero-copy, .fb-network-card { position: relative; z-index: 1; }
.fb-eyebrow { margin: 0 0 15px; color: #8fd0bd; font-size: 12px; font-weight: 750; }
.fb-hero-copy h1 { margin: 0; max-width: 650px; font-family: DengXian, "Noto Sans SC", sans-serif; font-size: 44px; line-height: 1.23; font-weight: 600; }
.fb-hero-description { max-width: 630px; margin: 18px 0 25px; color: #bdc8c8; font-size: 15px; line-height: 1.75; }
.fb-source-panel { max-width: 660px; padding: 15px; border-left: 4px solid #f4512c; color: #142022; background: #fff; }
.fb-source-tabs { display: flex; align-items: center; gap: 22px; margin: 0 2px 12px; font-size: 12px; }
.fb-source-tabs strong { color: #ef4b2f; }
.fb-source-tabs button, .fb-source-tabs a { padding: 0; border: 0; color: #657071; background: transparent; font-weight: 700; }
.fb-source-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.fb-source-tabs button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.fb-source-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px 116px; gap: 8px; }
.fb-source-row input { min-width: 0; height: 48px; padding: 0 13px; border: 1px solid #cbd2d1; border-radius: 4px; }
.fb-source-row .image-search { width: 44px; height: 48px; border: 1px solid #cbd2d1; border-radius: 4px; background: #fff; }
.fb-source-row .image-search svg { width: 21px; fill: none; stroke: #1769aa; stroke-width: 1.7; }
.fb-source-row .search-submit { min-width: 0; height: 48px; border-radius: 4px; background: #f4512c; }
.fb-source-panel > small { display: block; margin-top: 10px; color: #657071; font-size: 11px; }
.fb-platform-links { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: #aebbbb; font-size: 10px; }
.fb-platform-links > span { margin-right: 3px; }
.fb-platform-links a { width: 34px; color: #cbd5d4; text-align: center; text-decoration: none; }
.fb-platform-links img { width: 30px; height: 30px; padding: 2px; border-radius: 4px; background: #fff; object-fit: contain; }
.fb-platform-links small { display: none; }

.fb-network-card { border: 1px solid rgba(255,255,255,.2); color: #142022; background: #f8faf9; box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.fb-network-card > header { height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce1e0; background: #fff; }
.fb-network-card > header strong { font-size: 15px; }
.fb-network-card > header span { color: #08755b; font-size: 10px; font-weight: 800; }
.fb-network-map { height: 168px; position: relative; overflow: hidden; background-color: #e8eeec; background-image: linear-gradient(rgba(20,32,34,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,34,.07) 1px, transparent 1px); background-size: 28px 28px; }
.fb-network-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fb-net-main, .fb-net-mesh { fill: none; stroke-linecap: round; }
.fb-net-main { stroke: rgba(244,81,44,.68); stroke-width: 1.7; }
.fb-net-mesh { stroke: #93aaa5; stroke-width: 1.2; stroke-dasharray: 4 7; animation: fbNetworkFlow 6s linear infinite; }
.fb-net-nodes circle { fill: #fff; stroke: #5f7973; stroke-width: 1.6; }
.fb-net-destinations circle { fill: #f4512c; stroke: #fff; stroke-width: 2.4; }
.fb-net-hub { fill: #f4512c; stroke: #fff; stroke-width: 3; }
.fb-net-hub-ring { fill: none; stroke: #f4512c; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: fbHubPulse 2.4s ease-out infinite; }
.fb-cargo-dot { fill: #f4512c; stroke: #fff; stroke-width: 1.7; filter: drop-shadow(0 0 3px rgba(244,81,44,.42)); }
.fb-network-map > b { position: absolute; left: 27%; top: 37%; padding: 3px 6px; color: #fff; background: #142022; font-size: 9px; }
.fb-region { position: absolute; padding: 2px 4px; color: #566263; background: rgba(255,255,255,.8); font-size: 8px; font-weight: 800; }
.fb-region-1 { right: 8%; top: 18%; } .fb-region-2 { right: 8%; top: 47%; } .fb-region-3 { right: 14%; bottom: 5%; }
.fb-network-services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dce1e0; border-bottom: 1px solid #dce1e0; background: #fff; }
.fb-network-services span { min-width: 0; padding: 13px 15px; border-right: 1px solid #dce1e0; font-size: 12px; font-weight: 750; }
.fb-network-services span:last-child { border-right: 0; }
.fb-network-services small { display: block; margin-bottom: 4px; color: #647071; font-size: 9px; font-weight: 500; }
.fb-demo-progress { padding: 13px 20px 16px; }
.fb-demo-progress > small { color: #647071; font-size: 9px; }
.fb-demo-progress > div { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 13px; position: relative; }
.fb-demo-progress > div::before { content: ""; position: absolute; top: 5px; left: 5px; right: 28px; height: 2px; background: #ccd4d2; }
.fb-demo-progress span { position: relative; padding-top: 17px; color: #647071; font-size: 9px; }
.fb-demo-progress span::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 9px; height: 9px; border: 2px solid #aeb8b6; border-radius: 50%; background: #fff; }
.fb-demo-progress span.done::before { border-color: #08755b; background: #08755b; }
.fb-demo-progress span.active::before { border-color: #f4512c; background: #f4512c; }
@keyframes fbNetworkFlow { to { stroke-dashoffset: -44; } }
@keyframes fbHubPulse { 0% { transform: scale(.75); opacity: .75; } 75%, 100% { transform: scale(2.35); opacity: 0; } }

.fb-capability-band { height: 84px; border-bottom: 1px solid #dce1e0; background: #fff; }
.fb-capability-band .fb-home-wrap { height: 100%; display: grid; grid-template-columns: 1.45fr repeat(4, auto); gap: 34px; align-items: center; }
.fb-capability-band span { color: #647071; font-size: 10px; font-weight: 800; }
.fb-capability-band div div { font-size: 11px; font-weight: 700; }
.fb-capability-band b { display: inline-grid; width: 30px; height: 30px; margin-right: 8px; place-items: center; border: 1px solid #cbd2d1; border-radius: 4px; color: #08755b; font-size: 10px; }

.fb-campaign-section { padding: 22px 0; border-bottom: 1px solid #dce1e0; background: #fff; }
.fb-campaign-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fb-campaign-track::-webkit-scrollbar { display: none; }
.fb-campaign-card { min-width: 100%; min-height: 116px; padding: 22px 28px; position: relative; overflow: hidden; scroll-snap-align: start; border: 1px solid #f0cfc4; border-radius: 6px; color: #142022; background: #fff4ef; text-decoration: none; }
.fb-campaign-card::after { content: ""; position: absolute; inset: 0 0 0 66%; background: #f4512c var(--campaign-image, none) center / cover no-repeat; }
.fb-campaign-copy { display: block; max-width: 61%; position: relative; z-index: 2; color: inherit; text-decoration: none; }
.fb-campaign-copy > span { display: block; margin-bottom: 5px; color: #d8401f; font-size: 9px; font-weight: 850; }
.fb-campaign-card h2 { margin: 0 0 6px; font-family: DengXian, "Noto Sans SC", sans-serif; font-size: 21px; font-weight: 600; }
.fb-campaign-card p { margin: 0; color: #626d6e; font-size: 11px; }
.fb-campaign-card strong { display: inline-block; margin-top: 10px; color: #d8401f; font-size: 10px; }
.fb-campaign-card .campaign-video { position: absolute; z-index: 1; inset: 0 0 0 66%; width: 34%; height: 100%; max-width: none; background: #111; }
.fb-campaign-card .campaign-video iframe, .fb-campaign-card video.campaign-video { width: 100%; height: 100%; object-fit: cover; }

.fb-home-section { padding: 50px 0; background: #fff; }
.fb-process-section { border-top: 1px solid #dce1e0; border-bottom: 1px solid #dce1e0; background: #f3f5f4; }
.fb-section-heading { margin-bottom: 23px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.fb-section-heading h2 { margin: 0 0 6px; font-family: DengXian, "Noto Sans SC", sans-serif; font-size: 26px; font-weight: 600; }
.fb-section-heading p { margin: 0; color: #647071; font-size: 12px; }
.fb-section-heading a, .fb-route-panel header a, .fb-service-panel header a { color: #1769aa; font-size: 11px; font-weight: 750; }
.fb-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #dce1e0; background: #fff; }
.fb-process-grid article { min-height: 155px; padding: 22px; border-right: 1px solid #dce1e0; }
.fb-process-grid article:last-child { border-right: 0; }
.fb-process-grid small { color: #f4512c; font-size: 9px; font-weight: 850; }
.fb-process-grid h3 { margin: 18px 0 7px; font-family: DengXian, "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 600; }
.fb-process-grid p { margin: 0; color: #647071; font-size: 11px; line-height: 1.65; }
.fb-operation-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; }
.fb-route-panel, .fb-service-panel { border: 1px solid #dce1e0; background: #fff; }
.fb-route-panel header, .fb-service-panel header { height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce1e0; }
.fb-route-panel h3, .fb-service-panel h3 { margin: 0; font-size: 15px; }
.fb-route-row { min-height: 51px; padding: 0 18px; display: grid; grid-template-columns: 1.2fr .8fr .8fr auto; gap: 12px; align-items: center; border-bottom: 1px solid #ebeeee; font-size: 11px; }
.fb-route-row:last-child { border-bottom: 0; }
.fb-route-row b { font-size: 11px; }
.fb-route-row em { padding: 4px 7px; border-radius: 3px; color: #08755b; background: #e6f3ef; font-size: 9px; font-style: normal; font-weight: 800; }
.fb-service-shortcuts { display: grid; grid-template-columns: repeat(2, 1fr); }
.fb-service-shortcuts a, .fb-service-shortcuts button { min-height: 76px; padding: 14px; display: flex; align-items: center; gap: 11px; border: 0; border-right: 1px solid #ebeeee; border-bottom: 1px solid #ebeeee; color: #334042; background: #fff; font-weight: 700; text-align: left; }
.fb-service-shortcuts a:nth-child(even), .fb-service-shortcuts button:nth-child(even) { border-right: 0; }
.fb-service-shortcuts a:nth-last-child(-n+2), .fb-service-shortcuts button:nth-last-child(-n+2) { border-bottom: 0; }
.fb-service-shortcuts img { width: 34px; height: 34px; object-fit: contain; }

.site-footer { padding: 0 34px; background: #10191b; }
.footer-inner { width: min(1260px, 100%); padding: 45px 0 37px; grid-template-columns: 1.45fr repeat(4, 1fr); gap: 46px; }
.footer-brand img { width: 124px; padding: 0; background: transparent; }
.footer-brand p { max-width: 260px; font-size: 11px; line-height: 1.75; }
.footer-brand small { color: #d5dddd; font-size: 10px; line-height: 1.8; }
.site-footer h4 { font-family: DengXian, "Noto Sans SC", sans-serif; font-size: 13px; font-weight: 600; }
.site-footer a { margin: 10px 0; font-size: 11px; }
.footer-bottom { width: min(1260px, 100%); min-height: 64px; margin-top: 0; padding-top: 0; align-items: center; font-size: 10px; }

@media (max-width: 900px) {
  .promo-bar { display: none; }
  .site-header { height: 60px; padding: 0 16px; color: #fff; background: #142022; border-bottom: 0; }
  .site-header .brand { margin: 0; }
  .site-header .brand img { width: 104px; content: url("assets/logo.svg"); }
  .site-header .mobile-menu, .site-header .avatar-button { display: none; }
  .site-header .main-nav { display: none; }
  .site-header .header-tools { margin-left: auto; }
  .site-header .language-button { width: auto; min-width: 42px; height: 34px; min-height: 34px; padding: 0 8px; display: inline-flex; border: 1px solid rgba(255,255,255,.22); color: #fff; background: transparent; font-size: 0; }
  .site-header .language-button::before { content: attr(data-short-label); font-size: 11px; }
  .site-header .header-tools .icon-button, .site-header .header-tools .icon-button:first-child { display: grid; width: 34px; height: 34px; color: #fff; border-color: rgba(255,255,255,.22); background: transparent; }
  .site-header .cart-button b { color: #fff; }
  .mobile-nav { display: none !important; }
  #page { padding-bottom: 72px; background: #eef1f0; }
  .mobile-bottom-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: 70px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #dce1e0; background: #fff; }
  .mobile-bottom-nav a, .mobile-bottom-nav button { min-width: 0; padding: 7px 0 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; color: #778181; background: transparent; font-size: 9px; }
  .mobile-bottom-nav b { font-size: 16px; font-weight: 500; }
  .mobile-bottom-nav a.active, .mobile-bottom-nav button.active { color: #f4512c; }
  .mobile-bottom-nav .mobile-primary-action b { width: 40px; height: 40px; margin-top: -25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #f4512c; box-shadow: 0 5px 12px rgba(244,81,44,.3); }

  .fb-home-wrap { width: calc(100% - 28px); }
  .fb-home-hero { min-height: 0; padding: 16px 0 26px; }
  .fb-hero-layout { min-height: 0; display: block; }
  .fb-hero-layout::after, .fb-network-card { display: none; }
  .fb-eyebrow { margin-bottom: 9px; color: #8fd0bd; font-size: 10px; }
  .fb-hero-copy h1 { font-size: 27px; line-height: 1.25; }
  .fb-hero-copy h1 br { display: none; }
  .fb-hero-description { margin: 10px 0 15px; font-size: 11px; line-height: 1.6; }
  .fb-source-panel { padding: 13px; border-left: 0; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
  .fb-source-tabs { margin-bottom: 11px; justify-content: space-between; gap: 10px; }
  .fb-source-tabs a { display: none; }
  .fb-source-row { grid-template-columns: minmax(0, 1fr) 42px; }
  .fb-source-row input { height: 44px; font-size: 11px; }
  .fb-source-row .image-search { width: 42px; height: 44px; }
  .fb-source-row .search-submit { grid-column: 1 / -1; width: 100%; height: 42px; }
  .fb-source-panel > small { font-size: 9px; }
  .fb-platform-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 16px; color: #c9d3d2; text-align: center; }
  .fb-platform-links > span { grid-column: 1 / -1; text-align: left; }
  .fb-platform-links a { width: auto; }
  .fb-platform-links img { width: 38px; height: 38px; padding: 5px; }
  .fb-platform-links small { display: none; }
  .fb-capability-band { display: none; }

  .fb-campaign-section { padding: 14px 0 0; border: 0; background: #eef1f0; }
  .fb-campaign-card { min-width: 100%; min-height: 112px; padding: 16px; border: 0; border-radius: 8px; color: #fff; background: #e94828; box-shadow: 0 6px 18px rgba(20,32,34,.1); }
  .fb-campaign-card::after { display: none; }
  .fb-campaign-copy { max-width: 58%; color: #fff; }
  .fb-campaign-copy > span, .fb-campaign-card p { color: rgba(255,255,255,.82); }
  .fb-campaign-card h2 { font-size: 17px; }
  .fb-campaign-card strong { padding: 7px 8px; border: 1px solid rgba(255,255,255,.58); border-radius: 4px; color: #fff; }
  .fb-campaign-card .campaign-video { inset: 0 0 0 62%; width: 38%; }
  .fb-campaign-2 { background: #116b57; } .fb-campaign-3 { background: #243234; }

  .fb-home-section { padding: 14px 0 0; background: #eef1f0; }
  .fb-section-heading { margin-bottom: 11px; align-items: center; }
  .fb-section-heading h2 { margin: 0; font-size: 17px; }
  .fb-section-heading p { display: none; }
  .fb-section-heading a { font-size: 9px; }
  .fb-process-section { border: 0; }
  .fb-process-grid { grid-template-columns: repeat(2, 1fr); border-radius: 8px; overflow: hidden; }
  .fb-process-grid article { min-height: 128px; padding: 15px; border-bottom: 1px solid #dce1e0; }
  .fb-process-grid article:nth-child(even) { border-right: 0; }
  .fb-process-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .fb-process-grid h3 { margin-top: 12px; font-size: 13px; }
  .fb-process-grid p { font-size: 9px; }
  .fb-operation-grid { grid-template-columns: 1fr; gap: 12px; }
  .fb-route-panel, .fb-service-panel { border-radius: 8px; overflow: hidden; }
  .fb-route-row { grid-template-columns: 1.15fr .75fr auto; padding: 0 13px; font-size: 9px; }
  .fb-route-row b { display: none; }
  .fb-service-shortcuts a, .fb-service-shortcuts button { min-height: 67px; font-size: 10px; }
  .fb-service-shortcuts img { width: 29px; height: 29px; }
  .site-footer { display: none; }
}

/* Cookie consent is an explicit choice: backdrop clicks and Escape never dismiss it. */
.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(19, 27, 30, .62);
  backdrop-filter: blur(3px);
}
.cookie-consent-dialog {
  width: min(620px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid #dde3e2;
  border-radius: 7px;
  background: #fff;
  color: #26383c;
  box-shadow: 0 24px 70px rgba(18, 28, 31, .28);
}
.cookie-consent-dialog > header { display: flex; align-items: center; gap: 14px; }
.cookie-consent-dialog > header img { width: 44px; height: 44px; flex: 0 0 44px; }
.cookie-consent-dialog > header small { display: block; margin-bottom: 3px; color: #9a4c24; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.cookie-consent-dialog h2 { margin: 0; color: #1c3034; font-size: 22px; line-height: 1.3; font-weight: 680; }
.cookie-consent-dialog > p { margin: 17px 0; color: #5d6d70; font-size: 14px; line-height: 1.7; }
.cookie-consent-options { display: grid; border-block: 1px solid #e4e8e7; }
.cookie-consent-options label { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 2px; border-bottom: 1px solid #edf0ef; cursor: pointer; }
.cookie-consent-options label:last-child { border-bottom: 0; }
.cookie-consent-options label.required { cursor: default; }
.cookie-consent-options span { min-width: 0; display: grid; gap: 4px; }
.cookie-consent-options strong { color: #273a3e; font-size: 14px; font-weight: 680; }
.cookie-consent-options small { color: #718083; font-size: 12px; line-height: 1.5; }
.cookie-consent-options input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: #e94d24; }
.cookie-policy-link { width: fit-content; display: inline-flex; margin: 15px 0 2px; color: #8f471f; font-size: 13px; font-weight: 650; }
.cookie-policy-link:hover { color: #e94d24; }
.cookie-consent-dialog > footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.footer-cookie-settings { display: block; margin: 10px 0; padding: 0; border: 0; background: transparent; color: #aeb4bc; font: inherit; font-size: 14px; cursor: pointer; }
.footer-cookie-settings:hover { color: #fff; }
.sidebar-cookie-settings { width: 100%; min-height: 40px; margin-top: 8px; border: 1px solid #dfe5e4; border-radius: 5px; background: #fff; color: #526367; font-size: 12px; font-weight: 600; cursor: pointer; }
.sidebar-cookie-settings:hover { color: #9a4c24; border-color: #e4bda8; background: #fff8f4; }

@media (max-width: 680px) {
  .cookie-consent-backdrop { align-items: end; padding: 0; }
  .cookie-consent-dialog { width: 100%; max-height: calc(100dvh - 12px); padding: 21px 17px calc(21px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 7px 7px 0 0; }
  .cookie-consent-dialog h2 { font-size: 20px; }
  .cookie-consent-dialog > p { margin-block: 14px; font-size: 13px; }
  .cookie-consent-options label { min-height: 68px; }
  .cookie-consent-dialog > footer { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent-dialog > footer button { width: 100%; min-width: 0; padding-inline: 8px; }
  .cookie-consent-dialog > footer .primary-button { grid-column: 1 / -1; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .fb-net-mesh, .fb-net-hub-ring { animation: none; }
  .fb-cargo-dot { display: none; }
}

@layer legacy {
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif; letter-spacing: 0; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.brand .configured-brand-name { max-width: 220px; overflow: hidden; color: var(--ink); font-size: 21px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.footer-brand .configured-brand-name { margin: 0 0 16px; color: #fff; font-size: 22px; }

.promo-bar { height: 60px; display: flex; align-items: center; justify-content: center; gap: 32px; padding: 0 20px; color: #fff; background: var(--purple); font-size: 22px; font-weight: 800; }
.promo-action { border: 0; border-radius: 4px; padding: 10px 18px; color: #171717; background: #f5d216; font-size: 14px; font-weight: 700; }
.site-announcement { position: fixed; z-index: 65; right: 24px; bottom: 24px; width: min(430px, calc(100vw - 32px)); padding: 20px 48px 20px 20px; border: 1px solid #ddd8d2; border-left: 4px solid var(--orange); border-radius: 6px; background: #fff; box-shadow: 0 18px 48px rgba(28, 25, 23, .18); }
.site-announcement.warning { border-left-color: #b7791f; }
.site-announcement.critical { border-left-color: var(--danger); }
.site-announcement-content { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.site-announcement-media { width: 120px; }
.site-announcement-media > * { width: 100%; border-radius: 4px; }
.site-announcement-media .announcement-media { max-height: 150px; object-fit: cover; }
.site-announcement-content small { color: var(--orange-dark); font-weight: 700; }
.site-announcement-content h2 { margin: 4px 0 7px; font-size: 18px; }
.site-announcement-content p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.site-announcement-content .primary-button { display: inline-flex; align-items: center; min-height: 36px; }
.site-announcement-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; padding: 0; border: 0; color: #57534e; background: transparent; font-size: 22px; line-height: 1; }
.site-header { position: sticky; top: 0; z-index: 30; height: 72px; display: flex; align-items: center; padding: 0 42px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.brand { width: 112px; flex: 0 0 auto; }
.brand img { width: 112px; height: 48px; object-fit: contain; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 31px; margin-left: 48px; font-weight: 700; white-space: nowrap; }
.main-nav a { height: 100%; display: flex; align-items: center; position: relative; }
.main-nav a.active, .main-nav a:hover { color: var(--orange-dark); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.icon-button, .avatar-button { width: 34px; height: 34px; border: 0; border-radius: 4px; background: transparent; display: inline-grid; place-items: center; font-size: 20px; position: relative; }
.icon-button:hover, .avatar-button:hover { background: #f2f3f5; }
.language-button { min-height: 34px; padding: 0 7px; border: 0; background: transparent; white-space: nowrap; }
.avatar-button { border-radius: 50%; background: #f0f1f3; font-size: 11px; font-weight: 800; overflow: hidden; }
.avatar-button img, .avatar-small img, .profile-menu-avatar img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cart-button b { position: absolute; top: -2px; right: -2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 10px; line-height: 17px; }
.mobile-menu, .mobile-nav { display: none; }

.hero { min-height: 685px; position: relative; overflow: hidden; background: linear-gradient(#ffeeee, #fff4f5); }
.hero-bg { position: absolute; inset: 0; background: url("assets/hero-bg.png") center / cover no-repeat; }
.hero-inner { position: relative; z-index: 2; width: min(1400px, calc(100% - 36px)); margin: auto; padding-top: 54px; }
.hero h1 { margin: 0 0 34px; max-width: 470px; font-size: 62px; line-height: 1.05; font-weight: 850; }
.search-panel { width: min(690px, 100%); background: rgba(255,255,255,.96); border: 1px solid rgba(238,220,215,.9); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.platform-tabs { display: flex; gap: 22px; height: 66px; padding: 13px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.platform-tabs button { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 7px; color: #fff; background: #c93c26; font-size: 13px; font-weight: 800; }
.platform-tabs button img { width: 32px; height: 32px; margin: auto; }
.platform-tabs button:nth-child(2) { background: #ef691a; }
.platform-tabs button:nth-child(3) { background: #d91920; }
.platform-tabs button:nth-child(4) { background: #bb151b; }
.platform-tabs button:nth-child(5) { background: #cb2027; }
.platform-tabs button:nth-child(6) { background: #ae1831; }
.search-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 24px; }
.search-row input { min-width: 0; height: 48px; border: 0; outline: 0; font-size: 16px; background: transparent; }
.image-search { width: 48px; height: 48px; display: inline-grid; place-items: center; padding: 0; border: 1px solid #e9ab7b; color: var(--orange-dark); background: #fff8f2; border-radius: 7px; }
.image-search svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.image-search:hover { color: #fff; background: var(--orange-dark); border-color: var(--orange-dark); }
.image-search:focus-visible { outline: 3px solid rgba(232,94,0,.25); outline-offset: 2px; }
.search-submit, .primary-button { min-height: 48px; padding: 0 26px; color: #fff; border: 0; border-radius: 6px; background: var(--orange); font-weight: 750; }
.search-submit:hover, .primary-button:hover { background: var(--orange-dark); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); width: min(780px, 100%); margin-top: 38px; }
.step { position: relative; padding-right: 34px; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 44px; right: 8px; top: 20px; border-top: 2px dashed #ba8f73; }
.step-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-dark); color: #fff; font-weight: 800; }
.step h3 { margin: 18px 0 8px; font-size: 18px; }
.step p { margin: 5px 0; font-size: 14px; line-height: 1.5; }

.section { padding: 76px 28px; }
.section-inner { width: min(1280px, 100%); margin: auto; }
.section-title { margin: 0 0 12px; text-align: center; font-size: 32px; }
.section-subtitle { margin: 0 auto 42px; max-width: 660px; text-align: center; color: var(--muted); line-height: 1.7; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.service { text-align: center; padding: 8px 18px; }
.service img { width: 104px; height: 104px; margin: auto; }
.service h3 { margin: 18px 0 10px; font-size: 19px; }
.service p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.metrics-band { background: #252b31; color: #fff; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.metric { padding: 34px 20px; text-align: center; border-right: 1px solid #424850; }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 31px; color: #ff9a4f; }
.metric span { display: block; margin-top: 8px; color: #d8dbe0; font-size: 14px; }
.review-band { background: #f7f8fa; }
.review-layout { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
.review-product { height: 310px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.review-product img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: #f2a11c; font-size: 19px; }
.review-copy blockquote { margin: 18px 0; font-size: 22px; line-height: 1.6; }
.verified { color: var(--success); font-weight: 700; font-size: 13px; }

.content-band { min-height: 520px; padding: 72px 28px; background: #f6f7f9; }
.content-wrap { width: min(1120px, 100%); margin: auto; }
.content-wrap h1 { margin: 0 0 12px; font-size: 38px; }
.content-wrap > p { color: var(--muted); line-height: 1.8; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.content-card { min-height: 180px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.content-card h3 { margin-top: 0; }
.content-card p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.published-empty { margin-top: 32px; padding: 64px 24px; border: 1px dashed #d8dde4; border-radius: 7px; background: #fff; text-align: center; color: var(--muted); }
.published-empty strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 18px; }
.published-empty p { margin: 0; }
.wp-content-card > img { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 14px; object-fit: cover; }
.wp-public-body { max-width: 880px; color: #343a42; font-size: 16px; line-height: 1.8; }
.wp-public-body img { max-width: 100%; height: auto; }
.wp-public-body h2, .wp-public-body h3, .wp-public-body h4 { margin: 1.5em 0 .55em; color: var(--ink); }
.wp-public-body a { color: var(--orange-dark); text-decoration: underline; }
.wp-public-body table { width: 100%; border-collapse: collapse; }
.wp-public-body th, .wp-public-body td { padding: 10px; border: 1px solid var(--line); text-align: left; }

.site-footer { padding: 54px 34px 18px; background: #171b20; color: #d9dce1; }
.footer-inner { width: min(1280px, 100%); margin: auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 54px; }
.footer-brand img { width: 112px; padding: 4px; border-radius: 3px; background: #fff; }
.footer-brand p { max-width: 420px; color: #aeb4bc; line-height: 1.8; }
.site-footer h4 { color: #fff; margin: 0 0 16px; }
.site-footer a { display: block; color: #aeb4bc; margin: 10px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { width: min(1280px, 100%); margin: 40px auto 0; padding-top: 18px; border-top: 1px solid #343940; display: flex; justify-content: space-between; color: #8f969f; font-size: 13px; }
.footer-bottom span:last-child { display: flex; gap: 24px; }

.account-topbar { height: 68px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 0 28px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-spacer { flex: 1; }
.account-user { min-width: 188px; display: flex; align-items: center; gap: 9px; padding: 5px 8px; border: 0; border-radius: 5px; background: transparent; text-align: left; }
.account-user:hover { background: var(--soft); }
.account-user small { display: block; margin-top: 2px; color: var(--muted); }
.account-language { color: #4d535c; font-size: 13px; }
.avatar-small { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #e76f19; font-weight: 800; font-size: 11px; }
.notification-dot { position: absolute; right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #ef4b4b; }
.account-layout { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 236px 1fr; background: #f5f6f8; }
.account-sidebar { position: sticky; top: 68px; height: calc(100vh - 68px); overflow: auto; padding: 26px 16px; background: #fff; border-right: 1px solid var(--line); }
.account-sidebar h2 { margin: 0 12px 20px; font-size: 21px; }
.side-group-title { margin: 22px 12px 7px; color: #9aa0a9; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.side-link { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; margin: 2px 0; border-radius: 5px; color: #474d56; font-size: 14px; }
.side-link span:first-child { width: 20px; text-align: center; color: #777f89; }
.side-link .side-link-icon { height: 22px; display: grid; place-items: center; }
.side-link .side-link-icon img { width: 20px; height: 20px; display: block; object-fit: contain; opacity: .78; }
.side-link:hover .side-link-icon img, .side-link.active .side-link-icon img { opacity: 1; }
.side-link:hover, .side-link.active { color: var(--orange-dark); background: #fff3ea; font-weight: 700; }
.admin-shortcut { display: block; margin: 24px 12px 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--orange-dark); font-size: 13px; font-weight: 700; }
.admin-shortcut.secondary { margin-top: 10px; padding-top: 0; border-top: 0; color: #3f4752; }
.sidebar-logout { margin: 12px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 13px; }
.sidebar-logout:hover { color: var(--danger); }
.account-main { min-width: 0; padding: 30px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-heading h1 { margin: 0 0 5px; font-size: 27px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.secondary-button, .danger-button { min-height: 40px; padding: 0 16px; border: 1px solid #d5d9de; border-radius: 5px; background: #fff; font-weight: 700; color: #4b515a; }
.danger-button { color: var(--danger); border-color: #efb6ba; }
.primary-button.compact { min-height: 40px; padding: 0 18px; }
.account-new-purchase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

/* v167 storefront and account typography plus dialog surfaces. */
:root {
  --font-ui: "Plus Jakarta Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "PingFang SC", "Microsoft YaHei UI", "Segoe UI", Arial, sans-serif;
}
html[lang^="ja"] {
  --font-ui: "Plus Jakarta Sans", "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
}
html[lang^="ko"] {
  --font-ui: "Plus Jakarta Sans", "Noto Sans KR", "Noto Sans SC", "Noto Sans JP", "Segoe UI", Arial, sans-serif;
}

body h1 { font-weight: 700 !important; }
body h2,
body h3 { font-weight: 600 !important; }
body h4,
body h5,
body h6,
body strong,
body b,
body button,
body [role="button"] { font-weight: 600 !important; }

.premium-home-v1,
.account-layout,
.modal-context-public,
.modal-context-account,
.header-popover {
  font-family: var(--font-ui) !important;
  font-feature-settings: "kern" 1, "liga" 1;
  font-variant-numeric: tabular-nums;
}
.pv1-hero h1 { font-size: 42px; line-height: 1.18; }
.pv1-hero-copy > p { font-size: 14px; line-height: 1.7; }
.pv1-section-title h2,
.pv1-premium-title h2 { font-size: 24px; line-height: 1.3; }
.pv1-steps h3 { font-size: 15px; }
.pv1-steps p,
.pv1-routes,
.pv1-services { font-size: 12px; }

.account-main { font-size: 13px; line-height: 1.6; }
.account-main .page-heading h1 { font-size: 24px; line-height: 1.3; font-weight: 700 !important; }
.account-main .page-heading p { font-size: 13px; line-height: 1.55; }
.account-main .panel-header h2 { font-size: 16px; font-weight: 600 !important; }
.account-main .panel-body { font-size: 13px; line-height: 1.6; }
.account-main .stat-panel strong,
.account-home-identity strong,
.account-progress-strip strong { font-weight: 700 !important; }
.account-sidebar .side-link { font-size: 13px; font-weight: 500 !important; }
.account-sidebar .side-link:hover,
.account-sidebar .side-link.active { font-weight: 600 !important; }

.modal-backdrop:has(.modal-context-public),
.modal-backdrop:has(.modal-context-account) {
  padding: 16px;
  background: rgba(19, 28, 29, .52);
  backdrop-filter: blur(3px);
}
.modal-context-public,
.modal-context-account {
  width: min(560px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  border: 1px solid rgba(218, 225, 223, .96);
  border-radius: 8px;
  color: #26383b;
  background: #fff;
  box-shadow: 0 24px 64px rgba(18, 31, 32, .2), 0 4px 16px rgba(18, 31, 32, .08);
  font-size: 13px;
}
.modal-context-public:has(.form-grid),
.modal-context-account:has(.form-grid) { width: min(660px, calc(100vw - 32px)); }
.modal-context-public:has(.international-address-form),
.modal-context-account:has(.international-address-form) { width: min(700px, calc(100vw - 32px)); }
.modal-context-public:has(#sourcing-request),
.modal-context-account:has(#sourcing-request),
.modal-context-public.parcel-quote-modal,
.modal-context-account.parcel-quote-modal { width: min(820px, calc(100vw - 32px)); }
.modal-context-public:has(.sourcing-image-viewer),
.modal-context-account:has(.sourcing-image-viewer) { width: min(900px, calc(100vw - 32px)); }
.modal-context-public.cart-modal,
.modal-context-account.cart-modal,
.modal-context-public:has([data-confirm-id]),
.modal-context-account:has([data-confirm-id]),
.modal-context-public:has([data-prompt-id]),
.modal-context-account:has([data-prompt-id]) { width: min(420px, calc(100vw - 32px)); }

.modal-context-public .modal-header,
.modal-context-account .modal-header {
  min-height: 56px;
  padding: 0 18px 0 20px;
  border-bottom-color: #e8edeb;
  background: #fff;
}
.modal-context-public .modal-header h2,
.modal-context-account .modal-header h2 {
  min-width: 0;
  overflow: hidden;
  color: #1d3033;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-context-public .modal-close,
.modal-context-account .modal-close {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #657477;
  background: #f3f6f5;
  font-size: 20px;
  line-height: 1;
  transition: color .16s ease, background .16s ease;
}
.modal-context-public .modal-close:hover,
.modal-context-account .modal-close:hover {
  color: #243638;
  background: #e9eeec;
}
.modal-context-public .modal-body,
.modal-context-account .modal-body {
  padding: 20px;
  color: #435558;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  scrollbar-gutter: stable;
}
.modal-context-public .modal-body img,
.modal-context-account .modal-body img,
.modal-context-public .modal-body video,
.modal-context-account .modal-body video,
.modal-context-public .modal-body iframe,
.modal-context-account .modal-body iframe { max-width: 100%; }
.modal-context-public .modal-footer,
.modal-context-account .modal-footer {
  min-height: 58px;
  gap: 8px;
  padding: 10px 18px;
  border-top-color: #e8edeb;
  background: #fafcfb;
}
.modal-context-public .modal-footer button,
.modal-context-account .modal-footer button {
  min-height: 38px;
  padding-inline: 15px;
  border-radius: 6px;
  font-size: 13px;
}
.modal-context-public .field label,
.modal-context-account .field label { color: #435356; font-size: 12px; font-weight: 600 !important; }
.modal-context-public .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.modal-context-public .field select,
.modal-context-account .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.modal-context-account .field select {
  min-height: 38px;
  height: 38px;
  padding: 6px 10px;
  border-color: #cfd8d5;
  border-radius: 5px;
  background: #fff;
  font-size: 13px;
}
.modal-context-public .field textarea,
.modal-context-account .field textarea {
  min-height: 76px;
  padding: 8px 10px;
  border-color: #cfd8d5;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.5;
}
.modal-context-public .field input:focus,
.modal-context-public .field select:focus,
.modal-context-public .field textarea:focus,
.modal-context-account .field input:focus,
.modal-context-account .field select:focus,
.modal-context-account .field textarea:focus {
  border-color: #b96a43;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(185, 106, 67, .1);
}
.modal-context-public .confirm-dialog-message,
.modal-context-account .confirm-dialog-message {
  margin: 0;
  color: #4c5d60;
  font-size: 13px;
  line-height: 1.65;
}

.header-popover,
.account-popover,
.language-popover,
.currency-popover {
  border-color: #dde4e2;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 39, 40, .16), 0 3px 10px rgba(24, 39, 40, .06);
}

@media (max-width: 680px) {
  .pv1-hero h1 { font-size: 28px; line-height: 1.22; }
  .pv1-hero-copy > p { font-size: 12px; line-height: 1.65; }
  .pv1-section-title h2,
  .pv1-premium-title h2 { font-size: 19px; }
  .account-main .page-heading h1 { font-size: 21px; }
  .account-main .page-heading p { font-size: 12px; }

  .modal-backdrop:has(.modal-context-public),
  .modal-backdrop:has(.modal-context-account) {
    align-items: end;
    padding: 10px;
  }
  .modal-context-public,
  .modal-context-account,
  .modal-context-public:has(.form-grid),
  .modal-context-account:has(.form-grid),
  .modal-context-public:has(.international-address-form),
  .modal-context-account:has(.international-address-form),
  .modal-context-public:has(#sourcing-request),
  .modal-context-account:has(#sourcing-request),
  .modal-context-public.parcel-quote-modal,
  .modal-context-account.parcel-quote-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 8px;
  }
  .modal-backdrop:has(.sourcing-image-viewer) { align-items: center; }
  .modal-context-public .modal-header,
  .modal-context-account .modal-header { min-height: 52px; padding-inline: 16px 13px; }
  .modal-context-public .modal-header h2,
  .modal-context-account .modal-header h2 { font-size: 16px; }
  .modal-context-public .modal-body,
  .modal-context-account .modal-body { padding: 16px; }
  .modal-context-public .modal-footer,
  .modal-context-account .modal-footer { min-height: 56px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); }
  .modal-context-public .modal-footer button,
  .modal-context-account .modal-footer button { min-width: 0; flex: 1 1 120px; padding-inline: 10px; }
}

.account-new-purchase img { width: 16px; height: 16px; flex: 0 0 16px; }
.primary-button.danger { background: #e5484d; }
.primary-button.danger:hover, .primary-button.danger:active { background: #c93a3f; }
button:disabled, select:disabled, .primary-button:disabled, .secondary-button:disabled, .wp-primary:disabled {
  cursor: not-allowed;
  opacity: .52;
  filter: grayscale(.25);
  box-shadow: none;
}
.dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 2px 8px rgba(28,34,43,.035); }
.dashboard-grid > *, .panel { min-width: 0; }
.stat-panel { min-height: 126px; padding: 21px; }
.stat-panel .label { color: var(--muted); font-size: 13px; }
.stat-panel strong { display: block; margin-top: 13px; font-size: 27px; }
.stat-panel small { display: block; margin-top: 6px; color: var(--success); }
.panel-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.panel-header h2 { margin: 0; font-size: 17px; }
.panel-body { padding: 20px; }
.wide-panel { grid-column: span 3; }
.side-panel { grid-column: span 1; }
.profile-hero { display: flex; align-items: center; gap: 18px; padding: 22px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.profile-avatar { width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: var(--orange); font-weight: 800; font-size: 17px; }
.profile-avatar-picker { position: relative; width: 70px; height: 70px; flex: 0 0 auto; display: block; border-radius: 50%; cursor: pointer; }
.profile-avatar-picker .profile-avatar { position: absolute; inset: 0; }
.profile-avatar-picker::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 50%; background: linear-gradient(180deg, rgba(18,27,31,.04), rgba(18,27,31,.48)); opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.profile-avatar-picker:hover::after, .profile-avatar-picker:focus-within::after { opacity: 1; }
.profile-avatar-picker-badge { position: absolute; right: -1px; bottom: -1px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--orange); font-size: 13px; line-height: 1; font-weight: 800; box-shadow: 0 2px 6px rgba(35,42,48,.22); pointer-events: none; }
.inspection-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.inspection-photo-grid button { aspect-ratio: 1; padding: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #f4f5f6; cursor: zoom-in; }
.inspection-photo-grid img,
.inspection-photo-grid video { width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.inspection-photo-grid button > span,
.admin-inspection-photo-grid button > span { position: absolute; right: 4px; bottom: 4px; padding: 2px 5px; border-radius: 3px; background: rgba(18,27,31,.78); color: #fff; font-size: 9px; }
.inspection-photo-grid button:hover img { transform: scale(1.04); }
.inspection-photo-large { display: grid; place-items: center; min-height: 240px; max-height: 75vh; overflow: auto; background: #111; }
.inspection-photo-large img,
.inspection-photo-large video { max-width: 100%; max-height: 72vh; object-fit: contain; }
.level-badge, .status-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 12px; background: #fff2e8; color: var(--orange-dark); font-size: 12px; font-weight: 750; }
.status-badge.success { background: #e9f7ef; color: #167348; }
.status-badge.info { background: #e8f1fb; color: #245f9e; }
.status-badge.muted { background: #eff1f3; color: #68707a; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.modal:has(.international-address-form) { width: min(760px, 100%); }
.international-address-form { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px 13px; }
.international-address-form .field { min-width: 0; gap: 5px; }
.international-address-form .address-field-country,
.international-address-form .address-field-line,
.international-address-form .address-field-default { grid-column: 1 / -1; }
.international-address-form .address-field-recipient,
.international-address-form .address-field-phone { grid-column: span 3; }
.international-address-form .address-field-city,
.international-address-form .address-field-region,
.international-address-form .address-field-postal { grid-column: span 2; }
.international-address-form .field > label { font-size: 11.5px; line-height: 1.25; }
.international-address-form .field input:not([type="checkbox"]):not([type="radio"]),
.international-address-form .field select { min-height: 38px; padding: 7px 10px; font-size: 13px; }
.international-address-form .address-field-default { padding-top: 3px; }
.international-address-form .address-field-default label { min-height: 30px; display: inline-flex; align-items: center; gap: 8px; }
.pac-container { z-index: 130 !important; max-width: calc(100vw - 24px) !important; overflow: hidden; border: 1px solid #d8dce1; border-radius: 5px; box-sizing: border-box; box-shadow: 0 12px 30px rgba(24,30,40,.18); font-family: var(--font-ui); }
.pac-item { min-height: 38px; padding: 5px 10px; display: flex; align-items: center; overflow: hidden; font-size: 12px; }
.pac-item-query { min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sourcing-sku-list { display: grid; gap: 10px; margin: 8px 0; }
.sourcing-sku-picker { display: grid; gap: 14px; margin-top: 8px; }
.sourcing-sku-filter { display: grid; gap: 9px; }
.sourcing-sku-filter > span { color: #59616b; font-size: 13px; font-weight: 750; }
.sourcing-sku-mobile-control { display: none; }
.sourcing-sku-groups { display: flex; flex-wrap: wrap; gap: 8px; }
.sourcing-sku-group-button { min-width: 92px; min-height: 46px; display: inline-grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid #d8dde2; border-radius: 5px; color: #313840; background: #fff; text-align: left; cursor: pointer; }
.sourcing-sku-group-button.has-image { grid-template-columns: 30px minmax(0, 1fr) auto; }
.sourcing-sku-group-button > img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; }
.sourcing-sku-group-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.sourcing-sku-group-button small { color: #808891; font-size: 11px; }
.sourcing-sku-group-button:hover { border-color: #ff8a76; color: #db3f2b; }
.sourcing-sku-group-button.is-active { border-color: #ff5a42; color: #c93420; background: #fff5f2; box-shadow: inset 0 0 0 1px #ff5a42; }
.sourcing-sku-group-panel { padding-top: 2px; }
.sourcing-sku-group-panel[hidden] { display: none; }
.sourcing-sku-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 4px; }
.sourcing-sku-group-heading strong { font-size: 14px; }
.sourcing-sku-group-heading span { color: #7a828b; font-size: 12px; }
.sourcing-sku-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 92px; align-items: center; gap: 12px; padding: 12px; border: 1px solid #dce2e8; background: #fff; cursor: pointer; }
.sourcing-sku-row.has-image { grid-template-columns: 22px 48px minmax(0, 1fr) 92px; }
.sourcing-sku-row:has(input[type="checkbox"]:checked) { border-color: #ff5a42; background: #fff8f5; }
.sourcing-sku-row.is-sold-out { color: #8b9299; background: #f5f6f7; cursor: not-allowed; opacity: .78; }
.sourcing-size-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(135px, 100%), 1fr)); gap: 8px; margin-top: 8px; }
.sourcing-size-option { position: relative; min-height: 66px; display: grid; place-items: center; align-content: center; gap: 3px; min-width: 0; padding: 8px 9px; border: 1px solid #d7dde3; border-radius: 5px; background: #fff; cursor: pointer; text-align: center; }
.sourcing-size-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sourcing-size-option strong { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.sourcing-size-option small { color: #747d86; font-size: 10px; line-height: 1.2; }
.sourcing-size-option:hover { border-color: #ff8a76; }
.sourcing-size-option:has(input:checked) { border-color: #ff5a42; color: #c93420; background: #fff5f2; box-shadow: inset 0 0 0 1px #ff5a42; }
.sourcing-size-option.is-sold-out { color: #9299a0; background: #f3f4f5; cursor: not-allowed; opacity: .7; }
.sourcing-selected-sizes { display: grid; gap: 7px; margin-top: 10px; }
.sourcing-selected-size-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid #f0d4cd; border-radius: 5px; background: #fffaf8; }
.sourcing-selected-size-row[hidden] { display: none; }
.sourcing-selected-size-copy { min-width: 0; display: grid; gap: 3px; }
.sourcing-selected-size-copy > strong { min-width: 0; overflow: hidden; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.sourcing-selected-size-copy > strong.is-long { font-size: 11px; }
.sourcing-selected-size-copy > strong.is-very-long { font-size: 10px; }
.sourcing-selected-size-copy > span { color: #68717a; font-size: 11px; }
.sourcing-selected-size-row > label { display: flex; align-items: center; gap: 6px; }
.sourcing-quantity-stepper { display: inline-grid; grid-template-columns: 30px 46px 30px; align-items: stretch; overflow: hidden; border: 1px solid #cfd5db; border-radius: 5px; background: #fff; }
.sourcing-quantity-stepper button { min-width: 0; min-height: 30px; padding: 0; border: 0; color: #343b42; background: #f4f5f6; font-size: 17px; line-height: 1; cursor: pointer; }
.sourcing-quantity-stepper button:hover:not(:disabled) { color: #c93420; background: #fff0ec; }
.sourcing-quantity-stepper button:disabled { color: #b7bdc3; cursor: default; }
.sourcing-quantity-stepper input { width: 46px !important; min-height: 30px !important; padding: 3px !important; border: 0 !important; border-inline: 1px solid #d9dee3 !important; border-radius: 0 !important; box-shadow: none !important; font-size: 12px; text-align: center; appearance: textfield; }
.sourcing-quantity-stepper input::-webkit-inner-spin-button, .sourcing-quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.sourcing-sku-row > input { width: 18px; height: 18px; accent-color: #ff4f38; }
.sourcing-sku-row span { min-width: 0; }
.sourcing-sku-row strong, .sourcing-sku-row small { display: block; }
.sourcing-sku-row small { margin-top: 3px; color: #68707a; }
.sourcing-sku-image { width: 48px; height: 48px; overflow: hidden; border: 1px solid #e2e5e8; border-radius: 5px; background: #f4f5f6; }
.sourcing-sku-image img { width: 100%; height: 100%; object-fit: cover; }
.sourcing-sku-image.is-broken img { display: none; }
.sourcing-sku-quantity input { width: 100%; min-height: 38px; padding: 7px 9px; }
.sourcing-product-gallery { min-width: 0; }
.modal:has(#sourcing-request) { width: min(850px, 100%); }
.sourcing-product-overview { grid-column: 1 / -1; min-width: 0; display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 1.12fr); gap: 18px; align-items: stretch; }
.sourcing-product-overview > .field { min-width: 0; }
.sourcing-product-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.sourcing-product-gallery-heading label { margin: 0; }
.sourcing-product-gallery-heading small { color: #7a828b; font-size: 11px; }
.sourcing-product-gallery-body { width: 100%; height: 220px; display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 8px; align-items: stretch; }
.sourcing-product-main-preview { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 0; border: 1px solid #d9dfe4; border-radius: 6px; background: #f4f5f6; cursor: zoom-in; }
.sourcing-product-main-preview img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sourcing-product-main-preview > span { position: absolute; color: #7b828a; font-size: 11px; }
.sourcing-product-main-preview.is-broken img { display: none; }
.sourcing-product-main-counter { position: absolute; right: 7px; bottom: 7px; z-index: 2; padding: 4px 7px; border-radius: 4px; color: #fff; background: rgba(20,24,28,.72); font-size: 10px; line-height: 1; }
.sourcing-product-thumbnails { min-height: 0; display: grid; grid-auto-rows: 50px; gap: 6px; align-content: start; overflow-y: auto; padding-right: 3px; scrollbar-width: thin; scroll-snap-type: y proximity; }
.sourcing-product-thumb { position: relative; width: 50px; height: 50px; display: grid; place-items: center; overflow: hidden; padding: 0; border: 1px solid #d9dfe4; border-radius: 5px; background: #f4f5f6; cursor: pointer; scroll-snap-align: start; }
.sourcing-product-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: #fff; transition: transform .16s ease; }
.sourcing-product-thumb > span { position: absolute; color: #7b828a; font-size: 9px; }
.sourcing-product-thumb:hover { border-color: #ff7a63; }
.sourcing-product-thumb:hover img { transform: scale(1.06); }
.sourcing-product-thumb.is-active { border-color: #ff5a42; box-shadow: inset 0 0 0 1px #ff5a42; }
.sourcing-product-thumb.is-broken img { display: none; }
.sourcing-image-viewer { position: relative; min-height: min(68vh, 620px); display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; overflow: hidden; background: #111; }
.sourcing-image-viewer img { width: 100%; height: min(68vh, 620px); object-fit: contain; }
.sourcing-image-viewer-nav { width: 36px; height: 48px; display: grid; place-items: center; justify-self: center; padding: 0; border: 0; border-radius: 4px; color: #fff; background: rgba(255,255,255,.14); font-size: 30px; cursor: pointer; }
.sourcing-image-viewer-nav:hover:not(:disabled) { background: rgba(255,255,255,.24); }
.sourcing-image-viewer-nav:disabled { opacity: .25; cursor: default; }
.sourcing-image-viewer-counter { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; min-width: 54px; padding: 5px 9px; border-radius: 4px; color: #fff; background: rgba(0,0,0,.65); font-size: 11px; text-align: center; }
.sourcing-image-viewer-backdrop { z-index: 95; }
.sourcing-image-viewer-backdrop .modal { width: min(900px, 100%); }
.sourcing-product-summary { min-height: 100%; display: grid; align-content: start; gap: 12px; padding: 16px 18px; border: 1px solid #dce1e6; border-radius: 5px; background: #fafbfc; }
.sourcing-product-summary-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: #737b84; font-size: 12px; }
.sourcing-platform-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px; border-radius: 4px; color: #b83220; background: #fff0ec; font-weight: 800; }
.sourcing-product-summary-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #252b31; font-size: 14px; line-height: 1.45; }
.sourcing-product-summary-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 3px; }
.sourcing-product-summary-prices span { display: grid; gap: 2px; }
.sourcing-product-summary-prices small { color: #7b838c; font-size: 11px; }
.sourcing-product-summary-prices b { color: #31373e; font-size: 13px; }
.sourcing-product-summary-prices span:first-child b { color: #dc452f; }
.sourcing-product-summary-stats { margin-top: auto; padding-top: 13px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid #e1e5e8; }
.sourcing-product-summary-stats span { min-width: 0; display: grid; gap: 3px; }
.sourcing-product-summary-stats small { overflow: hidden; color: #7b838c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sourcing-product-summary-stats b { overflow: hidden; color: #31373e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 781px) {
  .sourcing-product-gallery { display: grid; align-content: start; justify-items: center; }
  .sourcing-product-gallery-heading { width: min(100%, 366px); }
  .sourcing-product-gallery-body { width: min(100%, 366px); height: 280px; grid-template-columns: minmax(0, 1fr) 50px; justify-content: center; margin-inline: auto; }
  .sourcing-product-main-preview { width: 100%; height: 280px; padding: 10px; background: #fff; }
  .sourcing-product-main-preview img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
  .sourcing-product-thumbnails { width: 50px; grid-auto-rows: 46px; justify-items: center; }
  .sourcing-product-thumb { width: 46px; height: 46px; background: #fff; }
  .sourcing-product-thumb img { object-fit: contain; object-position: center; }
}
.sourcing-selection-summary { align-self: center; margin-right: auto; color: #5f6770; font-size: 12px; font-weight: 700; }
.sourcing-checkout { display: grid; gap: 18px; }
.sourcing-checkout-order { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sourcing-checkout-order > span, .sourcing-checkout-order > small { color: var(--muted); }
.sourcing-checkout-order > strong { grid-row: 1 / span 2; grid-column: 2; font-size: 15px; }
.sourcing-price-lines { display: grid; gap: 11px; }
.sourcing-price-lines > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #59616b; font-size: 14px; }
.sourcing-price-lines strong { color: #252b32; font-size: 14px; }
.sourcing-price-lines .discount strong { color: var(--success); }
.sourcing-price-lines .sourcing-price-total { margin-top: 3px; padding-top: 15px; border-top: 1px solid var(--line); color: #1f252b; font-weight: 800; }
.sourcing-price-lines .sourcing-price-total strong { color: var(--orange-dark); font-size: 24px; }
.sourcing-payment-methods { min-width: 0; display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.sourcing-payment-methods legend { margin-bottom: 9px; font-size: 13px; font-weight: 750; }
.sourcing-payment-method { min-height: 62px; display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid #d8dce1; border-radius: 5px; cursor: pointer; }
.sourcing-payment-method:has(input:checked) { border-color: var(--orange); background: #fff8f4; box-shadow: 0 0 0 2px rgba(255,122,26,.1); }
.sourcing-payment-method input { width: 18px; height: 18px; margin: 0; accent-color: var(--orange); }
.sourcing-payment-method span, .sourcing-payment-method strong, .sourcing-payment-method small { min-width: 0; display: block; }
.sourcing-payment-method small { margin-top: 3px; color: var(--muted); }
.sourcing-payment-method > b { visibility: hidden; color: var(--orange-dark); text-align: center; }
.sourcing-payment-method:has(input:checked) > b { visibility: visible; }
.sourcing-payment-method.disabled { opacity: .55; cursor: not-allowed; background: #f4f5f6; }
.sourcing-checkout-note { margin: 0; padding: 11px 13px; color: #5e6670; background: #f5f7f8; border-left: 3px solid #88919b; font-size: 13px; line-height: 1.55; }
.payment-agreement { min-width: 0; min-height: 30px; margin: 0; padding: 6px 8px; display: flex; align-items: center; gap: 7px; border: 1px solid #e1e5e6; border-radius: 4px; background: #fafbfb; color: #687276; font-size: 11px; line-height: 1.35; cursor: pointer; }
.payment-agreement input { width: 14px; height: 14px; margin: 0; flex: 0 0 14px; accent-color: var(--orange); }
.payment-agreement span { min-width: 0; }
.registration-agreement { min-width: 0; min-height: 30px; margin: 0; padding: 6px 8px; display: flex; align-items: flex-start; gap: 7px; border: 1px solid #e1e5e6; border-radius: 4px; background: #fafbfb; color: #687276; font-size: 11px; line-height: 1.45; }
.registration-agreement > input { width: 14px; height: 14px; margin: 1px 0 0; flex: 0 0 14px; accent-color: var(--orange); }
.registration-agreement label { min-width: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.registration-agreement a { color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.registration-agreement a:hover { text-decoration: underline; }
.sourcing-payment-success { padding: 4px 0 20px; text-align: center; }
.sourcing-payment-success h3 { margin: 10px 0 6px; font-size: 21px; }
.sourcing-payment-success p { max-width: 560px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.sourcing-success-mark { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; color: #fff; background: var(--success); font-size: 27px; font-weight: 800; }
.post-payment-address-card,
.post-payment-address-reminder { margin-top: 4px; padding: 12px 14px; border: 1px solid #dce2e6; border-radius: 5px; background: #fafbfc; }
.post-payment-address-card strong,
.post-payment-address-reminder strong { display: block; margin-bottom: 5px; font-size: 13px; }
.post-payment-address-card p,
.post-payment-address-reminder p { margin: 0; color: #5f6870; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.post-payment-address-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.post-payment-address-reminder { border-color: #efd6c8; background: #fff9f5; }
.shipping-address-required { margin-bottom: 18px; padding: 14px 16px; border-left: 3px solid var(--orange); background: #fff8f4; }
.shipping-address-required strong { display: block; margin-bottom: 5px; }
.shipping-address-required p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.media-upload-control > input[type="file"] { padding: 9px; border: 1px dashed #aeb7b6; background: #f8faf9; }
.media-upload-preview { display: block; width: min(100%, 520px); max-height: 300px; margin-top: 10px; border: 1px solid var(--line); border-radius: 4px; object-fit: contain; background: #111; }
.admin-inspection-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, 88px); gap: 10px; min-height: 88px; margin-top: 4px; }
.admin-inspection-photo-grid button { width: 88px; height: 88px; padding: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #f4f5f6; cursor: zoom-in; }
.admin-inspection-photo-grid img,
.admin-inspection-photo-grid video { width: 88px; height: 88px; object-fit: cover; border-radius: 5px; }
.admin-inspection-photo-grid.empty { display: flex; align-items: center; justify-content: center; padding: 16px; border: 1px dashed #c7cdd3; background: #f8faf9; color: var(--muted); }
.admin-inspection-photo-grid.empty p { margin: 0; font-size: 13px; }
.media-embed { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.media-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.published-video { display: block; width: 100%; max-height: 620px; background: #111; }
.published-image { display: block; width: 100%; object-fit: cover; }
.wp-content-card .content-card-media { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 14px; object-fit: cover; }
.article-detail-media, .page-media { margin-bottom: 18px; border-radius: 4px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .filter-input { width: 100%; min-height: 43px; padding: 9px 12px; border: 1px solid #d8dce1; border-radius: 5px; outline: none; background: #fff; }
.field textarea { min-height: 94px; resize: vertical; }
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field select:focus, .field textarea:focus, .filter-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,26,.12); }
.field label:has(> input[type="checkbox"]), .field label:has(> input[type="radio"]) { min-height: 32px; display: flex; align-items: center; gap: 9px; line-height: 1.45; cursor: pointer; }
.field input[type="checkbox"], .field input[type="radio"] { width: 18px; height: 18px; min-width: 18px; margin: 0; accent-color: var(--orange); }
.field small { color: var(--muted); }
.user-picker-search { margin-bottom: 8px; }
.tabs { display: flex; gap: 4px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #fff; }
.tab { min-height: 50px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; }
.tab.active { color: var(--orange-dark); border-bottom-color: var(--orange); font-weight: 750; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.data-table th { color: #6c737d; background: #fafbfc; font-size: 12px; text-transform: uppercase; }
.data-table tr:hover td { background: #fffaf6; }
.mobile-order-list { display: none; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--orange-dark); font-weight: 750; }
.empty-state { padding: 68px 20px; text-align: center; color: var(--muted); }
.empty-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: #969da6; background: #f1f3f5; font-size: 29px; }
.wallet-balance { min-height: 170px; display: flex; flex-direction: column; justify-content: center; padding: 28px; color: #fff; background: linear-gradient(135deg, #1f252b, #3c434b); border-radius: 7px; }
.wallet-balance span { color: #c8cdd3; }
.wallet-balance strong { margin: 12px 0 22px; font-size: 37px; }
.wallet-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-action { min-height: 78px; padding: 14px; border: 1px solid var(--line); border-radius: 5px; background: #fff; text-align: left; }
.quick-action b { display: block; margin-bottom: 5px; }
.quick-action span { color: var(--muted); font-size: 12px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(17,20,24,.55); }
.modal { width: min(720px, 100%); max-height: min(760px, calc(100vh - 36px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; background: #fff; border-radius: 7px; box-shadow: 0 20px 70px rgba(0,0,0,.28); }
.cart-modal { width: min(420px, 100%); max-height: min(580px, calc(100vh - 36px)); }
.modal-header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 19px; }
.modal-close { width: 34px; height: 34px; border: 0; background: transparent; font-size: 24px; }
.modal-body { min-height: 0; overflow-y: auto; padding: 22px; }
.modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); background: #fff; }
.quote-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin: 12px 0; }
.quote-image-grid a { display: block; min-width: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #f7f8fa; }
.quote-image-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; width: max-content; max-width: min(380px, calc(100% - 28px)); padding: 8px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; color: #fff; background: rgba(32,37,43,.96); box-shadow: 0 8px 24px rgba(20,25,30,.18); font-size: 12px; font-weight: 500; line-height: 1.4; text-align: center; overflow-wrap: anywhere; transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.header-popover { position: fixed; z-index: 90; width: 244px; overflow: hidden; border: 1px solid #e1e4e8; border-radius: 5px; background: #fff; box-shadow: 0 10px 28px rgba(24,30,40,.16); }
.account-popover-profile { min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.account-popover-profile > span:last-child { min-width: 0; }
.account-popover-profile strong, .account-popover-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-popover-profile small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.profile-menu-avatar { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #e76f19; font-size: 10px; font-weight: 800; }
.account-popover nav { padding: 5px 0; }
.account-popover nav a, .popover-logout { width: 100%; min-height: 34px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 7px; padding: 0 12px; border: 0; color: #4d535c; background: #fff; text-align: left; font-size: 12px; }
.account-popover nav a:hover, .popover-logout:hover { color: var(--orange-dark); background: #f4f5f6; }
.account-popover nav a > span:first-child, .popover-logout > span:first-child { color: #89919b; text-align: center; }
.account-popover .management-link { color: var(--orange-dark); background: #f3f3f3; font-weight: 700; }
.popover-logout { border-top: 1px solid var(--line); }
.language-popover { width: 260px; }
.language-popover header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.language-popover header small { color: var(--muted); }
.language-list { display: grid; grid-template-columns: 1fr 1fr; padding: 6px; gap: 2px; }
.language-list button { min-width: 0; min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 0 8px; overflow: hidden; border: 0; border-radius: 3px; color: #4d535c; background: transparent; text-align: left; font-size: 12px; }
.language-list button > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-list button > span:last-child { flex: 0 0 auto; }
.language-list button:hover { background: #f4f5f6; }
.language-list button.active { color: var(--orange-dark); background: #fff3ea; font-weight: 700; }
.language-popover footer { display: flex; justify-content: space-between; padding: 13px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.language-popover footer strong { color: var(--ink); }
.currency-popover { width: 276px; }
.currency-popover header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.currency-popover header div strong, .currency-popover header div small { display: block; }
.currency-popover header div small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.currency-popover header > button { width: 30px; height: 30px; border: 0; border-radius: 50%; color: #6d7779; background: #f1f4f3; font-size: 20px; }
.currency-list { max-height: 276px; padding: 6px; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.currency-list > button { min-width: 0; min-height: 44px; padding: 6px 8px; display: grid; grid-template-columns: minmax(0,1fr) auto 13px; align-items: center; gap: 4px; border: 1px solid transparent; border-radius: 5px; color: #344346; background: transparent; text-align: left; }
.currency-list > button:hover { background: #f4f6f5; }
.currency-list > button.active { border-color: #f1b6a3; color: #d8401f; background: #fff3ee; }
.currency-list > button span, .currency-list > button span b, .currency-list > button span small { min-width: 0; display: block; }
.currency-list > button span small { margin-top: 3px; overflow: hidden; color: #7b8587; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.currency-list > button > strong { font-size: 14px; }
.currency-list > button > i { color: #df4b29; font-style: normal; }
.currency-popover > footer { padding: 11px 15px; border-top: 1px solid var(--line); color: #7a8486; font-size: 10px; line-height: 1.5; }

.wp-shell { min-height: 100vh; color: #1d2327; background: #f0f0f1; font-family: Arial, sans-serif; }
.wp-adminbar { height: 36px; position: sticky; z-index: 60; top: 0; display: flex; align-items: stretch; color: #f0f0f1; background: #1d2327; }
.wp-adminbar > a, .wp-adminbar > button { min-width: 40px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 0; color: inherit; background: transparent; font-size: 13px; }
.wp-adminbar > a:hover, .wp-adminbar > button:hover { color: #72aee6; background: #2c3338; }
.wp-adminbar .wp-language-button { width: auto; min-width: 0; min-height: 36px; color: #f0f0f1; font-size: 12px; }
.wp-adminbar .wp-mark { width: 42px; justify-content: center; padding: 0; font-family: Georgia, serif; font-size: 21px; }
.wp-adminbar-spacer { flex: 1; }
.wp-adminbar button:last-child b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 2px; color: #fff; background: #646970; font-size: 9px; }
.wp-layout { min-height: calc(100vh - 36px); display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.wp-sidebar { position: sticky; top: 36px; height: calc(100vh - 36px); color: #f0f0f1; background: #1d2327; }
.wp-sidebar nav { padding: 8px 0; }
.wp-sidebar a { min-height: 38px; display: grid; grid-template-columns: 34px 1fr; align-items: center; padding: 0 12px 0 8px; color: #f0f0f1; font-size: 14px; }
.wp-sidebar a:hover { color: #72aee6; background: #2c3338; }
.wp-sidebar a.active { color: #fff; background: #2271b1; }
.wp-sidebar a span { text-align: center; color: #a7aaad; font-size: 17px; }
.wp-sidebar a.active span { color: #fff; }
.wp-sidebar a strong { font-weight: 500; }
.wp-collapse { width: 100%; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 0; color: #a7aaad; background: transparent; font-size: 13px; }
.wp-main { min-width: 0; padding: 24px 28px 50px; }
.wp-heading { min-height: 52px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.wp-heading h1 { margin: 0; font-size: 25px; font-weight: 500; }
.wp-heading p { margin: 5px 0 0; color: #646970; font-size: 13px; }
.wp-primary, .wp-list-tools button { min-height: 34px; padding: 0 13px; border: 1px solid #2271b1; border-radius: 3px; color: #fff; background: #2271b1; font-weight: 600; }
.wp-primary:hover { background: #135e96; }
.wp-view-site { min-height: 34px; display: inline-flex; align-items: center; border-color: #2271b1; color: #2271b1; }
.wp-notice { min-height: 52px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 14px; border-left: 4px solid #72aee6; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.04); font-size: 13px; }
.wp-notice span { color: #646970; }
.wp-widget-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wp-widget, .wp-list-card { border: 1px solid #c3c4c7; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.wp-widget > header { min-height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid #dcdcde; }
.wp-widget > header h2 { margin: 0; font-size: 14px; }
.wp-widget > header button { border: 0; color: #646970; background: transparent; }
.wp-widget-body { padding: 14px; }
.wp-widget-body .field + .field { margin-top: 12px; }
.wp-glance-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wp-glance-links a { display: flex; gap: 7px; color: #2271b1; }
.wp-glance-links strong { color: #1d2327; }
.wp-widget-body > p { color: #646970; font-size: 13px; line-height: 1.6; }
.wp-health { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.wp-health > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #00a32a; font-size: 12px; font-weight: 700; }
.wp-health p { margin: 5px 0 0; color: #646970; font-size: 13px; line-height: 1.5; }
.wp-activity { margin: 0; padding: 0; list-style: none; }
.wp-activity li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f0f0f1; font-size: 13px; }
.wp-activity a { color: #2271b1; }
.wp-activity time { color: #787c82; white-space: nowrap; }
.wp-list-card { padding: 12px 0 0; }
.wp-list-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 12px 12px; }
.wp-list-tools > div, .wp-list-tools label { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.wp-list-tools select, .wp-list-tools input { min-height: 34px; border: 1px solid #8c8f94; border-radius: 3px; background: #fff; }
.wp-list-tools button { color: #2271b1; background: #f6f7f7; }
.wp-table { width: 100%; border-collapse: collapse; }
.wp-table th, .wp-table td { padding: 10px; border-top: 1px solid #c3c4c7; text-align: left; vertical-align: top; font-size: 13px; }
.wp-table th { color: #2271b1; background: #fff; }
.wp-table tbody tr:nth-child(odd) { background: #f6f7f7; }
.wp-table td strong a { color: #2271b1; }
.wp-row-actions { display: flex; gap: 8px; min-height: 18px; margin-top: 5px; opacity: 0; }
.wp-table tr:hover .wp-row-actions { opacity: 1; }
.wp-row-actions button { padding: 0; border: 0; color: #2271b1; background: transparent; font-size: 12px; }
.wp-row-actions button:nth-child(2) { color: #b32d2e; }
.wp-list-card > footer { display: flex; justify-content: space-between; padding: 10px 12px; border-top: 1px solid #c3c4c7; color: #646970; font-size: 12px; }
.wp-theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wp-theme { border: 1px solid #c3c4c7; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wp-theme.active { border-color: #2271b1; box-shadow: 0 0 0 2px #2271b1; }
.wp-theme-preview { aspect-ratio: 16 / 10; overflow: hidden; }
.wp-theme-preview img { width: 100%; height: 100%; object-fit: cover; }
.wp-theme-placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; color: #8c8f94; background: #f6f7f7; font-size: 58px; }
.wp-theme footer { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.wp-theme footer span { padding: 5px 8px; color: #fff; background: #2271b1; font-size: 11px; }
.wp-theme footer button { min-height: 30px; padding: 0 10px; }
.wp-settings-card { max-width: 840px; }
.auth-page { min-height: 520px; padding: 36px 20px 48px; }
.login-layout { width: min(380px, 100%); margin: 0 auto; }
.login-layout.auth-card { border-color: #dfe3e6; border-radius: 6px; box-shadow: 0 3px 12px rgba(25, 35, 42, .045); }
.login-layout .panel-body { padding: 24px 26px 22px; }
.login-layout .brand { width: 96px; display: block; margin: 0 auto 15px; }
.login-layout .brand img { width: 96px; height: 38px; }
.login-layout h1 { margin: 0 0 5px; text-align: center; font-size: 22px; line-height: 1.3; }
.login-layout > p, .login-layout .panel-body > p { margin: 0; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.auth-form { display: grid; gap: 10px; margin-top: 18px; }
.auth-form .field { gap: 4px; }
.auth-form .field label { color: #445156; font-size: 12px; line-height: 1.35; font-weight: 600; }
.auth-form .field label small { color: #8a9498; font-size: 10px; font-weight: 400; }
.auth-form .field input:not([type="checkbox"]):not([type="radio"]) { height: 40px; min-height: 40px; padding: 7px 10px; border-color: #cfd5d9; border-radius: 4px; font-size: 13px; }
.auth-form .field > small { color: #788589; font-size: 10.5px; line-height: 1.4; }
.auth-help { display: flex; justify-content: flex-end; margin-top: -2px; }
.auth-help .text-button { padding: 0; font-size: 11.5px; }
.auth-submit { width: 100%; min-height: 40px; margin-top: 2px; padding-inline: 16px; font-size: 13px; }
.auth-switch { margin: 15px 0 0 !important; font-size: 12px !important; }
.auth-switch a { color: var(--accent); font-weight: 700; }
.oauth-actions { display: grid; gap: 8px; margin: 17px 0 12px; }
.oauth-button { width: 100%; min-height: 40px; border: 1px solid #d9dde3; border-radius: 4px; background: #fff; color: #202124; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.oauth-button:hover { border-color: #aeb5bf; background: #f8fafc; }
.oauth-button span { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; font-weight: 800; }
.oauth-button.google span { color: #4285f4; }
.oauth-button.facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.oauth-button.facebook:hover { background: #1468d4; }
.oauth-button.facebook span { background: #fff; color: #1877f2; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--muted); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.auth-page-register { min-height: 560px; padding: 34px 20px 50px; background: #f2f4f3; }
.auth-register-shell { width: min(860px, 100%); min-height: 470px; margin: 0 auto; display: grid; grid-template-columns: minmax(280px, .78fr) minmax(440px, 1.22fr); overflow: hidden; border: 1px solid #d9dfdc; border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(25, 36, 33, .1); }
.auth-register-media { position: relative; min-width: 0; background: #25332f url('design-preview/reference-hero-logistics-v2.webp') center / cover no-repeat; border-right: 1px solid #d9dfdc; }
.auth-register-media::after { content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: var(--orange); }
.auth-register-card { width: 100%; min-width: 0; margin: 0; display: grid; align-items: center; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.auth-register-card .panel-body { width: 100%; min-width: 0; padding: 34px 40px 30px; }
.auth-register-heading > span { display: block; margin-bottom: 8px; color: var(--orange-dark); font-size: 10px; line-height: 1.2; font-weight: 750; letter-spacing: 0; }
.auth-register-heading h1 { margin: 0 0 6px; color: #202b28; text-align: left; font-size: 25px; line-height: 1.25; }
.auth-register-heading p { margin: 0; color: #6a7773; text-align: left; font-size: 12.5px; line-height: 1.55; }
.auth-register-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; margin-top: 22px; }
.auth-register-form .field { min-width: 0; }
.auth-register-form .field input { width: 100%; min-width: 0; }
.auth-register-form .registration-agreement,
.auth-register-form .auth-submit { grid-column: 1 / -1; }
.auth-register-form .registration-agreement { margin-top: 1px; }
.auth-register-card .auth-switch { margin-top: 17px !important; text-align: center !important; }
.tracking-brand-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tracking-brand-button { min-height: 42px; padding: 0 12px 0 8px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dfe3e7; border-radius: 8px; background: #fff; color: #263238; text-decoration: none; font-size: 12px; font-weight: 700; }
.tracking-brand-button:hover { border-color: #aeb7bf; background: #f7f9fa; }
.tracking-brand-logo { width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 7px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: -.3px; }
.tracking-brand-17 .tracking-brand-logo { background: #ff6b35; }
.tracking-brand-parcels .tracking-brand-logo { background: #1d8cf8; border-radius: 50%; font-size: 15px; }
.tracking-brand-ship24 .tracking-brand-logo { background: #12263a; }
.message-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.message-row:last-child { border-bottom: 0; }
.message-row p { margin: 5px 0 0; color: var(--muted); }
.message-row time { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.ticket-message { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticket-message p { margin: 6px 0; white-space: pre-wrap; }
.ticket-message small { color: var(--muted); }

.favorite-panel,
.ticket-panel { min-width: 0; }
.favorite-panel > .empty-state,
.ticket-panel > .empty-state { padding: 52px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.favorite-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.favorite-card { min-width: 0; min-height: 136px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.favorite-thumb { width: 112px; height: 108px; border-radius: 6px; object-fit: contain; background: #f6f8f8; }
.favorite-thumb-empty { display: grid; place-items: center; }
.favorite-thumb-empty img { width: 44px; height: 44px; object-fit: contain; opacity: .75; }
.favorite-content { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.favorite-content > span { color: var(--muted); font-size: 11px; }
.favorite-content h3 { width: 100%; margin: 0; overflow: hidden; color: #263b3f; font-size: 14px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.favorite-content > small { max-width: 100%; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.favorite-price { color: #a34f28; font-size: 13px; }
.favorite-actions { width: 100%; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.favorite-actions .primary-button { min-height: 34px; padding: 7px 12px; }
.ticket-list { display: grid; gap: 10px; }
.ticket-card { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 8px; color: inherit; text-align: left; background: #fff; cursor: pointer; }
.ticket-card:hover { border-color: #e4aa8d; background: #fffaf7; }
.ticket-card-main { min-width: 0; display: grid; gap: 5px; }
.ticket-card-main small,
.ticket-card-main em { color: var(--muted); font-size: 10px; font-style: normal; overflow-wrap: anywhere; }
.ticket-card-main strong { overflow: hidden; color: #263b3f; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ticket-card > i { color: #8b999c; font-size: 20px; font-style: normal; }
.ticket-detail-summary { margin-bottom: 12px; padding: 12px; border-radius: 6px; background: #f5f7f7; color: #42565a; font-size: 12px; }
.ticket-detail-summary p { margin: 8px 0 0; }
.customer-ticket-thread { display: grid; gap: 9px; margin: 12px 0 18px; }
.customer-ticket-thread .ticket-message { max-width: 86%; padding: 10px 12px; border: 0; border-radius: 7px; background: #f3f5f5; }
.customer-ticket-thread .ticket-message.from-user { justify-self: end; background: #fff0e8; }
.customer-ticket-thread .ticket-message p { overflow-wrap: anywhere; }
.sourcing-product-number { min-width: 0; overflow-wrap: anywhere; font-size: 11px; }
.sourcing-save-actions { width: auto; flex: 0 0 auto; display: inline-flex; align-items: center; margin: 0; }
.sourcing-save-action { min-width: 0; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 3px 8px; overflow: hidden; border: 1px solid #d7dde1; border-radius: 5px; color: #3e4d50; background: #fff; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.sourcing-save-action:hover:not(:disabled) { border-color: #d78561; color: #a64825; background: #fff8f4; }
.sourcing-save-action img { width: 15px; height: 15px; flex: 0 0 15px; object-fit: contain; }
.sourcing-save-action span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sourcing-save-action.is-unavailable { border-style: dashed; color: #7f898b; background: #f8f9f9; }
.sourcing-save-action:disabled { opacity: .7; cursor: wait; }
.sourcing-shop-name { display: block; max-width: 100%; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 780px) {
  body:has(.modal-backdrop) .floating-support { display: none; }
  .favorite-grid { grid-template-columns: 1fr; gap: 9px; }
  .favorite-card { min-height: 112px; grid-template-columns: 82px minmax(0, 1fr); gap: 11px; padding: 11px; }
  .favorite-thumb { width: 82px; height: 82px; }
  .favorite-content h3 { font-size: 12px; }
  .favorite-actions { gap: 5px 9px; }
  .favorite-actions .primary-button { min-height: 32px; padding: 6px 10px; font-size: 11px; }
  .sourcing-save-actions { width: auto; }
  .sourcing-save-action { min-height: 28px; padding: 3px 7px; font-size: 10px; }
  .ticket-card { grid-template-columns: minmax(0, 1fr) auto 10px; gap: 8px; padding: 12px; }
  .ticket-card-main strong { font-size: 12px; }
  .ticket-card .status-badge { max-width: 88px; white-space: normal; text-align: center; }
  .customer-ticket-thread .ticket-message { max-width: 94%; }
}
.quantity-stepper { width: 104px; height: 34px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; text-align: center; }
.quantity-stepper button { height: 100%; padding: 0; border: 0; background: #f6f7f9; font-size: 18px; }
.quantity-stepper button:disabled { cursor: not-allowed; opacity: .45; }

.ops-admin { min-height: 100vh; color: #1f2937; background: #f3f6fa; }
.ops-topnav { position: sticky; z-index: 50; top: 0; height: 50px; display: flex; align-items: stretch; color: #fff; background: #282d39; box-shadow: 0 1px 0 rgba(0,0,0,.22); }
.ops-brand { width: 210px; flex: 0 0 210px; display: flex; align-items: center; gap: 10px; padding: 0 20px; font-size: 14px; }
.ops-brand img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.ops-topnav nav { min-width: 0; display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
.ops-topnav nav::-webkit-scrollbar { display: none; }
.ops-topnav nav a { min-width: 104px; display: grid; place-items: center; padding: 0 14px; border-bottom: 2px solid transparent; white-space: nowrap; font-size: 14px; font-weight: 700; }
.ops-topnav nav a:hover { background: #303642; }
.ops-topnav nav a.active { color: #5ee1b2; border-bottom-color: #5ee1b2; }
.ops-user { display: flex; align-items: center; gap: 12px; padding: 0 18px 0 10px; }
.ops-timezone { height: 32px; padding: 0 12px; border: 0; border-radius: 4px; color: #fff; background: #3a404d; }
.ops-avatar { width: 38px; height: 38px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; color: #7b8491; background: #f1f3f5; font-size: 11px; font-weight: 800; }
.ops-layout { min-height: calc(100vh - 50px); display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.ops-sidebar { position: sticky; top: 50px; height: calc(100vh - 50px); overflow-y: auto; color: #d6dce4; background: #29303c; }
.ops-side-brand { display: none; }
.ops-sidebar nav { padding: 10px 0 26px; }
.ops-side-group { padding: 18px 20px 7px; color: #818b9b; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.ops-side-link { min-height: 44px; display: flex; align-items: center; gap: 13px; padding: 9px 18px; border-left: 3px solid transparent; font-size: 14px; }
.ops-side-link:hover { color: #fff; background: #313a48; }
.ops-side-link.active { color: #59aefb; border-left-color: #409eff; background: #24394d; }
.ops-side-icon { width: 17px; flex: 0 0 17px; color: #9fabb9; text-align: center; }
.ops-side-icon { height: 20px; display: grid; place-items: center; }
.ops-side-icon img { width: 18px; height: 18px; display: block; object-fit: contain; opacity: .72; }
.ops-side-link:hover .ops-side-icon img, .ops-side-link.active .ops-side-icon img { opacity: 1; }
.ops-toolbar-icon img { width: 18px; height: 18px; }
.ops-notice { position: relative; display: inline-grid; place-items: center; }
.ops-notice > img { width: 19px; height: 19px; display: block; }
.ops-side-link.active .ops-side-icon { color: #59aefb; }
.ops-main { min-width: 0; }
.ops-toolbar { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 18px; color: #6b7280; background: #fff; border-bottom: 1px solid #e7ebf0; }
.ops-toolbar .icon-button { width: 32px; height: 32px; border: 0; background: transparent; font-size: 18px; }
.ops-toolbar .spacer { flex: 1; }
.ops-toolbar strong { color: #9aa2ad; font-weight: 500; }
.ops-breadcrumb-sep { color: #c2c8d0; }
.ops-notice { position: relative; width: 36px; height: 36px; border: 1px solid #dfe3e8; border-radius: 50%; color: #8d96a3; background: #fff; }
.ops-notice span { position: absolute; top: -8px; right: -13px; min-width: 28px; padding: 2px 5px; border-radius: 10px; color: #fff; background: #f56c6c; font-size: 10px; }
.ops-content { padding: 14px 20px 40px; }
.ops-welcome { min-height: 180px; display: flex; align-items: center; justify-content: space-between; padding: 25px 30px; border-radius: 8px; color: #fff; background: #0d0d0e; box-shadow: 0 8px 20px rgba(20,32,50,.12); }
.ops-welcome h1 { margin: 0 0 8px; font-size: 29px; letter-spacing: 0; }
.ops-welcome p { margin: 0 0 12px; }
.ops-welcome small, .ops-welcome > div > strong { display: block; margin-top: 10px; }
.ops-welcome-avatar { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 50%; color: #b7c0cb; background: #f1f2f4; font-size: 32px; }
.ops-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.ops-metric { min-height: 90px; display: flex; align-items: center; gap: 15px; padding: 18px 20px; border-radius: 7px; background: #fff; box-shadow: 0 4px 13px rgba(30,46,66,.08); }
.ops-square-icon { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; border-radius: 8px; color: #fff; font-size: 23px; }
.ops-metric > div { min-width: 0; flex: 1; }
.ops-metric strong { font-size: 22px; }
.ops-metric p { margin: 3px 0 0; color: #8b94a1; font-size: 13px; }
.ops-metric small { color: #9aa3af; text-align: right; font-size: 11px; line-height: 1.5; }
.ops-metric small b { color: #56b932; }
.blue { background: #4da3f7; }.green { background: #62c33f; }.amber { background: #eeaa3c; }.red { background: #f1666d; }.gray { background: #979ba2; }.rose { background: #f6a9bb; }.cyan { background: #b5e4e7; }.peach { background: #ffd7be; }.violet { background: #6e5bc5; }
.ops-section { margin-top: 22px; }
.ops-section h2 { margin: 0 0 15px; font-size: 18px; }
.ops-section h2 span { margin-right: 8px; color: #409eff; }
.ops-quick-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ops-quick-grid a { min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px; border-radius: 7px; text-align: center; background: #fff; box-shadow: 0 3px 11px rgba(30,46,66,.07); }
.ops-quick-grid a:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(30,46,66,.12); }
.ops-round-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 50%; color: #fff; }
.ops-quick-grid strong { font-size: 15px; }
.ops-quick-grid small { margin-top: 3px; color: #929aa5; white-space: normal; }
.ops-todo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ops-todo-grid article { min-height: 138px; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 7px; background: #fff; box-shadow: 0 3px 11px rgba(30,46,66,.07); }
.ops-todo-grid .ops-round-icon { width: 58px; height: 58px; margin: 0; font-size: 22px; }
.ops-todo-grid strong { font-size: 27px; }
.ops-todo-grid p { margin: 3px 0; color: #49505a; font-size: 13px; }
.ops-todo-grid a { grid-column: 2; justify-self: end; color: #409eff; font-size: 13px; }
.ops-page-heading { min-height: 58px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.ops-page-heading h1 { margin: 0 0 5px; font-size: 22px; }
.ops-page-heading p { margin: 0; color: #929aa5; font-size: 12px; }
.ops-filter { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(130px, 1fr)) auto; align-items: end; gap: 14px; padding: 18px; border-radius: 6px; background: #fff; box-shadow: 0 2px 9px rgba(30,46,66,.06); }
.ops-filter .field label { margin-bottom: 7px; color: #596170; font-size: 12px; }
.ops-filter input, .ops-filter select { height: 38px; }
.ops-filter-actions { display: flex; gap: 8px; }
.ops-table-card { margin-top: 16px; border-radius: 6px; background: #fff; box-shadow: 0 2px 9px rgba(30,46,66,.06); }
.ops-table-tools { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #edf0f3; color: #7b8491; font-size: 13px; }
.ops-table th { color: #5e6672; background: #fafbfc; text-transform: none; }
.ops-table td { height: 58px; }
.ops-table .text-button { margin-right: 10px; }
.text-button.danger { color: #e45656; }
.ops-empty-row td { height: 230px; text-align: center; }
.ops-empty-row div { display: flex; flex-direction: column; gap: 8px; color: #9aa2ad; }
.ops-empty-row strong { color: #5e6672; }
.ops-pagination { min-height: 54px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 0 16px; border-top: 1px solid #edf0f3; color: #8c95a1; font-size: 12px; }
.ops-pagination button { width: 30px; height: 30px; border: 1px solid #dfe3e8; border-radius: 4px; background: #fff; }
.ops-pagination button.active { color: #fff; border-color: #409eff; background: #409eff; }
.ops-readonly-note { max-width: 250px; color: #6b7280; font-size: 12px; line-height: 1.4; text-align: right; }

/* Operations console: restrained, information-first visual system. */
.ops-admin { color: #292524; background: #f5f5f4; font-family: "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif; }
.ops-topnav { height: 56px; color: #292524; background: #fff; border-bottom: 1px solid #e7e5e4; box-shadow: none; }
.ops-brand { width: 228px; flex-basis: 228px; padding: 0 22px; border-right: 1px solid #eeeae6; font-size: 15px; }
.ops-brand img { width: 24px; height: 24px; filter: none; }
.ops-topnav nav a { min-width: 96px; padding: 0 16px; color: #78716c; border-bottom-width: 2px; font-size: 13px; font-weight: 600; }
.ops-topnav nav a:hover { color: #292524; background: #fafaf9; }
.ops-topnav nav a.active { color: #c24f0a; border-bottom-color: #f97316; }
.ops-user { gap: 8px; }
.ops-timezone { color: #57534e; border: 1px solid #e7e5e4; background: #fafaf9; }
.ops-avatar { width: 34px; height: 34px; color: #fff; border: 0; border-radius: 4px; background: #292524; }
.ops-layout { min-height: calc(100vh - 56px); grid-template-columns: 228px minmax(0, 1fr); }
.ops-sidebar { top: 56px; height: calc(100vh - 56px); color: #57534e; border-right: 1px solid #e7e5e4; background: #fff; }
.ops-sidebar nav { padding: 12px 10px 28px; }
.ops-side-group { padding: 20px 10px 7px; color: #a8a29e; font-size: 10px; }
.ops-side-link { min-height: 38px; gap: 10px; padding: 7px 10px; border: 0; border-radius: 4px; font-size: 13px; }
.ops-side-link:hover { color: #292524; background: #f5f5f4; }
.ops-side-link.active { color: #9a3412; border: 0; background: #fff1e8; font-weight: 650; }
.ops-side-icon, .ops-side-link.active .ops-side-icon { color: #78716c; font-size: 13px; }
.ops-toolbar { height: 48px; padding: 0 22px; color: #78716c; border-bottom-color: #e7e5e4; }
.ops-toolbar strong { color: #292524; font-weight: 600; }
.ops-toolbar .icon-button { border-radius: 4px; font-size: 16px; }
.ops-notice { width: 32px; height: 32px; border-radius: 4px; color: #78716c; }
.ops-notice span { top: -7px; right: -9px; min-width: 20px; border-radius: 10px; background: #dc2626; }
.ops-content { padding: 24px 28px 42px; }
.ops-welcome { min-height: 126px; padding: 24px 28px; color: #292524; border: 1px solid #e7e5e4; border-left: 4px solid #f97316; border-radius: 5px; background: #fff; box-shadow: none; }
.ops-welcome h1 { margin-bottom: 6px; font-size: 23px; font-weight: 650; }
.ops-welcome p, .ops-welcome small, .ops-welcome > div > strong { color: #78716c; }
.ops-welcome-avatar { display: none; }
.ops-stat-grid { gap: 12px; margin-top: 14px; }
.ops-metric { min-height: 82px; gap: 12px; padding: 15px 16px; border: 1px solid #e7e5e4; border-radius: 5px; box-shadow: none; }
.ops-square-icon, .ops-square-icon.blue, .ops-square-icon.green, .ops-square-icon.amber, .ops-square-icon.red, .ops-square-icon.gray { width: 38px; height: 38px; flex-basis: 38px; border-radius: 4px; color: #57534e; background: #f5f5f4; font-size: 17px; }
.ops-metric strong { font-size: 19px; font-weight: 650; }
.ops-metric p { color: #78716c; }
.ops-metric small { display: none; }
.ops-section { margin-top: 20px; }
.ops-section h2 { margin-bottom: 12px; font-size: 16px; font-weight: 650; }
.ops-section h2 span { color: #f97316; }
.ops-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ops-quick-grid a { min-height: 78px; display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; justify-content: start; gap: 2px 10px; padding: 14px; border: 1px solid #e7e5e4; border-radius: 5px; text-align: left; box-shadow: none; }
.ops-quick-grid a:hover { border-color: #fdba74; background: #fffbf7; transform: none; box-shadow: none; }
.ops-round-icon, .ops-round-icon.blue, .ops-round-icon.green, .ops-round-icon.amber, .ops-round-icon.red, .ops-round-icon.gray, .ops-round-icon.rose, .ops-round-icon.cyan, .ops-round-icon.peach, .ops-round-icon.violet { width: 34px; height: 34px; grid-row: 1 / 3; margin: 0; border-radius: 4px; color: #57534e; background: #f5f5f4; }
.ops-quick-grid strong { font-size: 14px; }
.ops-quick-grid small { color: #78716c; }
.ops-todo-grid { gap: 10px; }
.ops-todo-grid article { min-height: 104px; grid-template-columns: 42px 1fr; gap: 10px; padding: 15px; border: 1px solid #e7e5e4; border-radius: 5px; box-shadow: none; }
.ops-todo-grid .ops-round-icon { width: 38px; height: 38px; font-size: 16px; }
.ops-todo-grid strong { font-size: 20px; }
.ops-todo-grid a { color: #c24f0a; }
.ops-page-heading { min-height: 62px; align-items: flex-start; }
.ops-page-heading h1 { margin-bottom: 4px; font-size: 20px; font-weight: 650; }
.ops-page-heading p { color: #78716c; }
.ops-filter { gap: 12px; padding: 15px; border: 1px solid #e7e5e4; border-radius: 5px; box-shadow: none; }
.ops-filter .field label { color: #57534e; }
.ops-filter input, .ops-filter select { height: 36px; }
.ops-table-card { margin-top: 12px; overflow: hidden; border: 1px solid #e7e5e4; border-radius: 5px; box-shadow: none; }
.ops-table-tools { min-height: 46px; color: #78716c; border-bottom-color: #e7e5e4; }
.ops-table th { color: #57534e; background: #fafaf9; font-size: 12px; font-weight: 650; }
.ops-table td { height: 50px; }
.ops-table tbody tr:hover { background: #fffbf7; }
.ops-table .text-button { color: #c24f0a; font-weight: 600; }
.ops-pagination { min-height: 46px; border-top-color: #e7e5e4; }
.ops-readonly-note { color: #78716c; }
.ops-admin .primary-button { background: #ea580c; }
.ops-admin .primary-button:hover { background: #c2410c; }
.ops-admin .secondary-button { color: #44403c; border-color: #d6d3d1; background: #fff; }
.ops-admin .field input:not([type="checkbox"]):not([type="radio"]), .ops-admin .field select, .ops-admin .field textarea { border-color: #d6d3d1; border-radius: 4px; background: #fff; }
.ops-admin .field input:not([type="checkbox"]):not([type="radio"]):focus, .ops-admin .field select:focus, .ops-admin .field textarea:focus { border-color: #f97316; box-shadow: 0 0 0 3px rgba(249, 115, 22, .1); }
.settings-section { margin: 8px 0 0; padding: 15px 0 5px; border-top: 1px solid #e7e5e4; }
.settings-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.settings-section h3 { margin: 0 0 5px; color: #292524; font-size: 15px; font-weight: 650; }
.settings-section small { display: block; line-height: 1.55; }
.admin-ad-guide { margin: 0 0 14px; padding: 18px; display: grid; grid-template-columns: minmax(260px, 1.25fr) minmax(340px, 1.7fr) minmax(210px, .9fr); gap: 22px; align-items: center; border: 1px solid #eadfd7; border-left: 4px solid #c24f0a; border-radius: 5px; background: #fffdfb; }
.admin-ad-guide-intro > span { display: block; margin-bottom: 5px; color: #c24f0a; font-size: 11px; font-weight: 750; letter-spacing: 0; }
.admin-ad-guide h2 { margin: 0 0 7px; color: #292524; font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.admin-ad-guide p { margin: 0; color: #6b625d; font-size: 13px; line-height: 1.65; }
.admin-ad-guide ol { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.admin-ad-guide li { display: flex; gap: 9px; align-items: center; color: #3f3a37; font-size: 13px; line-height: 1.45; }
.admin-ad-guide li b { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #c24f0a; font-size: 12px; }
.admin-ad-guide-result { min-height: 72px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border-left: 1px solid #eadfd7; color: #655d58; font-size: 12px; line-height: 1.5; }
.admin-ad-guide-result strong { color: #292524; font-size: 13px; }
.pixel-code-preview { margin: 12px 0 0; padding: 14px; max-width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 6px; background: #f7f8fa; color: #26313d; font: 12px/1.65 Consolas, "Courier New", monospace; white-space: pre-wrap; word-break: break-word; }
.ad-landing-hero { position: relative; min-height: clamp(560px, 78vh, 820px); overflow: hidden; background: #17191d; }
.ad-landing-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-landing-hero .ad-landing-video { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.ad-landing-hero .ad-landing-video iframe { width: 100%; height: 100%; }
.ad-landing-overlay { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; padding: 64px max(24px, calc((100vw - 1180px) / 2)); background: linear-gradient(90deg, rgba(16,18,22,.9) 0%, rgba(16,18,22,.62) 48%, rgba(16,18,22,.08) 78%); }
.ad-landing-copy { flex: 0 1 620px; width: 100%; min-width: 0; max-width: 620px; color: #fff; }
.ad-landing-copy > span { display: block; margin-bottom: 16px; color: #ffd2b1; font-size: 14px; font-weight: 700; }
.ad-landing-copy h1 { margin: 0; max-width: 15ch; font-size: clamp(40px, 5rem, 72px); line-height: 1.08; letter-spacing: 0; }
.ad-landing-copy p { width: 100%; max-width: 600px; margin: 24px 0 30px; overflow-wrap: anywhere; color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.75; }
.ad-landing-copy .primary-button { display: inline-flex; width: auto; min-width: 160px; justify-content: center; }
@media (max-width: 680px) { .ad-landing-hero { min-height: 680px; } .ad-landing-overlay { align-items: flex-end; overflow: hidden; padding: 48px 20px; background: linear-gradient(0deg, rgba(16,18,22,.94) 0%, rgba(16,18,22,.62) 62%, rgba(16,18,22,.12) 100%); } .ad-landing-copy { flex: 0 1 auto; width: min(350px, calc(100vw - 40px)); max-width: min(350px, calc(100vw - 40px)); } .ad-landing-copy h1 { font-size: 40px; } .ad-landing-copy p { max-width: 100%; font-size: 16px; } }
.modal { border: 1px solid #d6d3d1; border-radius: 6px; box-shadow: 0 24px 70px rgba(28, 25, 23, .24); }
.modal-header h2 { font-size: 18px; font-weight: 650; }

html[data-site-theme="flewbuy-compact"] .site-header .header-inner,
html[data-site-theme="flewbuy-compact"] .content-wrap { max-width: 1180px; }
html[data-site-theme="flewbuy-compact"] .hero { min-height: 510px; }
.ops-sidebar-collapsed .ops-layout { grid-template-columns: 64px minmax(0, 1fr); }
.ops-sidebar-collapsed .ops-side-link span:last-child, .ops-sidebar-collapsed .ops-side-group { display: none; }
.ops-sidebar-collapsed .ops-side-link { justify-content: center; padding-inline: 0; }
.wp-collapsed .wp-layout { grid-template-columns: 48px minmax(0, 1fr); }
.wp-collapsed .wp-sidebar a { grid-template-columns: 1fr; padding: 0; }
.wp-collapsed .wp-sidebar a strong, .wp-collapsed .wp-collapse span { display: none; }
.wp-collapsed .wp-collapse { justify-content: center; padding: 0; }

@media (max-width: 1100px) {
  .main-nav { gap: 17px; margin-left: 28px; font-size: 14px; }
  .language-button { display: none; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .wide-panel, .side-panel { grid-column: span 2; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .ops-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-todo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-filter-actions { grid-column: 1 / -1; }
  .wp-widget-grid { grid-template-columns: 1fr; }
  .wp-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .admin-ad-guide { grid-template-columns: 1fr; gap: 14px; padding: 15px; }
  .admin-ad-guide-result { min-height: 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid #eadfd7; }
  #sourcing-request { gap: 12px; }
  .modal:has(#sourcing-request) .modal-header h2 { font-size: 15px; }
  .modal:has(#sourcing-request) .modal-body { font-size: 12px; }
  #sourcing-request .field label { font-size: 11px; }
  #sourcing-request .field small { font-size: 10px; line-height: 1.4; }
  #sourcing-request .field input:not([type="checkbox"]):not([type="radio"]),
  #sourcing-request .field select,
  #sourcing-request .field textarea { min-height: 38px; padding: 7px 9px; font-size: 13px; }
  #sourcing-request .field textarea { min-height: 76px; }
  .sourcing-product-overview { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sourcing-sku-filter > span { display: none; }
  .sourcing-sku-mobile-control { width: min(220px, 100%); display: grid; gap: 5px; }
  .sourcing-sku-mobile-control > small { color: #606871; font-size: 11px; font-weight: 700; }
  .sourcing-sku-mobile-button { width: 100%; min-height: 38px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; align-items: center; gap: 7px; padding: 3px 8px 3px 3px; border: 1px solid #cfd5db; border-radius: 5px; color: #2f363d; background: #fff; text-align: left; cursor: pointer; }
  .sourcing-sku-mobile-button strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .sourcing-sku-mobile-button i { color: #78818a; font-size: 15px; font-style: normal; text-align: center; transition: rotate .15s ease; }
  .sourcing-sku-picker.is-group-menu-open .sourcing-sku-mobile-button i { rotate: 180deg; }
  .sourcing-sku-group-preview { width: 38px; height: 38px; overflow: hidden; border: 1px solid #d5dbe0; border-radius: 5px; background: #f4f5f6; }
  .sourcing-sku-mobile-button .sourcing-sku-group-preview { width: 32px; height: 32px; }
  .sourcing-sku-group-preview img { width: 100%; height: 100%; object-fit: cover; }
  .sourcing-sku-group-preview.is-empty img { display: none; }
  .sourcing-sku-groups { display: none; width: min(300px, 100%); max-height: 164px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; overflow-y: auto; padding: 6px; border: 1px solid #d8dde2; border-radius: 5px; background: #fafbfc; }
  .sourcing-sku-picker.is-group-menu-open .sourcing-sku-groups { display: grid; }
  .sourcing-sku-group-button, .sourcing-sku-group-button.has-image { min-width: 0; min-height: 40px; grid-template-columns: 26px minmax(0, 1fr); gap: 5px; padding: 5px; }
  .sourcing-sku-group-button > img { width: 26px; height: 26px; }
  .sourcing-sku-group-button span { font-size: 11px; }
  .sourcing-sku-group-button span.is-long { font-size: 10px; }
  .sourcing-sku-group-button span.is-very-long { font-size: 9px; }
  .sourcing-sku-group-button small { display: none; }
  .sourcing-sku-group-heading { display: none; }
  .sourcing-sku-picker-single { gap: 6px; margin-top: 2px; }
  .sourcing-sku-picker-single .sourcing-sku-filter { display: none; }
  .sourcing-sku-picker-single .sourcing-size-grid { margin-top: 0; }
  .sourcing-sku-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sourcing-size-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 0; }
  .sourcing-size-grid.has-one-option { grid-template-columns: minmax(0, 1fr); }
  .sourcing-size-grid.has-two-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sourcing-size-grid.has-short-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sourcing-size-options.is-collapsed .sourcing-size-option.is-extra-option { display: none; }
  .sourcing-size-more { width: 100%; min-height: 30px; margin-top: 6px; padding: 4px 8px; border: 1px solid #d7dde3; border-radius: 5px; color: #59616b; background: #f7f8f9; font-size: 10px; font-weight: 700; }
  .sourcing-size-option { width: 100%; min-width: 0; max-width: none; min-height: 42px; padding: 5px 4px; display: flex; align-items: center; justify-content: center; }
  .sourcing-size-option strong { display: block; overflow: hidden; -webkit-line-clamp: unset; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .sourcing-size-option strong.is-long { font-size: 10px; }
  .sourcing-size-option strong.is-very-long { font-size: 9px; }
  .sourcing-size-option small { display: none; }
  .sourcing-selected-sizes { gap: 6px; margin-top: 7px; }
  .sourcing-selected-size-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 7px 8px; }
  .sourcing-selected-size-copy > strong { display: block; overflow: hidden; -webkit-line-clamp: unset; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .sourcing-selected-size-copy > strong.is-long { font-size: 10px; }
  .sourcing-selected-size-copy > strong.is-very-long { font-size: 9px; }
  .sourcing-selected-size-copy > span { font-size: 10px; }
  .sourcing-selected-size-row > label > small { display: none; }
  .sourcing-sku-row, .sourcing-sku-row.has-image { position: relative; grid-template-columns: 18px 34px minmax(0, 1fr); gap: 6px; min-height: 58px; padding: 8px; }
  .sourcing-sku-row:not(.has-image) { grid-template-columns: 18px minmax(0, 1fr); }
  .sourcing-sku-row > input { width: 16px; height: 16px; }
  .sourcing-sku-row strong { overflow: hidden; font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .sourcing-sku-row small { margin-top: 2px; font-size: 10px; line-height: 1.25; }
  .sourcing-sku-image { width: 34px; height: 34px; }
  .sourcing-sku-quantity { display: none; grid-column: 2 / -1; grid-template-columns: auto minmax(48px, 68px); align-items: center; justify-content: end; gap: 6px; }
  .sourcing-sku-row:has(input[name="sku"]:checked) .sourcing-sku-quantity { display: grid; }
  .sourcing-sku-quantity small { margin: 0; }
  .sourcing-sku-quantity .sourcing-quantity-stepper { grid-template-columns: 28px 42px 28px; }
  .sourcing-product-summary { gap: 7px; padding: 10px 11px; }
  .sourcing-product-summary-meta { flex-wrap: nowrap; gap: 5px; }
  .sourcing-product-summary-meta .sourcing-platform-badge { min-height: 20px; flex: 0 0 auto; padding: 1px 5px; font-size: 9px; }
  .sourcing-product-number { flex: 1 1 auto; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .sourcing-product-summary-meta .sourcing-save-actions { flex: 0 0 auto; }
  .sourcing-product-summary-title { font-size: 12px; }
  .sourcing-product-summary-prices { gap: 7px; }
  .sourcing-product-summary-prices b { font-size: 12px; }
  .sourcing-product-summary-stats { margin-top: 3px; padding-top: 9px; }
  .sourcing-selection-summary { grid-column: 1 / -1; margin: 0; text-align: center; }
  .sourcing-product-gallery-body { width: 100%; height: auto; aspect-ratio: 1.18 / 1; grid-template-columns: minmax(0, 1fr) 48px; gap: 6px; }
  .sourcing-product-thumbnails { grid-auto-rows: 44px; gap: 5px; padding-right: 2px; }
  .sourcing-product-thumb { width: 44px; height: 44px; }
  .sourcing-image-viewer { min-height: 60vh; grid-template-columns: 38px minmax(0, 1fr) 38px; }
  .sourcing-image-viewer img { height: 60vh; }
  .sourcing-image-viewer-nav { width: 30px; height: 42px; font-size: 25px; }
  .sourcing-checkout-order { grid-template-columns: 1fr; }
  .sourcing-checkout-order > strong { grid-row: auto; grid-column: auto; overflow-wrap: anywhere; }
  .sourcing-price-lines .sourcing-price-total strong { font-size: 21px; }
  .sourcing-payment-method { grid-template-columns: 20px minmax(0, 1fr) 18px; padding-inline: 11px; }
  .sourcing-pay-now { order: -1; }
  .site-announcement { right: 16px; bottom: 16px; padding: 17px 44px 17px 17px; }
  .site-announcement-content { grid-template-columns: 1fr; }
  .site-announcement-media { width: 100%; }
  .site-announcement-media .announcement-media { max-height: 180px; }
  .modal-backdrop { align-items: end; padding: 8px; }
  .modal { width: 100%; max-height: calc(100vh - 16px); }
  .modal-header { min-height: 52px; padding: 0 16px; }
  .modal-header h2 { font-size: 16px; }
  .modal-body { padding: 14px 16px; }
  .modal-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); padding: 12px 16px; }
  .modal-footer button { width: 100%; min-width: 0; padding-inline: 10px; }
  .modal-footer:has([data-action="submit-sourcing"]) { grid-template-columns: minmax(92px, .75fr) minmax(170px, 1.45fr); gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); }
  .modal-footer:has([data-action="submit-sourcing"]) > [data-action="close-modal"] { display: none; }
  .modal-footer:has([data-action="submit-sourcing"]) .sourcing-selection-summary { grid-column: 1 / -1; min-height: 18px; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1.25; }
  .modal-footer:has([data-action="submit-sourcing"]) button { min-height: 40px; padding: 7px; font-size: 12px; line-height: 1.2; white-space: normal; }
  .promo-bar { min-height: 42px; height: auto; padding-block: 7px; font-size: 11px; gap: 10px; }
  .promo-bar > span { min-width: 0; flex: 1; line-height: 1.25; white-space: normal; text-align: center; }
  .promo-action { display: none; }
  .site-header { height: 62px; padding: 0 14px; }
  .site-header .brand { margin: auto; }
  .main-nav, .header-tools .icon-button:first-child, .language-button { display: none; }
  .mobile-menu { display: grid; }
  .header-tools { margin-left: 0; gap: 4px; }
  .header-tools .avatar-button { display: none; }
  .mobile-nav.open { display: grid; position: fixed; z-index: 29; top: 104px; left: 0; right: 0; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-nav a { padding: 12px 8px; border-bottom: 1px solid #f0f1f2; font-weight: 700; }
  .mobile-nav button { min-height: 44px; padding: 0 8px; border: 0; border-bottom: 1px solid #f0f1f2; color: #3e4650; background: #fff; text-align: left; font-weight: 700; }
  .mobile-nav button:last-child { color: var(--orange-dark); border-bottom: 0; }
  .content-band { width: 100vw; max-width: 100vw; padding: 40px 14px; overflow-x: hidden; }
  .auth-page { min-height: calc(100dvh - 104px); padding: 24px 12px 34px; }
  .login-layout { width: min(100%, 380px); max-width: 100%; }
  .login-layout .panel-body { padding: 21px 20px 19px; }
  .login-layout.auth-card .brand { display: none; }
  .login-layout p, .login-layout small { overflow-wrap: anywhere; }
  .auth-page-register { min-height: calc(100dvh - 104px); padding: 16px 12px 28px; background: #f4f6f5; }
  .auth-register-shell { width: min(100%, 420px); min-height: 0; grid-template-columns: minmax(0, 1fr); border-radius: 6px; box-shadow: 0 8px 22px rgba(25, 36, 33, .08); }
  .auth-register-media { display: none; }
  .auth-register-card { width: 100%; max-width: none; }
  .auth-register-card .panel-body { width: 100%; min-width: 0; padding: 22px 20px 20px; }
  .auth-register-heading > span { margin-bottom: 6px; font-size: 9.5px; }
  .auth-register-heading h1 { margin-bottom: 5px; font-size: 22px; }
  .auth-register-heading p { font-size: 12px; }
  .auth-register-form { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
  .auth-register-form .registration-agreement,
  .auth-register-form .auth-submit { grid-column: 1; }
  .auth-register-card .auth-switch { margin-top: 15px !important; }
  .hero { min-height: 690px; }
  .hero-bg { opacity: .34; background-position: 57% center; }
  .hero-inner { width: calc(100% - 28px); padding-top: 44px; }
  .hero h1 { max-width: 340px; font-size: 43px; }
  .search-panel { border-radius: 8px; }
  .platform-tabs { gap: 12px; overflow-x: auto; padding-inline: 15px; }
  .search-row { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; }
  .search-row input { width: 100%; grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .search-submit { width: 100%; min-width: 0; }
  .steps { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 0; }
  .step:not(:last-child)::after { display: none; }
  .step h3 { margin: 3px 0 5px; }
  .step p { grid-column: 2; display: none; }
  .section { padding: 54px 18px; }
  .services, .metrics, .content-grid, .review-layout, .footer-inner { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid #424850; }
  .review-product { height: 260px; }
  .footer-inner { gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .account-topbar { padding: 0 14px; }
  .account-user { min-width: 0; }
  .account-topbar .icon-button:nth-of-type(2) { display: none; }
  .account-user > span:nth-child(2), .account-user > span:last-child { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; width: 100%; height: auto; display: block; overflow: hidden; padding: 13px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .account-sidebar h2, .side-group-title, .admin-shortcut, .sidebar-logout, .sidebar-cookie-settings { display: none; }
  .account-sidebar.mobile-nav-collapsed { display: none; }
  #account-nav { display: flex; gap: 7px; overflow-x: auto; }
  .side-link { flex: 0 0 auto; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); }
  .side-link span:first-child { display: none; }
  .account-main { padding: 18px 14px 88px; }
  .account-layout, .account-main, .dashboard-grid { max-width: 100vw; overflow-x: hidden; }
  .dashboard-grid, .form-grid, .wallet-grid, .quick-actions { grid-template-columns: 1fr; }
  .international-address-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .international-address-form .address-field-country,
  .international-address-form .address-field-line,
  .international-address-form .address-field-default,
  .international-address-form .address-field-recipient,
  .international-address-form .address-field-phone,
  .international-address-form .address-field-city,
  .international-address-form .address-field-region,
  .international-address-form .address-field-postal { grid-column: 1; }
  .wide-panel, .side-panel { grid-column: span 1; }
  .page-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 5px; margin-bottom: 18px; }
  .page-heading > div { min-width: 0; }
  .page-heading h1 { font-size: 21px; font-weight: 720; letter-spacing: -.01em; margin: 0 0 4px; }
  .page-heading p { font-size: 12.5px; line-height: 1.5; color: #68787b; }
  .page-heading > button { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 38px; padding: 0 14px; white-space: nowrap; font-size: 12.5px; font-weight: 650; border-radius: 7px; }
  .account-main .page-heading > div { max-width: 100%; }
  .account-main .page-heading h1 { overflow-wrap: anywhere; }
  .tabs { display: flex; flex-wrap: wrap; gap: 8px 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; min-height: 34px; padding: 0 13px; border: 1px solid #dfe4e2; border-radius: 17px; line-height: 1; white-space: nowrap; font-size: 12.5px; font-weight: 600; color: #5f7073; background: #fff; }
  .tab.active { border-color: #f2b7a7; color: #d8401f; background: #fff1ec; }
  .account-layout { padding-bottom: 70px; }
  .account-mobile-bottom-nav { display: grid; }
  .desktop-order-table { display: none; }
  .mobile-order-list { display: grid; gap: 10px; padding: 12px; background: #eef1f0; }
  .account-main .empty-state { padding: 42px 16px; }
  .account-main .empty-state .empty-icon { width: 58px; height: 58px; margin-bottom: 12px; font-size: 24px; }
  .account-main .empty-state h3 { margin: 0 0 8px; font-size: 17px; }
  .account-main .empty-state p { margin: 0 0 14px; line-height: 1.55; }
  .mobile-order-card { overflow: hidden; border: 1px solid #dfe4e2; border-radius: 8px; background: #fff; }
  .mobile-order-card summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; cursor: pointer; list-style: none; }
  .mobile-order-card summary::-webkit-details-marker { display: none; }
  .mobile-order-card summary > span:first-child { min-width: 0; display: grid; gap: 5px; }
  .mobile-order-card summary small { color: #7a8584; font-size: 10px; }
  .mobile-order-card summary strong { min-width: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
  .mobile-order-summary-right { flex: 0 0 auto; display: grid; grid-template-columns: auto 16px; gap: 5px 8px; align-items: center; justify-items: end; }
  .mobile-order-summary-right b { grid-column: 1; color: #17201f; font-size: 12px; }
  .mobile-order-summary-right .status-badge { grid-column: 1; min-height: 21px; font-size: 9px; white-space: nowrap; }
  .mobile-order-summary-right i { grid-column: 2; grid-row: 1 / 3; width: 8px; height: 8px; border-right: 2px solid #8a9493; border-bottom: 2px solid #8a9493; transform: rotate(45deg); transition: transform .18s ease; }
  .mobile-order-card[open] .mobile-order-summary-right i { transform: rotate(225deg); }
  .mobile-order-body { padding: 0 14px 14px; border-top: 1px solid #edf0ef; }
  .mobile-order-body dl { margin: 0 0 12px; }
  .mobile-order-body dl div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f2f1; font-size: 12px; }
  .mobile-order-body dt { color: #7a8584; }
  .mobile-order-body dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
  .mobile-order-detail { width: 100%; }
  .ops-brand { width: 62px; flex-basis: 62px; justify-content: center; padding: 0; }
  .ops-brand strong, .ops-timezone { display: none; }
  .ops-topnav nav a { min-width: 88px; padding: 0 10px; font-size: 12px; }
  .ops-user { padding: 0 8px; }
  .ops-avatar { width: 34px; height: 34px; }
  .ops-layout { grid-template-columns: 1fr; }
  .ops-sidebar { position: fixed; z-index: 45; top: 56px; left: 0; width: 230px; height: calc(100vh - 56px); transform: translateX(-100%); transition: transform .2s ease; }
  .ops-sidebar-open .ops-sidebar { transform: translateX(0); box-shadow: 8px 0 30px rgba(0,0,0,.22); }
  .ops-toolbar { padding: 0 12px; font-size: 12px; }
  .ops-content { padding: 12px 12px 30px; }
  .ops-welcome { min-height: 156px; padding: 22px; }
  .ops-welcome h1 { font-size: 22px; }
  .ops-welcome-avatar { width: 58px; height: 58px; }
  .ops-stat-grid, .ops-quick-grid, .ops-todo-grid, .ops-filter { grid-template-columns: 1fr; }
  .ops-quick-grid { grid-template-columns: 1fr; }
  .ops-page-heading { align-items: stretch; flex-direction: column; margin-bottom: 14px; }
  .ops-page-heading .button-row { justify-content: flex-start; }
  .ops-filter-actions { grid-column: auto; }
  .ops-table td, .ops-table th { padding: 12px; }
  .header-popover { width: min(310px, calc(100vw - 24px)); }
  .wp-adminbar > a span, .wp-adminbar > button span { display: none; }
  .wp-adminbar > a, .wp-adminbar > button { justify-content: center; padding: 0 8px; }
  .wp-layout, .wp-collapsed .wp-layout { grid-template-columns: 48px minmax(0, 1fr); }
  .wp-sidebar a { grid-template-columns: 1fr; padding: 0; }
  .wp-sidebar a strong, .wp-collapse span { display: none; }
  .wp-collapse { justify-content: center; padding: 0; }
  .wp-main { padding: 18px 12px 36px; overflow: hidden; }
  .wp-heading { flex-direction: column; }
  .wp-notice { align-items: flex-start; flex-direction: column; }
  .wp-widget-grid, .wp-theme-grid { grid-template-columns: 1fr; }
  .wp-list-tools { align-items: stretch; flex-direction: column; }
  .wp-list-tools label { display: grid; grid-template-columns: 1fr auto; }
  .wp-list-tools label input { grid-column: 1; }
  .wp-table { min-width: 720px; }
}
}
/* Product media and order detail surfaces used by the admin and storefront. */
.product-result-media{height:180px;background:#f5f6f8;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:-18px -18px 16px;border-bottom:1px solid var(--line);color:#8b929d;font-weight:700;letter-spacing:.04em}
.product-result-media img{width:100%;height:100%;object-fit:cover}
.product-detail-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin-bottom:16px}
.product-detail-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;background:#f5f6f8}
.product-detail-video{width:100%;max-height:320px;margin:10px 0;border-radius:6px}
.product-shipping-note{display:block;color:var(--muted);margin-top:4px}
.order-admin-detail{border:1px solid var(--line);padding:14px;margin-bottom:16px;background:var(--surface-subtle,#fafafa)}
.order-cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.order-cost-grid span{display:flex;justify-content:space-between;gap:12px;font-size:13px}.order-admin-item{border-top:1px solid var(--line);padding:10px 0}.order-admin-item small{display:block;color:var(--muted);margin-top:4px}
.media-upload-preview{display:block;max-width:160px;max-height:120px;object-fit:contain;margin-top:8px;border-radius:6px;background:#f5f6f8}.favicon-preview{width:48px;height:48px}
.admin-product-cell{display:flex;align-items:center;gap:10px;min-width:220px}.admin-product-cell img,.admin-product-placeholder{width:48px;height:48px;flex:0 0 48px;border-radius:5px;object-fit:cover;background:#f3f4f6}.admin-product-placeholder{display:grid;place-items:center;color:#8b929d;font-size:11px}
@media (max-width:600px){.order-cost-grid{grid-template-columns:1fr}.product-result-media{height:150px}}

/* Pink touch feedback: storefront + account center */
:root {
  --touch-pink: #ff4d8d;
  --touch-pink-dark: #e5367a;
  --touch-pink-soft: #fff0f6;
}
button, a, .icon-button, .avatar-button, .language-button, .side-link,
.mobile-bottom-nav a, .mobile-bottom-nav button {
  -webkit-tap-highlight-color: rgba(255, 77, 141, .25);
}
.search-submit:hover, .search-submit:active,
.primary-button:hover, .primary-button:active,
.image-search:hover, .image-search:active,
.promo-action:hover, .promo-action:active {
  background: var(--touch-pink);
  border-color: var(--touch-pink-dark);
  color: #fff !important;
}
.secondary-button:hover, .secondary-button:active,
.danger-button:hover, .danger-button:active,
.oauth-button:hover, .oauth-button:active,
.icon-button:hover, .icon-button:active,
.avatar-button:hover, .avatar-button:active,
.language-button:hover, .language-button:active {
  background: var(--touch-pink-soft);
  border-color: var(--touch-pink);
  color: var(--touch-pink-dark) !important;
}
.text-button:hover, .text-button:active,
.side-link:hover, .side-link:active,
.sidebar-logout:hover, .sidebar-logout:active,
.mobile-bottom-nav a:hover, .mobile-bottom-nav a:active,
.mobile-bottom-nav button:hover, .mobile-bottom-nav button:active {
  color: var(--touch-pink-dark) !important;
}
.account-user:hover, .account-user:active { background: var(--touch-pink-soft); }
.fb-service-shortcuts a:hover, .fb-service-shortcuts a:active,
.fb-service-shortcuts button:hover, .fb-service-shortcuts button:active {
  background: var(--touch-pink-soft);
  border-color: var(--touch-pink);
  color: var(--touch-pink-dark);
}
.platform-tabs button:hover, .platform-tabs button:active {
  box-shadow: 0 0 0 2px var(--touch-pink);
}
.account-topbar button:hover, .account-topbar button:active,
.account-main button:hover, .account-main button:active,
.account-sidebar button:hover, .account-sidebar button:active {
  background: var(--touch-pink-soft);
  border-color: var(--touch-pink);
  color: var(--touch-pink-dark);
}

/* Clear mobile navigation labels across storefront and account pages. */
@media (max-width: 900px) {
  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    color: #3f4c4e;
    font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  .mobile-bottom-nav .mobile-primary-action {
    color: #263638;
    font-weight: 800;
  }
  .mobile-bottom-nav a.active,
  .mobile-bottom-nav button.active {
    color: #f4512c;
    font-weight: 800;
  }
  .mobile-bottom-nav b { width: 26px; height: 26px; display: grid; place-items: center; }
  .mobile-bottom-nav b img { width: 24px; height: 24px; display: block; object-fit: contain; }
  .mobile-bottom-nav .mobile-primary-action b img { width: 25px; height: 25px; }
}

/* One mobile header shared by storefront and every account page. */
.mobile-unified-shell { display: none; }
@keyframes mobile-app-label-hop { 0%,68%,100% { transform: translateY(0); } 76% { transform: translateY(-3px); } 84% { transform: translateY(0); } 90% { transform: translateY(-1px); } }
@media (max-width: 900px) {
  .mobile-unified-shell { height: 110px; display: block; }
  .mobile-app-banner { position: fixed; z-index: 62; top: 0; left: 0; right: 0; width: 100%; height: 34px; padding: 0 13px; display: flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 0; color: #fff; background: #e94d24 url("design-preview/install-banner-bg.png") center/cover no-repeat; box-shadow: 0 2px 8px rgba(87,42,28,.13); }
  .mobile-app-banner img { width: 23px; height: 23px; border-radius: 6px; }
  .mobile-app-banner strong { font-size: 11px; animation: mobile-app-label-hop 2.25s ease-in-out infinite; }
  .mobile-app-banner small { padding-left: 7px; border-left: 1px solid rgba(255,255,255,.42); color: #fff7f1; font-size: 8px; }
  .mobile-app-banner > span { font-size: 15px; }
  .mobile-unified-header { position: fixed; z-index: 61; top: 34px; left: 0; right: 0; height: 76px; padding: 0 15px; display: flex; align-items: center; border-bottom: 1px solid rgba(226,229,227,.9); background: rgba(255,250,247,.97); box-shadow: 0 5px 16px rgba(34,45,44,.06); backdrop-filter: blur(14px); }
  .mobile-unified-shell.account-mode { height: 92px; }
  .mobile-account-header { top: 34px; height: 58px; justify-content: space-between; gap: 12px; padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .mobile-account-tools { min-width: 0; margin-left: auto; display: flex; align-items: center; gap: 5px; }
  .mobile-account-menu { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; padding: 0; overflow: hidden; border: 1px solid #e4e7e6; border-radius: 50%; color: #344548; background: #fff; }
  .mobile-account-menu img { width: 21px; height: 21px; object-fit: contain; }
  .mobile-account-menu .mobile-account-avatar { width: 100%; height: 100%; border: 0; }
  .mobile-account-menu:hover, .mobile-account-menu:active { border-color: #efb8aa; background: #fff3ee; }
  .mobile-account-lockup { width: 112px; min-width: 0; flex: 0 1 112px; display: flex; align-items: center; overflow: hidden; color: #273638; text-decoration: none; }
  .mobile-account-lockup img { width: 106px; max-width: 100%; height: 32px; display: block; object-fit: contain; object-position: left center; }
  .mobile-account-avatar { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; border: 0; border-radius: 50%; color: #fff; background: #e76f19; font-size: 10px; font-weight: 800; line-height: 1; }
  .mobile-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-brand-lockup { width: 150px; flex: 0 0 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
  .mobile-brand-lockup img { width: 112px; height: 38px; object-fit: contain; object-position: center; }
  .mobile-brand-lockup span { width: 150px; margin-top: -4px; color: #e94d24; font-size: 11px; font-weight: 900; line-height: 1.15; text-align: center; white-space: nowrap; }
  .mobile-unified-tools { min-width: 0; margin-left: auto; display: flex; align-items: center; gap: 3px; }
  .mobile-unified-tools .language-button { width: 49px; min-width: 49px; height: 36px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #e8e0db; border-radius: 7px; color: #364547; background: #fff; font-size: 0; }
  .mobile-unified-tools .language-button::before { content: attr(data-short-label); font-size: 10px; font-weight: 750; }
  .mobile-unified-tools .currency-button { min-width: 48px; height: 36px; padding: 0 6px; border-color: #e8e0db; border-radius: 7px; font-size: 9px; }
  .mobile-cart-button { width: 38px; height: 38px; position: relative; display: grid; place-items: center; border: 0; background: transparent; }
  .mobile-cart-button img { width: 21px; height: 21px; }
  .mobile-cart-button b { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; color: #fff; background: #f4512c; font-size: 9px; line-height: 16px; }
  .site-header, .account-topbar { display: none !important; }
  .account-layout { padding-top: 0; }
}
@media (max-width: 370px) {
  .mobile-brand-lockup { width: 138px; flex-basis: 138px; }
  .mobile-brand-lockup span { width: 138px; font-size: 10px; }
  .mobile-unified-tools .language-button { width: 44px; min-width: 44px; }
  .mobile-unified-tools .currency-button { min-width: 44px; padding-inline: 4px; }
}

@media (max-width: 900px) {
  .header-popover { width: min(244px, calc(100vw - 24px)); }
  .language-popover { width: min(252px, calc(100vw - 24px)); }
  .language-list button { padding-inline: 6px; font-size: 10.5px; }
  .currency-sheet { width: min(268px, calc(100vw - 24px)); max-height: min(360px, calc(100vh - 130px)); border: 1px solid #e1e4e8; border-radius: 6px; box-shadow: 0 10px 28px rgba(24,30,40,.18); }
  .currency-sheet::before { display: none; }
  .currency-sheet .currency-list { max-height: 244px; grid-template-columns: 1fr 1fr; }
  .modal-backdrop:has(.cart-modal) { place-items: center; padding: 10px; }
  .cart-modal { width: min(360px, calc(100vw - 20px)); max-height: min(560px, calc(100vh - 20px)); border-radius: 7px; }
}

/* Floating customer support on desktop and mobile. */
.floating-support { position: fixed; z-index: 58; right: 18px; bottom: 28px; display: grid; gap: 10px; }
.support-channel { width: 52px; height: 52px; position: relative; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(24,39,40,.2); transition: transform .16s ease, box-shadow .16s ease; }
.support-channel { background: transparent; box-shadow: none; }
.support-channel img { width: 52px; height: 52px; display: block; filter: drop-shadow(0 8px 12px rgba(24,39,40,.22)); }
.support-channel span { position: absolute; right: 61px; padding: 6px 9px; border-radius: 5px; color: #fff; background: #263638; font-size: 10px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateX(5px); pointer-events: none; transition: .16s ease; }
.support-channel:hover { transform: translateY(-2px); box-shadow: none; }
.support-channel:hover span { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) {
  .floating-support { right: 12px; bottom: 82px; gap: 7px; }
  .support-channel { width: 44px; height: 44px; box-shadow: none; }
  .support-channel img { width: 44px; height: 44px; }
  .support-channel span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mobile-app-banner strong { animation: none; } }

/* Social media and truthful site-security marks below the desktop footer logo. */
.footer-social-trust { margin-top: 14px; display: grid; gap: 12px; }
.footer-social-links { display: flex; align-items: center; gap: 9px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand p { margin-inline: auto; }
.footer-social-links { justify-content: center; }
.footer-social-links a { width: 34px; height: 34px; margin: 0; display: block; border-radius: 9px; transition: transform .16s ease, box-shadow .16s ease; }
.footer-social-links a:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(0,0,0,.24); }
.footer-social-links img { width: 34px; height: 34px; display: block; }
.footer-trust-marks { display: flex; align-items: center; gap: 7px; }
.footer-trust-marks img { width: 72px; height: 42px; display: block; }
.install-guide { display: flex; align-items: flex-start; gap: 13px; }
.install-guide > img { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px; }
.install-guide p { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }
.legal-page { background: #f3f6f6; }
.legal-header { max-width: 820px; padding-bottom: 28px; border-bottom: 1px solid #dce3e2; }
.legal-header > p { margin: 0 0 9px; color: #e9512d; font-size: 11px; font-weight: 850; }
.legal-header h1 { margin: 0 0 14px; }
.legal-header > span { display: block; color: #596769; font-size: 15px; line-height: 1.8; }
.legal-section-list { margin-top: 8px; }
.legal-section-list article { padding: 28px 0; display: grid; grid-template-columns: 52px minmax(0, 760px); gap: 18px; border-bottom: 1px solid #dce3e2; }
.legal-section-list article > b { color: #e9512d; font-size: 13px; }
.legal-section-list h2 { margin: 0 0 9px; font-size: 19px; }
.legal-section-list p { margin: 0; color: #596769; font-size: 14px; line-height: 1.85; }
.legal-contact { margin-top: 32px; padding: 22px 24px; display: grid; grid-template-columns: 1.1fr 2fr 1fr; gap: 8px 22px; align-items: center; border-left: 3px solid #e9512d; background: #fff; color: #4f5e60; font-size: 12px; }
.legal-contact a { color: #176f92; font-weight: 800; }
.legal-contact small { grid-column: 1 / -1; color: #879092; }
.operation-page { color: #17272b; background: #f3f6f6; }
.operation-wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.operation-hero { padding: 68px 0 55px; border-bottom: 1px solid #dde4e3; background: linear-gradient(110deg, #fff 0 62%, #edf5f3 62%); }
.operation-hero .operation-wrap { max-width: 1180px; }
.operation-hero p, .operation-process header p, .operation-details header p { margin: 0 0 10px; color: #e9512d; font-size: 11px; font-weight: 900; }
.operation-hero h1 { max-width: 760px; margin: 0 0 17px; font-size: 43px; line-height: 1.18; }
.operation-hero .operation-wrap > span { display: block; max-width: 760px; color: #586769; font-size: 15px; line-height: 1.85; }
.operation-actions { margin-top: 28px; display: flex; gap: 10px; }
.operation-actions a { min-width: 148px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.operation-hero small { display: block; max-width: 820px; margin-top: 20px; color: #778284; font-size: 11px; line-height: 1.7; }
.operation-process { padding: 48px 0 52px; background: #fff; }
.operation-process header h2, .operation-details header h2 { margin: 0; font-size: 27px; }
.operation-steps { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #dfe5e4; border-bottom: 1px solid #dfe5e4; }
.operation-steps article { min-width: 0; padding: 24px 20px 27px 0; border-right: 1px solid #e5e9e8; }
.operation-steps article + article { padding-left: 20px; }
.operation-steps article:last-child { border-right: 0; }
.operation-steps b { color: #e9512d; font-size: 11px; }
.operation-steps h3 { margin: 13px 0 8px; font-size: 15px; }
.operation-steps p { margin: 0; color: #667375; font-size: 11px; line-height: 1.75; }
.operation-details { padding: 48px 0 58px; }
.operation-detail-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.operation-detail-grid article { min-height: 142px; padding: 22px; display: flex; gap: 17px; border: 1px solid #dfe5e4; border-radius: 7px; background: #fff; }
.operation-detail-grid img { width: 48px; height: 48px; flex: 0 0 48px; }
.operation-detail-grid h3 { margin: 1px 0 8px; font-size: 16px; }
.operation-detail-grid p { margin: 0; color: #647173; font-size: 12px; line-height: 1.75; }
.operation-details aside { margin-top: 18px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-left: 3px solid #e9512d; background: #17272b; color: #fff; }
.operation-details aside strong { font-size: 15px; }
.operation-details aside p { max-width: 850px; margin: 7px 0 0; color: #cbd4d3; font-size: 11px; line-height: 1.7; }
.operation-details aside a { flex: 0 0 auto; color: #ff8a68; font-size: 12px; font-weight: 850; }
@media (max-width: 900px) {
  .legal-page { padding-top: 28px; }
  .legal-header h1 { font-size: 28px; }
  .legal-header > span { font-size: 13px; }
  .legal-section-list article { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 22px 0; }
  .legal-section-list h2 { font-size: 16px; }
  .legal-section-list p { font-size: 12px; }
  .legal-contact { grid-template-columns: 1fr; padding: 18px; }
  .legal-contact small { grid-column: auto; }
  .operation-wrap { width: calc(100% - 28px); }
  .operation-hero { padding: 32px 0 28px; background: #fff; }
  .operation-hero h1 { font-size: 28px; }
  .operation-hero .operation-wrap > span { font-size: 12px; line-height: 1.75; }
  .operation-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .operation-actions a { min-width: 0; padding-inline: 10px; font-size: 12px; }
  .operation-hero small { font-size: 9px; }
  .operation-process, .operation-details { padding: 30px 0 34px; }
  .operation-process header h2, .operation-details header h2 { font-size: 21px; }
  .operation-steps { display: block; }
  .operation-steps article, .operation-steps article + article { min-height: 0; padding: 18px 0; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 9px; border-right: 0; border-bottom: 1px solid #e5e9e8; }
  .operation-steps article:last-child { border-bottom: 0; }
  .operation-steps b { grid-row: 1 / 3; }
  .operation-steps h3 { margin: 0 0 6px; }
  .operation-steps p { font-size: 10px; }
  .operation-detail-grid { grid-template-columns: 1fr; }
  .operation-detail-grid article { min-height: 0; padding: 17px; }
  .operation-detail-grid img { width: 40px; height: 40px; flex-basis: 40px; }
  .operation-details aside { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
  .footer-social-trust { display: none; }
}

/* Premium homepage V1 promoted from the approved design preview. */
.premium-home-v1 { color: #17272b; background: #f4f7f7; font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif; }
.pv1-wrap { width: min(1300px, calc(100% - 56px)); margin-inline: auto; }
.pv1-hero { min-height: 402px; overflow: hidden; background: radial-gradient(circle at 83% 38%, rgba(255,209,177,.42), transparent 27%), linear-gradient(108deg,#fffdfb 0,#fff 56%,#fff5ed 100%); }
.pv1-hero-inner { min-height: 402px; padding-top: 62px; position: relative; }
.pv1-hero-copy { width: 620px; position: relative; z-index: 2; }
.pv1-eyebrow { display: flex; align-items: center; gap: 9px; color: #ff5a24; font-size: 13px; font-weight: 850; }
.pv1-eyebrow::before { content: ""; width: 22px; height: 2px; background: #ff5a24; }
.pv1-hero h1 { margin: 19px 0 14px; font-size: 49px; line-height: 1.13; font-weight: 950; }
.pv1-title-comma { display: none; }
.pv1-title-break { display: block; }
.pv1-hero-copy > p { width: 600px; margin: 0; color: #59686b; font-size: 14px; line-height: 1.8; }
.pv1-trust { display: flex; gap: 22px; margin-top: 18px; color: #536265; font-size: 11px; }
.pv1-trust span::first-letter { color: #168d6d; }
.pv1-hero-art { position: absolute; right: 0; top: 11px; width: 550px; height: 360px; object-fit: contain; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse,#000 0 58%,rgba(0,0,0,.9) 69%,transparent 92%); mask-image: radial-gradient(ellipse,#000 0 58%,rgba(0,0,0,.9) 69%,transparent 92%); }
.pv1-purchase { margin-top: -78px; padding: 22px 24px 18px; position: relative; z-index: 4; border: 1px solid #eadfd9; border-radius: 8px; background: #fff; box-shadow: 0 18px 46px rgba(62,42,31,.14); }
.pv1-purchase-head { display: flex; align-items: center; justify-content: space-between; }
.pv1-purchase-head strong { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 900; }
.pv1-purchase-head strong i { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #ff5a24; background: #fff0e9; font-style: normal; }
.pv1-purchase-head strong i img { width: 31px; height: 31px; display: block; }
.pv1-purchase-head > button { display: flex; align-items: center; gap: 8px; border: 0; color: #586669; background: transparent; font-size: 14px; font-weight: 750; }
.pv1-purchase-head > button img { width: 22px; height: 22px; }
.header-tools .icon-button > img { width: 23px; height: 23px; display: block; object-fit: contain; }
.header-tools .cart-button > img { width: 29px; height: 29px; }
.pv1-purchase-row { height: 61px; margin-top: 13px; display: flex; gap: 10px; }
.pv1-purchase-row > label { min-width: 0; flex: 1; padding: 0 7px 0 17px; display: flex; align-items: center; border: 1px solid #ddd9d6; border-radius: 6px; background: #fffdfc; }
.pv1-purchase-row input { min-width: 0; flex: 1; border: 0; outline: 0; color: #465456; background: transparent; font-size: 13px; }
.pv1-purchase-row label > button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-left: 1px solid #eee6e1; background: transparent; }
.pv1-purchase-row label > button img { width: 24px; height: 24px; }
.pv1-purchase-row > .search-submit { width: 230px; height: 61px; border: 0; border-radius: 6px; color: #fff; background: linear-gradient(100deg,#ff7915,#f43928); font-size: 19px; font-weight: 900; }
.pv1-purchase > small { display: block; margin-top: 11px; color: #6f7b7d; font-size: 11px; }
.pv1-platforms { height: 102px; margin-top: 24px; padding: 0 31px; display: grid; grid-template-columns: 185px repeat(5,1fr); align-items: center; border: 1px solid #ebe6e2; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(47,37,31,.07); }
.pv1-platforms > div strong, .pv1-platforms > div small { display: block; }
.pv1-platforms > div strong { font-size: 17px; }
.pv1-platforms > div small { margin-top: 5px; color: #7d8687; font-size: 10px; }
.pv1-platforms > a { height: 64px; display: flex; align-items: center; justify-content: center; gap: 11px; border-left: 1px solid #edf0ef; color: #17272b; font-size: 13px; font-weight: 800; }
.pv1-platforms > a:hover { color: #ff4d8d; transform: translateY(-2px); }
.pv1-platforms > a img { width: 43px; height: 43px; padding: 3px; border-radius: 8px; background: #fff; box-shadow: 0 5px 13px rgba(49,38,31,.12); }
.pv1-feature-band { margin-top: 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.pv1-campaign { height: 170px; padding: 28px; position: relative; overflow: hidden; color: #fff; border-radius: 8px; background: linear-gradient(110deg,#ff4b2a,#ff6b18 63%,#ff9b22); box-shadow: 0 12px 29px rgba(243,84,29,.18); }
.pv1-campaign.has-campaign-image { background: #26383a; }
.pv1-campaign-media { position: absolute; z-index: 0; inset: 0; display: block; }
.pv1-campaign-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(20,30,33,.84),rgba(20,30,33,.34)); }
.pv1-campaign-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv1-campaign::after { content: ""; position: absolute; right: 22px; top: -6px; width: 220px; height: 180px; background: url("design-preview/reference-campaign-crown.png") center/contain no-repeat; mix-blend-mode: screen; }
.pv1-campaign > div { width: 70%; position: relative; z-index: 2; }
.pv1-campaign h2 { margin: 10px 0 7px; font-size: 25px; }
.pv1-campaign p { margin: 0; font-size: 12px; }
.pv1-campaign a { display: inline-flex; margin-top: 17px; padding: 8px 14px; border-radius: 5px; color: #ff5a24; background: #fff; font-size: 11px; font-weight: 850; }
.pv1-mobile-campaign { display: none; }
.pv1-content-ad { margin: 24px 0 4px; overflow: hidden; border: 1px solid #e2e7e6; border-radius: 7px; background: #fff; }
.pv1-content-ad > div { min-height: 180px; display: grid; grid-template-columns: minmax(260px, .9fr) 1.1fr; align-items: center; }
.pv1-content-ad-media { width: 100%; height: 100%; min-height: 180px; max-height: 260px; object-fit: cover; }
.pv1-content-ad > div > div { padding: 24px 28px; }
.pv1-content-ad small { color: #b36c35; font-size: 10px; font-weight: 700; }
.pv1-content-ad h2 { margin: 7px 0; color: #203236; font-size: 22px; }
.pv1-content-ad p { margin: 0 0 15px; color: #647578; font-size: 13px; line-height: 1.6; }
.ad-generated-link { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.ad-generated-link a { min-width: 0; overflow-wrap: anywhere; color: #9a4c24; }
.pv1-quick { height: 170px; padding: 22px; border: 1px solid #e5e9e8; border-radius: 8px; background: #fff; }
.pv1-quick header, .pv1-panel header { display: flex; align-items: center; justify-content: space-between; }
.pv1-quick h2, .pv1-panel h3 { margin: 0; font-size: 19px; }
.pv1-quick header a, .pv1-panel header a { color: #1c709c; font-size: 11px; }
.pv1-quick > div { margin-top: 18px; display: grid; grid-template-columns: repeat(4,1fr); }
.pv1-quick > div > a, .pv1-quick > div > button { min-width: 0; display: grid; place-items: center; gap: 7px; border: 0; border-right: 1px solid #edf0f0; color: #263537; background: transparent; font-size: 11px; font-weight: 750; }
.pv1-quick > div > :last-child { border-right: 0; }
.pv1-quick img { width: 42px; height: 42px; padding: 4px; border: 1px solid #e3e8e7; border-radius: 11px; background: #fff; box-shadow: 0 6px 15px rgba(27,42,43,.09); }
.pv1-section-title { margin-top: 29px; display: flex; align-items: end; justify-content: space-between; }
.pv1-section-title h2 { margin: 0; font-size: 23px; }
.pv1-section-title a { color: #1b6f9c; font-size: 12px; font-weight: 750; }
.pv1-premium-title { min-height: 54px; padding: 0 0 12px 20px; position: relative; align-items: flex-end; border-bottom: 1px solid #dfe4e3; }
.pv1-premium-title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 12px; width: 3px; border-radius: 2px; background: #c9a35f; }
.pv1-premium-title::after { content: ""; position: absolute; left: 20px; bottom: -1px; width: 58px; height: 2px; background: #c9a35f; }
.pv1-premium-title h2 { color: #17282b; font-size: 24px; font-weight: 800; line-height: 1.22; }
.pv1-premium-title a { padding-bottom: 2px; color: #345e68; transition: color .18s ease; }
.pv1-premium-title a:hover { color: #ff4d8d; }
.pv1-steps { min-height: 174px; margin-top: 11px; display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid #e7e9e9; border-radius: 8px; background: #fff; box-shadow: 0 11px 28px rgba(37,42,41,.06); }
.pv1-steps article { padding: 20px 22px; border-right: 1px solid #e9eded; }
.pv1-steps article:last-child { border: 0; }
.pv1-steps article > div { display: flex; align-items: center; gap: 11px; }
.pv1-steps i { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e3e8e7; border-radius: 50%; background: #fff; box-shadow: 0 6px 15px rgba(27,42,43,.09); }
.pv1-steps i img { width: 35px; height: 35px; padding: 3px; }
.pv1-steps small { color: #ff5a24; font-size: 10px; font-weight: 900; }
.pv1-steps h3 { margin: 13px 0 6px; font-size: 15px; }
.pv1-steps p { margin: 0; color: #737d7f; font-size: 10px; line-height: 1.6; }
.pv1-manage { margin-top: 12px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 16px; }
.pv1-panel { min-height: 215px; overflow: hidden; border: 1px solid #e4e8e8; border-radius: 8px; background: #fff; box-shadow: 0 10px 26px rgba(36,43,43,.06); }
.pv1-panel header { height: 54px; padding: 0 23px; border-bottom: 1px solid #e9eded; }
.pv1-routes { min-height: 160px; display: grid; grid-template-columns: repeat(4,1fr); }
.pv1-routes > div { padding: 15px 12px; display: flex; flex-direction: column; align-items: flex-start; border-right: 1px solid #edf0f0; }
.pv1-routes > div:last-child { border: 0; }
.pv1-routes img { width: 34px; height: 34px; }
.pv1-routes strong { margin-top: 8px; font-size: 11px; }
.pv1-routes small { margin-top: 4px; color: #7a8384; font-size: 9px; }
.pv1-routes b { margin-top: 8px; padding: 4px 7px; border-radius: 4px; color: #168d6d; background: #e6f7f2; font-size: 9px; }
.pv1-services { min-height: 160px; display: grid; grid-template-columns: 1fr 1fr; }
.pv1-services a { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-right: 1px solid #edf0f0; border-bottom: 1px solid #edf0f0; color: #263537; font-size: 12px; font-weight: 750; }
.pv1-services a:nth-child(even) { border-right: 0; }
.pv1-services a:nth-last-child(-n+2) { border-bottom: 0; }
.pv1-services img { width: 39px; height: 39px; }
.pv1-partners-title { margin-top: 29px; }
.pv1-partners-title p { margin: 6px 0 0; color: #748082; font-size: 11px; }
.pv1-partners { margin: 12px 0 0; padding: 24px 0 27px; border-block: 1px solid #e1e6e5; background: transparent; }
.pv1-partner-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.pv1-partner-groups > div + div { padding-left: 36px; border-left: 1px solid #e1e6e5; }
.pv1-partner-groups strong { display: block; margin-bottom: 14px; color: #4f5d60; font-size: 11px; }
.pv1-partner-groups span { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: center; gap: 18px; }
.pv1-partner-logo { min-width: 0; height: 54px; display: grid; place-items: center; opacity: .86; transition: opacity .18s ease, transform .18s ease; }
.pv1-partner-logo:hover { opacity: 1; transform: translateY(-2px); }
.pv1-partner-logo img { display: block; width: 100%; max-width: 122px; height: 46px; padding: 0; object-fit: contain; border: 0; border-radius: 0; background: transparent; }
.pv1-partner-logo-ups img { transform: scale(1.18); }
.pv1-partner-logo-mastercard img { transform: scale(1.3); }
.pv1-partner-logo-paypal img { transform: scale(1.12); }
.pv1-manage-title { margin-top: 29px; }

@media (max-width: 900px) {
  .pv1-wrap { width: calc(100% - 24px); }
  .pv1-hero { min-height: 300px; background: linear-gradient(105deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.91) 42%,rgba(255,255,255,.48) 72%,rgba(255,255,255,.14) 100%), url("design-preview/reference-hero-logistics-v2.webp") center bottom / cover no-repeat; }
  .pv1-hero-inner { width: 100%; min-height: 300px; padding: 43px 18px 28px; display: block; }
  .pv1-hero-copy { width: 100%; }
  .pv1-eyebrow { display: none; }
  .pv1-hero h1 { max-width: 350px; margin: 13px 0 11px; font-size: 28px; line-height: 1.16; text-shadow: 0 1px 0 rgba(255,255,255,.8); }
  .pv1-title-comma { display: none; }
  .pv1-title-break { display: block; }
  .pv1-hero-copy > p { width: 100%; max-width: 326px; color: #26383b; font-size: 12px; line-height: 1.65; font-weight: 700; text-shadow: 0 1px 1px rgba(255,255,255,.96); }
  .pv1-trust { display: none; }
  .pv1-hero-art { display: none; }
  .pv1-purchase { width: calc(100% - 28px); margin-top: -22px; padding: 15px 14px; }
  .pv1-purchase-head strong { font-size: 15px; }
  .pv1-purchase-head > button { font-size: 11px; }
  .pv1-purchase-row { height: auto; display: block; }
  .pv1-purchase-row > label { height: 54px; }
  .pv1-purchase-row input { font-size: 10px; }
  .pv1-purchase-row > .search-submit { width: 100%; height: 50px; margin-top: 10px; font-size: 15px; }
  .pv1-purchase > small { font-size: 8px; }
  .pv1-platforms { width: calc(100% - 24px); height: 62px; margin-top: 10px; padding: 2px 7px; grid-template-columns: repeat(5,minmax(0,1fr)); border: 0; }
  .pv1-platforms > div, .pv1-platforms > a span { display: none; }
  .pv1-platforms > a { height: 58px; border: 0; }
  .pv1-platforms > a img { width: 36px; height: 36px; }
  .pv1-feature-band { display: block; margin-top: 10px; }
  .pv1-campaign { height: 148px; padding: 18px; }
  .pv1-campaign::after { right: -7px; top: 4px; width: 142px; height: 132px; }
  .pv1-campaign > div { width: 72%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
  .pv1-campaign h2 { margin: 8px 0 5px; font-size: 17px; line-height: 1.25; }
  .pv1-campaign p { font-size: 8px; line-height: 1.45; }
  .pv1-campaign a { margin-top: auto; }
  .pv1-mobile-campaign { display: block; }
  .pv1-mobile-campaign + .pv1-quick { margin-top: 0; }
  .pv1-feature-band:has(.pv1-mobile-campaign) .pv1-desktop-campaign { display: none; }
  .pv1-content-ad > div { min-height: 0; grid-template-columns: 1fr; }
  .pv1-content-ad-media { min-height: 145px; max-height: 190px; }
  .pv1-content-ad > div > div { padding: 18px; }
  .pv1-content-ad h2 { font-size: 18px; }
  .ad-generated-link { align-items: stretch; flex-direction: column; }
  .pv1-quick { display: none; }
  .pv1-section-title { margin-top: 26px; align-items: center; }
  .pv1-section-title h2 { font-size: 18px; }
  .pv1-section-title a { font-size: 9px; white-space: nowrap; }
  .pv1-premium-title { min-height: 45px; padding: 0 0 9px 13px; align-items: flex-end; }
  .pv1-premium-title::before { top: 2px; bottom: 9px; width: 2px; }
  .pv1-premium-title::after { left: 13px; width: 42px; }
  .pv1-premium-title h2 { max-width: calc(100vw - 130px); font-size: 18px; line-height: 1.28; }
  .pv1-partners-title h2 { max-width: none; }
  .pv1-steps { min-height: 0; margin-top: 11px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .pv1-steps article { min-width: 0; min-height: 88px; padding: 8px 10px; border: 1px solid #e1e6e5 !important; border-radius: 9px; background: #fff; box-shadow: 0 7px 18px rgba(31,43,44,.06); }
  .pv1-steps article > div { gap: 7px; }
  .pv1-steps i { width: 33px; height: 33px; flex: 0 0 33px; }
  .pv1-steps i img { width: 29px; height: 29px; }
  .pv1-steps small { font-size: 7px; white-space: nowrap; }
  .pv1-steps h3 { margin: 7px 0 3px; font-size: 10px; line-height: 1.3; }
  .pv1-steps p { font-size: 7.5px; line-height: 1.4; }
  .pv1-manage { grid-template-columns: 1fr; gap: 11px; }
  .pv1-panel { min-height: 0; }
  .pv1-panel header { height: 50px; padding: 0 12px; }
  .pv1-panel h3 { font-size: 14px; }
  .pv1-routes { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .pv1-routes > div { min-height: 76px; padding: 8px 10px; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 2px 7px; border-bottom: 1px solid #edf0f0; }
  .pv1-routes img { width: 30px; height: 30px; grid-row: 1/3; padding: 4px; border-radius: 8px; background: #eef8fb; }
  .pv1-routes strong { margin: 0; font-size: 9px; }
  .pv1-routes small { margin: 0; font-size: 8px; }
  .pv1-routes b { margin: 0; grid-column: 3; grid-row: 1/3; font-size: 7px; }
  .pv1-services { min-height: 142px; }
  .pv1-services a { padding: 8px 6px; flex-direction: column; justify-content: center; gap: 5px; font-size: 10px; }
  .pv1-services img { width: 39px; height: 39px; padding: 7px; border-radius: 10px; background: #fff3ec; }
  .pv1-partners-title { margin-top: 24px; }
  .pv1-partners-title p { margin-top: 4px; font-size: 9px; line-height: 1.45; }
  .pv1-partners { margin: 10px 0 0; padding: 17px 0 20px; }
  .pv1-partner-groups { grid-template-columns: 1fr; gap: 15px; }
  .pv1-partner-groups > div + div { padding: 15px 0 0; border-left: 0; border-top: 1px solid #e1e6e5; }
  .pv1-partner-groups span { gap: 12px; }
  .pv1-partner-groups > div:last-child span { padding-right: 48px; }
  .pv1-partner-logo { height: 45px; }
  .pv1-partner-logo img { height: 38px; }
  .pv1-manage-title { margin-top: 24px; }
}

/* Keep the desktop active indicator attached to the navigation label. */
@media (min-width: 901px) {
  .site-header .main-nav a {
    height: auto;
    align-self: center;
    padding: 6px 0;
  }
  .site-header .main-nav a.active::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
  }

  /* Single authoritative desktop footer layout. */
  .site-footer {
    padding: 0 40px;
    color: #d9e0df;
    background: #10191b;
  }
  .site-footer .footer-inner {
    width: min(1260px, 100%);
    margin: 0 auto;
    padding: 34px 0 25px;
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(4, minmax(120px, 1fr));
    align-items: start;
    gap: 42px;
  }
  .site-footer .footer-inner > div {
    min-width: 0;
    align-self: start;
  }
  .site-footer .footer-brand > img {
    width: 112px;
    height: 44px;
    padding: 0;
    object-fit: contain;
    background: transparent;
  }
  .site-footer .footer-brand p {
    max-width: 285px;
    margin: 8px 0 10px;
    color: #aeb9b8;
    font-size: 11px;
    line-height: 1.65;
  }
  .site-footer .footer-brand > small {
    display: block;
    color: #d5dddd;
    font-size: 10px;
    line-height: 1.75;
  }
  .site-footer h4 {
    margin: 3px 0 13px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
  }
  .site-footer .footer-inner > div:not(.footer-brand) a {
    margin: 0 0 9px;
    color: #aeb9b8;
    font-size: 11px;
    line-height: 1.35;
  }
  .site-footer .footer-inner > div:not(.footer-brand) a:hover {
    color: #fff;
  }
  .site-footer .footer-social-trust {
    margin-top: 12px;
    display: block;
  }
  .site-footer .footer-social-links {
    flex: 0 0 auto;
    gap: 7px;
  }
  .site-footer .footer-social-links a,
  .site-footer .footer-social-links img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .site-footer .footer-bottom {
    width: min(1260px, 100%);
    min-height: 52px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(190px,1fr) auto minmax(290px,1fr);
    align-items: center;
    gap: 24px;
    border-top: 1px solid #2b3738;
    color: #83908f;
    font-size: 10px;
  }
  .site-footer .footer-bottom span:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
  }
  .site-footer .footer-bottom > span:first-of-type { grid-column: 1; grid-row: 1; }
  .site-footer .footer-bottom .footer-trust-marks { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 5px; }
  .site-footer .footer-bottom > span:last-child { grid-column: 3; grid-row: 1; }
  .site-footer .footer-bottom .footer-trust-marks img { width: 52px; height: 30px; display: block; }
  .site-footer .footer-bottom a {
    margin: 0;
    color: #98a4a3;
    font-size: 10px;
  }
}

/* Homepage typography: restrained corporate hierarchy and readable mobile copy. */
.premium-home-v1 {
  color: #203236;
  font-family: Aptos, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  font-weight: 400;
}
.pv1-eyebrow { color: #b46d35; font-size: 12px; font-weight: 650; }
.pv1-hero h1 { color: #162a2e; font-size: 46px; line-height: 1.17; font-weight: 700; }
.pv1-hero-copy > p { max-width: 570px; color: #4e6165; font-size: 16px; line-height: 1.75; font-weight: 400; }
.pv1-trust { color: #56686b; font-size: 12px; line-height: 1.5; }
.pv1-purchase-head strong { color: #1d3034; font-size: 18px; font-weight: 650; }
.pv1-purchase-head > button { color: #526568; font-size: 13px; font-weight: 550; }
.pv1-purchase-row input { color: #33484c; font-size: 14px; }
.pv1-purchase-row > .search-submit { font-size: 17px; font-weight: 650; }
.pv1-purchase > small { color: #68787b; font-size: 12px; line-height: 1.5; }
.pv1-platforms > div strong { color: #203236; font-size: 16px; font-weight: 650; }
.pv1-platforms > div small { color: #748184; font-size: 11px; line-height: 1.4; }
.pv1-platforms > a { color: #2a3c40; font-size: 13px; font-weight: 600; }
.pv1-campaign small { font-size: 12px; font-weight: 550; }
.pv1-campaign h2 { font-size: 24px; line-height: 1.3; font-weight: 650; }
.pv1-campaign p { font-size: 13px; line-height: 1.55; }
.pv1-campaign a { font-size: 12px; font-weight: 650; }
.pv1-quick h2, .pv1-panel h3 { color: #203236; font-size: 18px; font-weight: 650; }
.pv1-quick header a, .pv1-panel header a, .pv1-section-title a { color: #426873; font-size: 12px; font-weight: 550; }
.pv1-quick > div > a, .pv1-quick > div > button { color: #33474b; font-size: 12px; font-weight: 550; }
.pv1-premium-title h2 { color: #1b3034; font-size: 27px; line-height: 1.25; font-weight: 650; }
.pv1-partners-title p { color: #66777a; font-size: 13px; line-height: 1.55; }
.pv1-steps article { padding: 23px 24px 25px; }
.pv1-steps small { color: #b36c35; font-size: 9px; line-height: 1.4; font-weight: 650; }
.pv1-steps h3 { margin: 15px 0 8px; color: #203236; font-size: 16px; line-height: 1.45; font-weight: 650; }
.pv1-steps p { color: #667679; font-size: 12px; line-height: 1.7; }
.pv1-routes strong { color: #2a3d41; font-size: 12px; line-height: 1.4; font-weight: 600; }
.pv1-routes small { color: #6a7a7d; font-size: 10px; line-height: 1.45; }
.pv1-routes b { font-size: 9px; font-weight: 600; }
.pv1-services a { color: #2e4246; font-size: 13px; font-weight: 550; }
.pv1-partner-groups strong { color: #526467; font-size: 12px; font-weight: 600; }

@media (max-width: 900px) {
  .premium-home-v1 { font-family: "PingFang SC", "Microsoft YaHei UI", "Noto Sans SC", sans-serif; }
  .pv1-hero h1 { max-width: 340px; font-size: 31px; line-height: 1.18; font-weight: 700; }
  .pv1-hero-copy > p { max-width: 340px; color: #2c4145; font-size: 13px; line-height: 1.65; font-weight: 500; }
  .pv1-purchase-head strong { font-size: 16px; font-weight: 650; }
  .pv1-purchase-head > button { font-size: 12px; }
  .pv1-purchase-row input { font-size: 12px; }
  .pv1-purchase-row > .search-submit { font-size: 16px; font-weight: 650; }
  .pv1-purchase > small { font-size: 10px; line-height: 1.5; }
  .pv1-campaign small { font-size: 11px; }
  .pv1-campaign h2 { font-size: 18px; line-height: 1.3; font-weight: 650; }
  .pv1-campaign p { font-size: 10px; line-height: 1.5; }
  .pv1-premium-title h2 { max-width: calc(100vw - 124px); font-size: 20px; line-height: 1.35; font-weight: 650; }
  .pv1-section-title a { font-size: 10px; }
  .pv1-partners-title h2 { max-width: none; }
  .pv1-partners-title p { font-size: 11px; line-height: 1.5; }
  .pv1-steps article { min-height: 132px; padding: 13px 14px 15px; }
  .pv1-steps { grid-auto-rows: 1fr; }
  .pv1-steps article { height: 100%; min-height: 203px; }
  .pv1-steps article > div { gap: 9px; }
  .pv1-steps i { width: 38px; height: 38px; flex-basis: 38px; }
  .pv1-steps i img { width: 34px; height: 34px; padding: 2px; }
  .pv1-steps small { font-size: 8px; line-height: 1.35; }
  .pv1-steps h3 { margin: 10px 0 5px; font-size: 13px; line-height: 1.4; font-weight: 650; }
  .pv1-steps p { font-size: 10.5px; line-height: 1.55; }
  .pv1-panel h3 { font-size: 16px; }
  .pv1-panel header a { font-size: 10px; }
  .pv1-routes strong { font-size: 10.5px; }
  .pv1-routes small { font-size: 9px; }
  .pv1-routes b { font-size: 8px; }
  .pv1-services a { font-size: 11px; font-weight: 550; }
  .pv1-partner-groups strong { font-size: 11px; }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .site-footer .footer-inner {
    grid-template-columns: minmax(235px, 1.35fr) repeat(4, minmax(100px, 1fr));
    gap: 24px;
  }
  .site-footer .footer-bottom { grid-template-columns: auto 1fr; gap: 14px; }
  .site-footer .footer-bottom > span:first-of-type { grid-column: 1; }
  .site-footer .footer-bottom .footer-trust-marks { grid-column: 2; justify-self: end; }
  .site-footer .footer-bottom > span:last-child { display: none; }
}

/* Compact desktop footer brand block: keep the identity readable without the loose vertical rhythm. */
@media (min-width: 901px) {
  .site-footer .footer-inner { padding-top: 22px; padding-bottom: 16px; }
  .site-footer .footer-brand > img { height: 38px; }
  .site-footer .footer-brand p { margin-top: 3px; margin-bottom: 5px; line-height: 1.45; }
  .site-footer .footer-brand > small { line-height: 1.5; }
  .site-footer .footer-social-trust { margin-top: 6px; }
  .site-footer .footer-inner > div:not(.footer-brand) h4 {
    position: relative;
    margin: 3px 0 25px;
    color: #d9b36c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
  }
.site-footer .footer-inner > div:not(.footer-brand) h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 46px;
    height: 1px;
    background: #d9b36c;
  }
}

/* Account center: shared color iconography and calm product typography. */
.account-layout {
  color: #25383c;
  background: #f4f6f6;
  font-family: Aptos, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
}
.account-sidebar { padding: 30px 17px; border-right-color: #e1e6e5; }
.account-sidebar h2 { color: #1b3034; font-size: 22px; line-height: 1.3; font-weight: 650; }
.side-group-title { margin-top: 25px; color: #869295; font-size: 10px; line-height: 1.4; font-weight: 650; text-transform: none; }
.side-link { min-height: 46px; gap: 11px; border-radius: 6px; color: #4d5e62; font-size: 13px; font-weight: 500; }
.side-link .side-link-icon { width: 27px; height: 27px; flex: 0 0 27px; }
.side-link .side-link-icon img { width: 27px; height: 27px; opacity: 1; }
.side-link:hover, .side-link.active { color: #9a4c24; background: #fff4ed; font-weight: 650; }
.account-main { padding: 34px 36px 48px; }
.page-heading { margin-bottom: 25px; align-items: center; }
.page-heading h1 { margin-bottom: 6px; color: #1b3034; font-size: 28px; line-height: 1.25; font-weight: 650; }
.page-heading p { max-width: 720px; color: #68787b; font-size: 14px; line-height: 1.6; }
.account-main .panel { border-color: #e1e6e5; border-radius: 7px; box-shadow: 0 7px 20px rgba(35,52,55,.045); }
.dashboard-grid { gap: 15px; }
.stat-panel { min-height: 130px; padding: 21px; display: flex; align-items: center; gap: 16px; }
.stat-panel > img { width: 48px; height: 48px; flex: 0 0 48px; }
.stat-panel > div { min-width: 0; }
.stat-panel .label { color: #617276; font-size: 12px; line-height: 1.4; }
.stat-panel strong { margin-top: 6px; color: #1e3337; font-size: 28px; line-height: 1.15; font-weight: 650; }
.stat-panel small { margin-top: 5px; color: #718083; font-size: 11px; }
.panel-header { min-height: 60px; padding-inline: 22px; }
.panel-header h2 { color: #22363a; font-size: 17px; line-height: 1.35; font-weight: 650; }
.panel-body { color: #4e6064; font-size: 14px; line-height: 1.65; }
.quick-actions { gap: 11px; }
.quick-action { min-height: 91px; padding: 13px; display: grid; grid-template-columns: 36px minmax(0,1fr); grid-template-rows: auto auto; align-content: center; gap: 2px 9px; border-color: #e1e6e5; border-radius: 6px; }
.quick-action img { width: 36px; height: 36px; grid-row: 1 / 3; }
.quick-action b { margin: 0; color: #2a3e42; font-size: 13px; line-height: 1.35; font-weight: 650; }
.quick-action span { color: #778588; font-size: 11px; line-height: 1.4; }
.account-main .primary-button, .account-main .secondary-button { font-size: 13px; font-weight: 600; }
.account-main .data-table th { color: #69777a; font-size: 11px; font-weight: 650; text-transform: none; }
.account-main .data-table td { color: #35494d; font-size: 13px; line-height: 1.5; }
.profile-hero { padding: 24px; border-color: #e1e6e5; box-shadow: 0 7px 20px rgba(35,52,55,.04); }

/* Operations admin: image icons and restrained enterprise hierarchy. */
.ops-admin { color: #26383c; font-family: Aptos, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif; }
.ops-topnav nav a { font-weight: 550; }
.ops-side-group { color: #899497; font-size: 10px; font-weight: 600; text-transform: none; }
.ops-side-link { min-height: 43px; gap: 11px; color: #536367; font-size: 13px; font-weight: 500; }
.ops-side-icon { width: 26px; height: 26px; flex: 0 0 26px; }
.ops-side-icon img { width: 26px; height: 26px; opacity: 1; }
.ops-side-link.active { color: #8e451f; font-weight: 650; }
.ops-toolbar-icon img, .ops-notice > img { width: 23px; height: 23px; opacity: 1; }
.ops-welcome h1 { color: #1d3135; font-size: 24px; line-height: 1.3; font-weight: 650; }
.ops-welcome p { font-size: 14px; line-height: 1.55; }
.ops-welcome-avatar { display: grid; width: 62px; height: 62px; background: transparent; }
.ops-welcome-avatar img { width: 62px; height: 62px; }
.ops-square-icon, .ops-square-icon.blue, .ops-square-icon.green, .ops-square-icon.amber, .ops-square-icon.red, .ops-square-icon.gray { width: 46px; height: 46px; flex-basis: 46px; background: transparent; }
.ops-square-icon img { width: 46px; height: 46px; }
.ops-metric strong { color: #213539; font-size: 21px; font-weight: 650; }
.ops-metric p { color: #69787b; font-size: 12px; }
.ops-section h2 { color: #22363a; font-size: 18px; line-height: 1.35; font-weight: 650; }
.ops-round-icon, .ops-round-icon.blue, .ops-round-icon.green, .ops-round-icon.amber, .ops-round-icon.red, .ops-round-icon.gray, .ops-round-icon.rose, .ops-round-icon.cyan, .ops-round-icon.peach, .ops-round-icon.violet { background: transparent; }
.ops-round-icon img { width: 34px; height: 34px; }
.ops-todo-grid .ops-round-icon img { width: 40px; height: 40px; }
.ops-quick-grid strong { color: #2b3d41; font-size: 13px; font-weight: 650; }
.ops-quick-grid small { color: #758285; font-size: 11px; line-height: 1.45; }
.ops-todo-grid p { color: #5e6e71; font-size: 12px; line-height: 1.45; }
.ops-page-heading h1 { color: #1e3236; font-size: 24px; line-height: 1.3; font-weight: 650; }
.ops-page-heading p { color: #758285; font-size: 12px; line-height: 1.5; }
.ops-filter .field label { font-weight: 600; }
.ops-table th { color: #5f6e72; font-weight: 650; }
.ops-table td { color: #34484c; font-size: 13px; line-height: 1.5; }

@media (max-width: 900px) {
  .account-main { padding: 22px 14px 92px; }
  .account-sidebar { padding: 10px 12px; background: #fff; }
  #account-nav { gap: 8px; padding-bottom: 2px; }
  .side-link { min-height: 54px; padding: 6px 11px; gap: 6px; flex-direction: column; border-color: #e1e6e5; font-size: 10px; line-height: 1.2; }
  .side-link span:first-child { display: grid; }
  .side-link .side-link-icon, .side-link .side-link-icon img { width: 26px; height: 26px; }
  .page-heading { margin-bottom: 18px; gap: 13px; }
  .page-heading h1 { font-size: 21px; font-weight: 720; letter-spacing: -.01em; }
  .page-heading p { font-size: 12px; line-height: 1.55; }
  .dashboard-grid { gap: 11px; }
  .stat-panel { min-height: 104px; padding: 17px; }
  .stat-panel > img { width: 43px; height: 43px; flex-basis: 43px; }
  .stat-panel strong { font-size: 24px; }
  .panel-header { min-height: 54px; padding-inline: 15px; }
  .panel-header h2 { font-size: 16px; }
  .panel-body { padding: 16px; font-size: 13px; }
  .quick-actions { grid-template-columns: 1fr 1fr; }
  .quick-action { min-height: 88px; }
  .account-main .data-table td { font-size: 12px; }
}

/* Account home follows the customer's actual purchase and fulfillment flow. */
.account-home-hero { overflow: hidden; margin-bottom: 18px; border: 1px solid #dfe5e4; border-radius: 7px; background: #fff; box-shadow: 0 7px 20px rgba(35,52,55,.045); }
.account-home-identity { min-height: 112px; display: grid; grid-template-columns: 64px minmax(0,1fr) 18px; align-items: center; gap: 16px; padding: 20px 22px; color: #263b3f; }
.account-home-identity .profile-avatar { width: 64px; height: 64px; }
.account-home-identity > span { min-width: 0; display: grid; gap: 3px; }
.account-home-identity small { color: #7a898c; font-size: 11px; }
.account-home-identity strong { overflow: hidden; font-size: 21px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.account-home-identity b { color: #6c7c7f; font-size: 12px; font-weight: 500; }
.account-home-identity > i { color: #9ca7a9; font-size: 24px; font-style: normal; }
.account-progress-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #e7ebea; background: #fafbfb; }
.account-progress-strip a { min-width: 0; min-height: 76px; display: grid; place-items: center; align-content: center; gap: 3px; border-right: 1px solid #e7ebea; color: #344a4e; text-align: center; }
.account-progress-strip a:last-child { border-right: 0; }
.account-progress-strip strong { max-width: 100%; overflow: hidden; color: #9a4c24; font-size: 18px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.account-progress-strip span { color: #738285; font-size: 11px; }
.account-service-section { margin-top: 18px; }
.account-service-section > header { min-height: 54px; display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 0 2px 11px; }
.account-service-section > header div { display: grid; gap: 2px; }
.account-service-section > header small { color: #9a4c24; font-size: 10px; font-weight: 650; }
.account-service-section > header h2 { margin: 0; color: #21363a; font-size: 19px; line-height: 1.3; }
.account-service-section > header > span { color: #839093; font-size: 11px; }
.account-primary-grid, .account-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.account-service-grid-large { grid-template-columns: repeat(3,minmax(0,1fr)); }
.account-service-link { min-width: 0; min-height: 96px; display: grid; grid-template-columns: 42px minmax(0,1fr) 12px; align-items: center; gap: 11px; padding: 15px; border: 1px solid #dfe5e4; border-radius: 7px; color: #2d4246; background: #fff; }
.account-service-link:hover { border-color: #e6b49b; color: #9a4c24; background: #fff8f4; }
.account-service-link > img { width: 42px; height: 42px; object-fit: contain; }
.account-service-link > span { min-width: 0; display: grid; gap: 4px; }
.account-service-link strong { font-size: 13px; line-height: 1.35; }
.account-service-link small { color: #7b898c; font-size: 10px; line-height: 1.45; }
.account-service-link > i { color: #9ca7a9; font-size: 18px; font-style: normal; }
.account-recent-orders { margin-top: 22px; }

@media (max-width: 900px) {
  .account-sidebar { display: none; }
  .account-main { padding-top: 13px; background: #f3f5f5; }
  .account-home-hero { margin-inline: -2px; margin-bottom: 12px; border-radius: 6px; }
  .account-home-identity { min-height: 94px; grid-template-columns: 54px minmax(0,1fr) 14px; gap: 12px; padding: 15px; }
  .account-home-identity .profile-avatar { width: 54px; height: 54px; }
  .account-home-identity strong { font-size: 18px; }
  .account-home-identity b { font-size: 10px; }
  .account-progress-strip a { min-height: 68px; padding-inline: 4px; }
  .account-progress-strip strong { font-size: 15px; }
  .account-progress-strip span { font-size: 9px; white-space: nowrap; }
  .account-service-section { margin-top: 17px; }
  .account-service-section > header { min-height: 46px; padding: 0 2px 9px; }
  .account-service-section > header h2 { font-size: 17px; }
  .account-service-section > header > span { display: none; }
  .account-primary-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
  .account-primary-grid .account-service-link { min-height: 93px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 10px 4px; text-align: center; }
  .account-primary-grid .account-service-link > img { width: 39px; height: 39px; }
  .account-primary-grid .account-service-link > span { gap: 0; }
  .account-primary-grid .account-service-link strong { font-size: 11px; white-space: nowrap; }
  .account-primary-grid .account-service-link small, .account-primary-grid .account-service-link > i { display: none; }
  .account-service-grid, .account-service-grid-large { grid-template-columns: 1fr 1fr; gap: 8px; }
  .account-service-link { min-height: 76px; grid-template-columns: 36px minmax(0,1fr) 10px; gap: 9px; padding: 11px; }
  .account-service-link > img { width: 36px; height: 36px; }
  .account-service-link strong { font-size: 12px; }
  .account-service-link small { font-size: 9px; }
  .account-recent-orders { margin-top: 18px; }
}


/* Refined mobile order/parcel cards. */
.mobile-order-no { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.mobile-list-fold { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 14px; border: 1px dashed #c7d0ce; border-radius: 9px; color: #a04d25; background: #fff; font-size: 13px; font-weight: 700; }
.mobile-list-fold i { width: 7px; height: 7px; margin-top: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.mobile-list-fold:active { background: #fff7f2; border-color: #e6b49b; }
@media (max-width: 900px) {
  .mobile-order-list { gap: 10px; padding: 12px; background: #f4f6f6; }
  .mobile-order-card { border-radius: 10px; box-shadow: 0 1px 2px rgba(32,48,51,.04); }
  .mobile-order-card summary { min-height: 70px; padding: 13px 14px; gap: 12px; }
  .mobile-order-card summary > span:first-child { gap: 4px; }
  .mobile-order-card summary small { color: #758583; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
  .mobile-order-card summary strong { color: #1c3236; font-size: 15px; font-weight: 720; letter-spacing: -.01em; }
  .mobile-order-summary-right { min-width: 68px; }
  .mobile-order-summary-right b { color: #a04d25; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
  .mobile-order-summary-right .status-badge { min-height: 22px; padding: 0 8px; font-size: 10px; }
  .mobile-order-summary-right i { border-color: #97a3a1; }
  .mobile-order-body { padding: 0 14px 14px; }
  .mobile-order-body dl div { grid-template-columns: 62px minmax(0, 1fr); padding: 11px 0; font-size: 12.5px; }
  .mobile-order-body dt { color: #72807f; font-weight: 600; }
  .mobile-order-body dd { color: #24393d; }
  .mobile-order-detail { min-height: 38px; }
  .mobile-parcel-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .mobile-parcel-actions .primary-button.compact { min-height: 36px; padding: 0 13px; font-size: 12.5px; }
}

/* Account center: clearer, higher-contrast editorial typography. */
.account-home-identity { background: linear-gradient(120deg, #fffdfc, #fff8f2); }
.account-home-identity small { color: #a04d25; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.account-home-identity strong { color: #1d3438; font-size: 22px; font-weight: 750; letter-spacing: -.015em; }
.account-home-identity b { color: #617377; font-size: 12px; font-weight: 550; }
.account-progress-strip { background: linear-gradient(180deg, #fbfcfc, #f5f7f7); }
.account-progress-strip strong { color: #8d3f1d; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.account-progress-strip span { color: #54686b; font-size: 11px; font-weight: 650; }
.account-service-section > header small { color: #9a4c24; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.account-service-section > header h2 { color: #1c3236; font-size: 20px; font-weight: 720; letter-spacing: -.015em; }
.account-service-section > header > span { color: #77878a; font-size: 11px; font-weight: 500; }
.account-service-link { border-color: #e0e6e4; border-radius: 8px; box-shadow: 0 1px 0 rgba(32,48,51,.03); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.account-service-link strong { color: #22373b; font-size: 13px; font-weight: 700; }
.account-service-link small { color: #728185; font-size: 10px; font-weight: 500; }
.account-service-link:hover { transform: translateY(-1px); border-color: #e6b49b; box-shadow: 0 7px 16px rgba(84,58,42,.06); }
@media (max-width: 900px) {
  .account-home-identity { min-height: 102px; padding: 16px 15px; }
  .account-home-identity small { font-size: 10px; letter-spacing: .1em; }
  .account-home-identity strong { font-size: 20px; font-weight: 760; letter-spacing: -.015em; }
  .account-home-identity b { font-size: 11px; }
  .account-progress-strip a { min-height: 74px; }
  .account-progress-strip strong { font-size: 20px; }
  .account-progress-strip span { font-size: 10px; }
  .account-service-section > header h2 { font-size: 19px; }
  .account-service-section > header small { font-size: 10px; letter-spacing: .12em; }
  .account-primary-grid .account-service-link strong { font-size: 11.5px; font-weight: 700; }
  .account-service-link strong { font-size: 13px; font-weight: 700; color: #1f3539; }
  .account-service-link small { font-size: 10px; color: #63757a; }
}


/* Premium account typography: self-hosted Plus Jakarta Sans + Noto Sans SC. */
.account-layout {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.account-topbar, .account-sidebar, .account-main { font-family: inherit; }
.account-user b { color: #1c3236; font-size: 13px; font-weight: 750; }
.account-user small { color: #68787b; font-weight: 550; }
.side-group-title { letter-spacing: .08em; font-weight: 700; }
.side-link { font-weight: 550; }
.side-link:hover, .side-link.active { font-weight: 700; }

.account-home-identity { background: linear-gradient(120deg, #fffdfc 0%, #fff6ed 100%); }
.account-home-identity strong { color: #17292d; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.account-home-identity small { letter-spacing: .14em; }
.account-home-identity b { font-weight: 600; }
.account-progress-strip strong { color: #8d3f1d; font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.account-service-section > header small { letter-spacing: .16em; }
.account-service-section > header h2 { font-size: 21px; font-weight: 760; letter-spacing: -.015em; }
.account-service-section > header h2::before {
  content: ""; display: inline-block; width: 6px; height: 16px; margin-right: 9px; border-radius: 2px;
  background: linear-gradient(180deg, #f2a76f, #b64a1d); transform: translateY(1px);
}
.account-service-link strong { font-size: 13.5px; font-weight: 700; }
.account-main .page-heading h1 { font-weight: 720; letter-spacing: -.015em; }
.account-main .panel-header h2 { font-weight: 700; }
.account-main .stat-panel strong { font-weight: 750; letter-spacing: -.01em; }

@media (max-width: 900px) {
  .account-home-identity strong { font-size: 21px; font-weight: 800; }
  .account-home-identity small { font-size: 10px; }
  .account-progress-strip strong { font-size: 21px; }
  .account-service-section > header h2 { font-size: 20px; }
  .account-service-section > header h2::before { height: 14px; margin-right: 7px; }
  .account-service-link strong { font-size: 13px; }
  .account-primary-grid .account-service-link strong { font-size: 12px; font-weight: 700; }
}


/* Homepage typography upgrade: self-hosted Plus Jakarta Sans + Noto Sans SC. */
body, .premium-home-v1, .site-header, .site-footer, .main-nav, .promo-bar, .mobile-bottom-nav {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}
body, .premium-home-v1 { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.premium-home-v1 { font-feature-settings: "kern" 1, "liga" 1; }

.pv1-eyebrow { color: #ff5a24; font-size: 13px; font-weight: 780; letter-spacing: .18em; }
.pv1-hero h1 { color: #13262b; font-size: 47px; line-height: 1.15; font-weight: 810; letter-spacing: -.022em; }
.pv1-hero h1 .pv1-title-accent {
  background: linear-gradient(94deg, #ff8a2b 0%, #ff5f27 52%, #ec3f2a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pv1-hero-copy > p { color: #415558; font-size: 16px; line-height: 1.72; font-weight: 500; letter-spacing: .002em; }
.pv1-trust { font-weight: 520; }
.pv1-trust span::first-letter { font-weight: 760; }

.pv1-purchase-head strong { font-weight: 720; letter-spacing: -.012em; }
.pv1-purchase-head > button { font-weight: 650; }
.pv1-purchase-row input { font-weight: 480; }
.pv1-purchase-row > .search-submit { font-weight: 750; letter-spacing: .02em; }
.pv1-purchase > small { font-weight: 470; }

.pv1-platforms > div strong { font-weight: 730; letter-spacing: -.01em; }
.pv1-platforms > a { font-weight: 700; letter-spacing: -.01em; }

.pv1-campaign small { letter-spacing: .16em; font-weight: 700; }
.pv1-campaign h2 { font-weight: 760; letter-spacing: -.014em; }
.pv1-campaign p { font-weight: 460; }
.pv1-campaign a { font-weight: 740; }

.pv1-content-ad small { letter-spacing: .16em; font-weight: 720; }
.pv1-content-ad h2 { font-weight: 760; letter-spacing: -.014em; }
.pv1-content-ad p { font-weight: 460; }

.pv1-quick h2, .pv1-panel h3 { font-weight: 730; letter-spacing: -.012em; }
.pv1-section-title h2 { font-weight: 750; letter-spacing: -.014em; }
.pv1-premium-title h2 { font-weight: 780; letter-spacing: -.016em; }
.pv1-section-title a { font-weight: 650; }
.pv1-steps small { letter-spacing: .18em; font-weight: 750; }
.pv1-steps h3 { font-weight: 730; letter-spacing: -.012em; }
.pv1-steps p { font-weight: 450; }
.pv1-routes strong { font-weight: 650; }
.pv1-routes small { font-weight: 480; }
.pv1-services a { font-weight: 620; }
.pv1-partner-groups strong { font-weight: 720; letter-spacing: .1em; }
.pv1-partners-title p { font-weight: 470; }

.site-footer h4 { font-weight: 720; }
.main-nav a { font-weight: 620; }

@media (max-width: 900px) {
  .pv1-eyebrow { font-size: 11px; letter-spacing: .16em; }
  .pv1-hero h1 { font-size: 33px; line-height: 1.17; font-weight: 810; letter-spacing: -.02em; }
  .pv1-hero-copy > p { color: #33484c; font-size: 13.5px; line-height: 1.62; font-weight: 520; }
  .pv1-purchase-head strong { font-size: 16px; font-weight: 730; }
  .pv1-purchase-row > .search-submit { font-weight: 760; }
  .pv1-campaign small { font-size: 10px; }
  .pv1-campaign h2 { font-size: 19px; font-weight: 760; }
  .pv1-content-ad h2 { font-size: 19px; font-weight: 750; }
  .pv1-quick h2, .pv1-panel h3 { font-size: 16px; font-weight: 730; }
  .pv1-premium-title h2 { font-size: 21px; font-weight: 780; letter-spacing: -.014em; }
  .pv1-steps h3 { font-size: 13.5px; font-weight: 720; }
  .pv1-steps p { font-size: 10.5px; }
  .pv1-routes strong { font-weight: 650; }
  .pv1-services a { font-weight: 620; }
  .pv1-partner-groups strong { font-size: 11px; font-weight: 700; letter-spacing: .06em; }
}


/* Unified modern icon set: let gradient squircles render without legacy borders/backgrounds. */
.pv1-purchase-head strong i { overflow: hidden; border-radius: 9px; background: transparent; box-shadow: 0 3px 8px rgba(37,54,58,.14); }
.pv1-quick img { padding: 0; border: 0; border-radius: 12px; background: transparent; box-shadow: 0 5px 12px rgba(31,45,47,.12); }
.pv1-steps i { border: 0; border-radius: 12px; background: transparent; box-shadow: 0 5px 12px rgba(31,45,47,.12); }
.pv1-steps i img { padding: 0; }
@media (max-width: 900px) {
  .pv1-routes img { padding: 0; border-radius: 9px; background: transparent; }
  .pv1-services img { padding: 0; border-radius: 11px; background: transparent; }
}


/* Mobile hero: remove white drop shadow so the second-line gradient matches desktop. */
.pv1-hero h1 { text-shadow: none; }
.pv1-hero h1 .pv1-title-accent { text-shadow: none; }


/* Compact steps cards on mobile: match frame height to content, keep rows equal. */
@media (max-width: 900px) {
  .pv1-steps { grid-auto-rows: 1fr; align-items: stretch; }
  .pv1-steps article { height: auto; min-height: 0; padding: 12px 12px 13px; }
  .pv1-steps article > div { min-height: 38px; }
  .pv1-steps small { font-size: 7.5px; letter-spacing: .14em; white-space: nowrap; }
  .pv1-steps h3 { margin: 9px 0 4px; font-size: 12.5px; line-height: 1.35; }
  .pv1-steps p { font-size: 10px; line-height: 1.5; }
}


/* Premium typography: language UI and operations admin. */
.language-popover, .currency-popover, .account-popover, .ops-admin, .wp-shell {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.language-popover header strong { font-weight: 720; letter-spacing: -.01em; }
.language-list button { font-weight: 550; }
.language-list button.active { font-weight: 700; }
.language-popover .system-language-option { font-weight: 550; }
.ops-side-group { letter-spacing: .08em; font-weight: 650; }
.ops-side-link { font-weight: 550; }
.ops-side-link:hover, .ops-side-link.active { font-weight: 700; }
.ops-topnav nav a { font-weight: 580; }
.ops-brand strong { font-weight: 720; letter-spacing: -.01em; }
.ops-toolbar { font-weight: 520; }
.ops-toolbar strong { font-weight: 650; }
.ops-welcome h1 { font-weight: 720; letter-spacing: -.012em; }
.ops-welcome p { font-weight: 460; }
.ops-page-heading h1 { font-weight: 700; letter-spacing: -.01em; }
.ops-section h2 { font-weight: 680; letter-spacing: -.008em; }
.ops-metric strong { font-weight: 750; letter-spacing: -.01em; }
.ops-metric p, .ops-todo-grid p { font-weight: 480; }
.ops-quick-grid strong { font-weight: 660; }
.ops-quick-grid small { font-weight: 460; }
.ops-todo-grid strong { font-weight: 750; }
.settings-section h3 { font-weight: 680; }


/* Multi-language font support: Japanese and Korean packs follow the site locale. */
body, .premium-home-v1, .site-header, .site-footer, .main-nav, .promo-bar, .mobile-bottom-nav,
.language-popover, .currency-popover, .account-popover, .account-layout, .ops-admin, .wp-shell {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}
html[lang^="ja"] body,
html[lang^="ja"] .premium-home-v1,
html[lang^="ja"] .site-header,
html[lang^="ja"] .site-footer,
html[lang^="ja"] .main-nav,
html[lang^="ja"] .promo-bar,
html[lang^="ja"] .mobile-bottom-nav,
html[lang^="ja"] .language-popover,
html[lang^="ja"] .currency-popover,
html[lang^="ja"] .account-popover,
html[lang^="ja"] .account-layout,
html[lang^="ja"] .ops-admin,
html[lang^="ja"] .wp-shell {
  font-family: "Plus Jakarta Sans", "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}
html[lang^="ko"] body,
html[lang^="ko"] .premium-home-v1,
html[lang^="ko"] .site-header,
html[lang^="ko"] .site-footer,
html[lang^="ko"] .main-nav,
html[lang^="ko"] .promo-bar,
html[lang^="ko"] .mobile-bottom-nav,
html[lang^="ko"] .language-popover,
html[lang^="ko"] .currency-popover,
html[lang^="ko"] .account-popover,
html[lang^="ko"] .account-layout,
html[lang^="ko"] .ops-admin,
html[lang^="ko"] .wp-shell {
  font-family: "Plus Jakarta Sans", "Noto Sans KR", "Noto Sans SC", "Noto Sans JP", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

/* Mobile account layout: keep long translated labels inside their components. */
@media (max-width: 900px) {
  .mobile-app-banner strong,
  .mobile-app-banner small,
  .mobile-bottom-nav span,
  .mobile-unified-tools .currency-button {
    min-width: 0;
  }
  .mobile-app-banner strong { flex: 0 0 auto; white-space: nowrap; }
  .mobile-app-banner small { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-unified-tools .currency-button { max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .account-home-identity > span,
  .account-home-identity b,
  .account-progress-strip a,
  .account-progress-strip strong,
  .account-progress-strip span,
  .account-service-section > header > div,
  .account-service-link > span,
  .account-service-link strong,
  .account-service-link small,
  .account-recent-orders .panel-header h2 {
    min-width: 0;
    max-width: 100%;
  }
  .account-home-identity b {
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  .account-progress-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-progress-strip a {
    min-height: 68px;
    padding: 9px 8px;
    border-right: 1px solid #e1e7e5;
    border-bottom: 1px solid #e1e7e5;
  }
  .account-progress-strip a:nth-child(2n) { border-right: 0; }
  .account-progress-strip a:nth-last-child(-n + 2) { border-bottom: 0; }
  .account-progress-strip strong {
    overflow: visible;
    font-size: 19px;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .account-progress-strip span {
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .account-primary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .account-primary-grid .account-service-link {
    min-height: 76px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 11px;
    text-align: left;
  }
  .account-primary-grid .account-service-link > img { width: 36px; height: 36px; }
  .account-primary-grid .account-service-link > span { display: grid; gap: 2px; }
  .account-primary-grid .account-service-link strong {
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .account-primary-grid .account-service-link small,
  .account-primary-grid .account-service-link > i { display: none; }

  .account-service-link {
    align-content: center;
    height: auto;
  }
  .account-service-link strong,
  .account-service-link small {
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .account-service-link strong { line-height: 1.3; }
  .account-service-link small { line-height: 1.4; }

  .account-recent-orders .panel-header { align-items: center; gap: 10px; }
  .account-recent-orders .panel-header h2 { overflow-wrap: break-word; }
  .account-recent-orders .panel-header .text-button {
    flex: 0 0 auto;
    max-width: 42%;
    font-size: 12px;
    line-height: 1.25;
    text-align: right;
    white-space: normal;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button { overflow: hidden; }
  .mobile-bottom-nav span {
    min-height: 23px;
    padding-inline: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  html[lang="de-DE"] .mobile-bottom-nav a,
  html[lang="de-DE"] .mobile-bottom-nav button { font-size: 9px; }

  .mobile-order-card summary > span:first-child { flex: 1 1 auto; }
  .mobile-order-summary-right { flex: 0 1 44%; min-width: 64px; }
  .mobile-order-summary-right b { max-width: 100%; overflow-wrap: break-word; text-align: right; }
}

@media (max-width: 370px) {
  .mobile-app-banner small { display: none; }
  .account-main { padding-inline: 10px; }
  .account-service-grid,
  .account-service-grid-large,
  .account-primary-grid { gap: 7px; }
  .account-service-link,
  .account-primary-grid .account-service-link { padding: 9px; gap: 7px; }
  .account-service-link { grid-template-columns: 32px minmax(0, 1fr) 8px; }
  .account-service-link > img,
  .account-primary-grid .account-service-link > img { width: 32px; height: 32px; }
  .account-service-link strong,
  .account-primary-grid .account-service-link strong { font-size: 11px; }
  .account-service-link small { font-size: 9px; }
  .account-progress-strip strong { font-size: 17px; }
}

/* Keep the order status filters on one mobile row; "全部" is redundant there. */
@media (max-width: 900px) {
  .orders-filter-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    padding: 9px;
  }
  .orders-filter-tabs > .tab:first-child { display: none; }
  .orders-filter-tabs > .tab {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }
}
@media (max-width: 370px) {
  .orders-filter-tabs { gap: 3px; padding-inline: 6px; }
  .orders-filter-tabs > .tab { padding-inline: 1px; font-size: 10px; }
}

@media (max-width: 720px) {
  .content-band h1,
  .content-wrap h1,
  .legal-header h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .pv1-campaign > div,
  .pv1-campaign h2,
  .pv1-campaign p,
  .pv1-campaign small {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Premium typography system: consistent across storefront, account and admin. */
:root {
  --font-ui: "Plus Jakarta Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "PingFang SC", "Microsoft YaHei UI", "Segoe UI", Arial, sans-serif;
}

html,
body,
body *:not(svg):not(path) {
  font-family: var(--font-ui) !important;
  letter-spacing: 0 !important;
}

html[lang^="ja"] {
  --font-ui: "Plus Jakarta Sans", "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
}

html[lang^="ko"] {
  --font-ui: "Plus Jakarta Sans", "Noto Sans KR", "Noto Sans SC", "Noto Sans JP", "Segoe UI", Arial, sans-serif;
}

body {
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body h1 { font-weight: 700 !important; }
body h2,
body h3 { font-weight: 650 !important; }
body h4,
body h5,
body h6 { font-weight: 600 !important; }

body strong,
body b { font-weight: 600 !important; }

body button,
body [role="button"],
body input[type="button"],
body input[type="submit"],
body input[type="reset"],
body .primary-button,
body .secondary-button,
body .search-submit,
body .text-button { font-weight: 600 !important; }

body input,
body textarea,
body select,
body option { font-weight: 400 !important; }

/* Compact, production-style forms for account and operations screens. */
.account-layout,
.ops-admin { font-size: 14px; line-height: 1.5; }
.account-main .form-grid,
.ops-admin .form-grid { gap: 13px 16px; align-items: start; }
.account-main .field,
.ops-admin .field { min-width: 0; gap: 5px; align-content: start; }
.account-main .field label,
.ops-admin .field label { color: #46565a; font-size: 12px; line-height: 1.4; font-weight: 600 !important; }
.account-main .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.account-main .field select,
.ops-admin .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.ops-admin .field select,
.ops-admin .filter-input {
  height: 38px;
  min-height: 38px;
  padding: 6px 10px;
  border-color: #cfd7d9;
  border-radius: 4px;
  color: #26383c;
  font-size: 13px;
  line-height: 1.25;
}
.account-main .field textarea,
.ops-admin .field textarea {
  min-height: 78px;
  max-height: 220px;
  padding: 8px 10px;
  border-color: #cfd7d9;
  border-radius: 4px;
  color: #26383c;
  font-size: 13px;
  line-height: 1.5;
}
.account-main .field input[type="file"],
.ops-admin .field input[type="file"] { min-height: 0; padding: 7px 9px; font-size: 12px; }
.account-main .field small,
.ops-admin .field small { color: #718084; font-size: 11px; line-height: 1.55; }
.account-main .field input::placeholder,
.account-main .field textarea::placeholder,
.ops-admin .field input::placeholder,
.ops-admin .field textarea::placeholder { color: #9aa5a8; opacity: 1; }
.account-main .field input:disabled,
.account-main .field select:disabled,
.ops-admin .field input:disabled,
.ops-admin .field select:disabled { color: #68777a; background: #f2f5f5; }
#profile-form { width: min(100%, 760px); }
.ops-content > form.form-grid {
  width: min(100%, 980px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 19px 20px;
  border: 1px solid #e0e5e4;
  border-radius: 6px;
  background: #fff;
}
@media (max-width: 900px) {
  .account-layout,
  .ops-admin { font-size: 13px; }
  .account-main .form-grid,
  .ops-admin .form-grid { gap: 11px; }
  .account-main .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .account-main .field select,
  .ops-admin .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .ops-admin .field select,
  .ops-admin .filter-input { height: 40px; min-height: 40px; }
  .account-main .field textarea,
  .ops-admin .field textarea { min-height: 82px; }
  .ops-content > form.form-grid { grid-template-columns: minmax(0, 1fr); padding: 14px; }
}

body label,
body th,
body .main-nav,
body .tab,
body .side-group-title,
body .status-badge,
body .level-badge,
body .ops-nav,
body .wp-menu,
body .mobile-bottom-nav { font-weight: 600 !important; }

body .pv1-eyebrow,
body .fb-eyebrow,
body .fb-campaign-copy > span,
body .account-home-identity small,
body .account-service-section > header small,
body .legal-header > p,
body .admin-ad-guide-intro > span { font-weight: 600 !important; }

body .ops-metric strong,
body .stat-panel strong,
body .account-progress-strip strong,
body .sourcing-price-total { font-weight: 650 !important; }

/* Mobile storefront service panels: keep route copy readable and warehouse actions in one row. */
.pv1-services {
  min-height: 112px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pv1-services a {
  min-width: 0;
  padding-inline: 8px;
  border-right: 1px solid #edf0f0;
  border-bottom: 0;
  white-space: nowrap;
}
.pv1-services a:nth-child(even) { border-right: 1px solid #edf0f0; }
.pv1-services a:last-child { border-right: 0; }
.pv1-route-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.pv1-routes strong,
.pv1-routes small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .pv1-panel header h3 { min-width: 0; white-space: nowrap; }
  .pv1-routes > div { min-width: 0; }
  .pv1-route-copy { transform: translateY(8px); }
  .pv1-routes strong { font-size: 9px; line-height: 1.3; }
  .pv1-routes small { font-size: 8px; line-height: 1.3; }
  .pv1-services { min-height: 102px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pv1-services a,
  .pv1-services a:nth-child(even) { padding: 8px 2px; gap: 5px; border-right: 1px solid #edf0f0; border-bottom: 0; font-size: 9px; }
  .pv1-services a:last-child { border-right: 0; }
  .pv1-services img { width: 32px; height: 32px; }

  /* Use the colored shopping-bag asset for the primary purchase action. */
  .mobile-bottom-nav .mobile-primary-action { position: relative; z-index: 2; overflow: visible; }
  .mobile-bottom-nav .mobile-primary-action b {
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 2px;
    position: relative;
    z-index: 3;
    border: 3px solid #fff;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 15px rgba(38, 52, 54, .2);
  }
  .mobile-bottom-nav .mobile-primary-action b img { width: 100%; height: 100%; object-fit: contain; }
}

/* Warehouse-to-shipping flow: compact inspection, quote, payment and tracking views. */
.warehouse-qc-thumb {
  width: 58px;
  height: 58px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f5f7f7;
  cursor: zoom-in;
}
.warehouse-qc-thumb img,
.warehouse-qc-thumb video { width: 100%; height: 100%; object-fit: cover; }
.warehouse-qc-thumb span { position: absolute; right: 3px; bottom: 3px; padding: 2px 4px; border-radius: 3px; background: rgba(21, 29, 31, .8); color: #fff; font-size: 9px; }
.warehouse-qc-empty { color: var(--muted); font-size: 12px; }
.warehouse-availability { color: var(--muted); font-size: 12px; white-space: nowrap; }
.warehouse-availability.ready { color: #08755b; font-weight: 700; }
.warehouse-shipping-table th,
.warehouse-shipping-table td { vertical-align: middle; }

.parcel-table td:nth-child(3) { min-width: 250px; }
.parcel-service-name,
.parcel-updated-time { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.parcel-tracking-line { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.parcel-tracking-line > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.parcel-tracking-line > span small { color: var(--muted); font-size: 10px; }
.parcel-tracking-line > span strong { max-width: 220px; overflow-wrap: anywhere; font-size: 12px; }
.parcel-tracking-pending { color: var(--muted); font-size: 12px; }
.tracking-brand-button { font-family: inherit; cursor: pointer; }

.parcel-quote-modal { width: min(860px, 100%); }
.parcel-quote-form { grid-template-columns: minmax(0, 1fr); }
.parcel-shipping-summary > div { display: flex; flex-wrap: wrap; gap: 6px; }
.parcel-shipping-summary > div span { padding: 5px 8px; border: 1px solid #e1e6e6; border-radius: 4px; background: #f7f9f9; font-size: 12px; }
.parcel-quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.parcel-quote-card { min-width: 0; min-height: 142px; padding: 14px; position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px 10px; border: 1px solid #dce3e3; border-radius: 7px; background: #fff; cursor: pointer; }
.parcel-quote-card:has(input:checked) { border-color: #08755b; box-shadow: 0 0 0 1px #08755b; }
.parcel-quote-card > input { position: absolute; top: 12px; right: 12px; }
.parcel-quote-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; background: #eaf5f2; color: #08755b; font-size: 13px; font-weight: 750; }
.parcel-quote-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-right: 18px; }
.parcel-quote-copy strong { font-size: 14px; }
.parcel-quote-copy small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.parcel-quote-copy em { color: #405154; font-size: 11px; font-style: normal; }
.parcel-quote-price { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.parcel-quote-price strong { color: #08755b; font-size: 18px; }
.parcel-quote-price small,
.parcel-quote-validity,
.parcel-quote-note { color: var(--muted); font-size: 11px; }
.parcel-quote-validity { grid-column: 1 / -1; }
.parcel-quote-note { display: block; margin-top: 10px; }
.parcel-quote-message { margin: 0; padding: 18px; border: 1px dashed #cbd4d4; background: #f8fafa; color: var(--muted); text-align: center; }
.parcel-quote-message.error { color: #a2362f; border-color: #e2c0bd; background: #fff7f6; }
.parcel-payment-total { margin-bottom: 18px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #dce3e3; background: #f7faf9; }
.parcel-payment-total span { color: var(--muted); font-size: 13px; }
.parcel-payment-total strong { color: #08755b; font-size: 20px; }
.modal:has(.shipping-zone-form) { width: min(920px, 100%); }
.shipping-zone-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shipping-zone-status { min-height: 38px; display: flex; align-items: end; padding-bottom: 7px; }
.shipping-rate-list { display: grid; gap: 8px; }
.shipping-rate-row { min-width: 0; display: grid; grid-template-columns: 118px repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; padding: 12px; border: 1px solid #dfe3e2; background: #f8faf9; }
.shipping-rate-row .field { min-width: 0; }
.shipping-rate-row input { width: 100%; min-width: 0; }
.shipping-rate-toggle { min-height: 38px; display: flex; align-items: center; gap: 7px; }
.shipping-rate-toggle input { width: 16px; flex: 0 0 16px; }
.shipping-rate-toggle strong { font-size: 13px; }
.shipping-advanced-settings { padding: 12px 14px; border: 1px solid #dfe3e2; background: #fbfcfc; }
.shipping-advanced-settings summary { cursor: pointer; color: #33413f; font-size: 13px; font-weight: 650; }
.shipping-advanced-settings[open] summary { margin-bottom: 14px; }

@media (max-width: 900px) {
  .toast { bottom: calc(70px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); padding: 7px 11px; border-radius: 6px; font-size: 11px; line-height: 1.35; }
  .parcel-quote-grid { grid-template-columns: minmax(0, 1fr); }
  .parcel-quote-card { min-height: 118px; }
  .shipping-zone-form { grid-template-columns: minmax(0, 1fr); }
  .shipping-rate-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shipping-rate-toggle { grid-column: 1 / -1; }
  .mobile-tracking-row dd { min-width: 0; }
  .mobile-tracking-row .parcel-tracking-line { align-items: flex-start; }
  .mobile-tracking-row .tracking-brand-button { min-height: 36px; }
}

/* Automatic shipping basket and unified fulfillment workspace. */
.shipping-basket-summary {
  margin-bottom: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #dce3e3;
  border-radius: 7px;
  background: #dce3e3;
  overflow: hidden;
}
.shipping-basket-summary article { min-width: 0; padding: 13px 15px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.shipping-basket-summary article strong { color: #203538; font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }
.shipping-basket-summary article span { color: var(--muted); font-size: 11px; }
.shipping-basket-summary article.danger strong { color: #a2362f; }
.shipping-basket-notice { grid-column: 1 / -1; margin: 0; padding: 10px 13px; background: #f8fafa; color: #627276; font-size: 12px; }
.shipping-basket-notice.ready { color: #08755b; background: #f1f8f6; }

.fulfillment-heading { align-items: flex-end; }
.fulfillment-search { width: min(430px, 100%); display: flex; gap: 8px; }
.fulfillment-search input { min-width: 0; height: 38px; flex: 1; padding: 7px 10px; border: 1px solid #cfd7d9; border-radius: 4px; font: inherit; }
.fulfillment-metrics { margin-bottom: 14px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.fulfillment-metrics article { min-width: 0; padding: 11px 12px; border: 1px solid #e0e5e4; border-radius: 5px; background: #fff; }
.fulfillment-metrics strong { display: block; color: #203538; font-size: 20px; line-height: 1.2; }
.fulfillment-metrics span { display: block; margin-top: 3px; overflow: hidden; color: #718084; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.fulfillment-workspace { min-width: 0; min-height: 620px; display: grid; grid-template-columns: minmax(300px, 34%) minmax(0, 1fr); border: 1px solid #dce3e3; border-radius: 6px; background: #fff; overflow: hidden; }
.fulfillment-list { min-width: 0; border-right: 1px solid #dce3e3; background: #f7f9f9; }
.fulfillment-list > header { height: 48px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce3e3; background: #fff; }
.fulfillment-list > header span { color: var(--muted); font-size: 11px; }
.fulfillment-list > div { max-height: 680px; overflow-y: auto; }
.fulfillment-task { width: 100%; min-width: 0; padding: 13px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 0; border-bottom: 1px solid #e2e7e7; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.fulfillment-task:hover,
.fulfillment-task.active { background: #fff; box-shadow: inset 3px 0 #08755b; }
.fulfillment-task-main,
.fulfillment-task-counts { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fulfillment-task-main strong,
.fulfillment-task-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fulfillment-task-main small,
.fulfillment-task-counts small { color: var(--muted); font-size: 10px; }
.fulfillment-task-counts { align-items: flex-end; font-size: 11px; }
.fulfillment-task .status-badge { width: max-content; max-width: 100%; grid-column: 1 / -1; }
.fulfillment-detail { min-width: 0; padding: 18px; overflow: hidden; }
.fulfillment-detail-empty { min-height: 420px; display: grid; place-content: center; text-align: center; color: var(--muted); }
.fulfillment-detail-empty strong { color: #314447; font-size: 16px; }
.fulfillment-detail-header { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.fulfillment-detail-header > div { min-width: 0; }
.fulfillment-detail-header h2 { margin: 2px 0; font-size: 20px; overflow-wrap: anywhere; }
.fulfillment-detail-header p,
.fulfillment-detail-header small { margin: 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.fulfillment-summary { margin: 16px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #e0e5e4; }
.fulfillment-summary span { min-width: 0; padding: 10px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid #e0e5e4; color: var(--muted); font-size: 10px; }
.fulfillment-summary span:last-child { border-right: 0; }
.fulfillment-summary strong { color: #203538; font-size: 17px; }
.fulfillment-stage { margin-bottom: 14px; padding: 13px; background: #f7f9f9; }
.fulfillment-stage h3 { margin: 0 0 10px; font-size: 13px; }
.fulfillment-stage > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.fulfillment-stage button { min-width: 0; min-height: 58px; padding: 8px 7px; display: grid; align-content: center; gap: 3px; border: 1px solid #d9e1df; border-bottom: 3px solid #cfd7d9; border-radius: 4px; background: #fff; color: #718084; font: inherit; font-size: 10px; text-align: center; cursor: pointer; }
.fulfillment-stage button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fulfillment-stage button b { color: #344a4e; font-size: 13px; }
.fulfillment-stage button.done { border-bottom-color: #4a8f7e; color: #32695d; }
.fulfillment-stage button.current { border-bottom-color: #e0a23a; color: #8b5d0f; background: #fff8e9; }
.fulfillment-stage button.active { border-color: #08755b; box-shadow: 0 0 0 2px rgba(8,117,91,.12); color: #08755b; }
.fulfillment-stage-panels { min-width: 0; }
.fulfillment-stage-panel { margin-top: 10px; border: 1px solid #e0e5e4; border-radius: 5px; background: #fff; overflow: hidden; }
.fulfillment-stage-panel[hidden] { display: none; }
.fulfillment-stage-panel > header { min-height: 58px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e0e5e4; background: #f8fafa; }
.fulfillment-stage-panel > header h3 { margin: 0; color: #203538; font-size: 14px; }
.fulfillment-stage-panel > header p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.fulfillment-stage-panel > header a { flex: 0 0 auto; }
.fulfillment-stage-panel > .table-wrap { border: 0; }
.fulfillment-detail details { margin-top: 9px; border: 1px solid #e0e5e4; border-radius: 4px; overflow: hidden; }
.fulfillment-detail summary { padding: 10px 12px; display: flex; justify-content: space-between; background: #f8fafa; cursor: pointer; font-weight: 600; }
.fulfillment-detail .data-table.compact th,
.fulfillment-detail .data-table.compact td { padding: 8px 9px; font-size: 11px; }
.fulfillment-detail .data-table td strong,
.fulfillment-detail .data-table td small { display: block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fulfillment-empty { padding: 30px 14px; color: var(--muted); text-align: center; }

@media (max-width: 1100px) {
  .fulfillment-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fulfillment-workspace { grid-template-columns: minmax(260px, 38%) minmax(0, 1fr); }
}
@media (max-width: 780px) {
  .shipping-basket-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1px; }
  .fulfillment-heading { align-items: stretch; }
  .fulfillment-search { width: 100%; }
  .fulfillment-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fulfillment-workspace { display: block; min-height: 0; overflow: visible; }
  .fulfillment-list { border-right: 0; border-bottom: 1px solid #dce3e3; }
  .fulfillment-list > div { max-height: 340px; }
  .fulfillment-detail { padding: 13px; }
  .fulfillment-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fulfillment-summary span:nth-child(2) { border-right: 0; }
  .fulfillment-summary span:nth-child(-n+2) { border-bottom: 1px solid #e0e5e4; }
  .fulfillment-stage { overflow: hidden; }
  .fulfillment-stage > div { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 3px; scroll-snap-type: x proximity; }
  .fulfillment-stage button { flex: 0 0 128px; scroll-snap-align: start; }
  .fulfillment-detail-header { align-items: stretch; flex-direction: column; }
  .fulfillment-stage-panel > header { align-items: flex-start; flex-direction: column; }
}

.advertising-metrics { margin-bottom: 14px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.advertising-metrics article { min-width: 0; padding: 13px 14px; border: 1px solid #dce3e3; border-radius: 5px; background: #fff; }
.advertising-metrics strong { display: block; color: #203538; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.advertising-metrics span { color: #718084; font-size: 11px; }
.advertising-note { margin-bottom: 14px; padding: 11px 14px; display: flex; align-items: center; gap: 12px; border-left: 3px solid #4a8f7e; background: #f4f8f7; color: #627276; font-size: 12px; }
.advertising-note strong { flex: 0 0 auto; color: #203538; }
.advertising-note a { margin-left: auto; color: #08755b; font-weight: 700; }
.advertising-block { margin-bottom: 14px; }
.advertising-block td:first-child strong,
.advertising-block td:first-child small { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.advertising-block td:first-child small { margin-top: 3px; color: #899497; }
.advertising-block td a { color: #08755b; word-break: break-all; }
.advertising-block td:last-child { min-width: 160px; white-space: nowrap; }

@media (max-width: 900px) {
  .advertising-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .advertising-note { align-items: flex-start; flex-wrap: wrap; }
  .advertising-note a { width: 100%; margin-left: 0; }
}

/* Authentication pages share the same form rhythm; only registration uses the visual panel. */
.auth-page-register { min-height: 520px; padding: 28px 20px 44px; background: #f2f4f3; }
.auth-register-shell { width: min(820px, 100%); min-height: 468px; margin: 0 auto; grid-template-columns: minmax(230px, .58fr) minmax(450px, 1.42fr); }
.auth-register-media { background-image: url('assets/hero-bg.png'); background-position: 66% center; }
.auth-register-form { grid-template-columns: minmax(0, 1fr); gap: 11px; }
.auth-register-form .registration-agreement,
.auth-register-form .auth-submit { grid-column: 1; }
.auth-page-login { min-height: 520px; padding: 32px 20px 48px; background: #f2f4f3; }
.auth-login-shell { width: min(820px, 100%); min-height: 468px; margin: 0 auto; display: grid; grid-template-columns: minmax(230px, .58fr) minmax(450px, 1.42fr); overflow: hidden; border: 1px solid #d9dfdc; border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(25, 36, 33, .1); }
.auth-login-media { min-width: 0; background: #25332f url('assets/hero-bg.png') 66% center / cover no-repeat; border-right: 1px solid #d9dfdc; }
.auth-login-card { width: 100%; min-width: 0; margin: 0; display: grid; align-items: center; border: 0; border-radius: 0; box-shadow: none; }
.auth-login-card .panel-body { padding: 32px 36px 28px; }
.auth-login-card .brand { display: none; }
.auth-login-card h1 { margin-bottom: 6px; text-align: left; color: #202b28; font-size: 24px; }
.auth-login-card .panel-body > p { text-align: left; color: #6a7773; }
.auth-login-card .auth-form { gap: 11px; margin-top: 21px; }
@media (max-width: 780px) {
  .auth-page-register,
  .auth-page-login { position: relative; isolation: isolate; background-color: #edf2f0; background-image: url('assets/hero-bg.png'); background-position: 68% center; background-size: cover; }
  .auth-page-register::before,
  .auth-page-login::before { content: ''; position: absolute; z-index: 0; inset: 0; background: rgba(237, 242, 240, .9); }
  .auth-page-register > *,
  .auth-page-login > * { position: relative; z-index: 1; }
  .auth-page-register { min-height: calc(100dvh - 104px); padding: 16px 12px 28px; }
  .auth-register-shell { width: min(100%, 420px); min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .auth-register-media { display: none; }
  .auth-register-card { width: 100%; max-width: none; }
  .auth-register-card .panel-body { width: 100%; padding: 22px 20px 20px; }
  .auth-register-form { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
  .auth-page-login { min-height: calc(100dvh - 104px); padding: 16px 12px 28px; }
  .auth-login-shell { width: min(100%, 420px); min-height: 0; grid-template-columns: minmax(0, 1fr); border-radius: 6px; box-shadow: 0 8px 22px rgba(25, 36, 33, .08); }
  .auth-login-media { display: none; }
  .auth-login-card { width: 100%; max-width: none; }
  .auth-login-card .panel-body { padding: 22px 20px 20px; }
  .auth-register-card,
  .auth-login-card { position: relative; overflow: hidden; border: 1px solid rgba(202, 213, 209, .92); border-radius: 8px; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 34px rgba(25, 36, 33, .14); backdrop-filter: blur(4px); }
  .auth-register-card::before,
  .auth-login-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
  .auth-register-card .panel-body,
  .auth-login-card .panel-body { padding: 27px 22px 22px; }
  .auth-register-heading > span { margin-bottom: 7px; color: #c84222; font-size: 9px; font-weight: 800; }
  .auth-login-card .panel-body::before { content: 'TIMIONE ACCOUNT'; display: block; margin-bottom: 7px; color: #c84222; font-size: 9px; line-height: 1.2; font-weight: 800; }
  .auth-register-heading h1,
  .auth-login-card h1 { margin-bottom: 6px; color: #192522; font-size: 23px; line-height: 1.25; }
  .auth-register-heading p,
  .auth-login-card .panel-body > p { color: #61706b; font-size: 12px; line-height: 1.55; }
  .auth-register-form,
  .auth-login-card .auth-form { gap: 11px; margin-top: 19px; }
  .auth-form .field label { color: #35443f; font-size: 11.5px; }
  .auth-form .field input:not([type="checkbox"]):not([type="radio"]) { height: 42px; min-height: 42px; padding-inline: 12px; border-color: #cbd6d2; border-radius: 6px; background: #fbfcfb; font-size: 13px; }
  .auth-form .field input:not([type="checkbox"]):not([type="radio"]):focus { border-color: #d85a35; outline: 0; box-shadow: 0 0 0 3px rgba(216, 90, 53, .11); }
  .registration-agreement { padding: 8px 9px; border-color: #dbe3e0; background: #f7f9f8; font-size: 10.5px; }
  .auth-submit { min-height: 43px; margin-top: 3px; border-radius: 6px; font-size: 13px; font-weight: 750; }
  .auth-switch { margin-top: 17px !important; padding-top: 14px; border-top: 1px solid #e6ebe9; color: #687570; }
  .oauth-actions { margin-top: 18px; }
  .oauth-button { min-height: 42px; border-radius: 6px; }
  .mobile-warehouse-list { gap: 10px; padding: 10px; background: #eef2f1; }
  .mobile-warehouse-card { min-width: 0; overflow: hidden; border: 1px solid #dce4e1; border-radius: 8px; background: #fff; }
  .mobile-warehouse-card > header { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 13px; border-bottom: 1px solid #e6ebe9; }
  .mobile-warehouse-card > header > span:first-child { min-width: 0; display: grid; gap: 3px; }
  .mobile-warehouse-card > header small { color: #7a8782; font-size: 9.5px; }
  .mobile-warehouse-card > header strong { min-width: 0; overflow: hidden; color: #344843; font-size: 11.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-warehouse-card > header .status-badge { max-width: 94px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-warehouse-product { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 13px; }
  .mobile-warehouse-product strong { min-width: 0; overflow: hidden; color: #1f302c; font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .mobile-warehouse-product > span { color: #53645f; font-size: 11px; white-space: nowrap; }
  .mobile-warehouse-card dl { margin: 0; padding: 0 13px 13px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mobile-warehouse-card dl > div { min-width: 0; padding: 9px 10px; border: 1px solid #e6ebe9; border-radius: 6px; background: #f8faf9; }
  .mobile-warehouse-card dt { margin-bottom: 4px; color: #7a8782; font-size: 9.5px; }
  .mobile-warehouse-card dd { min-width: 0; margin: 0; overflow: hidden; color: #2d403b; font-size: 11.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-warehouse-card .mobile-warehouse-readiness { grid-column: 1 / -1; }
  .mobile-warehouse-card > footer { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-top: 1px solid #e6ebe9; }
  .mobile-warehouse-media { min-width: 0; display: flex; align-items: center; gap: 8px; }
  .mobile-warehouse-media > small { color: #6f7d78; font-size: 9.5px; white-space: nowrap; }
  .mobile-warehouse-media .warehouse-qc-thumb { width: 52px; height: 42px; flex: 0 0 52px; }
  .mobile-warehouse-media .warehouse-qc-empty { max-width: 88px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-warehouse-card > footer > button { min-height: 36px; flex: 0 0 auto; padding: 7px 11px; font-size: 11px; }
}

/* v167 final cascade: keep the storefront and account scale authoritative. */
body h1 { font-weight: 700 !important; }
body h2,
body h3 { font-weight: 600 !important; }
.pv1-hero h1 { font-size: 42px; line-height: 1.18; }
.pv1-hero-copy > p { font-size: 14px; line-height: 1.7; }
.pv1-section-title h2,
.pv1-premium-title h2 { font-size: 24px; line-height: 1.3; }
.pv1-steps h3 { font-size: 15px; }
.account-main { font-size: 13px; line-height: 1.6; }
.account-main .page-heading h1 { font-size: 24px; line-height: 1.3; font-weight: 700 !important; }
.account-main .page-heading p { font-size: 13px; line-height: 1.55; }
.account-main .panel-header h2 { font-size: 16px; font-weight: 600 !important; }
.account-main .panel-body { font-size: 13px; line-height: 1.6; }
.account-main .stat-panel strong,
.account-home-identity strong,
.account-progress-strip strong { font-weight: 700 !important; }
.account-sidebar .side-link { font-size: 13px; font-weight: 500 !important; }
.account-sidebar .side-link:hover,
.account-sidebar .side-link.active { font-weight: 600 !important; }

.modal-context-public,
.modal-context-account {
  width: min(560px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  border: 1px solid rgba(218, 225, 223, .96);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(18, 31, 32, .2), 0 4px 16px rgba(18, 31, 32, .08);
}
.modal-context-public:has(.form-grid),
.modal-context-account:has(.form-grid) { width: min(660px, calc(100vw - 32px)); }
.modal-context-public:has(.international-address-form),
.modal-context-account:has(.international-address-form) { width: min(700px, calc(100vw - 32px)); }
.modal-context-public:has(#sourcing-request),
.modal-context-account:has(#sourcing-request),
.modal-context-public.parcel-quote-modal,
.modal-context-account.parcel-quote-modal { width: min(820px, calc(100vw - 32px)); }
.modal-context-public:has(.sourcing-image-viewer),
.modal-context-account:has(.sourcing-image-viewer) { width: min(900px, calc(100vw - 32px)); }
.modal-context-public.cart-modal,
.modal-context-account.cart-modal,
.modal-context-public:has([data-confirm-id]),
.modal-context-account:has([data-confirm-id]),
.modal-context-public:has([data-prompt-id]),
.modal-context-account:has([data-prompt-id]) { width: min(420px, calc(100vw - 32px)); }
.header-popover,
.account-popover,
.language-popover,
.currency-popover {
  border-color: #dde4e2;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 39, 40, .16), 0 3px 10px rgba(24, 39, 40, .06);
}

@media (max-width: 680px) {
  .pv1-hero h1 { font-size: 28px; line-height: 1.22; }
  .pv1-hero-copy > p { font-size: 12px; line-height: 1.65; }
  .pv1-section-title h2,
  .pv1-premium-title h2 { font-size: 19px; }
  .account-main .page-heading h1 { font-size: 21px; }
  .account-main .page-heading p { font-size: 12px; }
  .modal-context-public,
  .modal-context-account,
  .modal-context-public:has(.form-grid),
  .modal-context-account:has(.form-grid),
  .modal-context-public:has(.international-address-form),
  .modal-context-account:has(.international-address-form),
  .modal-context-public:has(#sourcing-request),
  .modal-context-account:has(#sourcing-request),
  .modal-context-public.parcel-quote-modal,
  .modal-context-account.parcel-quote-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 8px;
  }
}

/* v168 homepage icon system: flat duotone service icons and clean line navigation. */
.pv1-purchase-head strong i,
.pv1-quick img,
.pv1-steps i,
.pv1-routes img,
.pv1-services img {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.pv1-purchase-head strong i { border-radius: 7px; }
.pv1-quick img { width: 46px; height: 46px; padding: 0; border-radius: 8px; }
.pv1-steps i { border-radius: 8px; }
.pv1-steps i img { padding: 0; }
.pv1-routes img,
.pv1-services img { padding: 0; border-radius: 8px; }
.header-tools .icon-button > img { width: 21px; height: 21px; }
.header-tools .cart-button > img { width: 23px; height: 23px; }

@media (max-width: 900px) {
  .mobile-bottom-nav .mobile-primary-action b {
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 11px;
    border: 0;
    border-radius: 50%;
    background: #d94f2b;
    box-shadow: 0 5px 12px rgba(217, 79, 43, .24);
  }
  .mobile-bottom-nav .mobile-primary-action b img { width: 24px; height: 24px; }
  .pv1-routes img,
  .pv1-services img { padding: 0; border-radius: 8px; background: transparent; }
}

/* v169 desktop header tools: consistent line icons without replacing the user avatar. */
@media (min-width: 901px) {
  .site-header .header-tools { gap: 5px; }
  .site-header .header-tools .icon-button,
  .site-header .header-tools .language-button,
  .site-header .header-tools .currency-button,
  .site-header .header-tools .avatar-button {
    height: 36px;
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: 6px;
  }
  .site-header .header-tools .icon-button:hover,
  .site-header .header-tools .language-button:hover,
  .site-header .header-tools .currency-button:hover,
  .site-header .header-tools .avatar-button:hover {
    border-color: #dfe6e3;
    color: #273937 !important;
    background: #f4f7f6;
  }
  .site-header .language-button { gap: 6px; padding-inline: 8px; border-right-color: transparent; }
  .site-header .language-button::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    background: url("assets/icon-language-nav.svg?v=20260819-172") center / contain no-repeat;
  }
  .site-header .currency-button { color: #5d6b68; font-weight: 700; }
  .site-header .header-tools .icon-button > img { width: 20px; height: 20px; }
  .site-header .header-tools .cart-button > img { width: 22px; height: 22px; }
}

/* v170 mobile top navigation: compact controls with stable 320px layout. */
@media (max-width: 900px) {
  .mobile-unified-shell { height: 92px; }
  .mobile-unified-header {
    top: 34px;
    height: 58px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    border-bottom-color: #e3e8e6;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 3px 12px rgba(29, 43, 41, .06);
  }
  .mobile-unified-shell.account-mode { height: 92px; }
  .mobile-account-header { top: 34px; height: 58px; }

  .mobile-brand-lockup {
    width: 112px;
    min-width: 0;
    flex: 0 1 112px;
    align-items: flex-start;
    text-align: left;
  }
  .mobile-brand-lockup img {
    width: 104px;
    height: 34px;
    object-position: left center;
  }
  .mobile-brand-lockup span { display: none; }

  .mobile-unified-tools {
    min-width: 0;
    height: 38px;
    margin-left: auto;
    padding: 2px;
    gap: 0;
    overflow: visible;
    border: 1px solid #dfe5e3;
    border-radius: 8px;
    background: #fff;
  }
  .mobile-unified-tools .language-button,
  .mobile-unified-tools .currency-button,
  .mobile-unified-tools .mobile-cart-button {
    height: 32px;
    min-height: 32px;
    margin: 0;
    border: 0;
    border-right: 1px solid #e8eceb;
    border-radius: 0;
    background: transparent;
  }
  .mobile-unified-tools .language-button {
    width: 52px;
    min-width: 52px;
    padding: 0 5px;
    gap: 4px;
    overflow: visible;
    font-size: 0;
  }
  .mobile-unified-tools .language-button::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background: url("assets/icon-language-nav.svg?v=20260819-172") center / contain no-repeat;
  }
  .mobile-unified-tools .language-button::after {
    content: attr(data-short-label);
    color: #344440;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
  }
  .mobile-unified-tools .currency-button {
    min-width: 46px;
    padding: 0 5px;
    color: #4f5f5b;
    font-size: 8.5px;
    font-weight: 700;
  }
  .mobile-unified-tools .mobile-cart-button {
    width: 34px;
    min-width: 34px;
    border-right: 0;
  }
  .mobile-unified-tools .mobile-cart-button img { width: 19px; height: 19px; }
  .mobile-cart-button b {
    top: -2px;
    right: -1px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    font-size: 8px;
    line-height: 14px;
  }

  .mobile-account-lockup { width: 108px; flex-basis: 108px; }
  .mobile-account-lockup img { width: 102px; height: 31px; }
  .mobile-account-tools { gap: 4px; }
  .mobile-account-tools .mobile-cart-button {
    width: 36px;
    height: 36px;
    border: 1px solid #e1e7e4;
    border-radius: 8px;
    background: #fff;
  }
  .mobile-account-tools .mobile-cart-button img { width: 19px; height: 19px; }
  .mobile-account-menu {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-color: #dfe5e3;
  }
}

@media (max-width: 370px) {
  .mobile-brand-lockup { width: 96px; flex-basis: 96px; }
  .mobile-brand-lockup img { width: 92px; }
  .mobile-unified-tools .language-button { width: 48px; min-width: 48px; }
  .mobile-unified-tools .currency-button { min-width: 43px; padding-inline: 3px; }
}

/* v170 mobile non-home system: one restrained operational design language. */
@media (max-width: 900px) {
  .account-layout {
    width: 100%;
    max-width: 100vw;
    min-height: calc(100dvh - 92px);
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
    overflow-x: clip;
    color: #24312e;
    background: #f3f5f4;
  }
  .account-main {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    padding: 16px 12px 28px;
    overflow-x: clip;
    color: #3d4c48;
    font-size: 12px;
    line-height: 1.55;
  }
  .account-main > * { min-width: 0; max-width: 100%; }

  .account-main .page-heading {
    min-height: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 12px;
    padding: 0 2px;
  }
  .account-main .page-heading > div { min-width: 0; }
  .account-main .page-heading h1 {
    margin: 0 0 3px;
    overflow: hidden;
    color: #172622;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-main .page-heading p {
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #71807c;
    font-size: 10.5px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-main .page-heading > button,
  .account-main .page-heading > a {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
    min-height: 36px;
    padding: 0 11px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
  }
  .account-new-purchase img { width: 15px; height: 15px; }

  .account-main .panel,
  .profile-hero,
  .favorite-panel > .empty-state,
  .ticket-panel > .empty-state {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe5e2;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22, 39, 34, .035);
  }
  .account-main .panel-header {
    min-height: 48px;
    padding: 0 14px;
    border-bottom-color: #e8ecea;
  }
  .account-main .panel-header h2 {
    color: #23332f;
    font-size: 13.5px;
    line-height: 1.3;
    font-weight: 650 !important;
  }
  .account-main .panel-body { padding: 14px; font-size: 12px; line-height: 1.6; }
  .account-main .panel-body p:first-child { margin-top: 0; }
  .account-main .panel-body p:last-child { margin-bottom: 0; }

  .account-main .tabs,
  .account-main .orders-filter-tabs {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 9px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    background: #fff;
  }
  .account-main .tabs::-webkit-scrollbar,
  .account-main .orders-filter-tabs::-webkit-scrollbar { display: none; }
  .account-main .orders-filter-tabs > .tab:first-child { display: inline-flex; }
  .account-main .tab,
  .account-main .orders-filter-tabs > .tab {
    min-width: max-content;
    min-height: 31px;
    flex: 0 0 auto;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    color: #64736f;
    background: #f2f5f4;
    font-size: 10.5px;
    font-weight: 600;
  }
  .account-main .tab.active,
  .account-main .orders-filter-tabs > .tab.active {
    color: #fff;
    background: #263c37;
  }

  .mobile-order-list,
  .mobile-warehouse-list {
    min-width: 0;
    display: grid;
    gap: 8px;
    padding: 9px;
    background: #f3f5f4;
  }
  .mobile-order-card,
  .mobile-warehouse-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe5e2;
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
  }
  .mobile-order-card summary {
    min-height: 65px;
    padding: 11px 12px;
    gap: 8px;
  }
  .mobile-order-card summary > span:first-child { min-width: 0; gap: 3px; }
  .mobile-order-card summary small {
    color: #89938f;
    font-size: 8.5px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
  }
  .mobile-order-card summary strong,
  .mobile-order-no {
    max-width: 100%;
    overflow: hidden;
    color: #263732;
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-order-summary-right {
    min-width: 76px;
    max-width: 43%;
    grid-template-columns: minmax(0, 1fr) 12px;
    gap: 4px 6px;
  }
  .mobile-order-summary-right b {
    max-width: 100%;
    overflow: hidden;
    color: #172622;
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .status-badge {
    max-width: 100%;
    min-height: 20px;
    padding: 3px 7px;
    overflow: hidden;
    border-radius: 4px;
    font-size: 8.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-order-summary-right i { width: 7px; height: 7px; border-width: 1.5px; }
  .mobile-order-body { padding: 0 12px 12px; border-top-color: #ebefed; }
  .mobile-order-body dl { margin: 0 0 10px; }
  .mobile-order-body dl div {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-bottom-color: #edf1ef;
    font-size: 10.5px;
  }
  .mobile-order-body dt { color: #84908c; }
  .mobile-order-body dd { overflow-wrap: anywhere; color: #354641; }
  .mobile-order-detail,
  .mobile-parcel-actions .primary-button,
  .mobile-parcel-actions .secondary-button {
    min-height: 36px;
    border-radius: 5px;
    font-size: 10.5px;
  }
  .mobile-parcel-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .mobile-parcel-actions > * { width: 100%; min-width: 0; }
  .mobile-list-fold {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d8dfdc;
    border-radius: 6px;
    color: #41534e;
    background: #fff;
    font-size: 10.5px;
    font-weight: 650;
  }

  .mobile-warehouse-card > header { padding: 10px 11px; }
  .mobile-warehouse-card > header small,
  .mobile-warehouse-card dt,
  .mobile-warehouse-media > small { font-size: 8.5px; }
  .mobile-warehouse-card > header strong { font-size: 10.5px; }
  .mobile-warehouse-product { padding: 11px; }
  .mobile-warehouse-product strong { font-size: 11.5px; line-height: 1.4; }
  .mobile-warehouse-card dl { gap: 6px; padding: 0 11px 11px; }
  .mobile-warehouse-card dl > div { padding: 8px; border-radius: 5px; background: #f6f8f7; }
  .mobile-warehouse-card dd { font-size: 10.5px; }
  .mobile-warehouse-card > footer { gap: 8px; padding: 9px 11px; }
  .mobile-warehouse-media .warehouse-qc-thumb { width: 46px; height: 38px; flex-basis: 46px; }
  .mobile-warehouse-card > footer > button { min-height: 34px; padding: 6px 9px; font-size: 10px; }

  .account-home-hero {
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #dce3e0;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(22, 39, 34, .045);
  }
  .account-home-identity {
    min-height: 86px;
    grid-template-columns: 48px minmax(0, 1fr) 12px;
    gap: 11px;
    padding: 13px;
    background: #fff;
  }
  .account-home-identity .profile-avatar { width: 48px; height: 48px; }
  .account-home-identity small { color: #a14a2b; font-size: 8px; letter-spacing: .08em; }
  .account-home-identity strong { font-size: 16px; font-weight: 700; }
  .account-home-identity b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .account-home-identity > i { font-size: 17px; }
  .account-progress-strip { min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .account-progress-strip a { min-width: 0; padding: 10px 3px; }
  .account-progress-strip strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-progress-strip span { font-size: 8px; white-space: nowrap; }
  .account-service-section { margin-top: 14px; }
  .account-service-section > header { min-height: 38px; padding: 0 1px 7px; }
  .account-service-section > header small { font-size: 8px; letter-spacing: .08em; }
  .account-service-section > header h2 { font-size: 14px; font-weight: 650; }
  .account-service-section > header h2::before { width: 2px; height: 12px; margin-right: 6px; }
  .account-primary-grid,
  .account-service-grid,
  .account-service-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .account-primary-grid .account-service-link,
  .account-service-link {
    min-height: 64px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 8px;
    align-items: center;
    gap: 7px;
    padding: 9px;
    border-radius: 6px;
    text-align: left;
  }
  .account-primary-grid .account-service-link > img,
  .account-service-link > img { width: 32px; height: 32px; }
  .account-primary-grid .account-service-link > span,
  .account-service-link > span { display: grid; gap: 2px; }
  .account-primary-grid .account-service-link strong,
  .account-service-link strong {
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-primary-grid .account-service-link small,
  .account-service-link small {
    display: block;
    overflow: hidden;
    font-size: 8.5px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-primary-grid .account-service-link > i,
  .account-service-link > i { display: block; font-size: 13px; }
  .account-recent-orders { margin-top: 14px; }

  .profile-hero {
    min-height: 78px;
    gap: 12px;
    margin-bottom: 10px;
    padding: 13px;
  }
  .profile-hero .profile-avatar { width: 50px; height: 50px; }
  .profile-hero h2 { margin-bottom: 4px !important; font-size: 14px; }
  .profile-hero h2 + span { font-size: 9.5px !important; }
  .level-badge { font-size: 8px; }
  .profile-avatar-picker-badge { width: 18px; height: 18px; font-size: 9px; }
  .account-main .form-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .account-main .form-grid > *,
  .account-main .field { min-width: 0; }
  .account-main .field label { margin-bottom: 5px; color: #465752; font-size: 10.5px; font-weight: 600; }
  .account-main .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .account-main .field select {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 11px;
    border-color: #d3dcd8;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
  }
  .account-main .field textarea { min-height: 88px; padding: 10px 11px; border-radius: 5px; font-size: 12px; }
  .account-main .button-row { min-width: 0; gap: 7px; }
  .account-main .button-row > * { min-width: 0; }

  .wallet-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .wallet-balance {
    min-height: 142px;
    padding: 19px;
    border-radius: 7px;
    color: #fff;
    background: #263a35;
  }
  .wallet-balance span,
  .wallet-balance small { color: #cbd5d1; font-size: 10px; }
  .wallet-balance strong { margin: 8px 0 15px; font-size: 27px; }
  .wallet-balance .button-row { flex-wrap: nowrap; }
  .wallet-balance .button-row > * { flex: 1; min-height: 36px; }
  .account-main .table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
  .account-main .data-table { min-width: 620px; font-size: 10.5px; }
  .account-main .data-table th,
  .account-main .data-table td { padding: 10px; }

  .favorite-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .favorite-card { min-height: 104px; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 7px; }
  .favorite-thumb { width: 78px; height: 78px; border-radius: 5px; }
  .favorite-content { gap: 3px; }
  .favorite-content h3 { font-size: 11px; }
  .favorite-content > span,
  .favorite-content > small { font-size: 8.5px; }
  .favorite-price { font-size: 11px; }
  .favorite-actions { flex-wrap: nowrap; gap: 5px; }
  .favorite-actions > * { min-width: 0; min-height: 30px !important; padding: 5px 8px !important; font-size: 9px !important; }

  .message-row { align-items: flex-start; gap: 10px; padding: 12px 0; }
  .message-row > div { min-width: 0; }
  .message-row strong { font-size: 11.5px; }
  .message-row p { font-size: 10px; line-height: 1.45; }
  .message-row time { font-size: 8.5px; white-space: nowrap; }
  .ticket-list { gap: 7px; }
  .ticket-card { grid-template-columns: minmax(0, 1fr) auto 8px; gap: 7px; padding: 10px; border-radius: 6px; }
  .ticket-card-main strong { font-size: 10.5px; }
  .ticket-card-main small,
  .ticket-card-main em { font-size: 8.5px; }

  .account-main .empty-state { padding: 34px 14px; }
  .account-main .empty-state .empty-icon { width: 48px; height: 48px; margin-bottom: 10px; font-size: 20px; }
  .account-main .empty-state h3 { margin-bottom: 5px; color: #33443f; font-size: 13px; }
  .account-main .empty-state p { margin-bottom: 12px; font-size: 10px; }
  .account-main .empty-state button { min-height: 36px; font-size: 10.5px; }

  .modal-backdrop:has(.modal-context-account),
  .modal-backdrop:has(.modal-context-public) {
    align-items: end;
    padding: 10px 8px max(8px, env(safe-area-inset-bottom));
    background: rgba(18, 28, 25, .48);
  }
  .modal-context-account,
  .modal-context-public,
  .modal-context-account:has(.form-grid),
  .modal-context-public:has(.form-grid),
  .modal-context-account:has(.international-address-form),
  .modal-context-public:has(.international-address-form),
  .modal-context-account:has(#sourcing-request),
  .modal-context-public:has(#sourcing-request),
  .modal-context-account.parcel-quote-modal,
  .modal-context-public.parcel-quote-modal {
    width: 100%;
    max-width: 540px;
    max-height: calc(100dvh - 18px);
    margin: 0 auto;
    overflow: hidden;
    border-color: #d9e0dd;
    border-radius: 8px;
    box-shadow: 0 -12px 42px rgba(15, 28, 24, .2);
  }
  .modal-context-account .modal-header,
  .modal-context-public .modal-header { min-height: 49px; padding: 0 10px 0 14px; }
  .modal-context-account .modal-header h2,
  .modal-context-public .modal-header h2 { font-size: 14px; }
  .modal-context-account .modal-close,
  .modal-context-public .modal-close { width: 34px; height: 34px; }
  .modal-context-account .modal-body,
  .modal-context-public .modal-body { padding: 13px 14px; font-size: 11px; }
  .modal-context-account .modal-footer,
  .modal-context-public .modal-footer { min-height: 54px; gap: 7px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .modal-context-account .modal-footer button,
  .modal-context-public .modal-footer button { min-height: 38px; border-radius: 5px; font-size: 11px; }
  .modal-context-account .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .modal-context-account .field select,
  .modal-context-public .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .modal-context-public .field select { height: 40px; min-height: 40px; border-radius: 5px; font-size: 12px; }
}

@media (max-width: 340px) {
  .account-main { padding-inline: 9px; }
  .account-main .page-heading h1 { font-size: 17px; }
  .account-main .page-heading p { max-width: 180px; }
  .account-main .page-heading > button,
  .account-main .page-heading > a { padding-inline: 8px; font-size: 10px; }
  .mobile-order-summary-right { min-width: 70px; }
  .account-service-link,
  .account-primary-grid .account-service-link { grid-template-columns: 29px minmax(0, 1fr) 7px; padding: 8px 7px; }
  .account-service-link > img,
  .account-primary-grid .account-service-link > img { width: 29px; height: 29px; }
  .account-service-link small,
  .account-primary-grid .account-service-link small { display: none; }
}

/* v171 richer folded order and parcel summaries. */
@media (max-width: 900px) {
  .mobile-order-rich-card summary {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(82px, 35%);
    align-items: start;
    gap: 9px 10px;
    padding: 12px 12px 10px;
  }
  .mobile-card-summary-main {
    min-width: 0;
    display: grid;
    gap: 4px;
  }
  .mobile-card-reference {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #7f8c88 !important;
    font-size: 8.5px !important;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-card-reference b {
    flex: 0 0 auto;
    padding: 2px 4px;
    border-radius: 3px;
    color: #596965;
    background: #eef2f0;
    font-size: 8px;
    font-weight: 650;
  }
  .mobile-card-title {
    min-width: 0;
    overflow: hidden;
    color: #1d2e29 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 650 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-card-summary-main > em {
    min-width: 0;
    overflow: hidden;
    color: #80908b;
    font-size: 8.5px;
    line-height: 1.35;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-order-rich-card .mobile-order-summary-right {
    width: 100%;
    min-width: 0;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) 10px;
    gap: 5px;
  }
  .mobile-order-rich-card .mobile-order-summary-right > b {
    color: #192a25;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
  .mobile-order-rich-card .mobile-order-summary-right .status-badge { justify-self: end; }

  .mobile-progress-track {
    position: relative;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 6px;
  }
  .mobile-progress-track::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: #dce3e0;
  }
  .mobile-progress-track > span {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 4px;
  }
  .mobile-progress-track i {
    width: 11px;
    height: 11px;
    display: block;
    border: 2px solid #d7dfdc;
    border-radius: 50%;
    background: #fff;
  }
  .mobile-progress-track b {
    max-width: 100%;
    overflow: hidden;
    color: #919d99;
    font-size: 7.5px;
    line-height: 1.25;
    font-weight: 550;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-progress-track .done i {
    border-color: #395e54;
    background: #395e54;
    box-shadow: inset 0 0 0 2px #fff;
  }
  .mobile-progress-track .done b { color: #64746f; }
  .mobile-progress-track .current i {
    border-color: #d75932;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(215, 89, 50, .1);
  }
  .mobile-progress-track .current b { color: #b84827; font-weight: 700; }
  .mobile-progress-track.is-cancelled i { border-color: #d9dfdd; background: #f1f3f2; box-shadow: none; }
  .mobile-progress-track.is-cancelled b { color: #9ba4a1; }
  .mobile-progress-track.is-exception .current i { border-color: #b83d3d; box-shadow: 0 0 0 3px rgba(184, 61, 61, .1); }
  .mobile-progress-track.is-exception .current b { color: #a73838; }

  .mobile-parcel-facts {
    grid-column: 1 / -1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 2px;
  }
  .mobile-parcel-facts > span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 7px;
    border-radius: 4px;
    background: #f4f7f5;
  }
  .mobile-parcel-facts small {
    color: #87938f;
    font-size: 7.5px;
    white-space: nowrap;
  }
  .mobile-parcel-facts strong {
    min-width: 0;
    overflow: hidden;
    color: #354741 !important;
    font-size: 8.5px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-order-rich-card[open] summary { background: #fbfcfb; }
  .mobile-order-rich-card[open] .mobile-order-body { background: #fff; }
}

@media (max-width: 340px) {
  .mobile-order-rich-card summary { grid-template-columns: minmax(0, 1fr) 78px; padding-inline: 10px; }
  .mobile-card-title { font-size: 11px !important; }
  .mobile-progress-track b { font-size: 7px; }
  .mobile-parcel-facts > span { padding-inline: 6px; }
}

/* v172 warehouse payment entry: visible immediately after shipping readiness. */
.warehouse-shipping-payment {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid #b64626;
  border-radius: 7px;
  color: #fff;
  text-align: left;
  background: #d6532e;
  box-shadow: 0 5px 14px rgba(166, 62, 32, .14);
  cursor: pointer;
}
.warehouse-shipping-payment > span { min-width: 0; display: grid; gap: 3px; }
.warehouse-shipping-payment strong { font-size: 14px; line-height: 1.3; font-weight: 700; }
.warehouse-shipping-payment small { overflow: hidden; color: rgba(255,255,255,.82); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.warehouse-shipping-payment > i { flex: 0 0 auto; font-size: 24px; line-height: 1; font-style: normal; }
.warehouse-shipping-payment:hover { background: #c94a28; }
.warehouse-shipping-payment:focus-visible { outline: 3px solid rgba(214,83,46,.2); outline-offset: 2px; }

@media (max-width: 900px) {
  .warehouse-shipping-payment { min-height: 58px; margin: 10px 0; padding: 10px 13px; }
  .warehouse-shipping-payment strong { font-size: 12.5px; }
  .warehouse-shipping-payment small { font-size: 9px; }
  .warehouse-shipping-payment > i { font-size: 20px; }
}

/* v173 unified shipping workspace */
.shipping-workspace { min-width: 0; display: grid; gap: 14px; }
.shipping-workspace-loading { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); }
.shipping-workspace-loading span { width: 28px; height: 28px; border: 2px solid #dbe4e1; border-top-color: #08755b; border-radius: 50%; animation: spin .8s linear infinite; }
.shipping-simple-steps, .shipping-workspace-summary { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #dce5e2; background: #fff; }
.shipping-simple-steps button { min-width: 0; min-height: 46px; padding: 7px 11px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #7b8783; border: 0; border-right: 1px solid #e5ebe9; border-radius: 0; background: transparent; cursor: pointer; font: inherit; }
.shipping-simple-steps button:last-child, .shipping-workspace-summary > span:last-child { border-right: 0; }
.shipping-simple-steps i { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 1px solid #ccd7d3; border-radius: 50%; font-size: 10px; font-style: normal; }
.shipping-simple-steps b { min-width: 0; overflow: hidden; font-size: 10.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.shipping-simple-steps .done, .shipping-simple-steps .current { color: #08755b; }
.shipping-simple-steps .done i { color: #fff; border-color: #08755b; background: #08755b; }
.shipping-simple-steps .current { background: #f2f8f6; }
.shipping-simple-steps .current i { border-color: #08755b; font-weight: 700; }
.shipping-simple-steps button.active { color: #075f4c; background: #e9f5f1; box-shadow: inset 0 -2px #08755b; }
.shipping-simple-steps button:focus-visible { position: relative; z-index: 1; outline: 2px solid rgba(8,117,91,.3); outline-offset: -2px; }
.shipping-workspace-summary > span { min-width: 0; padding: 13px 16px; display: grid; gap: 2px; border-right: 1px solid #e5ebe9; }
.shipping-workspace-summary strong { overflow: hidden; color: #203632; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-workspace-summary small { color: var(--muted); font-size: 10px; }
.shipping-address-card, .shipping-wait-choice, .shipping-current-parcel { min-width: 0; padding: 15px 16px; border: 1px solid #dce5e2; background: #fff; }
.shipping-address-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.shipping-address-card > span { min-width: 0; display: grid; gap: 3px; }
.shipping-address-card small, .shipping-current-parcel small { color: var(--muted); font-size: 10px; }
.shipping-address-card strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-address-card em { overflow: hidden; color: #53625e; font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.shipping-address-card.incomplete { border-color: #e6d4b8; background: #fffaf2; }
.shipping-wait-choice { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-left: 3px solid #d08a2d; }
.shipping-wait-choice > div:first-child { min-width: 0; }
.shipping-wait-choice strong { font-size: 13px; }
.shipping-wait-choice p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.shipping-wait-choice > div:last-child { flex: 0 0 auto; display: flex; gap: 8px; }
.shipping-wait-choice.is-waiting { border-left-color: #08755b; background: #f7fbfa; }
.shipping-workspace-form { min-width: 0; display: grid; gap: 10px; }
.shipping-workspace-quotes { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.shipping-workspace-quote { min-width: 0; min-height: 62px; padding: 9px 10px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; border: 1px solid #d9e2df; background: #fff; cursor: pointer; }
.shipping-workspace-quote.recommended { border-color: #08755b; background: #f6fbf9; }
.shipping-workspace-quote > input { position: absolute; top: 7px; right: 7px; }
.shipping-workspace-quote > span { min-width: 0; display: grid; gap: 1px; padding-right: 15px; }
.shipping-workspace-quote small, .shipping-workspace-quote em { overflow: hidden; color: var(--muted); font-size: 8.5px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.shipping-workspace-quote > span > strong { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-workspace-quote .shipping-workspace-price { justify-items: end; padding: 0 16px 0 0; }
.shipping-workspace-price > strong { color: #08755b; font-size: 15px; }
.shipping-workspace-quote > b { position: absolute; left: 0; top: 0; padding: 3px 6px; color: #fff; background: #08755b; font-size: 8px; font-weight: 650; }
.shipping-history-item > summary::-webkit-details-marker { display: none; }
.shipping-history-item > summary i { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.shipping-history-item[open] > summary i { transform: rotate(225deg); }
.shipping-quote-policy { color: var(--muted); font-size: 10px; }
.shipping-pay-button { width: 100%; min-height: 44px; justify-content: center; font-size: 12px; }
.shipping-workspace-view { min-width: 0; display: grid; gap: 10px; }
.shipping-current-parcel { display: grid; gap: 12px; border-left: 3px solid #08755b; }
.shipping-current-parcel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shipping-current-parcel > header > span:first-child { min-width: 0; display: grid; gap: 2px; }
.shipping-current-parcel > header strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-current-parcel > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shipping-current-parcel > div > span { min-width: 0; padding: 9px 10px; display: grid; gap: 3px; background: #f5f8f7; }
.shipping-current-parcel > div strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-current-parcel > p { margin: 0; color: var(--muted); font-size: 11px; }
.shipping-active-actions { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px !important; }
.shipping-section { min-width: 0; border: 1px solid #dce5e2; background: #fff; }
.shipping-section > header { min-height: 48px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e5ebe9; }
.shipping-section > header > span { display: flex; align-items: baseline; gap: 8px; }
.shipping-section > header small { color: #08755b; font-size: 9px; }
.shipping-section > header h2 { margin: 0; font-size: 14px; letter-spacing: 0; }
.shipping-section > header > strong { color: var(--muted); font-size: 11px; }
.shipping-inspection-item { min-width: 0; padding: 10px 13px; display: grid; grid-template-columns: 54px minmax(0, 1fr) 110px auto; align-items: center; gap: 12px; border-bottom: 1px solid #edf1f0; }
.shipping-inspection-item:last-of-type { border-bottom: 0; }
.shipping-inspection-media { width: 54px; height: 46px; padding: 0; position: relative; overflow: hidden; border: 0; background: #eef2f1; }
.shipping-inspection-media img, .shipping-inspection-media video { width: 100%; height: 100%; object-fit: cover; }
.shipping-inspection-media span { position: absolute; right: 2px; bottom: 2px; min-width: 17px; padding: 1px 4px; color: #fff; background: rgba(18,31,28,.75); font-size: 8px; }
.shipping-inspection-copy, .shipping-inspection-weight { min-width: 0; display: grid; gap: 3px; }
.shipping-inspection-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-inspection-copy small, .shipping-inspection-weight small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-inspection-weight strong { font-size: 11px; }
.shipping-inspection-empty { width: 54px; color: var(--muted); font-size: 8px; text-align: center; }
.shipping-history-item { min-width: 0; border-bottom: 1px solid #e8eeec; }
.shipping-history-item:last-of-type { border-bottom: 0; }
.shipping-history-item > summary { min-width: 0; min-height: 54px; padding: 9px 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.shipping-history-item > summary > span { min-width: 0; display: grid; gap: 2px; }
.shipping-history-item > summary > span:last-child { grid-template-columns: auto 8px; align-items: center; gap: 10px; }
.shipping-history-item > summary small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-history-item > summary strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-history-item > div { padding: 10px 13px 13px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: #f7f9f8; }
.shipping-history-item > div > span { min-width: 0; display: grid; gap: 3px; }
.shipping-history-item > div small { color: var(--muted); font-size: 9px; }
.shipping-history-item > div strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-history-item > div > div { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.shipping-workspace-empty { margin: 0; padding: 24px 14px; color: var(--muted); font-size: 11px; text-align: center; }

@media (max-width: 600px) {
  .shipping-workspace { gap: 9px; }
  .shipping-simple-steps button { min-height: 40px; padding: 6px 5px; gap: 4px; }
  .shipping-simple-steps i { width: 18px; height: 18px; flex-basis: 18px; font-size: 7px; }
  .shipping-simple-steps b { font-size: 8.5px; }
  .shipping-workspace-summary > span { padding: 10px 8px; }
  .shipping-workspace-summary strong { font-size: 14px; }
  .shipping-workspace-summary small { font-size: 8.5px; }
  .shipping-address-card, .shipping-wait-choice, .shipping-current-parcel { padding: 12px; }
  .shipping-address-card { align-items: flex-start; gap: 9px; }
  .shipping-address-card strong { font-size: 10.5px; }
  .shipping-address-card em { max-width: 220px; font-size: 9px; }
  .shipping-wait-choice { align-items: stretch; flex-direction: column; gap: 10px; }
  .shipping-wait-choice strong { font-size: 11.5px; }
  .shipping-wait-choice p { font-size: 9.5px; line-height: 1.5; }
  .shipping-wait-choice > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shipping-wait-choice button { min-width: 0; padding: 7px 8px; font-size: 9.5px; white-space: nowrap; }
  .shipping-workspace-quotes { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .shipping-workspace-quote { min-height: 56px; padding: 8px 9px; gap: 7px; }
  .shipping-workspace-quote > span { padding-right: 16px; }
  .shipping-workspace-quote > span > strong { font-size: 10.5px; }
  .shipping-workspace-quote small, .shipping-workspace-quote em { font-size: 8px; }
  .shipping-workspace-price > strong { font-size: 14px; }
  .shipping-workspace-quote .shipping-workspace-price { padding-right: 17px; }
  .shipping-pay-button { min-height: 42px; font-size: 11px; }
  .shipping-current-parcel > div { grid-template-columns: minmax(0, 1fr); }
  .shipping-inspection-item { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px; }
  .shipping-inspection-media { width: 46px; height: 40px; }
  .shipping-inspection-weight { display: none; }
  .shipping-inspection-copy strong { font-size: 10.5px; }
  .shipping-inspection-copy small { font-size: 8px; }
  .shipping-inspection-item > .text-button { padding: 4px; font-size: 9px; white-space: nowrap; }
  .shipping-section > header { min-height: 43px; padding: 0 10px; }
  .shipping-section > header h2 { font-size: 12px; }
  .shipping-history-item > summary { min-height: 50px; padding: 8px 10px; }
  .shipping-history-item > div { grid-template-columns: minmax(0, 1fr); padding: 9px 10px 11px; }
  .shipping-history-item > div > div { grid-column: 1; }
}

@media (max-width: 350px) {
  .shipping-simple-steps b { font-size: 8.5px; }
  .shipping-simple-steps button { padding: 5px 3px; gap: 3px; }
  .shipping-address-card em { max-width: 180px; }
  .shipping-workspace-quote { grid-template-columns: minmax(0, 1fr) 88px; }
  .shipping-workspace-price > strong { font-size: 13px; }
}

/* v177 mobile account home: compact identity, workflow and grouped settings. */
.account-mobile-dashboard { display: none; }

@media (max-width: 900px) {
  .account-desktop-dashboard { display: none; }
  .account-main:has(.account-mobile-dashboard) {
    padding: 10px 10px calc(88px + env(safe-area-inset-bottom));
    background: #f3f5f4;
  }
  .account-mobile-dashboard {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 10px;
  }
  .account-mobile-profile {
    min-width: 0;
    min-height: 84px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 10px;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    overflow: hidden;
    border: 1px solid #dce3e0;
    border-left: 3px solid #d65931;
    border-radius: 7px;
    color: #243833;
    background: #fff;
    box-shadow: 0 4px 14px rgba(29, 46, 40, .045);
  }
  .account-mobile-profile .profile-avatar {
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #dce3e0;
  }
  .account-mobile-profile > span { min-width: 0; display: grid; gap: 2px; }
  .account-mobile-profile small {
    color: #a04a2d;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .account-mobile-profile strong {
    overflow: hidden;
    color: #1f312c;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-mobile-profile b {
    overflow: hidden;
    color: #788680;
    font-size: 8.5px;
    line-height: 1.35;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-mobile-profile > i,
  .account-mobile-menu-row > i { color: #9aa6a1; font-size: 15px; font-style: normal; }

  .account-mobile-flow,
  .account-mobile-menu-group {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce3e0;
    border-radius: 7px;
    background: #fff;
  }
  .account-mobile-flow > header {
    min-height: 41px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #e8edeb;
  }
  .account-mobile-flow > header strong { color: #293d37; font-size: 11.5px; font-weight: 700; }
  .account-mobile-flow > header a { color: #8e4a31; font-size: 8.5px; font-weight: 650; white-space: nowrap; }
  .account-mobile-status {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #e8edeb;
    background: #fafbfa;
  }
  .account-mobile-status a {
    min-width: 0;
    min-height: 58px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    padding: 7px 3px;
    border-right: 1px solid #e8edeb;
    text-align: center;
  }
  .account-mobile-status a:last-child { border-right: 0; }
  .account-mobile-status strong {
    max-width: 100%;
    overflow: hidden;
    color: #9b492c;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-mobile-status span { color: #73817c; font-size: 8.5px; white-space: nowrap; }
  .account-mobile-primary {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .account-mobile-primary a {
    min-width: 0;
    min-height: 66px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 8px 3px;
    border-right: 1px solid #e8edeb;
    color: #31443e;
    text-align: center;
  }
  .account-mobile-primary a:last-child { border-right: 0; }
  .account-mobile-primary img { width: 28px; height: 28px; object-fit: contain; }
  .account-mobile-primary strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.25;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-mobile-menu-group > h2 {
    min-height: 38px;
    margin: 0;
    padding: 0 13px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e8edeb;
    color: #263a34;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
  }
  .account-mobile-menu-row {
    min-width: 0;
    min-height: 54px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto 8px;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-bottom: 1px solid #edf1ef;
    color: #30433d;
    background: #fff;
  }
  .account-mobile-menu-row:last-child { border-bottom: 0; }
  .account-mobile-menu-row:active { background: #f8faf9; }
  .account-mobile-menu-row > img { width: 28px; height: 28px; object-fit: contain; }
  .account-mobile-menu-row > span { min-width: 0; display: grid; gap: 2px; }
  .account-mobile-menu-row strong,
  .account-mobile-menu-row small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-mobile-menu-row strong { color: #2b3d38; font-size: 10.5px; line-height: 1.3; font-weight: 650; }
  .account-mobile-menu-row small { color: #83908b; font-size: 8px; line-height: 1.3; }
  .account-mobile-menu-row > b {
    max-width: 92px;
    overflow: hidden;
    color: #42554f;
    font-size: 9px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-mobile-logout {
    width: 100%;
    min-height: 42px;
    border: 1px solid #e1d7d2;
    border-radius: 6px;
    color: #9b492c;
    background: #fff;
    font-size: 10.5px;
    font-weight: 650;
  }
}

@media (max-width: 350px) {
  .account-main:has(.account-mobile-dashboard) { padding-inline: 8px; }
  .account-mobile-profile { padding-inline: 11px; }
  .account-mobile-menu-row { padding-inline: 10px; grid-template-columns: 26px minmax(0, 1fr) auto 7px; gap: 7px; }
  .account-mobile-menu-row > img { width: 26px; height: 26px; }
  .account-mobile-menu-row > b { max-width: 74px; font-size: 8px; }
  .account-mobile-menu-row small { max-width: 170px; }
}

/* v178 compact mobile cart and authentication. */
.cart-compact-list { min-width: 0; display: grid; }
.cart-compact-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-compact-item:last-child { border-bottom: 0; }
.cart-compact-copy { min-width: 0; display: grid; gap: 4px; }
.cart-compact-copy > strong,
.cart-compact-copy > small,
.cart-compact-price > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-compact-copy > strong { color: #293b36; font-size: 12px; line-height: 1.35; }
.cart-compact-copy > small { color: var(--muted); font-size: 9px; }
.cart-compact-price { min-width: 74px; display: grid; justify-items: end; gap: 7px; text-align: right; }
.cart-compact-price > strong { max-width: 112px; color: #293b36; font-size: 12px; }
.cart-compact-price .text-button { padding: 0; font-size: 9px; }

@media (max-width: 900px) {
  .modal-backdrop:has(.cart-modal) { align-items: center; padding: 12px; }
  .modal-context-public.cart-modal,
  .modal-context-account.cart-modal {
    width: min(330px, calc(100vw - 24px));
    max-height: min(430px, calc(100dvh - 56px));
    border-radius: 7px;
  }
  .cart-modal .modal-header { min-height: 43px; padding: 0 8px 0 13px; }
  .cart-modal .modal-header h2 { font-size: 13px; }
  .cart-modal .modal-close { width: 32px; height: 32px; font-size: 20px; }
  .cart-modal .modal-body { padding: 0 12px; font-size: 10px; }
  .cart-modal .modal-footer {
    min-height: 50px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 7px 9px calc(7px + env(safe-area-inset-bottom));
  }
  .cart-modal .modal-footer button { min-height: 35px; padding: 6px 8px; border-radius: 5px; font-size: 10px; }
  .cart-compact-item { gap: 9px; padding: 9px 0; }
  .cart-compact-copy { gap: 3px; }
  .cart-compact-copy > strong { font-size: 10.5px; }
  .cart-compact-copy > small { font-size: 8px; }
  .cart-compact-price { min-width: 68px; gap: 5px; }
  .cart-compact-price > strong { max-width: 92px; font-size: 10.5px; }
  .cart-modal .quantity-stepper { width: 78px; height: 27px; grid-template-columns: 26px 1fr 26px; border-radius: 4px; }
  .cart-modal .quantity-stepper button { font-size: 14px; }
  .cart-modal .quantity-stepper span { font-size: 9px; }
  .cart-compact-empty { min-height: 118px; padding: 18px 10px !important; }
  .cart-compact-empty .empty-icon { width: 42px !important; height: 42px !important; margin-bottom: 7px !important; font-size: 18px !important; }
  .cart-compact-empty h3 { font-size: 12px !important; }

  .auth-page-login,
  .auth-page-register { padding: 9px 10px 18px; }
  .auth-login-shell,
  .auth-register-shell { width: min(100%, 360px); border-radius: 7px; }
  .auth-register-card,
  .auth-login-card { border-radius: 7px; box-shadow: 0 8px 24px rgba(25, 36, 33, .11); }
  .auth-register-card::before,
  .auth-login-card::before { height: 3px; }
  .auth-register-card .panel-body,
  .auth-login-card .panel-body { padding: 18px 16px 15px; }
  .auth-register-heading > span,
  .auth-login-card .panel-body::before { margin-bottom: 4px; font-size: 7.5px; }
  .auth-register-heading h1,
  .auth-login-card h1 { margin-bottom: 3px; font-size: 19px; line-height: 1.25; }
  .auth-register-heading p,
  .auth-login-card .panel-body > p { font-size: 10px; line-height: 1.4; }
  .auth-register-form,
  .auth-login-card .auth-form { gap: 7px; margin-top: 12px; }
  .auth-form .field { gap: 3px; }
  .auth-form .field label { font-size: 9.5px; line-height: 1.3; }
  .auth-form .field input:not([type="checkbox"]):not([type="radio"]) {
    height: 36px;
    min-height: 36px;
    padding: 6px 9px;
    border-radius: 5px;
    font-size: 11px;
  }
  .auth-form .field > small { font-size: 8px; line-height: 1.3; }
  .auth-help { margin-top: -1px; }
  .auth-help .text-button { font-size: 9px; }
  .registration-agreement { min-height: 0; padding: 5px 7px; gap: 5px; border-radius: 4px; font-size: 8.5px; line-height: 1.35; }
  .registration-agreement > input { width: 12px; height: 12px; flex-basis: 12px; }
  .auth-submit { min-height: 36px; margin-top: 1px; border-radius: 5px; font-size: 10.5px; }
  .auth-switch { margin-top: 11px !important; padding-top: 9px; font-size: 9.5px !important; }
  .oauth-actions { gap: 6px; margin: 12px 0 8px; }
  .oauth-button { min-height: 35px; border-radius: 5px; font-size: 10px; }
  .oauth-button span { width: 17px; height: 17px; font-size: 11px; }
  .auth-divider { margin: 8px 0; font-size: 8.5px; }
}

@media (max-width: 350px) {
  .auth-page-login,
  .auth-page-register { padding-inline: 8px; }
  .auth-register-card .panel-body,
  .auth-login-card .panel-body { padding-inline: 14px; }
}
