/* V3.2 - public stock masthead aligned with BOSUNVA.com visual language */
.stock-hero {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin: 0 0 26px;
  padding: 34px 36px;
  background: #fffdf9;
  border: 1px solid #eadfd4;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.stock-hero::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(181, 139, 72, .12));
}
.stock-hero-logo {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 34px;
  border-right: 1px solid #eadfd4;
}
.stock-hero-logo img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  object-fit: contain;
}
.stock-hero-copy {
  min-width: 0;
}
.stock-hero-copy .eyebrow {
  margin-bottom: 10px;
  color: #9b7136;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.2px;
}
.public-stock-title {
  margin: 0;
  color: var(--wine);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.8px;
}
.stock-date-line {
  display: flex;
  align-items: baseline;
  gap: 13px;
  flex-wrap: wrap;
  margin: 14px 0 13px;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}
.stock-date-line span {
  color: #8f8279;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.stock-date-line strong {
  color: #2c2421;
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .7px;
}
.stock-date-line em {
  color: #b0915f;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
}
.stock-hero-copy > p {
  max-width: 850px;
  margin: 0;
  color: #655a55;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 1.75;
}
.stock-hero-copy > p span {
  color: #9a8d85;
  font-size: 11px;
}
.stock-hero-tags {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin-top: 15px;
  color: #6d5d52;
  font: 700 10px/1.4 Arial, sans-serif;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.stock-hero-tags span {
  position: relative;
  padding-left: 12px;
}
.stock-hero-tags span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 820px) {
  .stock-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 24px 28px;
  }
  .stock-hero-logo {
    min-height: 0;
    justify-content: flex-start;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid #eadfd4;
  }
  .stock-hero-logo img {
    width: min(72vw, 250px);
  }
  .public-stock-title {
    font-size: clamp(26px, 8vw, 34px);
  }
}

/* V3.3 - compact public masthead: keep the stock title only in the table caption */
.public-brand-logo {
  display: inline-flex;
  align-items: center;
  width: 230px;
  max-width: 34vw;
  min-height: 52px;
}
.public-brand-logo img {
  display: block;
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.public-wrap > .toolbar:first-child {
  padding-top: 8px;
}
@media (max-width: 700px) {
  .public-brand-logo {
    width: 175px;
    max-width: 54vw;
  }
  .public-brand-logo img {
    max-height: 48px;
  }
}

/* V3.4 - official public landing hierarchy: one masthead, no duplicate table title */
.public-topbar {
  padding-top: 17px;
  padding-bottom: 17px;
  background: rgba(255, 253, 249, .97);
}
.public-wordmark {
  line-height: 1;
  text-decoration: none;
}
.public-contact-link {
  color: var(--wine);
  font-weight: 650;
  letter-spacing: .25px;
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 24, 34, .25);
  padding-bottom: 2px;
}
.public-contact-link:hover { border-bottom-color: var(--wine); }

.stock-hero {
  grid-template-columns: minmax(220px, 292px) minmax(0, 1fr);
  gap: 44px;
  margin: 0 0 30px;
  padding: 38px 42px 40px;
  background: linear-gradient(135deg, #fffdf9 0%, #fffaf3 100%);
  border-color: #e7dbcf;
  box-shadow: 0 12px 34px rgba(79, 50, 31, .035);
}
.stock-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--wine);
}
.stock-hero::after {
  left: 42px;
  right: 42px;
  height: 1px;
  background: linear-gradient(90deg, #b58b48 0%, rgba(181,139,72,.3) 48%, transparent 100%);
}
.stock-hero-logo {
  min-height: 138px;
  padding-right: 40px;
  border-right-color: #e7dbcf;
}
.stock-hero-logo img { width: min(100%, 270px); }
.stock-hero-copy .eyebrow {
  margin-bottom: 11px;
  color: #a3793f;
  font-size: 10px;
  letter-spacing: 3.8px;
}
.public-stock-title {
  font-size: clamp(31px, 2.55vw, 44px);
  font-weight: 700;
  letter-spacing: -1.1px;
}
.stock-date-line {
  width: fit-content;
  margin: 15px 0 14px;
  padding: 8px 13px 7px;
  border-top: 1px solid #e7dbcf;
  border-bottom: 1px solid #e7dbcf;
  background: rgba(255,255,255,.46);
}
.stock-date-line strong {
  font-size: 20px;
  letter-spacing: 1px;
}
.stock-date-line em { letter-spacing: 1.4px; }
.stock-hero-copy > p { font-size: 13px; line-height: 1.72; }
.stock-hero-copy > p span { font-size: 11.5px; }
.stock-hero-tags { margin-top: 17px; }

.public-controls {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid #eadfd4;
}
.public-controls .toolbar {
  padding: 0;
  gap: 10px;
}
.public-controls .toolbar input.search,
.public-controls .toolbar select {
  min-height: 46px;
  background: #fffefa;
  border-color: #ded3c8;
}
.public-controls .toolbar input.search:focus,
.public-controls .toolbar select:focus {
  border-color: #b99662;
  box-shadow: 0 0 0 2px rgba(185,150,98,.09);
}
.public-list-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-top: 12px;
}
.public-list-meta #count {
  margin: 0;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}
.public-list-meta #count::before {
  content: "LIVE STOCK";
  display: inline-block;
  margin-right: 10px;
  padding: 3px 7px 2px;
  border: 1px solid #d7bd8e;
  color: #9c743b;
  font: 700 9px/1.2 Arial, sans-serif;
  letter-spacing: 1px;
  vertical-align: 1px;
}
.public-list-meta .table-hint {
  max-width: 760px;
  margin: 0;
  text-align: right;
  line-height: 1.65;
}
.public-products > thead > tr > th:first-child { border-top-left-radius: 4px; }
.public-products > thead > tr > th:last-child { border-top-right-radius: 4px; }

@media (max-width: 820px) {
  .stock-hero {
    gap: 18px;
    padding: 26px 24px 29px;
  }
  .stock-hero::after { left: 24px; right: 24px; }
  .stock-hero-logo { padding-bottom: 18px; }
  .public-list-meta { display: block; }
  .public-list-meta #count { margin-bottom: 8px; white-space: normal; }
  .public-list-meta .table-hint { text-align: left; }
}

/* V3.5 - responsive customer catalog: desktop sheet + mobile product cards */
.public-mobile-catalog,
.mobile-arrivals-heading,
.mobile-card-hint {
  display: none;
}

@media (max-width: 820px) {
  body {
    background: #f8f4ee;
  }

  .public-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 12px 14px;
    gap: 12px;
    box-shadow: 0 1px 0 rgba(74, 24, 34, .05);
  }
  .public-wordmark {
    flex: 0 0 auto;
    font-size: 20px;
    letter-spacing: 2.6px;
  }
  .public-wordmark small {
    margin-top: 2px;
    font-size: 7px;
    letter-spacing: 1.25px;
  }
  .public-topbar .toplinks {
    min-width: 0;
    margin-left: auto;
    gap: 8px;
  }
  .public-contact-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #d8c5b4;
    border-radius: 999px;
    background: #fffdf9;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .public-wrap {
    padding: 16px 12px 28px;
  }
  .stock-hero {
    gap: 12px;
    margin-bottom: 18px;
    padding: 20px 18px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(79, 50, 31, .04);
  }
  .stock-hero::before {
    width: 2px;
  }
  .stock-hero::after {
    left: 18px;
    right: 18px;
  }
  .stock-hero-logo {
    justify-content: flex-start;
    padding: 0 0 13px;
  }
  .stock-hero-logo img {
    width: min(58vw, 205px);
  }
  .stock-hero-copy .eyebrow {
    margin-bottom: 7px;
    font-size: 8.5px;
    letter-spacing: 2.2px;
  }
  .public-stock-title {
    font-size: clamp(25px, 7.4vw, 31px);
    letter-spacing: -.5px;
  }
  .stock-date-line {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3px 12px;
    width: 100%;
    margin: 12px 0 12px;
    padding: 9px 10px;
  }
  .stock-date-line span {
    font-size: 9px;
    letter-spacing: .9px;
  }
  .stock-date-line strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 17px;
    letter-spacing: .5px;
  }
  .stock-date-line em {
    font-size: 8px;
    letter-spacing: .9px;
  }
  .stock-hero-copy > p {
    font-size: 12px;
    line-height: 1.65;
  }
  .stock-hero-copy > p span {
    display: inline-block;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.5;
  }
  .stock-hero-tags {
    flex-wrap: nowrap;
    gap: 12px;
    margin: 13px -2px 0;
    padding: 0 2px 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .stock-hero-tags::-webkit-scrollbar {
    display: none;
  }
  .stock-hero-tags span {
    flex: 0 0 auto;
    font-size: 8.5px;
    letter-spacing: .55px;
  }

  .public-controls {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .public-controls .toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .public-controls .toolbar input.search,
  .public-controls .toolbar select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border-radius: 9px;
    font-size: 13px;
  }
  .public-list-meta {
    margin-top: 10px;
  }
  .public-list-meta #count {
    margin-bottom: 7px;
    font-size: 11px;
    line-height: 1.55;
  }
  .public-list-meta #count::before {
    margin-right: 7px;
    font-size: 8px;
  }
  .desktop-table-hint {
    display: none;
  }
  .mobile-card-hint {
    display: block;
    font-size: 10px;
    line-height: 1.5;
  }

  .public-desktop-stock,
  .public-desktop-arrivals {
    display: none;
  }
  .public-mobile-catalog {
    display: grid;
    gap: 11px;
  }
  .mobile-product-card {
    position: relative;
    overflow: hidden;
    padding: 15px;
    border: 1px solid #e6ddd4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(68, 48, 37, .035);
  }
  .mobile-product-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--wine);
  }
  .mobile-product-card.is-arrival::before {
    background: var(--gold);
  }
  .mobile-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }
  .mobile-card-brand {
    min-width: 0;
    color: var(--wine);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-card-badge {
    flex: 0 0 auto;
    padding: 3px 7px;
    border: 1px solid #e1d7cc;
    border-radius: 999px;
    color: #776b64;
    background: #fbf8f4;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .45px;
    white-space: nowrap;
  }
  .mobile-card-badge.arrival {
    border-color: #e1c994;
    color: #8a6530;
    background: #f6e5bd;
  }
  .mobile-card-name {
    padding-right: 2px;
  }
  .mobile-card-name .chinese-name {
    color: #262123;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
  }
  .mobile-card-name .english-name {
    margin-top: 3px;
    color: #817772;
    font-size: 11px;
    line-height: 1.4;
  }
  .mobile-card-ean {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    color: #968b84;
    font-size: 9px;
    letter-spacing: .8px;
  }
  .mobile-card-ean b {
    color: #40393a;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .2px;
  }
  .mobile-arrival-eta {
    margin-top: 9px;
    padding: 7px 9px;
    border-left: 2px solid #c49b57;
    background: #f6e7c8;
    color: #7c5a2b;
    font-size: 11px;
    font-weight: 700;
  }
  .mobile-card-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .mobile-card-summary > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #ece5de;
    border-radius: 9px;
    background: #fcfaf7;
  }
  .mobile-qty-block {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .mobile-card-summary span {
    color: #847973;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .4px;
  }
  .mobile-card-summary small {
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: .55px;
  }
  .mobile-qty-block > strong {
    color: var(--wine);
    font-size: 23px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .mobile-price-block > span {
    display: block;
    margin-bottom: 4px;
  }
  .mobile-price-block > strong {
    display: block;
    color: var(--wine);
    font-size: 16px;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
  }
  .mobile-price-block .currency-symbol {
    margin-right: 3px;
    color: #9a743d;
    font-size: 11px;
  }
  .mobile-price-block .currency-amount {
    color: var(--wine);
    font-size: 17px;
  }
  .mobile-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
  }
  .mobile-card-meta > div {
    min-width: 0;
    padding: 8px 10px;
    border-bottom: 1px solid #eee7e0;
  }
  .mobile-card-meta span,
  .mobile-card-remark > span,
  .mobile-detail-line span {
    display: block;
    color: #9a8f89;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .45px;
  }
  .mobile-card-meta b {
    display: block;
    margin-top: 2px;
    color: #4a4240;
    font-size: 11px;
    font-weight: 700;
  }
  .mobile-card-remark {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #fbf8f4;
  }
  .mobile-card-remark p {
    margin: 3px 0 0;
    color: #625a56;
    font-size: 11px;
    line-height: 1.55;
    white-space: pre-wrap;
  }
  .mobile-card-more {
    margin-top: 9px;
    border-top: 1px solid #eee7e0;
    padding-top: 8px;
  }
  .mobile-card-more summary {
    cursor: pointer;
    list-style: none;
    color: #8a6a3f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
  }
  .mobile-card-more summary::-webkit-details-marker {
    display: none;
  }
  .mobile-card-more summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-size: 15px;
    line-height: 1;
  }
  .mobile-card-more[open] summary::after {
    content: "−";
  }
  .mobile-card-more-body {
    padding-top: 9px;
  }
  .mobile-detail-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
  }
  .mobile-detail-line b {
    color: #655c57;
    font-size: 9px;
    font-weight: 600;
    text-align: right;
  }
  .mobile-image-button {
    width: 100%;
    margin-top: 7px;
    padding: 8px 10px;
    border-color: #dbc8ac;
    color: var(--wine);
    background: #fffdf9;
    font-size: 10px;
  }
  .mobile-no-images {
    display: block;
    margin-top: 6px;
    color: #9b918c;
    font-size: 9px;
  }
  .mobile-empty {
    padding: 28px 16px;
    border: 1px dashed #dccfc2;
    border-radius: 10px;
    background: #fffdf9;
    color: #8f837b;
    text-align: center;
    font-size: 11px;
  }

  .recent-arrivals-public {
    margin-top: 24px;
  }
  .mobile-arrivals-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 0 0 10px;
    padding: 0 2px 8px;
    border-bottom: 1px solid #dccaa8;
    color: var(--wine);
  }
  .mobile-arrivals-heading span {
    font-size: 18px;
    font-weight: 800;
  }
  .mobile-arrivals-heading small {
    color: #a07b43;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
  }

  .public-footer {
    gap: 0;
    margin-top: 30px;
    padding-top: 20px;
  }
  .public-footer > div {
    margin-bottom: 22px;
  }
  .footer-contact,
  .footer-sites,
  .footer-company {
    width: 100%;
  }
  .footer-wechat {
    display: grid;
    grid-template-columns: minmax(120px, 145px) 1fr;
    gap: 13px;
    align-items: center;
  }
  .footer-wechat img {
    width: 100%;
    max-width: 145px;
  }
  .footer-wechat-copy p {
    font-size: 11px;
  }
  .footnote {
    font-size: 9px;
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .public-wordmark {
    font-size: 18px;
    letter-spacing: 2px;
  }
  .public-contact-link {
    padding: 6px 8px;
    font-size: 9px;
  }
  .public-wrap {
    padding-left: 9px;
    padding-right: 9px;
  }
  .stock-hero {
    padding-left: 15px;
    padding-right: 15px;
  }
  .mobile-product-card {
    padding: 13px;
  }
  .mobile-card-badge {
    font-size: 7.5px;
  }
}

/* V3.7 - preserve native zoom/pan gestures on public pages.
   Mobile users may pinch to zoom and pan after zooming; desktop browser zoom remains native. */
html,
body {
  touch-action: pan-x pan-y pinch-zoom;
}
.public-topbar,
.public-wrap {
  touch-action: pan-x pan-y pinch-zoom;
}

/* V3.8 - mobile wholesale-first compact list.
   Keep the customer experience tabular and scan-friendly instead of card-based. */
.public-mobile-list-wrap {
  display: none;
}

@media (max-width: 820px) {
  /* Fix the masthead regression caused by the later desktop grid override. */
  .stock-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
    margin-bottom: 14px;
    padding: 17px 16px 19px;
  }
  .stock-hero-logo {
    min-height: 0;
    justify-content: flex-start;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid #eadfd4;
  }
  .stock-hero-logo img {
    width: min(46vw, 158px);
    max-width: 158px;
  }
  .stock-hero-copy {
    width: 100%;
    min-width: 0;
  }
  .stock-hero-copy .eyebrow {
    margin-bottom: 5px;
    font-size: 7.5px;
    letter-spacing: 1.8px;
  }
  .public-stock-title {
    font-size: clamp(23px, 6.7vw, 29px);
    line-height: 1.16;
    letter-spacing: -.4px;
  }
  .stock-date-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    width: auto;
    margin: 10px 0 9px;
    padding: 6px 8px;
  }
  .stock-date-line span {
    font-size: 8px;
  }
  .stock-date-line strong {
    grid-row: auto;
    grid-column: auto;
    font-size: 15px;
  }
  .stock-date-line em {
    font-size: 7px;
  }
  .stock-hero-copy > p {
    font-size: 10.5px;
    line-height: 1.5;
  }
  .stock-hero-copy > p span {
    display: none;
  }
  .stock-hero-tags {
    display: none;
  }

  /* Wholesale users need rows, not cards. */
  .public-mobile-catalog {
    display: none !important;
  }
  .public-mobile-list-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfd5cc;
    border-radius: 8px;
    background: #fff;
  }
  .mobile-offer-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  }
  .mobile-offer-table .mobile-col-product { width: 58%; }
  .mobile-offer-table .mobile-col-qty { width: 12%; }
  .mobile-offer-table .mobile-col-price { width: 15%; }

  .mobile-offer-table thead th {
    position: sticky;
    top: 60px;
    z-index: 5;
    padding: 8px 4px;
    border-right: 1px solid rgba(255,255,255,.22);
    background: var(--wine);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    letter-spacing: .35px;
    white-space: nowrap;
  }
  .mobile-offer-table thead th:first-child {
    padding-left: 9px;
    text-align: left;
  }
  .mobile-offer-table thead th:last-child {
    border-right: 0;
  }
  .mobile-offer-table td {
    padding: 8px 4px;
    border-right: 1px solid #eee6df;
    border-bottom: 1px solid #e8dfd7;
    vertical-align: middle;
    background: #fff;
  }
  .mobile-offer-table td:last-child {
    border-right: 0;
  }
  .mobile-list-brand td {
    padding: 5px 8px;
    background: #faf6f1;
    color: var(--wine);
    line-height: 1.2;
  }
  .mobile-arrival-date td {
    padding: 9px 8px;
    background: #ead29b;
    color: var(--wine);
    text-align: center;
    font-size: 10px;
    font-weight: 800;
  }
  .mobile-list-brand strong {
    font-size: 9px;
    font-weight: 800;
  }
  .mobile-list-brand span {
    margin-left: 7px;
    color: #9b8e86;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: .45px;
  }
  .mobile-list-product.is-arrival td {
    background: #f6e5c1;
  }
  .mobile-list-product-cell {
    min-width: 0;
    padding-left: 8px !important;
    padding-right: 7px !important;
    text-align: left;
  }
  .mobile-list-type {
    display: inline-block;
    margin-bottom: 3px;
    padding: 2px 4px;
    border-radius: 3px;
    background: #ead09c;
    color: #7c5b2c;
    font-size: 6.5px;
    font-weight: 800;
    letter-spacing: .3px;
  }
  .mobile-list-cn {
    overflow: hidden;
    color: #272124;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .mobile-list-en {
    overflow: hidden;
    margin-top: 1px;
    color: #7f7470;
    font-size: 8px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
    margin-top: 4px;
    color: #9a8d86;
    font-size: 6.8px;
    line-height: 1.25;
  }
  .mobile-list-meta span:first-child {
    color: #6e6460;
    font-variant-numeric: tabular-nums;
  }
  .mobile-list-arrival {
    display: block;
    margin-top: 4px;
    color: #8a6530;
    font-size: 7px;
    font-weight: 700;
    line-height: 1.25;
  }
  .mobile-list-remark {
    overflow: hidden;
    margin-top: 3px;
    color: #8b817b;
    font-size: 7px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-list-details {
    margin-top: 3px;
  }
  .mobile-list-details summary {
    cursor: pointer;
    list-style: none;
    color: #9a7540;
    font-size: 6.8px;
    line-height: 1.2;
  }
  .mobile-list-details summary::-webkit-details-marker {
    display: none;
  }
  .mobile-list-details summary::after {
    content: " +";
  }
  .mobile-list-details[open] summary::after {
    content: " −";
  }
  .mobile-list-details > div {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 7px;
    margin-top: 4px;
    color: #8f837d;
    font-size: 6.8px;
  }
  .mobile-list-details .table-action {
    min-height: 0;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 6.8px;
  }
  .mobile-list-qty,
  .mobile-list-price {
    text-align: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .mobile-list-qty {
    color: var(--wine);
    font-size: 11px;
    font-weight: 800;
  }
  .mobile-list-price {
    color: #3d3435;
    font-size: 9px;
    font-weight: 700;
  }
  .mobile-list-price .currency-display {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 1px;
  }
  .mobile-list-price .currency-symbol {
    color: #8e6c3b;
    font-size: 7px;
  }
  .mobile-list-price .currency-amount {
    color: var(--wine);
    font-size: 9px;
    font-weight: 800;
  }
  .mobile-list-empty {
    padding: 24px 10px !important;
    color: #8f837b;
    font-size: 9px;
    text-align: center;
  }

  .recent-arrivals-public {
    margin-top: 18px;
  }
  .mobile-arrivals-heading {
    margin-bottom: 7px;
    padding-bottom: 6px;
  }
  .mobile-arrivals-heading span {
    font-size: 15px;
  }
  .mobile-arrivals-heading small {
    font-size: 7px;
  }

  .mobile-card-hint {
    font-size: 9px;
    line-height: 1.4;
  }
}

@media (max-width: 380px) {
  .mobile-offer-table .mobile-col-product { width: 56%; }
  .mobile-offer-table .mobile-col-qty { width: 13%; }
  .mobile-offer-table .mobile-col-price { width: 15.5%; }
  .mobile-list-cn { font-size: 10px; }
  .mobile-list-qty { font-size: 10px; }
  .mobile-list-price,
  .mobile-list-price .currency-amount { font-size: 8.5px; }
}

/* V3.9 - mobile wholesale table alignment hardening.
   Chrome/Android can visually shift sticky TH cells inside a fixed-layout table,
   making the first brand/product row appear above/under the column-name row.
   Keep the mobile quotation header in normal table flow for deterministic scanning. */
@media (max-width: 820px) {
  body:not([data-workspace="true"]) {
    overflow-x: hidden;
  }

  .public-wrap,
  .public-controls,
  .public-mobile-list-wrap,
  .mobile-offer-table {
    min-width: 0;
    max-width: 100%;
  }

  .public-mobile-list-wrap {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .mobile-offer-table {
    width: 100%;
    min-width: 100%;
    margin: 0;
    table-layout: fixed;
  }

  .mobile-offer-table thead {
    display: table-header-group;
  }

  .mobile-offer-table tbody {
    display: table-row-group;
  }

  .mobile-offer-table thead th {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    transform: none !important;
    vertical-align: middle;
  }

  /* Give prices a little more room while keeping product scanning dominant. */
  .mobile-offer-table .mobile-col-product { width: 56%; }
  .mobile-offer-table .mobile-col-qty { width: 12%; }
  .mobile-offer-table .mobile-col-price { width: 16%; }

  .mobile-list-brand td,
  .mobile-list-product td {
    position: static;
  }

  .mobile-list-qty,
  .mobile-list-price {
    overflow: hidden;
    text-overflow: clip;
  }
}

@media (max-width: 380px) {
  .mobile-offer-table .mobile-col-product { width: 54%; }
  .mobile-offer-table .mobile-col-qty { width: 12%; }
  .mobile-offer-table .mobile-col-price { width: 17%; }
}


