:root {
  --blue: #195cff; --blue-hover: #124bd5; --blue-wash: #eaf0ff;
  --ink: #16223d; --muted: #627089; --line: #e5eaf2; --canvas: #f1f4f8; --white: #fff;
  --radius: 8px; --sidebar-width: 180px; --admin-offset: 0px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--canvas); font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.admin-bar { --admin-offset: 32px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; height: auto; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
[hidden] { display: none !important; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100000; top: 8px; left: 16px; padding: 12px 20px; background: var(--white); color: var(--blue); box-shadow: 0 2px 20px #16223d26; }
.tbm-icon { width: 19px; height: 19px; }
.sidebar { position: fixed; z-index: 50; left: 0; top: var(--admin-offset); width: var(--sidebar-width); height: calc(100dvh - var(--admin-offset)); background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 0 10px 18px; }
.sidebar-brand-row { display: flex; align-items: center; min-height: 76px; padding: 0 10px; }
.brand { display: flex; align-items: center; min-height: 44px; border-radius: 6px; }
.brand-logo { display: block; width: 132px; height: auto; }
.sidebar-main { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 13px; border-radius: 7px; color: #47546d; transition: color 180ms, background-color 180ms; font-size: 14px; }
a.nav-item:hover { color: var(--blue); background: #f3f6fd; }
.nav-item.is-active { color: var(--blue); background: var(--blue-wash); font-weight: 650; }
.nav-unavailable { color: #788395; }
.nav-unavailable small { margin-left: auto; font-size: 10px; color: #65738a; }
.nav-divider { height: 1px; margin: 13px 12px 6px; background: var(--line); }
.nav-caption { margin: 7px 14px 6px; font-size: 12px; color: var(--muted); }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--line); padding-top: 11px; }
.sidebar-note { display: flex; align-items: center; gap: 6px; margin: 4px 13px 15px; font-size: 10px; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5983ff; flex-shrink: 0; }
.site-shell { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { position: sticky; z-index: 25; top: var(--admin-offset); min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; background: #fffffffa; border-bottom: 1px solid var(--line); }
.topbar-left, .topbar-right, .top-links { display: flex; align-items: center; }
.topbar-left { min-width: 0; gap: 8px; }
.top-links { gap: 28px; }
.top-links a { display: flex; align-items: center; min-height: 52px; font-size: 12px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; padding: 0 1px; }
.top-links a:hover, .top-links a.is-current { color: var(--blue); }
.top-links a.is-current { border-bottom-color: var(--blue); font-weight: 650; }
.topbar-right { gap: 24px; font-size: 12px; }
.partner-link { min-height: 44px; display: flex; align-items: center; }
.account-link { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 34px; padding: 6px 15px; border: 1px solid #bcc8da; border-radius: 7px; transition: color 180ms, border-color 180ms, background 180ms; }
.account-link .tbm-icon { width: 15px; height: 15px; }
.account-link:hover { color: var(--blue); border-color: var(--blue); background: #f8faff; }
.content-main { padding: 16px; min-height: calc(100dvh - 130px); }
.search-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .94fr); align-items: center; gap: 28px; min-height: 114px; padding: 23px 36px; border-radius: var(--radius); color: var(--white); background: var(--blue); }
.banner-copy h1 { margin: 0 0 5px; font-size: clamp(22px, 1.85vw, 30px); line-height: 1.35; letter-spacing: -.6px; font-weight: 700; text-wrap: balance; }
.banner-copy p { margin: 0; font-size: 14px; color: #f0f4ff; letter-spacing: .5px; }
.theme-search { display: flex; align-items: center; padding: 4px; background: var(--white); border: 1px solid #d8e3ff; border-radius: 7px; min-width: 0; box-shadow: 0 4px 14px #1442ae1f; }
.theme-search input { width: 100%; flex: 1; min-width: 0; border: 0; padding: 8px 10px; line-height: 24px; color: var(--ink); font-size: 13px; background: var(--white); border-radius: 4px; }
.theme-search input::placeholder { color: #69758a; opacity: 1; }
.theme-search input:focus-visible { outline-offset: 0; outline-width: 2px; }
.search-submit { display: grid; place-items: center; border: 0; border-radius: 5px; color: var(--white); background: var(--blue); width: 42px; height: 38px; flex-shrink: 0; transition: background 180ms; }
.search-submit:hover { background: var(--blue-hover); }
.catalog-toolbar { margin: 14px 0 0; padding: 8px 12px; border: 1px solid #edf0f5; border-radius: var(--radius); background: var(--white); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; min-height: 62px; }
.category-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.category-tab { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 16px; background: #f4f6f9; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; transition: background 180ms, color 180ms; }
.category-tab:hover { background: var(--blue-wash); color: var(--blue); }
.category-tab.is-selected { color: var(--white); background: var(--blue); box-shadow: 0 3px 8px #195cff24; }
.filter-panel { display: flex; align-items: center; gap: 20px; min-width: 0; }
.filter-field { display: flex; align-items: center; gap: 9px; }
.filter-field label { font-size: 12px; color: #4d5a71; white-space: nowrap; }
.filter-field select { min-width: 114px; max-width: 180px; min-height: 36px; padding: 6px 24px 6px 10px; color: #29364f; font-size: 12px; border: 1px solid #d9e0ec; border-radius: 5px; background: var(--white); }
.button-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 7px 11px; background: #f5f7fb; border: 1px solid #dfe5ef; border-radius: 5px; font-size: 12px; }
.button-quiet:hover { color: var(--blue); background: var(--blue-wash); }
.filter-toggle { display: none; }
.catalog-context { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 35px; padding: 5px 2px; font-size: 11px; color: var(--muted); }
.demo-disclosure { margin: 0; display: flex; align-items: center; gap: 6px; min-width: 0; }
.demo-disclosure > span:last-child { margin-left: 5px; }
.results-meta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.reset-filters { display: inline-flex; gap: 3px; align-items: center; color: var(--blue); min-height: 28px; }
.reset-filters .tbm-icon { width: 13px; height: 13px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.active-filters > li { min-width: 0; max-width: 100%; }
.active-filter { display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 8px 12px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; line-height: 1.5; }
.active-filter-label { min-width: 0; overflow-wrap: anywhere; }
.active-filter .tbm-icon { width: 14px; height: 14px; color: var(--muted); }
.active-filter:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-wash); }
.active-filter:hover .tbm-icon { color: inherit; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.theme-card { min-width: 0; overflow: hidden; background: var(--white); border-radius: var(--radius); border: 1px solid #e6ebf3; transition: border-color 180ms, box-shadow 180ms, transform 180ms; }
.theme-card:hover { border-color: #c9d6f4; box-shadow: 0 7px 20px #284b8a0c; transform: translateY(-2px); }
.card-preview { display: block; width: 100%; aspect-ratio: 1.69; overflow: hidden; position: relative; background: #e9eef5; }
.card-preview img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 220ms ease-out; }
.theme-card:hover .card-preview img { transform: scale(1.025); }
.card-sample-label { position: absolute; right: 7px; bottom: 7px; font-size: 9px; line-height: 1.3; padding: 3px 5px; background: #ffffffed; color: #3f4e65; border-radius: 3px; pointer-events: none; }
.card-meta { min-height: 40px; padding: 9px 12px 7px; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.card-identity { display: flex; align-items: center; min-width: 0; gap: 8px; }
.card-identity h2 { margin: 0; font-size: 14px; font-weight: 720; line-height: 1.5; flex-shrink: 0; letter-spacing: -.15px; }
.card-identity h2 a:hover { color: var(--blue); }
.card-industry { font-size: 12px; color: var(--muted); padding-left: 8px; border-left: 1px solid #dbe1eb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-price { font-size: 12px; color: var(--muted); white-space: nowrap; }
.card-actions { margin: 0 12px; border-top: 1px solid #edf0f5; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.card-actions a { display: inline-flex; align-items: center; gap: 4px; min-height: 38px; }
.card-actions .tbm-icon { width: 13px; height: 13px; }
.preview-action { color: var(--blue); font-weight: 600; }
.preview-unavailable { color: #65738a; display: inline-flex; align-items: center; gap: 4px; }
.details-action { color: #344560; font-weight: 550; }
.details-action:hover { color: var(--blue); }
.image-fallback { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: #5b6b85; font-size: 12px; }
.image-fallback .tbm-icon { width: 28px; height: 28px; }
.catalog-pagination { display: flex; justify-content: center; gap: 8px; margin: 25px 0 5px; }
.catalog-pagination a { min-width: 44px; min-height: 44px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.catalog-pagination a.is-current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.catalog-pagination a:not(.is-current):hover { color: var(--blue); border-color: var(--blue); }
.empty-state { padding: 66px 24px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h1, .empty-state h2 { margin: 14px 0 9px; font-size: 24px; }
.empty-state p { color: var(--muted); margin: 0 0 23px; }
.empty-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--blue-wash); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.empty-icon .tbm-icon { width: 26px; height: 26px; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; min-height: 44px; border: 1px solid var(--blue); border-radius: 6px; color: var(--white); background: var(--blue); font-weight: 600; font-size: 14px; transition: background 180ms; }
.button-primary:hover { color: var(--white); background: var(--blue-hover); }
.button-disabled { display: inline-flex; gap: 8px; justify-content: center; align-items: center; background: #eff2f8; color: #5e6d84; border: 1px solid #dbe2ed; min-height: 46px; border-radius: 6px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #344560; background: transparent; border: 0; border-radius: 6px; flex-shrink: 0; }
.icon-button:hover { color: var(--blue); background: var(--blue-wash); }
.menu-trigger, .sidebar-close, .menu-scrim { display: none; }
.site-footer { margin-top: 32px; padding: 44px 48px 0; background: var(--white); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 360px; }
.footer-logo { display: inline-flex; border-radius: 6px; }
.footer-logo .brand-logo { width: 150px; }
.footer-intro { margin: 0; line-height: 1.7; color: #4b5872; }
.footer-email { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; overflow-wrap: anywhere; }
.footer-email .tbm-icon { width: 17px; height: 17px; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.footer-tags li { padding: 4px 10px; border-radius: 999px; background: var(--blue-wash); color: var(--blue-hover); font-size: 12px; line-height: 1.5; }
.footer-heading { margin: 0 0 14px; font-size: 14px; font-weight: 650; color: var(--ink); }
.footer-menu, .friend-links-list { margin: 0; padding: 0; list-style: none; }
.footer-menu { display: grid; gap: 12px; }
.footer-menu a, .friend-links a, .footer-email { color: #47546d; transition: color 180ms; }
.footer-menu a:hover, .friend-links a:hover, .footer-email:hover, .footer-menu a:focus-visible, .friend-links a:focus-visible, .footer-email:focus-visible { color: var(--blue); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 13px; }
.friend-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.friend-links-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 0 auto; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12px; color: var(--muted); margin: 4px 0 20px; }
.breadcrumb .tbm-icon { width: 13px; height: 13px; }
.breadcrumb a:hover { color: var(--blue); }
.catalog-return { display: inline-flex; align-items: center; min-height: 44px; }
.detail-main { padding: 24px 30px; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.detail-category { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.detail-category span { color: #adb8c9; margin: 0 4px; }
.detail-heading h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; letter-spacing: -.8px; margin: 0; }
.detail-heading h1 span { font-size: 17px; margin-left: 15px; font-weight: 450; color: #53627b; letter-spacing: 0; display: inline-block; }
.stage-badge { display: inline-flex; align-items: center; gap: 7px; color: #315aaf; background: #e8efff; border: 1px solid #d8e4ff; border-radius: 5px; padding: 6px 11px; font-size: 12px; white-space: nowrap; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "preview purchase" "description purchase" "delivery purchase" "specs purchase"; gap: 20px 24px; align-items: start; }
.detail-preview { grid-area: preview; min-width: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.detail-description { grid-area: description; }
.detail-delivery { grid-area: delivery; }
.detail-specs { grid-area: specs; }
.spec-group + .spec-group { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.spec-group h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.spec-group ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; }
.spec-group p { margin: 0; font-size: 14px; line-height: 1.7; }
.spec-pending { color: var(--muted); }
.spec-group .spec-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.spec-links a { color: var(--blue); }
.detail-media { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 24px; background: #e9eef5; }
.detail-media > img { display: block; width: auto; height: auto; max-width: 100%; }
.preview-caption { display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; color: var(--muted); font-size: 12px; padding: 14px; margin: 0; }
.preview-caption .tbm-icon { width: 15px; height: 15px; }
.content-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px 30px; min-width: 0; }
.content-panel h1 { font-size: 29px; line-height: 1.4; margin: 0 0 20px; }
.content-panel h2 { font-size: 19px; line-height: 1.5; margin: 0 0 14px; }
.entry-content { font-size: 15px; line-height: 1.95; color: #4a5870; overflow-wrap: anywhere; }
.entry-content p:first-child { margin-top: 0; }
.entry-content p:last-child { margin-bottom: 0; }
.entry-content ul, .entry-content ol { padding-left: 23px; }
.entry-content a { color: var(--blue); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration: underline; }
.detail-purchase { grid-area: purchase; position: sticky; top: calc(76px + var(--admin-offset)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; }
.detail-price { font-size: 27px; font-weight: 700; line-height: 1.5; }
.detail-intro { color: var(--muted); margin: 8px 0 23px; font-size: 13px; line-height: 1.9; }
.wide-button { width: 100%; }
.purchase-note { text-align: center; color: #64718a; font-size: 13px; margin: 12px 0 20px; }
.theme-facts { margin: 20px 0 15px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px; }
.theme-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 11px 0; }
.theme-facts dt { color: var(--muted); white-space: nowrap; }
.theme-facts dd { margin: 0; text-align: right; color: #344560; }
.detail-support { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--blue); font-size: 12px; }
.detail-support .tbm-icon { width: 16px; height: 16px; }
.related-section { margin-top: 36px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { font-size: 20px; margin: 0; }
.section-heading a { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--blue); }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; }
.prose-page { padding: 25px 30px; }
.prose-page > .content-panel, .prose-page > .breadcrumb { max-width: 960px; margin-inline: auto; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .entry-content input[type="text"], .entry-content input[type="password"], .entry-content input[type="email"] { padding: 11px 12px; border: 1px solid #b9c6d9; border-radius: 5px; color: var(--ink); background: var(--white); min-height: 44px; }
.woocommerce form .form-row label { color: #344560; }
.woocommerce button.button, .woocommerce a.button { min-height: 44px; padding: 13px 19px; color: var(--white); background: var(--blue); border-radius: 6px; font-size: 14px; }
.woocommerce button.button:hover, .woocommerce a.button:hover { color: var(--white); background: var(--blue-hover); }
.woocommerce-MyAccount-navigation li { padding: 6px 0; }

@media (min-width: 1800px) { .theme-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1250px) {
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: 560px; }
  .search-banner { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); padding: 23px; gap: 20px; }
  .banner-copy h1 { font-size: 22px; letter-spacing: -.4px; }
  .filter-panel { gap: 10px; }
  .filter-field { gap: 6px; }
  .filter-field select { min-width: 100px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; }
  .detail-main, .prose-page { padding: 22px; }
}
@media (max-width: 980px) {
  .site-shell { margin-left: 0; }
  .sidebar { position: relative; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 12px 12px; }
  .sidebar-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-bottom { margin-top: 14px; }
  .js .sidebar { position: fixed; width: 280px; height: calc(100dvh - var(--admin-offset)); transform: translateX(-101%); z-index: 100; overflow-y: auto; }
  .js .sidebar-main { display: grid; grid-template-columns: 1fr; }
  .js .sidebar-bottom { margin-top: auto; padding-top: 15px; }
  .js .sidebar-brand-row { justify-content: space-between; padding-right: 0; }
  .js .sidebar-close, .js .menu-trigger { display: inline-grid; }
  .js .menu-scrim { display: block; position: fixed; inset: 0; background: #14223f66; z-index: 90; }
  .menu-is-open { overflow: hidden; }
  .menu-is-open .sidebar { transform: translateX(0); }
  .topbar { padding: 0 14px 0 6px; }
  .top-links { gap: 22px; }
  .topbar-right { gap: 14px; }
  .account-link { min-height: 40px; }
  .js .filter-toggle { display: inline-flex; min-height: 40px; }
  .filter-panel { width: 100%; padding: 12px 0 3px; border-top: 1px solid var(--line); justify-content: flex-end; }
  .filter-field { flex: 1; }
  .filter-field select { flex: 1; max-width: none; min-width: 0; min-height: 44px; }
  .apply-filters { min-height: 44px; padding-inline: 18px; }
  .theme-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr)); }
  .demo-disclosure > span:last-child { display: none; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-heading h1 span { display: block; margin: 7px 0 0; font-size: 15px; }
  .card-actions a, .card-actions { min-height: 44px; }
  .category-tab { min-height: 44px; }
  .search-submit { height: 44px; width: 44px; }
}
@media (max-width: 782px) { body.admin-bar { --admin-offset: 46px; } }
@media (max-width: 700px) {
  .search-banner { grid-template-columns: 1fr; gap: 18px; padding: 23px 22px; }
  .banner-copy h1 { font-size: 24px; max-width: 450px; }
  .detail-layout { grid-template-columns: 1fr; grid-template-areas: "preview" "purchase" "description" "delivery" "specs"; }
  .detail-purchase { position: static; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .content-main { padding: 12px; }
  .topbar { min-height: 58px; gap: 4px; }
  .top-links { gap: 18px; }
  .top-links a { min-height: 58px; font-size: 12px; }
  .top-links a:last-child, .partner-link, .account-link .tbm-icon { display: none; }
  .account-link { padding: 6px 10px; min-height: 40px; font-size: 11px; white-space: nowrap; }
  .topbar-left { gap: 3px; }
  .search-banner { padding: 21px 17px; gap: 17px; }
  .banner-copy h1 { font-size: 24px; max-width: 330px; line-height: 1.45; letter-spacing: -.5px; }
  .banner-copy p { font-size: 12px; }
  .theme-search input { font-size: 16px; padding-left: 8px; }
  .catalog-toolbar { padding: 8px; gap: 8px; margin-top: 12px; }
  .category-tabs { gap: 5px; }
  .category-tab { font-size: 11px; padding-inline: 11px; }
  .filter-toggle { padding-inline: 9px; font-size: 11px; }
  .filter-toggle .tbm-icon { width: 15px; height: 15px; }
  .filter-panel { flex-wrap: wrap; }
  .filter-field { min-width: 100%; }
  .filter-field label { min-width: 30px; }
  .apply-filters { width: 100%; }
  .catalog-context { min-height: 40px; }
  .theme-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-meta { min-height: 46px; padding: 11px 14px; }
  .card-identity { gap: 11px; }
  .card-identity h2 { font-size: 15px; }
  .card-industry { font-size: 12px; }
  .card-price { font-size: 12px; }
  .card-actions { margin-inline: 14px; font-size: 12px; }
  .card-actions a, .card-actions { min-height: 46px; }
  .card-sample-label { font-size: 10px; padding: 4px 7px; }
  .site-footer { padding: 32px 20px 0; font-size: 15px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .footer-heading { margin-bottom: 6px; }
  .footer-menu { gap: 0; }
  .footer-menu a, .friend-links a { display: flex; align-items: center; min-height: 40px; }
  .footer-email { min-height: 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 28px; }
  .footer-meta { flex-direction: column; margin-left: 0; }
  .detail-heading { align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .detail-heading h1 { font-size: 29px; }
  .stage-badge { font-size: 10px; padding: 5px 8px; }
  .content-panel { padding: 23px 20px; }
  .content-panel h1 { font-size: 25px; }
  .detail-purchase { padding: 22px; }
  .detail-main .breadcrumb { margin-top: 8px; }
  .detail-category { font-size: 11px; }
  .related-grid { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 17px; }
  .section-heading a { font-size: 11px; }
  .empty-state { padding: 45px 20px; }
  .empty-state h1, .empty-state h2 { font-size: 21px; }
}
@media (max-width: 350px) { .category-tab { padding-inline: 9px; } .filter-toggle { padding-inline: 7px; } .top-links { gap: 12px; } .topbar { padding-right: 9px; } .banner-copy h1 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .theme-card:hover, .theme-card:hover .card-preview img { transform: none; } }
.account-support { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--blue); font-size: 14px; }
.account-support.nav-unavailable { color: var(--muted); }
.account-support small { margin-left: 6px; font-size: 12px; }
