.site-header { border-bottom: 0; box-shadow: 0 5px 20px rgba(20, 43, 38, .08); }
.header-primary { height: 72px; justify-content: flex-start; }
.header-primary .brand { gap: 11px; font-size: 20px; }
.header-primary .brand-logo,
.header-primary .brand-mark { width: 40px; height: 40px; border-radius: 7px; }
.header-quick { display: flex; align-items: center; gap: 2px; margin-left: auto; padding-right: 4px; }
.header-quick a { min-height: 34px; display: flex; align-items: center; padding: 0 11px; border-radius: 5px; color: #59645f; font-size: 11px; font-weight: 700; transition: background-color .16s ease, color .16s ease; }
.header-quick a:hover { background: #edf7f4; color: var(--store-green-dark); }
.header-primary .header-search { width: 260px; height: 42px; margin-left: 12px; border-color: #d5dfdc; background: #f5f8f7; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.header-primary .header-search:focus-within { border-color: #7fc4b3; background: #fff; box-shadow: 0 0 0 3px rgba(15, 157, 122, .11); }
.target-nav { position: relative; border-top: 1px solid rgba(255, 255, 255, .06); background: #1c2a26; }
.target-nav > div { height: 48px; display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.target-nav > div::-webkit-scrollbar { display: none; }
.target-nav a { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; flex: 1 1 auto; padding: 0 9px; color: #cbd6d2; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background-color .16s ease, color .16s ease; }
.target-nav a::after { content: ""; position: absolute; right: 11px; bottom: 0; left: 11px; height: 3px; background: transparent; }
.target-nav a:hover,
.target-nav a.active { background: #253a34; color: #fff; }
.target-nav a:hover { background: #233630; }
.target-nav a.active::after { background: #39c99f; }
.channel-subnav { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin-top: 18px; padding: 13px 14px; background: #fff; border: 1px solid var(--store-line); border-radius: 7px; scrollbar-width: none; }
.channel-subnav::-webkit-scrollbar { display: none; }
.channel-subnav a { flex: none; padding: 7px 10px; border-radius: 5px; color: #56625e; font-size: 12px; font-weight: 700; white-space: nowrap; }
.channel-subnav a:hover,
.channel-subnav a.active { background: #e5f5f0; color: var(--store-green-dark); }
.channel-catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 18px; }
.channel-catalog-main { min-width: 0; }
.channel-catalog-layout .catalog-grid { grid-template-columns: 1fr; }
.channel-ranking { overflow: hidden; background: #fff; border: 1px solid var(--store-line); border-radius: 7px; }
.channel-ranking header { padding: 16px; border-bottom: 1px solid var(--store-line); }
.channel-ranking header span { color: var(--store-green); font-size: 9px; font-weight: 900; }
.channel-ranking h2 { margin: 4px 0 0; font-size: 17px; }
.channel-ranking ol { margin: 0; padding: 4px 14px; list-style: none; }
.channel-ranking li { min-height: 68px; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 8px; border-bottom: 1px solid var(--store-line); }
.channel-ranking li:last-child { border-bottom: 0; }
.channel-ranking li > span { color: #9aa5a1; font-size: 13px; font-weight: 900; text-align: center; }
.channel-ranking li:nth-child(-n+3) > span { color: var(--store-coral); }
.channel-ranking li a { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 9px; }
.channel-ranking img { width: 42px; height: 42px; border-radius: 7px; object-fit: cover; }
.channel-ranking strong,
.channel-ranking small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel-ranking strong { font-size: 11px; }
.channel-ranking small { margin-top: 4px; color: #8a9592; font-size: 9px; }

@media (max-width: 900px) {
  .header-quick { display: none; }
  .header-primary { height: 62px; justify-content: space-between; }
  .header-primary .brand { font-size: 18px; }
  .header-primary .brand-logo,
  .header-primary .brand-mark { width: 36px; height: 36px; }
  .header-primary .header-search { width: 42px; height: 40px; margin-left: auto; padding: 0 11px; background: #f3f7f5; }
  .target-nav::after { content: ""; position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: 24px; pointer-events: none; background: linear-gradient(90deg, rgba(28, 42, 38, 0), #1c2a26); }
  .target-nav > div { width: 100%; height: 44px; gap: 0; padding: 0 12px; scroll-padding-inline: 12px; }
  .target-nav a { flex: none; padding: 0 12px; font-size: 11px; }
  .target-nav a::after { right: 12px; left: 12px; }
  .channel-subnav { width: calc(100% - 28px); margin-top: 14px; padding: 10px; }
  .channel-catalog-layout { grid-template-columns: 1fr; }
  .channel-ranking { order: 2; }
}
