:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #66736d;
  --line: #dfe6e1;
  --paper: #f5f6f2;
  --surface: #ffffff;
  --coal: #121a1f;
  --coal-2: #1f2b30;
  --brand-red: #df2118;
  --brand-red-dark: #b81712;
  --brand-cream: #fcf4e1;
  --accent: #0f7468;
  --yellow: var(--brand-red);
  --yellow-dark: var(--brand-red-dark);
  --warm: #f4b046;
  --danger: #b84b32;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.compact-site-header { position: static; }
.utility-strip { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 48px; padding: 0 24px; background: #f1f3f0; color: var(--muted); font-size: 12px; }
.shop-nav, .topbar { min-height: 88px; display: flex; align-items: center; gap: 18px; padding: 0 max(28px, calc((100vw - 1180px) / 2)); background: var(--surface); }
.topbar { justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 820; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 74px; height: 86px; flex: 0 0 74px; border-radius: 0; color: transparent; background: url('/static/core/gvm-logo-mark.png?v=20260702-logo-2') center / contain no-repeat; font-size: 0; font-weight: 860; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.catalog-button { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 8px; background: var(--brand-red); color: #fff; font-weight: 780; white-space: nowrap; }
.menu-lines, .search-icon { position: relative; display: inline-block; flex: 0 0 auto; }
.menu-lines { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.nav-search { flex: 1; display: grid; grid-template-columns: 1fr 48px; max-width: 480px; min-width: 260px; }
.nav-search input, .hero-search input, input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 0 14px; font: inherit; }
.nav-search input { border-radius: 8px 0 0 8px; }
.nav-search button { border-radius: 0 8px 8px 0; }
.search-icon { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 7px; border-top: 2px solid currentColor; right: -5px; bottom: -3px; transform: rotate(45deg); }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.topnav a:hover, .text-link:hover { color: var(--accent); }
.shop-shell, .work-shell { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; }
.hero-section { min-height: 430px; display: grid; align-items: center; background-image: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 41%, rgba(255,255,255,.38) 70%, rgba(255,255,255,.06) 100%), url('/static/core/gvm-hero-construction.jpg'); background-size: cover; background-position: center right; border-bottom: 1px solid var(--line); }
.hero-content { padding: 52px 0; }
.eyebrow { margin: 0 0 10px; color: var(--yellow-dark); font-weight: 860; text-transform: uppercase; font-size: 12px; letter-spacing: 0; }
h1, h2 { margin: 0; letter-spacing: 0; }
h1 { max-width: 650px; font-size: 56px; line-height: 1.04; font-weight: 880; }
h2 { font-size: 26px; line-height: 1.15; font-weight: 820; }
.hero-copy { max-width: 520px; margin: 18px 0 22px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.hero-search { display: grid; grid-template-columns: minmax(260px, 460px) auto; gap: 10px; max-width: 660px; margin-bottom: 18px; }
button, .button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brand-red); border-radius: 8px; padding: 0 18px; background: var(--brand-red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.button.secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.hero-actions, .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; color: var(--ink); font-size: 13px; font-weight: 760; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 31, .2); }
.store-layout { padding: 34px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-head.compact { align-items: center; }
.text-link { color: var(--muted); font-size: 14px; font-weight: 740; }
.category-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.category-tile { min-height: 132px; display: grid; align-content: start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.category-tile:hover, .category-tile.active { border-color: rgba(15, 116, 104, .45); box-shadow: 0 12px 28px rgba(18, 26, 31, .08); }
.category-thumb { width: 68px; height: 58px; display: grid; place-items: center; border-radius: 8px; background: var(--brand-cream); color: var(--coal); font-size: 18px; font-weight: 880; }
.category-tile strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 13px; line-height: 1.25; }
.store-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.filter-panel, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.filter-panel { position: sticky; top: 100px; }
.filter-panel h2 { margin-bottom: 14px; font-size: 18px; }
.category-tree { display: grid; gap: 8px; color: var(--muted); }
.category-group { display: grid; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.category-group:last-child { border-bottom: 0; }
.category-all, .category-parent, .category-child { display: block; border-radius: 6px; line-height: 1.25; }
.category-all, .category-parent { padding: 8px 9px; color: var(--ink); font-weight: 760; }
.category-child { padding: 6px 9px 6px 18px; font-size: 14px; }
.category-all.active, .category-parent.active, .category-child.active { background: #e6f4ef; color: var(--accent); }
.catalog-results { min-width: 0; }
.product-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.product-card { min-width: 0; min-height: 408px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.product-card:hover, .product-card:focus-visible { border-color: rgba(15, 116, 104, .45); box-shadow: 0 14px 30px rgba(18, 26, 31, .10); transform: translateY(-1px); outline: 0; }
.product-visual { height: 190px; display: grid; place-items: center; padding: 10px; background: linear-gradient(135deg, var(--brand-cream), #eef2ef); border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 13px; font-weight: 780; line-height: 1.2; }
.product-visual img { width: min(100%, 178px); height: 178px; object-fit: contain; display: block; filter: drop-shadow(0 10px 16px rgba(18, 26, 31, .10)); }
.product-visual span { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card-main { min-width: 0; min-height: 216px; display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.product-card-copy { min-width: 0; display: grid; gap: 5px; }
.product-name { min-height: 80px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow-wrap: anywhere; font-weight: 780; line-height: 1.25; }
.product-meta { overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.muted, .empty-state { color: var(--muted); }
.stock-summary { min-height: 54px; display: grid; align-content: start; gap: 6px; }
.stock-line { min-width: 0; min-height: 22px; display: grid; grid-template-columns: 9px auto max-content; align-items: center; justify-content: start; gap: 7px; color: var(--muted); font-size: 13px; line-height: 1.2; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock-label { min-width: 0; overflow: hidden; color: var(--ink); font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.stock-line strong { font-weight: 840; white-space: nowrap; }
.stock-store { color: #12805c; }
.stock-supplier { color: #d09000; }
.stock-empty { color: #c8372d; }
.detail-stock-summary { min-height: auto; justify-items: start; }
.product-card-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { color: var(--accent); font-size: 20px; font-weight: 860; }
.detail-link { color: var(--coal); font-size: 13px; font-weight: 780; white-space: nowrap; }
.empty-state { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface); }
.product-page { padding: 24px 0 54px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.breadcrumbs span::before { content: "/"; margin-right: 8px; color: #aab4af; }
.product-detail { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 22px; align-items: stretch; margin-bottom: 18px; }
.product-detail-media { min-height: 390px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, var(--brand-cream), #eef2ef); color: var(--muted); text-align: center; font-size: 20px; font-weight: 820; padding: 24px; }
.product-detail-media img { width: 100%; height: 340px; object-fit: contain; display: block; }
.product-detail-main { display: grid; align-content: start; gap: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 26px; }
.product-detail-main h1 { max-width: none; font-size: 42px; line-height: 1.08; }
.category-pill { width: fit-content; padding: 6px 10px; border-radius: 6px; background: #e6f4ef; color: var(--accent); font-size: 13px; font-weight: 780; }
.product-meta-row { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.product-meta-row span { padding-right: 8px; border-right: 1px solid var(--line); }
.product-meta-row span:last-child { border-right: 0; }
.product-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.product-detail-price { color: var(--accent); font-size: 34px; font-weight: 880; }
.detail-stock-list, .supplier-list { display: grid; gap: 8px; }
.detail-stock-line, .supplier-line { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.detail-stock-line:last-child, .supplier-line:last-child { border-bottom: 0; }
.detail-stock-line strong, .supplier-line strong { color: var(--ink); white-space: nowrap; }
.product-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.product-info-panel h2, .product-description h2, .related-products h2 { margin-bottom: 12px; }
.spec-list { display: grid; gap: 10px; margin: 0; }
.spec-list div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 720; }
.product-description { margin-bottom: 22px; }
.product-description p { margin: 0; color: var(--muted); line-height: 1.5; }
.related-products { display: grid; gap: 12px; }
.related-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workbar { background: var(--coal); color: #fff; border-bottom: 0; }
.workbar .brand-mark { width: 70px; height: 78px; flex-basis: 70px; border-radius: 8px; background-color: var(--brand-cream); background-size: 88%; }
.workbar .topnav { color: rgba(255,255,255,.78); }
.work-shell { padding: 28px 0 52px; }
.work-hero, .work-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; padding: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--coal), var(--coal-2)); color: #fff; }
.work-hero h1, .work-header h1 { max-width: 650px; font-size: 38px; line-height: 1.08; }
.work-copy { max-width: 620px; margin: 10px 0 0; color: rgba(255,255,255,.72); line-height: 1.45; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric { min-height: 112px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: grid; align-content: space-between; }
.metric span { font-size: 34px; font-weight: 880; color: var(--coal); }
.metric small { color: var(--muted); font-size: 13px; text-transform: uppercase; }
.ops-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.status-lines { display: grid; gap: 8px; }
.status-lines a { min-height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 8px; background: var(--paper); }
.status-lines strong { color: var(--accent); }
.table-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-section { display: grid; gap: 12px; }
.form-section label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.form-section input, .form-section textarea, .line-row input { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 10px 12px; font: inherit; }
.form-section textarea { resize: vertical; }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.order-form { display: grid; gap: 16px; }
.line-table { display: grid; gap: 8px; }
.line-row { display: grid; grid-template-columns: minmax(240px, 1fr) 110px 120px 44px; gap: 8px; align-items: start; }
.line-head { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.product-cell { position: relative; }
.suggestions { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 4px); display: grid; gap: 4px; max-height: 280px; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 40px rgba(34, 48, 43, .14); }
.suggestions:empty { display: none; }
.suggestions button { display: grid; gap: 4px; min-height: auto; padding: 10px 12px; border: 0; border-radius: 0; background: var(--surface); color: var(--ink); text-align: left; justify-content: stretch; }
.suggestions button:hover { background: var(--paper); }
.suggestions small { color: var(--muted); }
.icon-button { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 8px; background: var(--surface); color: var(--muted); border-color: var(--line); font-size: 22px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; }
.status-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border-radius: 999px; background: var(--paper); color: var(--muted); white-space: nowrap; }
.status-store { background: #e6f4ef; color: #0f6f63; }
.status-supplier { background: #fff0e8; color: #b84b32; }
.status-split { background: #edf0ff; color: #4058a8; }
@media (max-width: 1080px) {
  .category-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-search { max-width: none; }
}
@media (max-width: 860px) {
  .utility-strip { display: none; }
  .shop-nav, .topbar { align-items: stretch; flex-direction: column; padding: 14px 16px; }
  .topnav { margin-left: 0; }
  .nav-search, .hero-search { grid-template-columns: 1fr; min-width: 0; width: 100%; }
  .nav-search input, .nav-search button { border-radius: 8px; }
  .hero-section { min-height: auto; background-image: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.72)), url('/static/core/gvm-hero-construction.jpg'); }
  .hero-content { padding: 34px 0; }
  h1 { font-size: 38px; }
  .store-layout, .ops-layout, .product-detail, .product-info-grid, .form-grid { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .work-hero, .work-header { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-media { min-height: 260px; }
}
@media (max-width: 560px) {
  .shop-shell, .work-shell { width: min(100vw - 20px, 1180px); }
  .category-tiles, .product-list, .metric-grid, .mini-grid { grid-template-columns: 1fr; }
  .catalog-results, .product-list, .product-card { width: calc(100vw - 20px); max-width: calc(100vw - 20px); }
  .section-head, .section-head.compact { align-items: flex-start; flex-direction: column; }
  .product-card-main { width: 100%; max-width: calc(100vw - 20px); }
  .product-name { min-height: 100px; max-width: 300px; -webkit-line-clamp: 5; word-break: break-word; }
  .product-meta, .stock-summary { max-width: calc(100vw - 54px); }
  .hero-content { width: calc(100vw - 20px); max-width: calc(100vw - 20px); overflow: hidden; }
  h1, .work-hero h1, .work-header h1 { max-width: 340px; overflow-wrap: anywhere; font-size: 24px; line-height: 1.12; }
  .hero-copy { width: 100%; max-width: 340px; overflow-wrap: break-word; font-size: 15px; }
  .hero-points { display: grid; gap: 8px; }
  .product-detail-main h1 { font-size: 30px; }
  .product-card-bottom, .detail-stock-line, .supplier-line, .form-actions { align-items: flex-start; flex-direction: column; }
  .line-row { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; }
}
