/* Phone artwork from 01.Design/手机端官网2; desktop styles are untouched. */
#hm-mobile-home { display: none; }
@media (max-width: 760px) {
  body:has(#hm-mobile-home .hm-mobile-section) main > :not(#hm-mobile-home) { display: none !important; }
  body:has(#hm-mobile-home .hm-mobile-section) main { padding-top: 72px !important; }
  body:has(#hm-mobile-home .hm-mobile-section) #hm-mobile-home { display: block; width: 100%; background: #fff; color: #151515; font-family: Arial, "Microsoft YaHei", sans-serif; }
  body:has(#hm-mobile-home .hm-mobile-footer) > :is(footer, .site-footer, .footer) { display: none !important; }
  #hm-mobile-home *, #hm-mobile-home *::before, #hm-mobile-home *::after { box-sizing: border-box; }
  #hm-mobile-home a { color: inherit; text-decoration: none; }
  #hm-mobile-home img { display: block; max-width: 100%; }
  #hm-mobile-home :is(a, button, input, summary):focus-visible { outline: 2px solid #865834; outline-offset: 3px; }
  #hm-mobile-home .hm-mobile-section { margin: 0; padding: 0; }
  #hm-mobile-home .hm-mobile-slides { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  #hm-mobile-home .hm-mobile-slides > a { position: relative; flex: 0 0 100%; min-width: 0; aspect-ratio: 1; scroll-snap-align: start; background: #ddd; }
  #hm-mobile-home .hm-mobile-slides img { width: 100%; height: 100%; object-fit: cover; }
  #hm-mobile-home .hm-mobile-slides a > span { position: absolute; inset: auto 0 0; display: grid; gap: 5px; padding: 20% 16px 12%; background: linear-gradient(transparent, #0003); color: #fff; text-align: center; }
  #hm-mobile-home .hm-mobile-slides strong { font-size: clamp(18px, 4.5vw, 30px); line-height: 1.2; font-weight: 600; }
  #hm-mobile-home .hm-mobile-slides small { font-size: clamp(14px, 3.3vw, 20px); }
  #hm-mobile-home .hm-mobile-controls { display: flex; justify-content: center; gap: 6px; }
  #hm-mobile-home .hm-mobile-controls button { width: 36px; height: 44px; padding: 20px 0; border: 0; background: transparent; cursor: pointer; }
  #hm-mobile-home .hm-mobile-controls button::after { content: ""; display: block; height: 3px; border-radius: 3px; background: #ccc; }
  #hm-mobile-home .hm-mobile-controls button[aria-current="true"]::after { background: #777; }
  #hm-mobile-home .hm-mobile-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px; }
  #hm-mobile-home .hm-mobile-product-grid > a { display: flex; min-width: 0; flex-direction: column; border: 1px solid #d6d6d6; padding: 12px 5px 16px; background: #fff; text-align: center; }
  #hm-mobile-home .hm-mobile-product-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin: 0 0 9px; }
  #hm-mobile-home .hm-mobile-product-image img { width: 100%; height: 100%; object-fit: contain; }
  #hm-mobile-home .hm-mobile-product-grid strong { display: block; margin: auto 0 0; font-size: clamp(10px, 2.65vw, 16px); line-height: 1.35; overflow-wrap: anywhere; }
  #hm-mobile-home .hm-mobile-more { display: table; min-height: 44px; margin: 14px auto 26px; padding: 13px 25px; border: 1px solid #c7c7c7; border-radius: 3px; font-size: 12px; line-height: 16px; }
  #hm-mobile-home .hm-mobile-benefits { padding: 4px 20px 22px; }
  #hm-mobile-home .hm-mobile-benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  #hm-mobile-home .hm-mobile-benefits a { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 11px; line-height: 1.4; }
  #hm-mobile-home .hm-mobile-benefits img { width: 32px; height: 32px; object-fit: contain; }
  #hm-mobile-home .hm-mobile-benefits :is(strong, span) { font-weight: 400; }
  #hm-mobile-home .hm-mobile-search { display: flex; align-items: center; gap: 10px; margin: 8px 26px 34px; padding: 0 12px; border-radius: 6px; background: #f6f6f6; }
  #hm-mobile-home .hm-mobile-search input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; color: #151515; font: inherit; font-size: 16px; }
  #hm-mobile-home .hm-mobile-search button { min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #555; font-size: 12px; cursor: pointer; }
  #hm-mobile-home .hm-mobile-lifestyle { padding: 4px 6px 30px; }
  #hm-mobile-home .hm-mobile-lifestyle h2 { margin: 0 14px 14px; font-size: clamp(19px, 4.9vw, 30px); line-height: 1.35; font-weight: 600; }
  #hm-mobile-home .hm-mobile-lifestyle-grid { display: grid; grid-template-columns: .78fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; }
  #hm-mobile-home .hm-mobile-lifestyle-grid > a { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 1.95; }
  #hm-mobile-home .hm-mobile-lifestyle-grid > a:first-child { grid-row: span 2; aspect-ratio: auto; }
  #hm-mobile-home .hm-mobile-lifestyle-grid img { width: 100%; height: 100%; object-fit: cover; }
  #hm-mobile-home .hm-mobile-lifestyle-grid :is(span, strong) { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 8px 8px; background: linear-gradient(transparent, #0008); color: #fff; font-size: 12px; }
  #hm-mobile-home .hm-mobile-listening { padding: 0 0 32px; }
  #hm-mobile-home .hm-mobile-listening h2 { margin: 0 20px 26px; font-size: 20px; text-align: center; }
  #hm-mobile-home .hm-mobile-listening-track { display: flex; gap: 12px; padding: 0 8%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 8%; scrollbar-width: thin; }
  #hm-mobile-home .hm-mobile-listening-track > a { flex: 0 0 100%; min-width: 0; overflow: hidden; border-radius: 10px; background: #f4f4f4; scroll-snap-align: center; }
  #hm-mobile-home .hm-mobile-listening-track img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  #hm-mobile-home .hm-mobile-listening-track :is(strong, span) { display: block; padding: 12px 14px 18px; font-size: 14px; line-height: 1.5; }
  #hm-mobile-home .hm-mobile-footer { padding: 22px 9% 50px; background: #fff; color: #151515; }
  #hm-mobile-home .hm-mobile-logo { display: block; width: 132px; margin: 0 auto 38px; }
  #hm-mobile-home .hm-mobile-logo img { width: 100%; height: auto; }
  #hm-mobile-home .hm-mobile-footer details { border-bottom: 1px solid #bcbcbc; }
  #hm-mobile-home .hm-mobile-footer summary { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 14px 0; list-style: none; font-size: 13px; cursor: pointer; }
  #hm-mobile-home .hm-mobile-footer summary::-webkit-details-marker { display: none; }
  #hm-mobile-home .hm-mobile-footer summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid #888; border-bottom: 2px solid #888; transform: rotate(45deg); }
  #hm-mobile-home .hm-mobile-footer details[open] summary::after { transform: rotate(225deg); }
  #hm-mobile-home .hm-mobile-footer details a { display: block; padding: 12px 0; font-size: 13px; line-height: 1.5; }
  #hm-mobile-home .hm-mobile-footer :is(p, small) { display: block; font-size: 11px; line-height: 1.6; color: #666; }
  /* Retain the working site navigation; center its logo to match the phone artwork. */
  html body:has(#hm-mobile-home .hm-mobile-section) .site-header { background: #fff !important; color: #151515 !important; border-bottom-color: #eee; }
  html body:has(#hm-mobile-home .hm-mobile-section) .site-header .brand img { filter: none !important; }
  html body:has(#hm-mobile-home .hm-mobile-section) .site-header :is(.home-mobile-menu, .search-trigger input) { color: #151515 !important; }
  html body:has(#hm-mobile-home .hm-mobile-section) .site-header .search-trigger input::placeholder { color: transparent; }
  html body:has(#hm-mobile-home .hm-mobile-section) .site-header .search-trigger:focus-within input::placeholder { color: #777; }
  html body:has(#hm-mobile-home .hm-mobile-section) .site-header .search-icon { stroke: #555; }
  body:has(#hm-mobile-home .hm-mobile-section) .site-header:not([data-store-mode]) .header-inner { position: relative; justify-content: center; }
  body:has(#hm-mobile-home .hm-mobile-section) .site-header:not([data-store-mode]) .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  body:has(#hm-mobile-home .hm-mobile-section) .site-header:not([data-store-mode]) .header-actions { width: 100%; justify-content: space-between; margin: 0; }
  body:has(#hm-mobile-home .hm-mobile-section) .site-header:not([data-store-mode]) :is(.showroom-link, .language-picker) { display: none; }
  body:has(#hm-mobile-home .hm-mobile-section) .site-header:not([data-store-mode]) .search-trigger { display: block; order: -1; width: 44px; min-width: 44px; }
  body:has(#hm-mobile-home .hm-mobile-section) .site-header:not([data-store-mode]) .search-trigger input { padding: 0 0 0 30px; background: transparent; }
  body:has(#hm-mobile-home .hm-mobile-section) .site-header:not([data-store-mode]) .search-trigger:focus-within { position: absolute; left: 0; z-index: 1; width: calc(100% - 52px); background: #fff; }
  /* Keep store promotions reachable, between the service row and best sellers. */
  body:has(.site-header[data-store-mode="true"]):has(#hm-mobile-home .hm-mobile-section) main { display: flex; flex-direction: column; padding-top: 0 !important; }
  body:has(.site-header[data-store-mode="true"]):has(#hm-mobile-home .hm-mobile-section) main > .store-home,
  body:has(.site-header[data-store-mode="true"]):has(#hm-mobile-home .hm-mobile-section) #hm-mobile-home,
  body:has(.site-header[data-store-mode="true"]) #hm-mobile-home > [data-page-module],
  body:has(.site-header[data-store-mode="true"]) #hm-mobile-home [data-pm-root],
  body:has(.site-header[data-store-mode="true"]) #hm-mobile-home [id^="pm-"] { display: contents !important; }
  body:has(#hm-mobile-home .hm-mobile-section) .store-home > :not(.store-deals) { display: none !important; }
  body:has(#hm-mobile-home .hm-mobile-section) .store-deals { order: 35; padding: 12px 0 32px; }
  body:has(#hm-mobile-home .hm-mobile-section) .store-deals:has(.store-deals-empty) { display: none; }
  #hm-mobile-home .hm-mobile-new-hero { order: 10; }
  #hm-mobile-home .hm-mobile-new-products { order: 20; }
  #hm-mobile-home .hm-mobile-benefits { order: 30; }
  #hm-mobile-home .hm-mobile-search { order: 32; }
  #hm-mobile-home .hm-mobile-best-hero { order: 40; }
  #hm-mobile-home .hm-mobile-best-products { order: 50; }
  #hm-mobile-home .hm-mobile-lifestyle { order: 60; }
  #hm-mobile-home .hm-mobile-listening { order: 70; }
  #hm-mobile-home .hm-mobile-footer { order: 90; }
}
