/* W02 production adapter. Catalog cards, shop and product detail retain their own styles. */
.w02-member-signin { min-height: calc(100dvh - 240px); display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 50px; align-items: center; max-width: 980px; margin: auto; padding: 44px 0; }
.w02-member-signin-copy h1 { font-size: 36px; line-height: 1.3; letter-spacing: 0; }
.w02-member-signin-copy p { max-width: 350px; font-size: 13px; color: #757575; line-height: 1.9; margin: 15px 0 23px; }
.w02-member-signin-panel { display: grid; justify-items: start; gap: 20px; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 30px; min-width: 0; }
.w02-member-signin-panel h2 { font-size: 20px; line-height: 1.4; margin: 0; }
.w02-member-signin-panel .btn { width: 100%; min-height: 44px; background: #252525; border-color: #252525; color: #fff; border-radius: 7px; white-space: normal; }
.w02-member-signin-panel > a { font-size: 12px; color: #757575; text-underline-offset: 3px; }
.account-shell .notification-row { display: flex; align-items: flex-start; gap: 13px; padding: 17px 20px; border-bottom: 1px solid #eee; background: #fff; }
.account-shell .notification-row.unread { background: #fafafa; }
.account-shell .notification-row:last-child { border-bottom: 0; }
.account-shell .notification-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.account-shell .notification-copy b { font-size: 12px; line-height: 1.6; }
.account-shell .notification-copy p { font-size: 11px; color: #757575; margin-top: 4px; line-height: 1.8; }
.account-shell .notification-copy small { font-size: 10px; color: #757575; }
.order-modal { border-color: #d8d8d8; border-radius: 8px; box-shadow: 0 18px 80px #00000020; }
.order-modal .order-modal-header { padding: 20px 22px 16px; gap: 16px; border-bottom-color: #eee; }
.order-modal .order-modal-header h2 { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.order-modal .order-modal-body { padding: 22px; min-width: 0; overscroll-behavior: contain; scrollbar-width: thin; }
.order-modal .order-detail-section { border-color: #e5e5e5; border-radius: 8px; }
.order-modal .detail-list dd { overflow-wrap: anywhere; }
.order-modal .order-modal-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.proxy-page .proxy-chat { background: #fff; border-color: #e3e3e3; border-radius: 8px; min-width: 0; }
.proxy-page .proxy-chat-header { padding: 15px 22px; border-bottom-color: #eee; gap: 12px; flex-wrap: wrap; background: #fff; }
.proxy-page .proxy-chat-header h2 { font-size: 15px; line-height: 1.5; }
.proxy-page .proxy-chat-thread { padding: 28px 30px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d7d7d7 transparent; }
.proxy-page .proxy-workspace-intro h1 { font-size: 26px; line-height: 1.4; letter-spacing: 0; }
.proxy-page .proxy-workspace-intro p { font-size: 12px; line-height: 1.9; color: #757575; }
.proxy-page .proxy-message-avatar { background: #f1f1f1; color: #333; border-color: #e5e5e5; border-radius: 7px; }
.proxy-page .proxy-chat-message.user .proxy-message-bubble { background: #f0f0f0; border: 1px solid #e8e8e8; color: #202020; border-radius: 8px 8px 2px 8px; padding: 11px 15px; overflow-wrap: anywhere; }
.proxy-page .proxy-chat-input-row { border-color: #cdcdcd; background: #fff; border-radius: 8px; }
.proxy-page .proxy-chat-input-row:focus-within { border-color: #757575; box-shadow: 0 0 0 1px #757575; }
.proxy-page .proxy-chat-send { background: #252525; color: #fff; border-color: #252525; }
.proxy-page .proxy-chat-composer { border-color: #e5e5e5; background: #fff; }
.proxy-page .shop-thumbnails button[aria-pressed=true] { border-color: #555; }
.proxy-page :is(.shop-gallery, .shop-product-info) { border-color: #e5e5e5; }
.proxy-page .proxy-chat-disclaimer { color: #757575; }
.account-shell .w02-order { margin-top: 11px; border: 1px solid #e4e4e4; background: white; border-radius: 8px; overflow: hidden; }
.w02-order-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 17px; border-bottom: 1px solid #eee; font-size: 11px; flex-wrap: wrap; }
.w02-order-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; min-width: 0; }
.w02-order-head b { font-weight: 600; overflow-wrap: anywhere; }
.w02-order-head time { color: #757575; font-size: 10px; }
.w02-order-body { display: flex; align-items: center; gap: 15px; padding: 17px; }
.w02-order-image { width: 68px; height: 68px; flex: 0 0 68px; object-fit: contain; background: #f4f4f4; border-radius: 6px; border: 1px solid #eee; }
.w02-order-copy { flex: 1; min-width: 0; }
.w02-order-copy h3 { font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; margin: 0; }
.w02-order-copy p { font-size: 11px; color: #757575; margin: 4px 0 0; overflow-wrap: anywhere; }
.w02-order-price { text-align: right; font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.w02-order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #f0f0f0; padding: 10px 17px; background: #fdfdfd; }
.w02-order-note { min-width: 0; color: #757575; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.w02-order-foot .order-actions { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.storefront-home .home-primary-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.w02-shopping-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0 32px; }
.w02-shopping-paths > a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e5e5e5; padding: 17px 20px; border-radius: 8px; transition: border-color 130ms, background 130ms; color: #202020; text-decoration: none; min-width: 0; }
.w02-shopping-paths > a:hover { border-color: #aaa; background: #fdfdfd; }
.w02-shopping-paths > a:focus-visible { outline: 2px solid #656565; outline-offset: 3px; }
.w02-shopping-paths svg { width: 24px; height: 24px; flex-shrink: 0; }
.w02-shopping-paths span { min-width: 0; overflow-wrap: anywhere; }
.w02-shopping-paths strong { display: block; font-size: 13px; font-weight: 600; }
.w02-shopping-paths small { display: block; color: #757575; font-size: 11px; margin-top: 3px; }
.storefront-home .home-primary-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.storefront-home .home-primary-side-slot:only-child { grid-column: 1 / -1; }
.storefront-home .home-section-layout { gap: 36px 24px; }
.storefront-home .home-card.panel { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.storefront-home .entity-discovery { padding: 24px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.storefront-home .entity-discovery h2 { color: #202020; font-size: 20px; letter-spacing: 0; }
.storefront-home .entity-pill { border-color: #e5e5e5; background: #fff; border-radius: 6px; }
.storefront-home .entity-pill strong { color: #333; font-weight: 550; }
.storefront-home .entity-pill span { color: #757575; }
.drawer .cart-item { gap: 13px; padding-block: 17px; border-bottom-color: #eee; }
.drawer .cart-item-media { width: 66px; height: 66px; border: 1px solid #eee; border-radius: 6px; background: #f4f4f4; }
.drawer .cart-item-media img { width: 100%; height: 100%; object-fit: contain; }
.drawer .cart-item-copy { min-width: 0; }
.drawer .cart-item-name { font-size: 12px; font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; }
.drawer .cart-item-variant { font-size: 11px; color: #757575; overflow-wrap: anywhere; }
.drawer :is(.drawer-head, .drawer-foot) { border-color: #e5e5e5; background: #fff; }
.drawer .drawer-foot { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.account-shell .address-card { padding: 22px; border-color: #e5e5e5; border-radius: 8px; box-shadow: none; }
.account-shell .address-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-shell .address-card :is(.address-summary, .address-note) { font-size: 12px; line-height: 1.9; color: #707070; overflow-wrap: anywhere; }
.account-shell .address-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.account-shell .address-editor-dialog { border-radius: 8px; }
.account-shell .account-settings-grid { gap: 18px; }
.account-shell .field { border-color: #cdcdcd; border-radius: 6px; background: #fff; color: #202020; }
.w02-help-page .w02-faq-list { border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; padding: 0; box-shadow: none; }
.w02-faq-item { border-bottom: 1px solid #e9e9e9; overflow: hidden; }
.w02-faq-item:last-child { border-bottom: 0; }
.w02-faq-question { width: 100%; display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 18px 20px; border: 0; background: #fff; color: #202020; font-size: 13px; text-align: left; line-height: 1.6; cursor: pointer; }
.w02-faq-question > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.w02-faq-question > svg { flex-shrink: 0; color: #757575; transition: transform 140ms cubic-bezier(.2,.8,.2,1); }
.w02-faq-question:focus-visible { outline: 2px solid #656565; outline-offset: -3px; }
.w02-faq-item.is-open .w02-faq-question > svg { transform: rotate(180deg); }
.w02-faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 150ms cubic-bezier(.2,.8,.2,1); }
.w02-faq-answer > div { overflow: hidden; min-height: 0; }
.w02-faq-list .w02-faq-answer p { margin: 0 20px 18px; color: #707070; font-size: 12px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.w02-faq-item.is-open .w02-faq-answer { grid-template-rows: 1fr; }
.legal-page .legal-document { background: white; border: 1px solid #e5e5e5; border-radius: 8px; padding: 30px 36px; min-width: 0; box-shadow: none; }
.legal-page .legal-document > section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #eee; scroll-margin-top: 95px; }
.legal-page .legal-document h2 { font-size: 16px; margin: 0 0 12px; line-height: 1.5; overflow-wrap: anywhere; }
.legal-page .legal-document :is(p, li) { font-size: 12px; line-height: 2; color: #707070; overflow-wrap: anywhere; }
.legal-page .legal-document :is(ol, ul) { padding-left: 1.6em; margin: 10px 0; }
.legal-page .legal-document a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.site-header { background: #fffe; border-bottom-color: #e5e5e5; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner { max-width: 1460px; gap: 28px; }
.site-header .brand img { width: 32px; height: 32px; object-fit: contain; }
.site-header .brand strong { font-size: 19px; line-height: 1.15; letter-spacing: 0; }
.site-header .brand-sub { font-size: 9px; color: #757575; letter-spacing: 0; }
.site-header .main-nav { gap: 22px; }
.site-header .main-nav a { font-size: 13px; font-weight: 550; color: #747474; }
.site-header .main-nav a:hover,
.site-header .main-nav a.active { color: #202020; }
.site-header .header-tools { gap: 5px; }
/* Unified navigation; product purchase modes remain in the S05 shop filters. */
body:has(.unified-header) { --header: 72px; }
.site-header.unified-header { height: auto; }
.unified-header .header-inner { grid-template-columns: auto auto minmax(180px, 1fr) auto; gap: 24px; height: 72px; }
.unified-header .global-search { position: relative; display: flex; align-items: stretch; min-width: 0; height: 44px; border: 1px solid #cecece; border-radius: 6px; background: #fff; overflow: visible; margin: 0; }
.unified-header .global-search:focus-within { border-color: #888; outline: none; box-shadow: 0 0 0 1px #888; }
.unified-header .search-type-picker { position: relative; flex: 0 0 112px; width: 112px; min-width: 0; }
.unified-header .search-type-picker summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; height: 100%; padding: 0 12px; list-style: none; border-radius: 5px 0 0 5px; color: #555; font-size: 13px; cursor: pointer; position: relative; }
.unified-header .search-type-picker summary::after { content: ""; position: absolute; right: 0; top: 11px; bottom: 11px; border-right: 1px solid #dedede; }
.unified-header .search-type-picker summary::-webkit-details-marker { display: none; }
.unified-header .search-type-picker summary > svg { width: 14px; height: 14px; flex-shrink: 0; }
.unified-header .search-type-picker[open] summary > svg { transform: rotate(180deg); }
.unified-header .search-type-picker summary:hover, .unified-header .search-type-picker[open] summary { background: #f6f6f6; color: #222; }
.unified-header .search-type-picker summary:focus-visible { outline: 2px solid #777; outline-offset: -4px; }
.unified-header .search-type-options { position: absolute; top: calc(100% + 9px); left: -1px; z-index: 110; width: 180px; max-width: calc(100vw - 24px); padding: 6px; background: #fff; border: 1px solid #e4e4e4; border-radius: 8px; box-shadow: 0 8px 24px #00000014; }
.unified-header .search-type-options button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: #555; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.unified-header .search-type-options button:hover, .unified-header .search-type-options button[aria-pressed="true"] { background: #f3f3f3; color: #171717; }
.unified-header .search-type-options button[aria-pressed="true"] { font-weight: 600; }
.unified-header .search-type-options button:focus-visible { outline: 2px solid #777; outline-offset: -2px; }
.unified-header .search-type-options button svg { width: 16px; height: 16px; }
.unified-header .global-search input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: inherit; font-size: 14px; color: #202020; outline: none; box-shadow: none; }
.unified-header .global-search input::placeholder { color: #777; opacity: 1; }
.unified-header .global-search > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 88px; border: 0; border-radius: 0 5px 5px 0; background: #202020; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.unified-header .global-search > button:hover { background: #424242; }
.unified-header .global-search > button:focus-visible { outline-color: #fff; outline-offset: -4px; }
.unified-header ~ .page .shop-search { display: none; }
.unified-header .brand { letter-spacing: 0; min-width: 0; gap: 10px; }
.unified-header .brand-name { display: grid; gap: 4px; }
.unified-header .main-nav { display: flex; align-items: stretch; justify-content: flex-start; gap: 22px; width: auto; height: 44px; margin: 0; overflow: visible; }
.unified-header .main-nav .nav-link { padding: 0 2px; font-size: 14px; font-weight: 600; transition: color 120ms ease; }
.unified-header .main-nav .nav-link.active::after { left: 0; right: 0; bottom: 0; border-radius: 0; }
.unified-header .header-tools { gap: 4px; margin-left: 0; }
.unified-header .header-tools :is(.icon-btn, .cart-btn, .avatar) { display: inline-grid; width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex-basis: 44px; border-radius: 50%; transition: background 120ms ease; }
.unified-header .header-tools :is(.icon-btn, .cart-btn):hover { background: #f1f1f1; }
.unified-header .header-tools .avatar { width: 36px; height: 36px; min-width: 36px; min-height: 36px; flex-basis: 36px; margin-left: 6px; background: #f1f1f1; font-size: 13px; }
.unified-header :is(a, button, summary):focus-visible { outline: 2px solid #252525; outline-offset: 3px; }
.unified-header .header-preferences { position: relative; flex: 0 0 auto; margin-right: 10px; }
.unified-header .header-preferences summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; list-style: none; cursor: pointer; font-size: 12px; color: #666; white-space: nowrap; border-radius: 6px; }
.unified-header .header-preferences summary::-webkit-details-marker { display: none; }
.unified-header .header-preferences summary:hover, .unified-header .header-preferences[open] summary { background: #f5f5f5; color: #161616; }
.unified-header .header-preferences summary svg { width: 14px; height: 14px; transition: transform 140ms ease; }
.unified-header .header-preferences[open] summary svg { transform: rotate(180deg); }
.unified-header .header-preferences-short { display: none; }
.unified-header .header-preferences-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 252px; max-width: calc(100vw - 24px); padding: 18px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; box-shadow: 0 12px 36px #00000014; z-index: 100; }
.unified-header .header-preferences-panel > strong { display: block; margin-bottom: 12px; color: #292929; font-size: 13px; }
body .unified-header .header-preferences-panel .localization-controls { display: flex; width: 100%; height: 44px; border-radius: 6px; }
.unified-header .header-preferences-panel .localization-controls label { flex: 1; min-width: 0; }
body .unified-header .header-preferences-panel .localization-controls select { width: 100%; min-width: 0; height: 44px; padding: 0 22px 0 10px; font-size: 12px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .unified-header .header-inner { width: calc(100% - 32px); grid-template-columns: 32px auto minmax(180px, 1fr) auto; gap: 14px; }
  .unified-header .brand-name { display: none; }
  .unified-header .main-nav { gap: 16px; }
  .unified-header .main-nav .nav-link { font-size: 13px; }
  .unified-header .brand strong { font-size: 17px; }
  .unified-header .brand-sub { font-size: 8px; }
  .unified-header .header-preferences { margin-right: 0; }
  .unified-header .header-preferences-label { display: none; }
  .unified-header .header-preferences-short { display: inline; }
  .unified-header .header-tools { gap: 0; }
}
@media (max-width: 760px) {
  body:has(.unified-header) { --header: 116px; }
  .unified-header .header-inner { display: grid; width: calc(100% - 24px); height: 116px; grid-template-columns: 28px auto minmax(0, 1fr); grid-template-rows: 44px 44px; gap: 8px; padding: 10px 0; }
  .unified-header .brand { grid-column: 1; grid-row: 1; }
  .unified-header .header-tools { grid-column: 3; grid-row: 1; justify-self: end; }
  .unified-header .global-search { grid-column: 1 / -1; grid-row: 2; }
  .unified-header .global-search input { font-size: 16px; padding: 0 12px; }
  .unified-header .search-type-picker { flex-basis: 100px; width: 100px; }
  .unified-header .search-type-picker summary { padding: 0 10px; gap: 4px; }
  .unified-header .global-search > button { flex-basis: 48px; }
  .unified-header .global-search > button span { display: none; }
  .unified-header .main-nav { display: flex; grid-column: 2; grid-row: 1; gap: 14px; }
  .unified-header .main-nav .nav-link { font-size: 13px; height: 44px; }
  body .unified-header .brand-name { display: none; }
  .unified-header .brand { gap: 7px; }
  .unified-header .brand img { width: 28px; height: 28px; }
  .unified-header .brand strong { font-size: 17px; }
  .unified-header .brand-sub { font-size: 8px; }
  .unified-header .header-tools { gap: 0; }
  .unified-header .header-tools :is(.cart-btn, .avatar) { display: none; }
  .unified-header .header-preferences { margin-right: 0; }
  .unified-header .header-preferences-label { display: none; }
  .unified-header .header-preferences-short { display: inline; }
  .unified-header .header-preferences-panel { right: -44px; }
}
@media (max-width: 700px) {
  body.proxy-chat-route .unified-header .header-inner { display: grid; grid-template-columns: 28px auto minmax(0, 1fr); gap: 8px; }
  body.proxy-chat-route .unified-header .header-inner > .header-tools { grid-column: 3; }
  body.proxy-chat-route .unified-header .header-tools > .icon-btn { display: inline-grid; }
  body.proxy-chat-route .unified-header .header-tools > .header-preferences { display: block; }
  body.proxy-chat-route .unified-header .header-preferences-panel { right: -44px; }
  body.proxy-chat-route .unified-header .brand strong { font-size: 13px; }
  body.proxy-chat-route .unified-header .brand-sub { font-size: 6px; }
  body.proxy-chat-route .unified-header .brand img { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .unified-header .main-nav .nav-link, .unified-header .header-tools :is(.icon-btn, .cart-btn, .avatar), .unified-header .header-preferences summary svg { transition: none; }
}
/* Header interaction surfaces share spacing, focus and motion rules. */
.site-header.unified-header { position: sticky; top: 0; z-index: 80; }
.unified-header .header-inner { transition: height 220ms ease, padding 220ms ease, grid-template-rows 220ms ease, row-gap 220ms ease; }
body.header-compact { --header: 36px; }
body.header-compact .unified-header .header-inner { height: 36px; }
body.header-compact .unified-header :is(.global-search, .main-nav, .main-nav .nav-link) { height: 28px; }
body.header-compact .unified-header .header-tools :is(.icon-btn, .cart-btn, .avatar) { height: 28px; min-height: 28px; }
body.header-compact .unified-header .header-preferences summary { min-height: 28px; }
body.header-compact .unified-header .brand img { height: 24px; object-fit: contain; }
body.header-compact .unified-header .brand { min-height: 28px; }
body.header-compact .unified-header .brand-sub { opacity: 0; max-height: 0; }
body.header-compact .unified-header .search-type-picker summary::after { top: 5px; bottom: 5px; }
.unified-header :is(.global-search, .main-nav, .nav-link, .brand img, .brand) { transition: height 220ms ease, min-height 220ms ease; }
.unified-header .brand-sub { max-height: 20px; overflow: hidden; transition: max-height 220ms ease, opacity 180ms ease; }
.unified-header .header-tools :is(.icon-btn, .cart-btn, .avatar), .unified-header .header-preferences summary { transition: height 220ms ease, min-height 220ms ease, background 120ms ease; }
.unified-header .search-type-picker summary::after { transition: top 220ms ease, bottom 220ms ease; }
.unified-header .header-member { position: relative; }
.unified-header .header-member > summary.avatar { display: grid; cursor: pointer; list-style: none; }
.unified-header .header-member > summary::-webkit-details-marker { display: none; }
.unified-header .header-member[open] > summary { background: #e7e7e7; }
.unified-header .header-tools .header-member > summary.avatar { position: relative; isolation: isolate; background: transparent; }
.unified-header .header-member > summary.avatar::before { content: ''; position: absolute; z-index: -1; width: 36px; height: 36px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: #f1f1f1; transition: width 220ms ease, height 220ms ease, background 120ms ease; }
.unified-header .header-member[open] > summary.avatar::before { background: #e7e7e7; }
body.header-compact .unified-header .header-member > summary.avatar::before { width: 28px; height: 28px; }
.unified-header .header-member > summary.avatar svg { flex-shrink: 0; width: 18px; height: 18px; }
.unified-header .header-member-panel { position: absolute; right: 0; top: calc(100% + 12px); width: 292px; max-width: calc(100vw - 24px); max-height: min(620px, calc(100dvh - 150px)); overflow: auto; padding: 20px; background: #fff; border: 1px solid #e4e4e4; border-radius: 8px; box-shadow: 0 10px 32px #00000014; }
.header-member-heading { display: grid; gap: 6px; padding-bottom: 16px; }
.header-member-heading small { font-size: 11px; color: #777; }
.header-member-heading strong { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; color: #222; }
.header-member-heading p { margin: 0; font-size: 12px; line-height: 1.7; color: #666; }
.header-member-panel nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding-bottom: 12px; }
.header-member-panel nav a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px; border-radius: 4px; font-size: 12px; color: #333; }
.header-member-panel svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-member-panel :is(a, button):hover { background: #f5f5f5; }
.header-member-panel > button, .header-member-all { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px; font: inherit; font-size: 13px; border: 0; border-top: 1px solid #eee; background: transparent; color: #333; cursor: pointer; }
.header-member-all svg { transform: rotate(-90deg); }
.header-member-panel > .header-login { border: 0; border-radius: 6px; background: #252525; color: #fff; margin-bottom: 10px; }
.header-member-panel > .header-login:hover { background: #414141; }
.header-member-panel > .header-login:disabled { opacity: .6; cursor: wait; }
.header-member-privacy { display: block; padding: 10px; text-align: center; color: #777; font-size: 11px; }
.unified-header .header-member-panel { scrollbar-width: none; overscroll-behavior: contain; }
.unified-header .header-member-panel::-webkit-scrollbar { display: none; }
.unified-header .header-member-panel:has([data-member-summary]) { width: 392px; padding: 14px; }
.header-member-panel:has([data-member-summary]) > .header-member-heading { display: none; }
.header-member-panel:has([data-member-summary]) nav { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px 0; gap: 2px; border-top: 1px solid #eee; }
.header-member-panel:has([data-member-summary]) nav a { flex-direction: column; justify-content: center; gap: 5px; padding: 6px 2px; font-size: 11px; }
.header-member-panel:has([data-member-summary]) > :is(.header-member-all, button) { min-height: 36px; padding: 7px; }
.header-mini-card { margin-bottom: 12px; }
.header-mini-card .member-card-face { position: relative; inset: auto; padding: 14px; box-shadow: none; animation: none; }
.header-card-top, .header-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.header-card-top small { font-size: 10px; }
.header-card-top b { font-size: 12px; }
.header-mini-card h2 { margin: 8px 0 4px; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; color: #fff; }
.header-mini-card p { margin: 0 0 10px; font-size: 12px; color: #fffd; }
.header-mini-card small { font-size: 10px; color: #fffc; }
.header-card-progress { margin: 10px 0 6px; height: 4px; background: #ffffff30; border-radius: 2px; overflow: hidden; }
.header-card-progress i { display: block; height: 100%; background: #fff; }
.header-card-foot { font-size: 10px; color: #fffd; flex-wrap: wrap; }
.header-recent-orders { margin-bottom: 8px; }
.header-recent-orders > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 12px; }
.header-recent-orders > header a { font-size: 11px; color: #777; }
.header-order-summary { display: block; padding: 7px 0; border-bottom: 1px solid #eee; }
.header-order-summary > div, .header-order-summary > small { display: flex; gap: 8px; justify-content: space-between; }
.header-order-summary b { font-size: 11px; overflow-wrap: anywhere; min-width: 0; }
.header-order-summary > div > span { font-size: 11px; white-space: nowrap; color: #555; }
.header-order-summary p { margin: 3px 0; font-size: 12px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.header-order-summary small { color: #777; font-size: 10px; flex-wrap: wrap; }
[data-member-retry] { min-height: 40px; padding: 8px 14px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; }
.unified-header .header-search-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 9px); z-index: 105; background: #fff; border: 1px solid #e4e4e4; border-radius: 8px; padding: 6px; box-shadow: 0 10px 32px #00000014; max-height: min(480px, calc(100dvh - 180px)); overflow-y: auto; overscroll-behavior: contain; }
.header-search-suggestions[hidden] { display: none; }
.unified-header .header-search-suggestions { height: min(480px, calc(100dvh - 180px)); }
.header-search-suggestions .suggestion-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header-search-suggestions::before { content: ''; position: sticky; display: block; top: 0; height: 2px; margin-bottom: -2px; background: #777; transform: scaleX(0); transform-origin: left; transition: opacity 150ms ease; opacity: 0; pointer-events: none; }
.header-search-suggestions[aria-busy="true"]::before { opacity: .5; animation: suggestion-progress 900ms ease-in-out infinite alternate; }
@keyframes suggestion-progress { from { transform: scaleX(.15); } to { transform: scaleX(.85); } }
.header-search-suggestions a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; min-height: 52px; border-radius: 4px; font-size: 13px; color: #222; }
.header-search-suggestions a:hover, .header-search-suggestions a[aria-selected="true"] { background: #f4f4f4; }
.header-search-suggestions :is(img, .suggestion-glyph) { flex: 0 0 36px; width: 36px; height: 36px; object-fit: contain; border-radius: 4px; }
.suggestion-glyph { display: grid; place-items: center; color: #777; }
.suggestion-glyph svg { width: 18px; height: 18px; }
.header-search-suggestions a > span:last-child { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.header-search-suggestions small { display: block; margin-top: 2px; font-size: 11px; color: #888; }
.suggestion-message { padding: 16px; font-size: 13px; color: #777; }
.member-signin-benefits { display: grid; gap: 16px; list-style: none; margin: 24px 0; padding: 0; }
.member-signin-benefits li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #555; }
.member-signin-benefits svg { width: 20px; height: 20px; }
.member-continue { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.member-breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; padding: 20px 0; font-size: 12px; color: #777; }
.member-breadcrumb [aria-current] { color: #222; }
.account-shell .sidebar-member > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.account-shell .mobile-account-menu-panel .side-link { min-height: 44px; }
@media (max-width: 760px) {
  body.header-compact { --header: 76px; }
  body.header-compact .unified-header .header-inner { height: 76px; padding-block: 4px; grid-template-rows: 28px 36px; row-gap: 4px; }
  body.header-compact .unified-header .global-search { height: 36px; }
  .unified-header .header-tools .header-member > .avatar { display: grid; margin-left: 0; width: 36px; min-width: 36px; }
  .unified-header .header-member-panel { position: fixed; right: 12px; top: var(--header); }
  .unified-header .header-tools .icon-btn[data-action="notifications"] { display: none; }
  .unified-header .header-preferences-panel { right: -36px; }
  body.proxy-chat-route .unified-header .header-tools > [data-header-member] { display: block; }
  body.proxy-chat-route .unified-header .header-tools > .icon-btn { display: none; }
  body.proxy-chat-route .unified-header .header-preferences-panel { right: -36px; }
  .header-member-panel { padding: 16px; }
  .member-breadcrumb { padding-block: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .header-member[open] .header-member-panel { animation: header-panel-in 140ms ease-out; }
  @keyframes header-panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { .unified-header *, .unified-header *::before, .unified-header *::after { transition: none !important; animation: none !important; } .header-search-suggestions[aria-busy="true"]::before { transform: scaleX(1); } }
.footer { border-top-color: #e5e5e5; background: #fff; padding-block: 32px 22px; color: #757575; font-size: 11px; }
.footer .footer-inner { gap: 30px; }
.footer h4 { font-size: 12px; color: #494949; margin-bottom: 10px; }
.footer :is(.footer-col a, .footer-link-button) { line-height: 2.25; font-size: 11px; color: #757575; }
.footer :is(.footer-col a, .footer-link-button):hover { color: #222; }
.footer .copyright { border-top-color: #eee; margin-top: 24px; padding-top: 17px; font-size: 10px; }
.checkout-page .checkout-layout { grid-template-columns: minmax(0, 1fr) 326px; gap: 22px; align-items: start; }
.checkout-page .checkout-summary { top: calc(var(--header) + 18px); min-width: 0; }
.checkout-page .form-grid { gap: 17px 18px; }
.checkout-page .form-grid > label { min-width: 0; }
.checkout-page .field { border-color: #cdcdcd; border-radius: 6px; background: #fff; color: #202020; }
.checkout-page :is(.stage-heading, .summary-title) { gap: 12px; }
.checkout-page .stage-heading h2 { font-size: 18px; line-height: 1.5; }
.checkout-page .checkout-nav { gap: 12px; }
.account-shell { grid-template-columns: 206px minmax(0, 1fr); gap: 30px; }
.account-shell .account-sidebar {
  top: calc(var(--header) + 20px);
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: none;
}
.account-shell .sidebar-member {
  gap: 10px;
  padding: 6px 6px 17px;
  border-bottom: 1px solid #ededed;
  margin-bottom: 12px;
}
.account-shell .sidebar-member b { font-size: 12px; }
.account-shell .sidebar-member span { color: #757575; font-size: 11px; overflow-wrap: anywhere; }
.account-shell .side-title { font-size: 10px; font-weight: 500; color: #808080; padding: 0 9px 6px; letter-spacing: 0; }
.account-shell .side-group { border: 0; gap: 2px; margin-bottom: 12px; padding-bottom: 0; }
.account-shell .side-link {
  min-height: 37px;
  padding: 7px 9px;
  gap: 9px;
  color: #757575;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  white-space: normal;
}
.account-shell .side-link:hover { background: #f6f6f6; color: #333; }
.account-shell .side-link.active { background: #f1f1f1; color: #252525; font-weight: 600; }
.account-shell .side-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.account-shell .account-main { min-width: 0; }
.account-shell .account-page-heading { min-height: 0; margin-bottom: 21px; flex-wrap: wrap; gap: 14px; }
.account-shell .account-page-heading h1 { font-size: 28px; line-height: 1.32; font-weight: 650; letter-spacing: 0; }
.account-shell .account-page-heading p { font-size: 12px; line-height: 1.55; }
.account-shell .panel,
.checkout-page .panel { border-color: #e5e5e5; border-radius: 8px; box-shadow: none; }
.account-shell .member-overview-grid { grid-template-columns: minmax(270px, .95fr) minmax(0, 1.5fr); gap: 16px; }
.account-shell .member-overview-grid .member-news { grid-column: 1 / -1; order: 2; }
.account-shell .status-overview { min-width: 0; order: 1; }
.account-shell .status-icons { gap: 12px; }
.account-shell .status-icons strong { font-size: 26px; font-weight: 550; line-height: 1.2; color: #333; }
.account-shell .status-icons .status-metric { min-width: 0; padding: 12px 4px; }
.account-shell .status-icons span { overflow-wrap: anywhere; }
.account-shell .order-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.account-shell .order-row { min-width: 0; }
.account-shell .btn,
.checkout-page .btn {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
  transition: background 110ms, border-color 110ms, transform 100ms;
}
.account-shell .btn.primary,
.checkout-page .btn.primary { background: #252525; border-color: #252525; color: white; }
.account-shell .btn.primary:hover:not(:disabled),
.checkout-page .btn.primary:hover:not(:disabled) { background: #414141; border-color: #414141; }
.account-shell .btn:active:not(:disabled),
.checkout-page .btn:active:not(:disabled) { transform: translateY(1px); }
.account-shell :is(input, textarea, select):not(:where(.catalog-l16-host *)),
.checkout-page :is(input, textarea, select) { accent-color: #282828; }
.account-shell :is(button, a, input, textarea, select):not(:where(.catalog-l16-host *)):focus-visible,
.checkout-page :is(button, a, input, textarea, select):focus-visible { outline: 2px solid #656565; outline-offset: 3px; }
@media (max-width: 1200px) {
  .header-inner { gap: 16px; }
  .site-header .main-nav { gap: 14px; }
  .account-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
  .account-shell .member-overview-grid { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 1000px) {
  .checkout-page .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-page .checkout-summary { position: static; }
  .account-shell { grid-template-columns: minmax(0, 1fr); }
  /* The real mobile menu lives inside the sidebar, unlike the standalone preview. */
  .account-shell .account-sidebar { position: static; top: auto; max-height: none; }
  .account-shell .mobile-account-menu { display: block; }
  .account-shell .account-sidebar > :is(.sidebar-member, .side-group) { display: none; }
}
@media (max-width: 760px) {
  .w02-shopping-paths { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 24px; }
  .w02-member-signin { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px; min-height: 0; }
  .w02-member-signin-copy h1 { font-size: 28px; }
  .w02-member-signin-panel { padding: 22px; }
  .account-shell .notification-row { flex-wrap: wrap; padding: 16px; }
  .account-shell .notification-action { margin-left: auto; }
  .order-modal .order-modal-header, .order-modal .order-modal-body { padding: 16px; }
  .proxy-page .proxy-chat-header { padding: 12px 14px; }
  .proxy-page .proxy-chat-thread { padding: 18px 14px; }
  .proxy-page .proxy-workspace-intro h1 { font-size: 22px; }
  .w02-order-body { padding: 14px; gap: 11px; flex-wrap: wrap; }
  .w02-order-image { width: 54px; height: 54px; flex-basis: 54px; }
  .w02-order-price { font-size: 13px; margin-left: auto; }
  .w02-order-foot { padding: 11px 14px; gap: 9px; flex-wrap: wrap; }
  .w02-order-foot .order-actions { margin-left: auto; }
  .storefront-home .home-primary-side { grid-template-columns: minmax(0, 1fr); }
  .storefront-home .home-primary-layout, .storefront-home .home-section-layout { gap: 28px; }
  .account-shell .address-card { padding: 18px; }
  .legal-page .legal-document { padding: 22px 18px; }
  .w02-faq-question { padding: 16px; }
  .w02-faq-list .w02-faq-answer p { margin: 0 16px 16px; }
  .header-inner { gap: 8px; }
  .footer .footer-inner { gap: 22px; }
  .account-shell .member-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .account-shell .account-page-heading h1 { font-size: 24px; }
  .account-shell .status-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .account-shell .status-icons strong { font-size: 23px; }
  .account-shell .member-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-page .checkout-nav { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 370px) {
  .w02-order-body { gap: 9px; }
  .w02-order-price { flex: 1 1 100%; padding-left: 63px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .w02-faq-answer, .w02-faq-question > svg { transition: none; }
  .account-shell .btn, .checkout-page .btn { transition: none; }
}
