@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/roboto-v51-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/roboto-v51-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/roboto-v51-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #ed1c24;
  --red-dark: #bd1118;
  --blue: #1167b1;
  --green: #16804b;
  --ink: #242424;
  --muted: #666;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --nav: #ececec;
  --white: #fff;
  --shadow: 0 7px 24px rgba(0, 0, 0, .12);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); font-size: 15.5px; font-weight: 500; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, .button { cursor: pointer; }
img { max-width: 100%; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: #111; color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.commerce-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.header-main { max-width: 1240px; min-height: 109px; margin: auto; padding: 16px 20px 10px; display: grid; grid-template-columns: 215px minmax(380px, 1fr) auto 64px; gap: 24px; align-items: center; }
.brand { display: block; width: 210px; height: 72px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; display: block; }
.header-discovery { min-width: 0; align-self: center; }
.header-search { height: 44px; display: flex; border: 2px solid var(--red); border-radius: 4px; overflow: hidden; background: white; }
.header-search input { flex: 1; min-width: 0; border: 0; padding: 0 15px; outline: 0; font-size: 14px; }
.header-search button { width: 54px; border: 0; background: var(--red); color: white; font-size: 26px; line-height: 1; }
.contact-cluster { display: flex; gap: 18px; white-space: nowrap; }
.contact-cluster span { display: grid; line-height: 1.2; }
.contact-cluster small { color: #777; font-size: 10px; font-weight: 700; }
.contact-cluster a { color: var(--red); font-weight: 800; font-size: 15px; }
.quote-basket { min-height: 62px; display: grid; justify-items: center; align-content: center; color: var(--red); }
.quote-basket > span { font-size: 28px; line-height: 1; }
.quote-basket small { margin-top: 5px; font-size: 10px; font-weight: 700; color: #444; white-space: nowrap; }

.category-strip { max-width: 100%; margin-top: 7px; overflow: hidden; }
.category-strip-inner { max-width: 100%; display: flex; gap: 7px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
.category-strip-inner::-webkit-scrollbar { display: none; }
.category-strip a { flex: 0 0 auto; min-height: 25px; padding: 4px 10px; display: inline-flex; align-items: center; border: 1px solid #d5d5d5; border-radius: 999px; color: #333; background: #fff; font-size: 10px; font-weight: 600; white-space: nowrap; line-height: 1.2; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.category-strip a:hover, .category-strip a:focus-visible { border-color: var(--red); color: var(--red); background: #fff7f7; outline: 0; }

.main-nav { background: var(--nav); border-top: 1px solid #ddd; border-bottom: 1px solid #d1d1d1; }
.nav-inner { max-width: 1240px; min-height: 50px; margin: auto; padding: 0 20px; display: flex; align-items: stretch; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner > a, .mega-menu > summary { display: flex; align-items: center; justify-content: center; padding: 0 12px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.nav-inner > a:hover, .nav-inner > a:focus-visible, .mega-menu > summary:hover { color: var(--red); background: #fff; }
.mega-menu { position: relative; }
.mega-menu > summary { min-height: 50px; background: #dadada; cursor: pointer; list-style: none; }
.mega-menu > summary::-webkit-details-marker { display: none; }
.mega-menu > summary span { margin-right: 7px; font-size: 18px; }
.mega-menu > summary i { margin-left: 7px; font-style: normal; font-size: 11px; }
.mega-panel { position: absolute; z-index: 60; top: 100%; left: 0; width: min(1030px, calc(100vw - 40px)); min-height: 460px; display: grid; grid-template-columns: 30% 30% 40%; background: #fff; box-shadow: 0 16px 35px rgba(0,0,0,.22); border: 1px solid #d6d6d6; }
.mega-panel.mega-empty { min-height: 0; width: 260px; display: block; padding: 18px; }
.mega-roots, .mega-level-two, .mega-level-three { min-width: 0; }
.mega-roots { padding: 9px 0; background: #f5f5f5; border-right: 1px solid #ddd; }
.mega-roots > a { min-height: 30px; padding: 6px 12px; display: grid; grid-template-columns: 1fr 10px; align-items: center; gap: 6px; border-left: 3px solid transparent; font-size: 11px; }
.mega-roots > a strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-roots > a > span { color: #999; font-size: 16px; }
.mega-roots > a:hover, .mega-roots > a:focus-visible, .mega-roots > a.is-active { color: var(--red); background: #fff; border-left-color: var(--red); }
.mega-level-two { position: relative; border-right: 1px solid #e3e3e3; }
.mega-l2-panel, .mega-l3-panel { display: none; }
.mega-l2-panel.is-active, .mega-l3-panel.is-active { display: block; }
.mega-l2-panel header, .mega-l3-panel header { padding: 18px 20px 12px; border-bottom: 1px solid #eee; }
.mega-l2-panel header small, .mega-l3-panel header small { display: block; color: #999; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.mega-l2-panel header strong, .mega-l3-panel header strong { display: block; margin-top: 2px; font-size: 16px; }
.mega-l2-panel > a { min-height: 39px; padding: 8px 16px 8px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f0f0f0; font-size: 12px; }
.mega-l2-panel > a:hover, .mega-l2-panel > a:focus-visible, .mega-l2-panel > a.is-active { color: var(--red); background: #fff8f8; }
.mega-l2-panel > a span { color: #aaa; font-size: 17px; }
.mega-level-three { position: relative; background: #fff; }
.mega-leaf-grid { padding: 13px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 16px; }
.mega-leaf-grid > a { padding: 10px 8px; display: grid; border-bottom: 1px solid #eee; }
.mega-leaf-grid > a span { font-size: 12px; font-weight: 750; }
.mega-leaf-grid > a small { color: #999; font-size: 9px; }
.mega-leaf-grid > a:hover { color: var(--red); }
.mega-panel-note { padding: 21px 20px; }
.mega-panel-note strong { font-size: 13px; }
.mega-panel-note p { margin: 5px 0 12px; color: #777; font-size: 11px; }
.mega-panel-note a { color: var(--red); font-size: 11px; font-weight: 800; }
.mega-catalog-callout { min-height: 458px; padding: 45px 34px; display: grid; align-content: center; justify-items: start; background: linear-gradient(135deg, #3b3b3b, #161616); color: white; }
.mega-catalog-callout span { color: #ff6b70; font-size: 10px; font-weight: 800; }
.mega-catalog-callout strong { margin: 5px 0; max-width: 290px; font-size: 24px; line-height: 1.15; }
.mega-catalog-callout p { color: #ddd; font-size: 12px; }
.catalog-mobile-tree { display: none; }
.store-link { color: var(--blue); margin-left: auto; }
.sale-link { color: var(--red); }

main { min-height: 70vh; }
.visual-hero { width: 100%; height: min(41.15vw, 790px); min-height: 520px; margin: 0; position: relative; overflow: hidden; background: #333; }
.carousel-slides, .carousel-slide { position: absolute; inset: 0; margin: 0; }
.carousel-slide { opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.28) 43%, rgba(0,0,0,.05) 72%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; left: max(42px, calc((100% - 1200px) / 2)); top: 50%; width: min(560px, 48%); transform: translateY(-50%); color: white; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-copy > span { display: block; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.hero-copy h1 { margin: 8px 0 12px; font-size: clamp(35px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.035em; }
.hero-copy p { max-width: 520px; margin: 0 0 24px; font-size: 17px; }
.hero-copy > div { display: flex; align-items: center; gap: 22px; }
.hero-secondary { color: white; border-bottom: 1px solid white; font-size: 12px; font-weight: 800; }
.carousel-control { position: absolute; z-index: 3; top: 50%; width: 38px; height: 54px; transform: translateY(-50%); border: 0; background: rgba(0,0,0,.28); color: white; font-size: 38px; line-height: 1; }
.carousel-control:hover, .carousel-control:focus-visible { background: var(--red); }
.carousel-control.prev { left: 8px; }
.carousel-control.next { right: 8px; }
.carousel-dots { position: absolute; z-index: 3; left: 50%; bottom: 17px; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; }
.carousel-dots button.is-active { background: var(--red); border-color: var(--red); }

.benefit-strip { max-width: 1200px; margin: -1px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; position: relative; z-index: 4; }
.benefit-strip div { padding: 16px 20px; display: grid; border-right: 1px solid var(--line); }
.benefit-strip div:last-child { border: 0; }
.benefit-strip strong { color: var(--red); font-size: 13px; }
.benefit-strip span { color: #777; font-size: 11px; }

.section { max-width: 1200px; margin: auto; padding: 48px 20px; }
.section.soft { max-width: none; padding-left: max(20px, calc((100vw - 1200px) / 2)); padding-right: max(20px, calc((100vw - 1200px) / 2)); background: var(--soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 22px; }
.section-heading h2, .page-hero h1 { margin: 2px 0 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; }
.section-heading > a { color: var(--red); font-size: 12px; font-weight: 800; }
.red-heading { padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.red-heading > div > span { display: block; color: var(--red); font-size: 11px; font-weight: 800; }
.red-heading h2 { font-size: 25px; color: #333; }
.eyebrow, .product-brand { display: inline-block; color: var(--red); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; font-weight: 800; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 39px; border: 0; border-radius: 3px; background: var(--red); color: white; padding: 10px 17px; font-size: 12px; font-weight: 800; }
.button:hover, .button:focus-visible { background: var(--red-dark); }
.button.light { background: white; color: var(--red); }
.button.wide { width: 100%; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.product-card { background: white; border: 1px solid var(--line); position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-badge { position: absolute; z-index: 2; top: 9px; left: 0; padding: 5px 9px; color: white; background: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.product-visual-card { height: 180px; display: grid; position: relative; overflow: hidden; background: #eee; }
.product-fallback { --fallback-accent: #6f7479; align-content: center; justify-items: center; gap: 5px; padding: 22px; text-align: center; color: #30343a; background: linear-gradient(145deg, color-mix(in srgb, var(--fallback-accent) 10%, white), #fff 55%, color-mix(in srgb, var(--fallback-accent) 6%, white)); border-bottom: 1px solid #e3e3e3; }
.product-fallback::before, .product-fallback::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--fallback-accent) 24%, white); transform: rotate(45deg); }
.product-fallback::before { width: 105px; height: 105px; top: -63px; right: -38px; }
.product-fallback::after { width: 78px; height: 78px; bottom: -55px; left: -29px; }
.product-fallback-mark { height: 47px; display: flex; align-items: end; gap: 4px; }
.product-fallback-mark i { width: 17px; display: block; background: color-mix(in srgb, var(--fallback-accent) 82%, white); transform: skewY(-11deg); }
.product-fallback-mark i:nth-child(1) { height: 29px; }.product-fallback-mark i:nth-child(2) { height: 43px; }.product-fallback-mark i:nth-child(3) { height: 35px; }
.product-fallback-code { display: inline-flex; padding: 4px 8px; border-radius: 20px; color: white; background: var(--fallback-accent); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.product-fallback strong { max-width: 210px; font-size: 14px; line-height: 1.3; }
.product-fallback small { color: #717171; font-size: 8px; line-height: 1.3; }
.product-fallback.tone-1 { --fallback-accent: #767676; }.product-fallback.tone-2 { --fallback-accent: #b36b2c; }.product-fallback.tone-3 { --fallback-accent: #167db0; }.product-fallback.tone-4 { --fallback-accent: #27855b; }.product-fallback.tone-5 { --fallback-accent: #94569b; }.product-fallback.tone-6 { --fallback-accent: #d35e27; }.product-fallback.tone-7 { --fallback-accent: #526bb2; }
.product-card > div:last-child { padding: 14px; }
.product-card h3 { min-height: 42px; margin: 5px 0; font-size: 15px; line-height: 1.35; }
.product-card h3 a:hover { color: var(--red); }
.product-card p { min-height: 38px; margin: 5px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.price { display: block; margin: 9px 0; color: var(--red); font-size: 15px; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 7px; font-weight: 700; font-size: 11px; }
.card-actions > a:first-child { color: #666; }
.card-actions .button { min-height: 32px; padding: 7px 9px; }

.flash-sale { max-width: 1200px; margin: 18px auto; padding: 25px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: white; background: linear-gradient(105deg, #cb0c16, #f32931); }
.flash-sale div { display: grid; }
.flash-sale span { font-size: 22px; font-weight: 900; }
.flash-sale strong { font-size: 16px; }
.flash-sale small { color: #ffe3e3; }

.category-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.category-card { min-height: 165px; padding: 13px 8px; display: grid; justify-items: center; align-content: center; text-align: center; border: 1px solid var(--line); background: white; transition: .2s ease; }
.category-card:hover { color: var(--red); border-color: var(--red); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.category-icon { width: 108px; height: 78px; margin-bottom: 9px; display: block; border: 1px solid #e4e4e4; border-radius: 10px; object-fit: cover; background: #f8f8f8; }
.category-card strong { font-size: 12px; line-height: 1.25; }
.category-card small { margin-top: 4px; color: #999; font-size: 9px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-list a { border: 1px solid var(--line); padding: 8px 13px; border-radius: 20px; background: white; font-size: 12px; }
.chip-list a strong, .chip-list a small { display: block; }
.chip-list a small { margin-top: 2px; color: #888; font-size: 9px; }
.chip-list a:hover { border-color: var(--red); color: var(--red); }

.media-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.media-strip figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.media-strip img { width: 100%; height: 180px; object-fit: cover; display: block; }
.media-strip figcaption { min-height: 53px; padding: 10px 12px; color: #555; font-size: 11px; font-weight: 700; }

.quote-banner { max-width: 1160px; margin: 40px auto 60px; padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 30px; color: white; background: #343434; }
.quote-banner span { color: #ff9b9f; font-size: 11px; font-weight: 800; }
.quote-banner h2 { margin: 4px 0; font-size: 28px; }
.quote-banner p { margin: 0; color: #ddd; }

.floating-contact { position: fixed; z-index: 22; right: 12px; top: 46%; display: grid; gap: 5px; }
.floating-contact a { width: 58px; min-height: 55px; padding: 6px 3px; display: grid; place-items: center; color: white; background: var(--red); box-shadow: 0 3px 12px rgba(0,0,0,.2); }
.floating-contact a:nth-child(2) { background: var(--blue); }
.floating-contact a:nth-child(3) { background: #17834e; }
.floating-contact .zalo-link { border-radius: 50%; background: #168de2; }
.floating-contact span { font-size: 19px; line-height: 1; }
.floating-contact small { font-size: 9px; }

.breadcrumb { max-width: 1200px; margin: 22px auto 0; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 8px; color: #777; font-size: 12px; }
.breadcrumb a { color: var(--red); }
.breadcrumb i { font-style: normal; color: #aaa; }
.page-hero { max-width: 1200px; margin: auto; padding: 50px 20px 15px; }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 16px; }
.hero-search { width: min(100%, 760px); min-height: 44px; margin-top: 18px; display: flex; border: 2px solid var(--red); background: white; }
.hero-search input { min-width: 0; flex: 1; padding: 0 15px; border: 0; outline: 0; color: #222; font: inherit; }
.hero-search input:focus { box-shadow: inset 0 0 0 2px rgba(215,25,32,.12); }
.hero-search button { min-width: 112px; padding: 0 18px; border: 0; color: white; background: var(--red); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.hero-search button:hover, .hero-search button:focus-visible { background: #b80f16; }
.product-detail { max-width: 1100px; margin: 50px auto 80px; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.product-visual { min-height: 430px; background: linear-gradient(145deg, #eee, #fafafa); display: grid; place-items: center; }
.product-visual span { font-weight: 900; color: var(--red); letter-spacing: .1em; }
.product-detail-media { overflow: hidden; background: white; border: 1px solid var(--line); }
.product-detail-media img { width: 100%; height: 430px; display: block; object-fit: contain; }
.product-detail h1 { margin: 7px 0 17px; font-size: 39px; line-height: 1.15; }
.lead { color: var(--muted); font-size: 16px; }
.detail-list { margin: 24px 0; border-top: 1px solid var(--line); }
.detail-list p { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; }
.detail-list span { color: var(--muted); }
.product-detail small { display: block; color: var(--muted); margin-top: 10px; }
.quote-reference-note { margin: 0 0 14px; padding: 10px 12px; color: #5f4a19; background: #fff7db; border-left: 3px solid #dfad25; font-size: 12px; line-height: 1.45; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-grid article { border: 1px solid var(--line); padding: 22px; }
.article-grid span { color: var(--muted); font-size: 11px; }
.article-grid h2 { font-size: 19px; line-height: 1.35; }
.article-grid p { color: var(--muted); }
.article-grid article > a { color: var(--red); font-weight: 750; }
.article-detail { max-width: 820px; margin: 50px auto 90px; padding: 0 20px; }
.article-detail h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; }
.article-meta { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.prose { font-size: 17px; line-height: 1.8; }
.prose p { margin: 0 0 20px; }
.article-detail aside { margin-top: 40px; padding: 26px; background: var(--soft); }
.faq-list { max-width: 900px; margin: 20px auto 90px; padding: 0 20px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { cursor: pointer; font-weight: 750; font-size: 17px; }
.faq-list p { color: var(--muted); }

.form-layout { max-width: 1050px; margin: 60px auto 90px; padding: 0 20px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.form-layout h1 { font-size: 42px; line-height: 1.12; }
.form-layout > div > p, .form-layout li { color: var(--muted); }
.quote-form { border: 1px solid var(--line); padding: 27px; box-shadow: var(--shadow); }
.quote-form label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 750; position: relative; }
.quote-form input { width: 100%; border: 1px solid #ccc; border-radius: 3px; padding: 11px 13px; margin-top: 6px; outline: 0; }
.quote-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,.1); }
.product-options { position: absolute; top: 70px; left: 0; right: 0; z-index: 10; background: white; box-shadow: var(--shadow); overflow: hidden; }
.product-option { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 10px 12px; background: white; }
.product-option:hover { background: var(--soft); }
.product-option strong, .product-option span { display: block; }
.product-option span { color: var(--muted); font-size: 11px; }
[data-state="error"] { color: #a32929; }
[data-state="success"] { color: var(--green); font-weight: 750; }
.tracking-card { border: 1px solid var(--line); padding: 13px; margin-top: 11px; }
.tracking-card strong, .tracking-card span { display: block; }
.tracking-card span { color: var(--green); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.empty { grid-column: 1/-1; text-align: center; padding: 45px 20px; border: 1px dashed #bbb; background: white; }
.message { max-width: 700px; min-height: 60vh; margin: auto; padding: 110px 20px; text-align: center; }
.message h1 { font-size: 44px; line-height: 1.1; }
.message p { color: var(--muted); }

.site-footer { background: #282828; color: white; }
.footer-main { padding: 42px max(20px, calc((100vw - 1200px) / 2)); display: grid; grid-template-columns: 1.4fr 1.05fr .9fr 1.35fr; gap: 36px; }
.footer-main section { display: grid; align-content: start; gap: 8px; }
.footer-main section > strong { margin-bottom: 4px; color: #fff; font-size: 14px; }
.footer-main img { width: 165px; height: 63px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-main p, .footer-main small, .footer-main address { margin: 0; color: #bbb; font-size: 12px; font-style: normal; line-height: 1.55; }
.footer-main a { color: #ccc; font-size: 12px; }
.footer-main a:hover, .footer-main a:focus-visible { color: white; text-decoration: underline; }
.storefront-disclosure { padding: 10px 12px; border-left: 3px solid var(--red); background: rgba(255,255,255,.05); }
.footer-legal { padding: 15px max(20px, calc((100vw - 1200px) / 2)); display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #444; background: #202020; }
.footer-legal small { color: #aaa; font-size: 10px; }
.footer-legal a { color: #ddd; font-size: 10px; white-space: nowrap; }

@media (max-width: 1080px) {
  .header-main { grid-template-columns: 185px minmax(320px, 1fr) auto 65px; gap: 14px; }
  .brand { width: 180px; }
  .contact-cluster span:last-child { display: none; }
  .nav-inner > a { padding: 0 7px; font-size: 13px; }
  .category-grid { grid-template-columns: repeat(5, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .header-main { min-height: 84px; grid-template-columns: 170px 1fr 58px; grid-template-areas: "brand contact basket" "discovery discovery discovery"; padding: 9px 14px; }
  .brand { grid-area: brand; width: 165px; height: 62px; }
  .header-discovery { grid-area: discovery; }
  .contact-cluster { grid-area: contact; justify-self: end; }
  .contact-cluster small { display: none; }
  .contact-cluster a { font-size: 12px; }
  .quote-basket { grid-area: basket; }
  .nav-inner { overflow-x: auto; padding: 0; }
  .nav-inner > a { flex: 0 0 auto; }
  .mega-menu { flex: 0 0 auto; }
  .mega-panel { display: none; }
  .catalog-mobile-tree { position: fixed; z-index: 70; top: 157px; left: 10px; right: 10px; max-height: calc(100vh - 170px); padding: 8px; overflow: auto; display: block; border: 1px solid #d4d4d4; background: #fff; box-shadow: 0 16px 35px rgba(0,0,0,.24); }
  .catalog-mobile-tree summary { min-height: 42px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; color: #222; font-size: 12px; font-weight: 750; list-style: none; cursor: pointer; }
  .catalog-mobile-tree summary::after { content: "+"; color: var(--red); font-size: 18px; font-weight: 400; }
  .catalog-mobile-tree details[open] > summary::after { content: "−"; }
  .catalog-mobile-tree summary::-webkit-details-marker { display: none; }
  .catalog-mobile-root { border-left: 3px solid transparent; }
  .catalog-mobile-root[open] { border-left-color: var(--red); background: #fffafa; }
  .catalog-mobile-l2 { margin-left: 12px; background: #fff; }
  .catalog-mobile-l2 summary { min-height: 38px; padding-left: 12px; font-size: 11px; }
  .catalog-mobile-all { min-height: 34px; padding: 8px 14px; display: block; color: var(--red); font-size: 10px; font-weight: 800; }
  .catalog-mobile-l2 > div { padding: 0 10px 8px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .catalog-mobile-l2 > div > a { min-height: 36px; padding: 7px 4px; display: flex; justify-content: space-between; gap: 7px; border-bottom: 1px solid #eee; font-size: 10px; }
  .catalog-mobile-l2 > div small { color: #999; }
  .mega-roots { border-right: 0; border-bottom: 1px solid #ddd; }
  .mega-roots > a { min-height: 38px; }
  .mega-level-two { border-right: 0; border-bottom: 1px solid #ddd; }
  .mega-catalog-callout { min-height: 230px; }
  .visual-hero { min-height: 380px; height: 55vw; }
  .hero-copy { left: 45px; width: 65%; }
  .hero-copy h1 { font-size: 40px; }
  .benefit-strip { grid-template-columns: repeat(2, 1fr); margin: 0 14px; }
  .benefit-strip div:nth-child(2) { border-right: 0; }
  .benefit-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail, .form-layout { grid-template-columns: 1fr; }
  .media-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .header-main { grid-template-columns: 150px 1fr 48px; column-gap: 7px; }
  .brand { width: 148px; height: 57px; }
  .contact-cluster { display: none; }
  .header-main { grid-template-areas: "brand brand basket" "discovery discovery discovery"; }
  .header-search { height: 40px; }
  .header-search button { width: 46px; }
  .quote-basket > span { font-size: 23px; }
  .category-strip-inner { gap: 6px; }
  .category-strip a { padding: 5px 9px; font-size: 9px; }
  .nav-inner { min-height: 39px; }
  .nav-inner > a, .mega-menu > summary { min-height: 39px; padding: 0 9px; }
  .catalog-mobile-tree { top: 151px; left: 6px; right: 6px; max-height: calc(100vh - 160px); }
  .store-link { margin-left: 0; }
  .visual-hero { min-height: 295px; height: 76vw; }
  .visual-hero::after { background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.18)); }
  .hero-copy { left: 34px; width: calc(100% - 68px); }
  .hero-copy > span { font-size: 9px; }
  .hero-copy h1 { font-size: 29px; }
  .hero-copy p { margin-bottom: 15px; font-size: 13px; }
  .hero-copy > div { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-copy .button { min-height: 34px; padding: 8px 12px; font-size: 10px; }
  .hero-secondary { font-size: 10px; }
  .carousel-control { width: 28px; height: 42px; font-size: 27px; }
  .carousel-dots { bottom: 9px; }
  .benefit-strip { margin: 0; }
  .benefit-strip div { padding: 11px; }
  .benefit-strip strong { font-size: 11px; }
  .benefit-strip span { font-size: 9px; }
  .section { padding: 34px 12px; }
  .hero-search { min-height: 42px; }
  .hero-search button { min-width: 92px; padding: 0 12px; }
  .red-heading h2 { font-size: 20px; }
  .product-grid { gap: 8px; }
  .product-visual-card { height: 125px; }
  .product-card > div:last-child { padding: 9px; }
  .product-card h3 { min-height: 48px; font-size: 13px; }
  .product-card p { display: none; }
  .product-brand { font-size: 8px; }
  .price { font-size: 12px; }
  .card-actions > a:first-child { display: none; }
  .card-actions .button { width: 100%; font-size: 9px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-card { min-height: 120px; }
  .flash-sale { margin: 8px 0; padding: 20px 15px; align-items: flex-start; flex-direction: column; }
  .flash-sale span { font-size: 18px; }
  .media-strip { grid-template-columns: 1fr; }
  .media-strip img { height: 190px; }
  .article-grid { grid-template-columns: 1fr; }
  .quote-banner, .section-heading { align-items: flex-start; flex-direction: column; }
  .quote-banner { margin: 20px 12px 40px; padding: 25px 20px; }
  .floating-contact { right: 6px; top: auto; bottom: 7px; grid-template-columns: repeat(3, 1fr); }
  .floating-contact a { width: 49px; min-height: 45px; }
  .floating-contact small { display: none; }
  .product-detail h1, .form-layout h1 { font-size: 33px; }
  .product-visual { min-height: 300px; }
  .product-detail-media img { height: 300px; }
  .quote-form { padding: 19px; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; padding-bottom: 82px; }
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Strict storefront parity overrides: production-like first fold without changing API ownership. */
.header-main { box-sizing: border-box; max-width: 1350px; min-height: 110px; padding: 0 15px; grid-template-columns: 257px minmax(0, 822px) 157px 24px; gap: 20px; }
.brand { width: 247px; height: 98px; }
.header-search { height: 45px; }
.header-search button { width: 70px; }
.contact-cluster { display: grid; align-self: stretch; align-content: center; gap: 4px; }
.contact-cluster > div { display: grid; gap: 4px; }
.contact-cluster span { grid-template-columns: auto 1fr; align-items: baseline; gap: 4px; }
.contact-cluster small { color: #555; font-size: 14px; font-weight: 500; }
.contact-cluster a { font-size: 14px; }
.quote-basket > span { width: 27px; height: 25px; display: grid; place-items: center; border: 2px solid var(--red); border-radius: 3px; font-size: 20px; transform: skew(-5deg); }
.category-strip-inner { gap: 18px; }
.main-nav { background: #c6c7c8; border-color: #aeb1b4; }
.nav-inner { width: min(100% - 32px, 1500px); max-width: none; padding: 0; }
.nav-inner > a, .mega-menu > summary { padding: 0 12px; font-size: clamp(13px, .9vw, 14.5px); font-weight: 750; }
.mega-menu > summary { padding-left: 45px; padding-right: 18px; }
.nav-inner > a:nth-of-type(4) { font-size: clamp(13px, .9vw, 14.5px); }
.store-link { min-height: 30px; margin: auto 0 auto auto; padding: 0 8px !important; border-radius: 4px; color: #fff; background: var(--blue); font-size: 11.8px !important; }
.sale-link { min-height: 32px; margin: auto 0 auto 14px; padding: 0 15px !important; border-radius: 4px; color: #fff; background: var(--red); font-size: 12.8px !important; font-weight: 800; }
.language-switch { display: flex; align-items: center; gap: 6px; margin-left: 14px; padding-left: 0; font-size: 12px; }
.language-switch b:first-child::after { content: ""; display: inline-block; height: 12px; margin-left: 6px; border-right: 1px solid #999; vertical-align: middle; }

@media (min-width: 1021px) {
  .nav-inner > .mega-menu,
  .nav-inner > .nav-layer-menu,
  .nav-inner > a:not(.store-link):not(.sale-link) {
    min-width: 0;
    flex: 1 1 auto;
    border-left: 1px solid rgba(67, 70, 73, .23);
  }
  .nav-inner > .mega-menu > summary,
  .nav-inner > .nav-layer-menu > summary {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    font-size: clamp(13px, .9vw, 14.5px);
    font-weight: 750;
  }
  .nav-inner > a[href="/cong-ty-thiet-ke-kien-truc/"] { flex-grow: 1.55; }
  .nav-inner > .store-link {
    min-height: 36px;
    margin: 7px 7px 7px 12px;
    flex: 0 0 132px;
    border: 1px solid #17427e;
  }
  .nav-inner > .sale-link {
    min-height: 36px;
    margin: 7px;
    flex: 0 0 116px;
    border: 1px solid #cc151e;
  }
  .nav-inner > .language-switch {
    min-width: 54px;
    margin-left: 0;
    padding: 0 8px;
    justify-content: center;
    border-left: 1px solid rgba(67, 70, 73, .23);
    border-right: 1px solid rgba(67, 70, 73, .23);
  }
  .nav-inner > a:not(.store-link):not(.sale-link):hover,
  .nav-inner > a:not(.store-link):not(.sale-link):focus-visible,
  .nav-inner > .mega-menu > summary:hover,
  .nav-inner > .mega-menu[open] > summary,
  .nav-inner > .nav-layer-menu > summary:hover,
  .nav-inner > .nav-layer-menu[open] > summary {
    color: var(--red);
    background: rgba(255,255,255,.5);
    box-shadow: inset 0 -3px var(--red);
  }
}

.visual-hero::after, .hero-copy { display: none; }
.carousel-slide img { object-position: center center; }
.carousel-control { width: 32px; height: 56px; background: rgba(0,0,0,.22); font-size: 34px; }
.carousel-control.prev { left: 16px; }
.carousel-control.next { right: 16px; }
.carousel-dots { bottom: 19px; gap: 7px; }
.carousel-dots button { width: 9px; height: 9px; border-color: rgba(255,255,255,.9); background: rgba(0,0,0,.12); }

.storefront-products { max-width: 1320px; padding: 40px 0 46px; }
.storefront-section-title { display: grid; justify-items: center; margin-bottom: 25px; }
.storefront-section-title h2 { margin: 0; color: var(--red); font-size: 25px; font-weight: 700; line-height: 1.2; }
.storefront-section-title span { width: 54px; height: 2px; margin-top: 10px; background: var(--red); }
.product-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; border: 0; box-shadow: 0 0 0 1px #ececec; }
.product-card:hover { transform: none; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.product-badge { top: 8px; left: 8px; border-radius: 2px; }
.product-state-badge { background: var(--red); }
.product-visual-card { height: 178px; background: #f4f4f4; border-bottom: 1px solid #eee; }
.product-visual-card img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-media-missing { padding: 25px 16px; place-content: center; justify-items: center; gap: 9px; color: #999; text-align: center; background: #f7f7f7; }
.product-media-missing > span { font-size: 33px; line-height: 1; color: #bbb; }
.product-media-missing > strong { max-width: 130px; font-size: 10px; line-height: 1.35; font-weight: 600; }
.product-card-copy { padding: 11px 10px 12px !important; }
.product-brand { min-height: 26px; color: #888; font-size: 8px; line-height: 1.35; letter-spacing: .02em; }
.product-card h3 { min-height: 51px; margin: 4px 0 7px; overflow: hidden; font-size: 13.5px; line-height: 1.35; font-weight: 500; }
.product-card p { display: none; }
.price-row { min-height: 27px; display: flex; align-items: center; }
.price-row { min-height: 38px; display: grid; align-content: end; }
.price-row del { color: #999; font-size: 11px; line-height: 1.25; }
.price { margin: 2px 0 8px; color: var(--red); font-size: 14px; font-weight: 500; }
.product-quote-button { width: 100%; min-height: 31px; padding: 6px 7px; font-size: 9px; }
.product-card-actions { display: grid; gap: 6px; }
.product-commerce-button { border-color: #c9161d; color: #fff; background: #c9161d; }
.product-commerce-button:hover { border-color: #9f1117; color: #fff; background: #9f1117; }
.product-fallback-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; color: #6c1014; font-size: 11px; font-weight: 750; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.detail-actions .product-fallback-link { min-height: 40px; padding: 0 12px; border: 1px solid #d9d9d9; text-decoration: none; }
.product-basket-button {
  min-height: 31px;
  padding: 6px 7px;
  border: 1px solid var(--red);
  color: var(--red);
  background: #fff;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .025em;
  cursor: pointer;
}
.product-basket-button:hover,
.product-basket-button:focus-visible,
.product-basket-button.is-in-quote-basket { color: #fff; background: var(--red); }
.product-card-text-only { min-height: 250px; display: grid; align-content: end; background: linear-gradient(180deg, #fafafa, #fff); }
.product-card-text-only .product-card-copy { padding-top: 42px !important; }
.product-card-text-only h3 { min-height: 0; }
.breadcrumb { max-width: 1250px; margin-top: 18px; padding: 0 15px; }
.page-hero { max-width: 1250px; padding: 30px 15px 24px; }
.page-hero h1 { font-size: clamp(25px, 2.25vw, 32px); }
.page-hero p { margin-bottom: 0; font-size: 15px; }
.section.soft { padding-left: max(15px, calc((100vw - 1250px) / 2)); padding-right: max(15px, calc((100vw - 1250px) / 2)); }
.featured-storefront-products { max-width: none; padding-left: max(20px, calc((100vw - 1320px) / 2)); padding-right: max(20px, calc((100vw - 1320px) / 2)); }

.sale-section { max-width: 1320px; margin: 0 auto 44px; padding: 0 15px 18px; background: #fff4f4; border: 1px solid #f0c9cb; }
.sale-header { min-height: 92px; margin: 0 -15px 18px; padding: 14px 22px; display: flex; align-items: center; gap: 30px; color: white; background: linear-gradient(100deg, #bb0610, #ee1c25 70%, #c50710); }
.sale-header > div:first-child { min-width: 285px; }
.sale-header small { font-size: 9px; letter-spacing: .08em; }
.sale-header h2 { margin: 1px 0 0; font-size: 27px; line-height: 1.1; }
.sale-header > a { margin-left: auto; padding: 9px 13px; border: 1px solid white; font-size: 10px; font-weight: 900; }
.sale-countdown { display: flex; align-items: center; gap: 7px; }
.sale-countdown > span { min-width: 45px; padding: 7px 6px; display: grid; justify-items: center; border-radius: 3px; color: #222; background: white; }
.sale-countdown b { font-size: 19px; line-height: 1; }
.sale-countdown small { margin-top: 3px; color: #777; font-size: 7px; }
.sale-countdown i { font-style: normal; font-size: 20px; }
.sale-disclosure { margin: 15px 2px 0; color: #777; font-size: 10px; }

.floating-contact { right: 22px; top: 37%; gap: 9px; }
.floating-contact a { width: 48px; min-height: 48px; padding: 0; border: 3px solid white; border-radius: 50%; place-items: center; box-shadow: 0 3px 12px rgba(0,0,0,.24); }
.floating-contact .location-link { background: var(--red); }
.floating-contact .messenger-link { background: #1688f5; }
.floating-contact .zalo-link { background: #0879d9; }
.floating-contact span { font-size: 19px; font-weight: 900; }
.floating-contact .zalo-link span { font-size: 10px; }
.floating-chat { position: fixed; z-index: 21; right: 20px; bottom: 17px; width: 268px; min-height: 76px; padding: 13px 56px 12px 70px; display: grid; align-content: center; border-radius: 5px; background: white; box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.floating-chat-brand { position: absolute; left: 10px; top: 50%; width: 50px; height: 34px; transform: translateY(-50%); object-fit: contain; }
.floating-chat div { display: grid; gap: 2px; }
.floating-chat strong { font-size: 12px; }
.floating-chat span { color: #666; font-size: 10px; line-height: 1.35; }
.floating-chat > a { position: absolute; right: 11px; top: 50%; width: 36px; height: 36px; transform: translateY(-50%); display: grid; place-items: center; border-radius: 50%; color: white; background: #1688f5; font-size: 18px; }

@media (max-width: 1380px) {
  .header-main { grid-template-columns: 205px minmax(420px, 1fr) 220px 54px; gap: 15px; }
  .brand { width: 200px; }
  .category-strip-inner { gap: 13px; }
  .category-strip a { font-size: 9px; }
  .nav-inner > a, .mega-menu > summary, .nav-layer-menu > summary { padding: 0 7px; font-size: clamp(13px, 1vw, 14px); }
  .product-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .storefront-products, .sale-section { margin-left: 20px; margin-right: 20px; }
}

@media (max-width: 1100px) {
  .header-main { grid-template-columns: 180px minmax(320px, 1fr) 190px 52px; }
  .brand { width: 175px; }
  .contact-cluster > div { gap: 10px; }
  .contact-cluster a { font-size: 12px; }
  .nav-inner { overflow-x: auto; }
  .nav-inner > a { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .header-main { grid-template-columns: 170px 1fr 58px; grid-template-areas: "brand contact basket" "discovery discovery discovery"; padding: 9px 14px; }
  .contact-cluster { display: block; }
  .contact-cluster > div { display: flex; }
  .category-strip-inner { gap: 7px; padding: 1px 0 3px; scroll-snap-type: x proximity; }
  .category-strip a { padding: 5px 9px; scroll-snap-align: start; border: 1px solid #ddd; border-radius: 999px; background: #f7f7f7; font-size: 9px; line-height: 1; }
  .category-strip a:hover, .category-strip a:focus-visible { background: #fff0f0; }
  .visual-hero { height: 55vw; min-height: 380px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .storefront-products, .sale-section { margin-left: 12px; margin-right: 12px; }
  .sale-header { flex-wrap: wrap; gap: 12px 22px; }
  .sale-header > a { margin-left: 0; }
}

@media (max-width: 520px) {
  .header-main { grid-template-columns: 150px 1fr 48px; grid-template-areas: "brand brand basket" "discovery discovery discovery"; }
  .contact-cluster { display: none; }
  .visual-hero { min-height: 295px; height: 76vw; }
  .storefront-products { padding: 30px 0 34px; }
  .storefront-section-title h2 { font-size: 20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-visual-card { height: 128px; }
  .product-card h3 { min-height: 47px; font-size: 12px; }
  .sale-section { padding-left: 8px; padding-right: 8px; }
  .sale-header { margin-left: -8px; margin-right: -8px; padding: 13px 12px; }
  .sale-header > div:first-child { min-width: 100%; }
  .sale-header h2 { font-size: 21px; }
  .sale-countdown > span { min-width: 39px; }
  .floating-contact { right: 7px; top: auto; bottom: 80px; display: grid; grid-template-columns: 1fr; }
  .floating-contact a { width: 42px; min-height: 42px; }
  .floating-chat { right: 7px; bottom: 8px; width: 214px; min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
}

/* Marketplace architecture alignment: DMSP stays primary; facets remain secondary. */
.facet-directory { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facet-directory > a { min-height: 86px; padding: 17px 18px; display: grid; align-content: center; gap: 6px; border: 1px solid #e5e5e5; border-radius: 3px; background: #fff; }
.facet-directory > a:hover, .facet-directory > a:focus-visible { border-color: var(--red); box-shadow: 0 5px 16px rgba(0,0,0,.08); }
.facet-directory strong { color: #222; font-size: 15px; }
.facet-directory small { color: #777; font-size: 11px; }
.product-facets { margin: 18px 0; padding: 15px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.product-facets > strong { display: block; margin-bottom: 9px; font-size: 12px; text-transform: uppercase; }
.product-facets > div { display: flex; flex-wrap: wrap; gap: 7px; }
.product-facets a { padding: 5px 9px; border-radius: 999px; color: #555; background: #f1f1f1; font-size: 11px; }
.product-facets a:hover, .product-facets a:focus-visible { color: white; background: var(--red); }
.facet-evidence-empty { color: #777; font-size: 12px; }
.detail-actions { display: grid; gap: 9px; }
.detail-shortlist-toggle { margin-top: 9px; padding: 0; border: 0; color: #666; background: transparent; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.detail-shortlist-toggle:hover, .detail-shortlist-toggle:focus-visible, .detail-shortlist-toggle.is-saved { color: var(--red); }
.button.secondary { border: 1px solid #ccc; color: #444; background: white; }
.button.secondary:hover, .button.secondary:focus-visible, .button.secondary.is-saved { border-color: var(--red); color: var(--red); background: #fff5f5; }
.shortlist-card-toggle { position: absolute; z-index: 3; top: 8px; right: 8px; width: 31px; height: 31px; padding: 0; display: grid; place-items: center; border: 1px solid #ddd; border-radius: 50%; color: #777; background: rgba(255,255,255,.94); font-size: 18px; cursor: pointer; }
.shortlist-card-toggle:hover, .shortlist-card-toggle:focus-visible, .shortlist-card-toggle.is-saved { border-color: var(--red); color: var(--red); }
.local-product-memory { display: grid; gap: 38px; }
.local-product-memory > div > h2 { margin: 0 0 16px; color: var(--red); font-size: 22px; }
.product-memory-card .price { display: block; margin-top: 8px; }

/* Incom-combine Phase B: quote-first basket. This is not a commerce cart. */
.quote-basket,
.mirror-quote { position: relative; }
[data-quote-basket-count] {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}
.quote-basket-page { max-width: 1240px; margin: 0 auto; padding: 48px 20px 86px; }
.quote-basket-page > header { max-width: 760px; margin-bottom: 30px; }
.quote-basket-page > header h1 { margin: 8px 0 14px; font-size: clamp(36px, 5vw, 54px); }
.quote-basket-page > header p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.quote-basket-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr); gap: 28px; align-items: start; }
.quote-basket-lines { min-width: 0; border-top: 3px solid var(--red); }
.quote-basket-lines .section-heading { min-height: 63px; margin: 0; padding: 0 15px; border: 1px solid var(--line); border-top: 0; }
.quote-basket-lines [data-quote-basket-results] { border: 1px solid var(--line); border-top: 0; background: #fff; }
.quote-basket-line { padding: 14px; display: grid; grid-template-columns: 112px minmax(0, 1fr) 112px; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.quote-basket-line:last-child { border-bottom: 0; }
.quote-basket-line-media { width: 112px; height: 90px; display: grid; place-items: center; overflow: hidden; color: #777; background: #f5f5f5; font-size: 11px; text-align: center; }
.quote-basket-line-media img { width: 100%; height: 100%; object-fit: contain; }
.quote-basket-line-copy { min-width: 0; display: grid; gap: 5px; }
.quote-basket-line-copy > span { color: #888; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.quote-basket-line-copy > a { color: #222; font-size: 15px; font-weight: 750; line-height: 1.35; }
.quote-basket-line-copy > small { color: #777; line-height: 1.4; }
.quote-basket-line-controls { display: grid; gap: 8px; }
.quote-basket-line-controls label { color: #666; font-size: 10px; font-weight: 700; }
.quote-basket-line-controls input { width: 100%; margin-top: 4px; padding: 8px; border: 1px solid #ccc; }
.quote-basket-remove { padding: 0; border: 0; color: var(--red); background: transparent; font-size: 11px; text-align: left; cursor: pointer; }
.quote-basket-empty { padding: 58px 24px; text-align: center; }
.quote-basket-empty strong { display: block; font-size: 20px; }
.quote-basket-empty p { color: var(--muted); }
.quote-form h2 { margin-top: 0; font-size: 21px; }
.quote-form textarea { width: 100%; margin-top: 6px; padding: 11px 13px; resize: vertical; border: 1px solid #ccc; border-radius: 3px; font: inherit; }
.quote-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,.1); outline: 0; }
.quote-form-disclosure { color: #777; font-size: 10px; line-height: 1.5; }
#quote-basket-result { margin-top: 14px; }
#quote-basket-result a { color: var(--red); text-decoration: underline; }
.is-in-quote-basket { border-color: var(--red) !important; color: var(--red) !important; }
.quote-basket-feedback {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 28px));
  padding: 13px 15px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-left: 4px solid var(--red);
  color: #333;
  background: #fff;
  box-shadow: 0 12px 36px rgb(0 0 0 / 22%);
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.quote-basket-feedback.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.quote-basket-feedback a { flex: 0 0 auto; color: var(--red); font-weight: 800; text-decoration: underline; }
.tracking-page { max-width: 1050px; margin: 56px auto 90px; padding: 0 20px; }
.tracking-page > header { max-width: 720px; margin-bottom: 28px; }
.tracking-page > header h1 { margin: 8px 0 12px; font-size: clamp(34px, 5vw, 48px); }
.tracking-page > header p { color: var(--muted); }
.tracking-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tracking-code-card ol { margin: 12px 0 0; padding-left: 20px; color: #555; font-size: 12px; line-height: 1.7; }
.tracking-next-step { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--red); background: #fff6f6; color: #444; font-size: 13px; line-height: 1.55; }
.tracking-updated-at { display: block; margin-top: 10px; color: #777; font-size: 11px; }
.tracking-code-card .tracking-timeline { margin: 18px 0 0; padding: 0; display: grid; gap: 0; list-style: none; }
.tracking-timeline li { position: relative; min-height: 38px; padding: 0 0 16px 30px; display: grid; align-items: start; color: #999; font-size: 12px; line-height: 1.45; }
.tracking-timeline li::before { content: ""; position: absolute; left: 9px; top: 15px; bottom: -2px; width: 1px; background: #ddd; }
.tracking-timeline li:last-child::before { display: none; }
.tracking-timeline li > span:first-child { position: absolute; left: 3px; top: 2px; width: 14px; height: 14px; border: 2px solid #bbb; border-radius: 999px; background: #fff; }
.tracking-timeline li.is-complete { color: #555; }
.tracking-timeline li.is-complete > span:first-child { border-color: #555; background: #555; }
.tracking-timeline li.is-current { color: #202020; font-weight: 750; }
.tracking-timeline li.is-current > span:first-child { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 4px rgb(237 28 36 / 12%); }

@media (max-width: 820px) {
  .quote-basket-layout,
  .tracking-forms { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .quote-basket-page { padding: 32px 12px 70px; }
  .quote-basket-line { grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
  .quote-basket-line-media { width: 80px; height: 74px; }
  .quote-basket-line-controls { grid-column: 1 / -1; grid-template-columns: 90px 1fr; align-items: end; }
  [data-quote-basket-count] { top: 0; right: -2px; }
  .quote-basket-feedback { right: 14px; bottom: 76px; }
}

@media (max-width: 820px) {
  .facet-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .facet-directory { grid-template-columns: 1fr; }
  .facet-directory > a { min-height: 70px; }
}

/* WordPress visual polish gate: presentation-only archive/detail/layer refinements. */
.catalog-archive-page main,
.search-results-page main,
.facet-archive-page main,
.campaign-page main,
.layer-index-page main,
.product-detail-page main { background: #fff; }

.archive-hero { padding-bottom: 20px; border-bottom: 1px solid #ededed; }
.archive-hero .eyebrow { color: #777; letter-spacing: .08em; }
.archive-section { padding-top: 25px; }
.archive-toolbar {
  min-height: 54px;
  margin: 0 0 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}
.archive-toolbar p { margin: 0; color: #777; font-size: 12px; }
.archive-toolbar p strong { color: #222; font-size: 14px; }
.archive-toolbar form { display: flex; align-items: center; gap: 8px; }
.archive-toolbar label { color: #666; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.archive-toolbar select {
  min-width: 175px;
  height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  color: #333;
  background: #fff;
  font: inherit;
  font-size: 12px;
}
.archive-toolbar button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}
.archive-pagination {
  max-width: 520px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.archive-pagination a {
  min-height: 35px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 2px;
  color: #333;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}
.archive-pagination a:last-child { justify-self: end; }
.archive-pagination a:hover, .archive-pagination a:focus-visible { border-color: var(--red); color: var(--red); }
.archive-pagination strong { color: #555; font-size: 11px; white-space: nowrap; }

.product-detail-page .breadcrumb { margin-bottom: 0; }
.product-detail-page .product-detail {
  max-width: 1250px;
  margin-top: 18px;
  padding: 28px 15px 45px;
  align-items: start;
  border-top: 1px solid #eee;
}
.product-detail-page .product-detail-media {
  padding: 18px;
  border: 1px solid #e6e6e6;
  background: #fff;
}
.product-detail-page .product-detail-media img { height: 500px; }
.product-detail-copy { padding: 6px 0 0 24px; }
.product-detail-page .product-detail h1 { margin-top: 8px; font-size: clamp(28px, 2.4vw, 38px); font-weight: 650; }
.detail-price {
  margin: 18px 0;
  color: var(--red);
  font-size: 25px;
  font-weight: 800;
}
.product-detail-page .detail-list { border-top: 1px solid #eee; }
.product-detail-page .detail-list p { margin: 0; padding: 11px 0; border-bottom: 1px solid #eee; }
.product-detail-page .detail-actions { margin-top: 17px; grid-template-columns: minmax(210px, 1fr) minmax(145px, .55fr); }
.product-detail-page .detail-actions .button { min-height: 42px; }
.related-products { border-top: 1px solid #eee; }

.layer-landing-hero {
  min-height: 180px;
  display: grid;
  align-content: center;
  border-bottom: 1px solid #eee;
  background: linear-gradient(100deg, #fff 0%, #f6f6f6 100%);
}
.layer-directory-section { padding-top: 28px; padding-bottom: 60px; }
.layer-directory-section .facet-directory > a {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border-color: #e4e4e4;
}
.layer-directory-section .facet-directory > a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform .18s ease;
}
.layer-directory-section .facet-directory > a:hover::before,
.layer-directory-section .facet-directory > a:focus-visible::before { transform: scaleY(1); }

.campaign-page .campaign-hero {
  max-width: 1250px;
  margin-top: 18px;
  padding: 30px 34px;
  color: #fff;
  border: 0;
  background: linear-gradient(105deg, #b90009, #ed1c24 68%, #bd0009);
}
.campaign-page .campaign-hero .eyebrow,
.campaign-page .campaign-hero h1,
.campaign-page .campaign-hero p { color: #fff; }
.campaign-page .campaign-hero h1 { font-size: clamp(30px, 3vw, 44px); text-transform: uppercase; }

.mega-panel {
  border-top: 3px solid var(--red);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.mega-roots > a,
.mega-l2-panel > a { min-height: 42px; }
.mega-roots > a strong,
.mega-l2-panel > a strong { font-size: 12px; font-weight: 650; }
.mega-l2-panel header,
.mega-l3-panel header { padding-bottom: 10px; border-bottom: 1px solid #eee; }
.mega-leaf-grid > a { min-height: 50px; padding: 8px 10px; }
.mega-leaf-grid > a span { font-size: 11px; line-height: 1.35; }

.site-footer { border-top: 4px solid var(--red); }
.footer-main { max-width: 1250px; }
.footer-main section > strong { color: #fff; letter-spacing: .02em; }
.footer-main section > a:hover,
.footer-main section > a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .archive-toolbar { align-items: flex-start; flex-direction: column; }
  .archive-toolbar form { width: 100%; }
  .archive-toolbar select { flex: 1; min-width: 0; }
  .product-detail-copy { padding-left: 0; }
  .product-detail-page .product-detail-media img { height: min(72vw, 430px); }
  .product-detail-page .detail-actions { grid-template-columns: 1fr; }
  .campaign-page .campaign-hero { margin-left: 14px; margin-right: 14px; }
}

@media (max-width: 520px) {
  .archive-hero { padding: 22px 12px 17px; }
  .archive-section { padding-top: 16px; }
  .archive-toolbar { margin-bottom: 14px; padding: 9px; }
  .archive-toolbar form { display: grid; grid-template-columns: auto 1fr; }
  .archive-toolbar button { grid-column: 1 / -1; }
  .archive-pagination { margin-top: 24px; gap: 7px; }
  .archive-pagination a { padding: 7px; font-size: 10px; }
  .product-detail-page .product-detail { padding-top: 18px; }
  .product-detail-page .product-detail h1 { font-size: 27px; }
  .detail-price { font-size: 21px; }
  .campaign-page .campaign-hero { margin: 12px; padding: 24px 18px; }
  .layer-landing-hero { min-height: 145px; }
}

/* WordPress top-navigation parity: non-DMSP tabs remain independent layers. */
.nav-layer-menu { position: relative; flex: 0 0 auto; }
.nav-layer-menu > summary {
  min-height: 50px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}
.nav-layer-menu > summary::-webkit-details-marker { display: none; }
.nav-layer-menu > summary i { margin-left: 5px; font-size: 9px; font-style: normal; }
.nav-layer-menu > summary:hover,
.nav-layer-menu > summary:focus-visible,
.nav-layer-menu[open] > summary { color: var(--red); background: rgba(255,255,255,.68); }
.nav-layer-panel {
  position: absolute;
  z-index: 65;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 18px;
  border: 1px solid #d8d8d8;
  border-top: 3px solid var(--red);
  color: #222;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,.2);
}
.nav-layer-view-all {
  margin: -5px 0 13px;
  padding-bottom: 9px;
  display: block;
  border-bottom: 1px solid #ececec;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.nav-layer-panel-groups {
  width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.nav-layer-panel-groups > .nav-layer-view-all { grid-column: 1 / -1; }
.nav-layer-panel-groups section { display: grid; align-content: start; }
.nav-layer-panel-groups section + section { padding-left: 27px; border-left: 1px solid #e5e5e5; }
.nav-layer-panel-groups section > strong {
  margin-bottom: 8px;
  color: #222;
  font-size: 12px;
  text-transform: uppercase;
}
.nav-layer-panel a[data-nav-layer-link] {
  min-height: 34px;
  padding: 7px 5px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #efefef;
  color: #333;
  font-size: 11px;
  font-weight: 550;
}
.nav-layer-panel a[data-nav-layer-link]:hover,
.nav-layer-panel a[data-nav-layer-link]:focus-visible { padding-left: 9px; color: var(--red); background: #fff7f7; }
.nav-layer-panel-brands { left: 50%; width: 790px; transform: translateX(-36%); }
.nav-brand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; }
.nav-layer-panel-projects { width: 470px; }
.nav-project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.nav-layer-panel-content { width: 230px; }
.nav-content-grid { display: grid; }

.nav-directory { max-width: 1250px; margin: 0 auto; }
.nav-space-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nav-space-directory section { padding: 23px; border: 1px solid #e4e4e4; background: #fff; }
.nav-space-directory h2 { margin: 0 0 13px; color: var(--red); font-size: 20px; }
.nav-space-directory section > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.nav-directory a {
  min-height: 72px;
  padding: 14px 16px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid #e8e8e8;
  background: #fff;
}
.nav-directory a:hover, .nav-directory a:focus-visible { border-color: var(--red); box-shadow: 0 5px 16px rgba(0,0,0,.07); }
.nav-directory a strong { color: #222; font-size: 14px; }
.nav-directory a small { color: #777; font-size: 10px; }
.nav-brand-directory { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.nav-project-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.layer-empty-state {
  max-width: 760px;
  min-height: 290px;
  margin: 0 auto;
  padding: 42px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 11px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  text-align: center;
}
.layer-empty-state > span { color: #bbb; font-size: 42px; }
.layer-empty-state h2 { margin: 0; font-size: 22px; }
.layer-empty-state p { max-width: 590px; margin: 0 0 8px; color: #666; line-height: 1.6; }

/* WordPress-style project and architecture content mirrors. These layers never own product taxonomy. */
.project-landing-hero,
.project-topic-hero,
.architecture-directory-hero { padding-bottom: 30px; }
.project-directory-section,
.project-content-section,
.architecture-directory-section { padding-top: 28px; }
.project-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.project-topic-card {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e3e3e3;
  background: linear-gradient(145deg, #fff 0%, #fafafa 100%);
  color: #222;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.project-topic-card:hover,
.project-topic-card:focus-visible {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.project-topic-card > span,
.project-content-card > span,
.architecture-company-card > span {
  color: #8b8b8b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.project-topic-card h2 { margin: 12px 0 8px; font-size: 21px; line-height: 1.25; }
.project-topic-card p { margin: 0 0 22px; color: #707070; font-size: 13px; }
.project-topic-card > strong { margin-top: auto; color: var(--red); font-size: 13px; }
.project-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.project-content-card {
  min-height: 265px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e3e3e3;
  background: #fff;
}
.project-content-card h2 { margin: 12px 0 10px; font-size: 20px; line-height: 1.35; }
.project-content-card h2 a { color: #222; }
.project-content-card h2 a:hover,
.project-content-card h2 a:focus-visible { color: var(--red); }
.project-content-card p {
  margin: 0 0 18px;
  display: -webkit-box;
  overflow: hidden;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.project-content-link {
  margin-top: auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
}
.project-content-empty {
  min-height: 240px;
  padding: 40px;
  display: grid;
  place-content: center;
  border: 1px solid #e3e3e3;
  background: #fafafa;
  text-align: center;
}
.project-content-empty h2 { margin: 0 0 10px; font-size: 22px; }
.project-content-empty p { max-width: 650px; margin: 0; color: #666; line-height: 1.65; }
.project-advice-cta {
  max-width: 1220px;
  margin: 16px auto 52px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 5px solid var(--red);
  background: #252525;
  color: #fff;
}
.project-advice-cta span { color: #ddd; font-size: 12px; text-transform: uppercase; }
.project-advice-cta h2 { margin: 5px 0 0; font-size: clamp(20px, 2vw, 27px); }
.architecture-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.architecture-company-card {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.architecture-company-card h2 { margin: 10px 0 16px; font-size: 16px; line-height: 1.35; }
.architecture-company-card > div:last-child > a { margin-top: auto; color: var(--red); font-size: 12px; font-weight: 750; }
.content-pagination {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.content-pagination a {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #ddd;
  color: #333;
  font-size: 12px;
  font-weight: 700;
}
.content-pagination a[rel="next"] { justify-self: end; }
.content-pagination strong { color: #666; font-size: 12px; }

@media (max-width: 1380px) {
  .nav-layer-menu > summary { padding: 0 9px; font-size: clamp(13px, 1vw, 14px); }
}

@media (max-width: 1100px) {
  .nav-layer-panel-brands { left: 0; width: min(760px, calc(100vw - 30px)); transform: none; }
  .nav-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-layer-menu > summary { min-height: 42px; padding: 0 9px; }
  .nav-layer-panel {
    position: fixed;
    z-index: 75;
    top: 157px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100vh - 170px);
    padding: 13px;
    overflow: auto;
    transform: none;
  }
  .nav-layer-panel-groups { grid-template-columns: 1fr 1fr; }
  .nav-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-project-grid { grid-template-columns: 1fr 1fr; }
  .nav-space-directory { grid-template-columns: 1fr; }
  .nav-brand-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-project-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-topic-grid,
  .architecture-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .nav-layer-panel { top: 151px; left: 6px; right: 6px; max-height: calc(100vh - 160px); }
  .nav-layer-panel-groups { grid-template-columns: 1fr; }
  .nav-layer-panel-groups section + section { margin-top: 15px; padding: 15px 0 0; border-top: 1px solid #e5e5e5; border-left: 0; }
  .nav-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-project-grid { grid-template-columns: 1fr; }
  .nav-space-directory section { padding: 15px; }
  .nav-space-directory section > div,
  .nav-brand-directory,
  .nav-project-directory { grid-template-columns: 1fr; }
  .layer-empty-state { min-height: 240px; padding: 28px 18px; }
  .project-topic-grid,
  .project-content-grid,
  .architecture-directory-grid { grid-template-columns: 1fr; }
  .project-topic-card { min-height: 158px; padding: 19px; }
  .project-content-card { min-height: 235px; padding: 19px; }
  .project-content-empty { min-height: 210px; padding: 28px 18px; }
  .project-advice-cta {
    margin: 12px 15px 34px;
    padding: 24px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .project-advice-cta .button { width: 100%; text-align: center; }
  .content-pagination { grid-template-columns: 1fr 1fr; }
  .content-pagination strong { grid-column: 1 / -1; grid-row: 1; text-align: center; }
}

/* WordPress parity implementation — public content and archive layers */
.news-landing-hero,
.project-landing-hero,
.architecture-directory-hero {
  padding-top: 34px;
  padding-bottom: 31px;
}
.news-archive-section,
.project-directory-section,
.architecture-directory-section {
  padding-top: 30px;
  padding-bottom: 54px;
}
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}
.article-grid article {
  min-height: 248px;
  padding: 25px 24px 22px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid #ececec;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.045);
}
.article-grid article:hover { border-top-color: var(--red); }
.article-grid article > span { color: #888; font-size: 11px; letter-spacing: .04em; }
.article-grid article h2 { margin: 13px 0 10px; font-size: 18px; }
.article-grid article p {
  margin: 0 0 20px;
  display: -webkit-box;
  overflow: hidden;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.article-grid article > a { margin-top: auto; }

.project-topic-strip {
  max-width: 1220px;
  margin: 0 auto 14px;
  padding: 0 15px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.project-topic-strip a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ddd;
  color: #333;
  background: #fff;
  font-size: 12px;
}
.project-topic-strip a:hover,
.project-topic-strip a:focus-visible { border-color: var(--red); color: var(--red); }
.project-topic-strip span {
  min-width: 22px;
  padding: 2px 5px;
  border-radius: 10px;
  color: #777;
  background: #f3f3f3;
  font-size: 10px;
  text-align: center;
}
.project-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.project-content-card {
  min-height: 224px;
  padding: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  border: 1px solid #e5e5e5;
  background: #fff;
}
.project-date {
  padding: 21px 9px 14px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid #e8e8e8;
  color: #777;
  background: #f8f8f8;
}
.project-date strong { color: var(--red); font-size: 25px; line-height: 1; }
.project-date span { margin-top: 4px; font-size: 11px; font-weight: 750; }
.project-date small { margin-top: 2px; font-size: 10px; }
.project-content-copy {
  min-width: 0;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}
.project-content-copy > span {
  color: #999;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.project-content-copy h2 { margin: 11px 0 9px; font-size: 18px; line-height: 1.35; }
.project-content-copy p {
  margin: 0 0 16px;
  display: -webkit-box;
  overflow: hidden;
  color: #707070;
  font-size: 12px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.project-content-copy .project-content-link { margin-top: auto; }

.architecture-alpha-directory { display: grid; gap: 25px; }
.architecture-letter-group {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 17px;
}
.architecture-letter-group > h2 {
  margin: 0;
  color: var(--red);
  font-size: 35px;
  line-height: 1;
}
.architecture-letter-group > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.architecture-company-card {
  min-height: 92px;
  padding: 15px 17px;
}
.architecture-company-card h3 {
  margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.35;
}
.architecture-company-card a { margin-top: auto; }

.about-hero,
.contact-page-hero {
  max-width: 1220px;
  min-height: 470px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  background: #f6f6f6;
}
.about-hero > div,
.contact-page-hero > div {
  padding: clamp(38px, 5vw, 74px);
  display: grid;
  align-content: center;
}
.about-hero h1,
.contact-page-hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.05;
}
.about-hero p,
.contact-page-hero p { color: #555; font-size: 16px; line-height: 1.7; }
.content-brand-panel {
  min-height: 470px;
  padding: clamp(38px, 5vw, 76px);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 15px;
  color: #fff;
  background: linear-gradient(145deg, #292929, #111);
  text-align: center;
}
.content-brand-panel::before {
  content: "";
  width: 48px;
  height: 4px;
  background: var(--red);
}
.content-brand-panel img {
  width: min(340px, 84%);
  height: auto;
  padding: 14px 18px;
  background: #fff;
}
.content-brand-panel strong { margin-top: 7px; font-size: clamp(17px, 2vw, 23px); }
.content-brand-panel span {
  max-width: 360px;
  color: #ccc;
  font-size: 13px;
  line-height: 1.5;
}
.about-trust-strip {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 4px solid var(--red);
  box-shadow: 0 7px 22px rgba(0,0,0,.08);
}
.about-trust-strip div {
  min-height: 116px;
  padding: 24px 28px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-right: 1px solid #e6e6e6;
  background: #fff;
}
.about-trust-strip div:last-child { border-right: 0; }
.about-trust-strip strong { color: var(--red); font-size: 25px; }
.about-trust-strip span { color: #666; font-size: 12px; }
.about-story { padding-top: 58px; }
.about-story > h2 { max-width: 760px; font-size: clamp(28px, 3vw, 39px); line-height: 1.2; }

.contact-public-list {
  margin-top: 27px;
  display: grid;
  gap: 8px;
}
.contact-public-list a {
  padding: 13px 15px;
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--red);
  color: #222;
  background: #fff;
}
.contact-public-list small { color: #777; font-size: 11px; }
.contact-public-list strong { font-size: 16px; }
.contact-location {
  max-width: 1220px;
  margin: 0 auto 54px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #fff;
  background: #242424;
  border-left: 5px solid var(--red);
}
.contact-location h2 { margin: 7px 0; font-size: clamp(20px, 2vw, 28px); }
.contact-location p { margin: 0; color: #ccc; }

@media (max-width: 900px) {
  .article-grid,
  .project-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .architecture-letter-group > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero,
  .contact-page-hero { grid-template-columns: 1fr 1fr; min-height: 390px; }
  .content-brand-panel { min-height: 390px; }
}

@media (max-width: 620px) {
  .news-landing-hero,
  .project-landing-hero,
  .architecture-directory-hero { padding-top: 25px; padding-bottom: 23px; }
  .article-grid,
  .project-content-grid { grid-template-columns: 1fr; }
  .project-content-card { min-height: 208px; }
  .architecture-letter-group { grid-template-columns: 35px minmax(0, 1fr); gap: 10px; }
  .architecture-letter-group > h2 { font-size: 26px; }
  .architecture-letter-group > div { grid-template-columns: 1fr; }
  .about-hero,
  .contact-page-hero { grid-template-columns: 1fr; }
  .content-brand-panel { min-height: 245px; grid-row: 1; }
  .about-hero > div,
  .contact-page-hero > div { padding: 30px 22px; }
  .about-trust-strip { grid-template-columns: 1fr; }
  .about-trust-strip div { min-height: 92px; border-right: 0; border-bottom: 1px solid #e6e6e6; }
  .contact-location {
    margin: 0 15px 38px;
    padding: 25px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-location .button { width: 100%; text-align: center; }
}

/* Phase 2 — WordPress visual/content parity without taxonomy or data-authority changes */
.wp-archive-heading {
  max-width: 1250px;
  margin: 0 auto;
  padding: 24px 15px 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ededed;
}
.wp-archive-heading h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.2;
}
.wp-archive-heading p { margin: 0; color: #555; font-size: 13px; }
.wp-category-archive {
  max-width: 1250px;
  margin: 0 auto;
  padding: 28px 15px 60px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.wp-archive-sidebar {
  position: sticky;
  top: 12px;
  min-width: 0;
}
.wp-archive-sidebar h2 {
  margin: 0 0 13px;
  padding: 0 0 13px;
  border-bottom: 2px solid #e6e6e6;
  font-size: 15px;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.wp-archive-sidebar nav { display: grid; }
.wp-archive-sidebar nav a {
  min-height: 43px;
  padding: 9px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ececec;
  color: #242424;
  font-size: 13px;
}
.wp-archive-sidebar nav a:hover,
.wp-archive-sidebar nav a:focus-visible,
.wp-archive-sidebar nav a.is-active { color: var(--red); }
.wp-archive-sidebar nav small { color: #929292; font-size: 10px; }
.wp-sidebar-quote {
  margin-top: 24px;
  padding: 18px;
  border-left: 3px solid var(--red);
  background: #f7f7f7;
}
.wp-sidebar-quote strong { font-size: 13px; }
.wp-sidebar-quote p { margin: 7px 0 13px; color: #666; font-size: 11px; line-height: 1.5; }
.wp-sidebar-quote a { color: var(--red); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.wp-category-results { min-width: 0; }
.wp-category-results .archive-toolbar { margin-top: -9px; }
.catalog-archive-page .wp-category-results .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}
.catalog-archive-page .wp-category-results .product-card {
  min-height: 466px;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.catalog-archive-page .wp-category-results .product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.11); }
.catalog-archive-page .wp-category-results .product-visual-card { height: 282px; }
.catalog-archive-page .wp-category-results .product-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.catalog-archive-page .wp-category-results .product-brand { min-height: 16px; font-size: 9px; text-transform: uppercase; }
.catalog-archive-page .wp-category-results .product-card h3 {
  min-height: 39px;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 650;
}
.catalog-archive-page .wp-category-results .price-row { margin-top: auto; }
.search-results-page .product-grid,
.facet-archive-page .product-grid,
.campaign-page .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 14px; }
.search-results-page .product-visual-card,
.facet-archive-page .product-visual-card,
.campaign-page .product-visual-card { height: 220px; }

.product-detail-page .product-detail {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 38px;
}
.product-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.product-gallery-thumbs { display: grid; gap: 9px; }
.product-gallery-thumbs button {
  width: 70px;
  height: 70px;
  padding: 4px;
  border: 1px solid #d7d7d7;
  background: #fff;
  cursor: pointer;
}
.product-gallery-thumbs button.is-active { border: 2px solid var(--red); }
.product-gallery-thumbs img { width: 100%; height: 100%; display: block; object-fit: contain; }
.product-detail-page .product-detail-media { padding: 22px; }
.product-detail-page .product-detail-media img { height: 510px; }
.product-gallery-missing { grid-template-columns: 1fr; }
.product-gallery-missing p { margin: 9px 0 0; color: #777; font-size: 11px; text-align: center; }
.product-promo-line {
  margin: 0 0 11px;
  color: #505050;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .035em;
}
.product-detail-page .product-detail h1 {
  color: #b80812;
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.2;
  text-transform: uppercase;
}
.product-detail-page .detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.product-detail-page .detail-price del { color: #999; font-size: 15px; font-weight: 500; }
.product-detail-page .detail-price strong { color: var(--red); font-size: 25px; }
.product-information {
  max-width: 1250px;
  margin: -20px auto 50px;
  padding: 0 15px;
}
.product-information > nav {
  min-height: 48px;
  display: flex;
  gap: 26px;
  align-items: end;
  border-bottom: 1px solid #ddd;
}
.product-information > nav span {
  min-height: 48px;
  padding: 15px 1px 12px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.product-information > nav span.is-active { border-bottom: 3px solid var(--red); color: var(--red); }
.product-information-grid {
  padding: 25px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 42px;
}
.product-information-grid article h2 { margin: 0 0 12px; font-size: 21px; }
.product-information-grid article p { color: #555; font-size: 13px; line-height: 1.65; }
.product-information-grid dl { margin: 0; border-top: 1px solid #e5e5e5; }
.product-information-grid dl > div {
  min-height: 43px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 12px;
}
.product-information-grid dt { color: #777; }
.product-information-grid dd { margin: 0; font-weight: 700; }

.project-content-grid { gap: 24px 18px; }
.project-content-card {
  min-height: 390px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: 225px minmax(0, 1fr);
  overflow: hidden;
  border: 0;
  box-shadow: 0 0 0 1px #e9e9e9;
}
.project-card-media {
  grid-column: 1 / -1;
  grid-row: 1;
  display: block;
  overflow: hidden;
  background: #efefef;
}
.project-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.project-content-card:hover .project-card-media img { transform: scale(1.025); }
.project-media-unavailable {
  display: grid;
  place-items: center;
  padding: 20px;
  color: #888;
  background: linear-gradient(135deg, #ededed, #fafafa);
  font-size: 11px;
  text-align: center;
}
.project-date { grid-column: 1; grid-row: 2; }
.project-content-copy { grid-column: 2; grid-row: 2; padding: 17px 18px 16px; }
.project-content-copy h2 { margin-top: 7px; color: #c20e17; font-size: 15px; text-transform: uppercase; }
.project-content-copy p { -webkit-line-clamp: 2; }
.project-landing-hero,
.project-topic-hero { text-align: center; }
.project-landing-hero .eyebrow,
.project-topic-hero .eyebrow { display: none; }

.architecture-directory-hero {
  text-align: left;
  border-bottom: 1px solid #ededed;
}
.architecture-directory-toolbar {
  min-height: 52px;
  margin-bottom: 22px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #e5e5e5;
  color: #666;
  font-size: 12px;
}
.architecture-directory-toolbar strong { color: #333; }
.architecture-company-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 23px 14px;
}
.architecture-company-card {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  box-shadow: 0 0 0 1px #e9e9e9;
  background: #fff;
}
.architecture-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f1f1;
}
.architecture-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.architecture-company-card:hover .architecture-card-media img { transform: scale(1.025); }
.architecture-media-unavailable {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #aaa;
  background: linear-gradient(145deg, #f4f4f4, #fff);
  text-align: center;
}
.architecture-media-unavailable > span { color: #c9c9c9; font-size: 38px; font-weight: 800; }
.architecture-media-unavailable > small { max-width: 130px; font-size: 9px; }
.architecture-company-card > div:last-child {
  flex: 1;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
}
.architecture-company-card > div:last-child > span { color: #999; font-size: 8px; text-transform: uppercase; }
.architecture-company-card h2 {
  min-height: 38px;
  margin: 6px 0 11px;
  font-size: 13px;
  line-height: 1.4;
}
.architecture-company-card > div:last-child > a {
  width: max-content;
  min-width: 76px;
  margin-top: auto;
  padding: 8px 12px;
  color: #fff;
  background: var(--red);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .wp-category-archive { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .catalog-archive-page .wp-category-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-results-page .product-grid,
  .facet-archive-page .product-grid,
  .campaign-page .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .architecture-company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wp-archive-heading { padding-top: 19px; align-items: start; flex-direction: column; gap: 7px; }
  .wp-category-archive { padding-top: 16px; grid-template-columns: 1fr; }
  .wp-archive-sidebar { position: static; }
  .wp-archive-sidebar nav {
    grid-auto-flow: column;
    grid-auto-columns: minmax(145px, 52vw);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .wp-archive-sidebar nav a { padding: 9px 10px; border: 1px solid #e3e3e3; }
  .wp-sidebar-quote { display: none; }
  .catalog-archive-page .wp-category-results .product-grid,
  .search-results-page .product-grid,
  .facet-archive-page .product-grid,
  .campaign-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog-archive-page .wp-category-results .product-card { min-height: 385px; }
  .catalog-archive-page .wp-category-results .product-visual-card,
  .search-results-page .product-visual-card,
  .facet-archive-page .product-visual-card,
  .campaign-page .product-visual-card { height: 190px; }
  .product-detail-page .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery { grid-template-columns: 52px minmax(0, 1fr); gap: 9px; }
  .product-gallery-thumbs button { width: 52px; height: 52px; }
  .product-detail-page .product-detail-media { padding: 12px; }
  .product-detail-page .product-detail-media img { height: 350px; }
  .product-detail-copy { padding-left: 0; }
  .product-detail-page .detail-actions { grid-template-columns: 1fr; }
  .product-information { margin-top: -10px; }
  .product-information-grid { grid-template-columns: 1fr; gap: 22px; }
  .product-information > nav { gap: 14px; overflow-x: auto; }
  .product-information > nav span { flex: 0 0 auto; font-size: 10px; }
  .project-content-card {
    min-height: 350px;
    grid-template-rows: 200px minmax(0, 1fr);
  }
  .architecture-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .architecture-directory-toolbar { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* Phase 3 — local-only WordPress parity hardening. Taxonomy/data authority is unchanged. */
html { overflow-x: clip; }
.commerce-header { position: sticky; top: 0; }
.mega-panel {
  min-height: min(460px, calc(100vh - 170px));
  max-height: calc(100vh - 170px);
  overflow: hidden;
}
.mega-roots,
.mega-level-two,
.mega-level-three {
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.mega-roots { scrollbar-color: #b9b9b9 #f5f5f5; }
.mega-level-two,
.mega-level-three { scrollbar-color: #c9c9c9 #fff; }

.catalog-archive-page .breadcrumb {
  margin-top: 11px;
  margin-bottom: 0;
}
.wp-archive-heading { padding-top: 28px; padding-bottom: 12px; }
.wp-archive-heading h1 { font-size: clamp(25px, 2.1vw, 32px); }
.wp-category-archive { padding-top: 20px; }
.wp-archive-sidebar > section { min-width: 0; }
.wp-price-filter {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 2px solid #e6e6e6;
}
.wp-price-filter fieldset { margin: 0; padding: 0; border: 0; }
.wp-price-filter legend {
  width: 100%;
  margin-bottom: 11px;
  color: #222;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.wp-price-filter label {
  min-height: 34px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: #4d4d4d;
  font-size: 12px;
  cursor: pointer;
}
.wp-price-filter input { accent-color: var(--red); }
.wp-price-filter small { color: #929292; font-size: 10px; }
.wp-price-filter button {
  width: 100%;
  min-height: 34px;
  margin-top: 9px;
  border: 1px solid var(--red);
  color: var(--red);
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}
.wp-price-filter button:hover,
.wp-price-filter button:focus-visible { color: #fff; background: var(--red); }
.catalog-archive-page .wp-category-results .product-card { min-height: 442px; }
.catalog-archive-page .wp-category-results .product-visual-card { height: 260px; }
.catalog-archive-page .wp-category-results .product-card h3 {
  min-height: 41px;
  line-height: 1.45;
}
.catalog-archive-page .wp-category-results .product-quote-button {
  min-height: 34px;
  letter-spacing: .025em;
}

.product-gallery { position: relative; }
.product-detail-sale-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 84px;
  padding: 7px 9px;
  border-radius: 2px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
}
.product-detail-page .product-detail {
  grid-template-columns: minmax(0, .98fr) minmax(400px, 1.02fr);
  gap: 34px;
}
.product-detail-page .product-detail-media img { height: 470px; }
.product-detail-copy { padding-left: 8px; }
.product-detail-page .product-detail h1 { font-size: clamp(26px, 2.25vw, 35px); }
.product-detail-page .detail-price { margin: 15px 0; }
.product-detail-page .detail-list p { padding: 9px 0; }
.product-detail-page .product-facets { margin: 14px 0; padding: 12px 0; }
.product-detail-page .detail-actions { margin-top: 14px; }

@media (max-width: 1380px) and (min-width: 1021px) {
  .header-main {
    grid-template-columns: 220px minmax(390px, 1fr) 180px 50px;
    gap: 15px;
  }
  .brand { width: 215px; height: 84px; }
  .contact-cluster > div { gap: 5px; }
}

@media (max-width: 820px) {
  .commerce-header { position: relative; }
  .mega-panel { display: none; }
}

@media (max-width: 720px) {
  .wp-price-filter {
    margin-top: 14px;
    padding: 13px 12px;
    border: 1px solid #e4e4e4;
    background: #fafafa;
  }
  .wp-price-filter fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
  }
  .wp-price-filter legend { grid-column: 1 / -1; }
  .wp-price-filter label:first-of-type { grid-column: 1 / -1; }
  .wp-price-filter button { grid-column: 1 / -1; }
  .catalog-archive-page .wp-category-results .product-card { min-height: 366px; }
  .catalog-archive-page .wp-category-results .product-visual-card { height: 175px; }
  .product-detail-page .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .product-detail-page .product-detail-media img { height: min(330px, 79vw); }
  .product-detail-sale-badge { left: 64px; }
  .product-detail-copy { padding-left: 0; }
}

/* DMSP display-authority + WordPress content-directory parity, local only. */
.wp-directory-title {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 8px;
  padding: 0 0 10px;
  border-bottom: 1px solid #ececec;
}
.wp-directory-title h1 {
  margin: 0;
  color: var(--red);
  font-size: 22px;
  line-height: 1.25;
}
.project-directory-title { text-align: center; }
.project-directory-section,
.architecture-directory-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 40px;
}
.wp-directory-heading {
  min-height: 28px;
  justify-content: flex-end;
  margin: 0 0 10px;
  border: 0;
}
.wp-directory-heading span { color: #777; font-size: 11px; }
.project-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}
.project-content-card {
  position: relative;
  min-height: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}
.project-card-media {
  width: 100%;
  height: 210px;
  display: block;
  border: 0;
  background: #f1f1f1;
  overflow: hidden;
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-date {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  width: 38px;
  min-height: 43px;
  padding: 5px 3px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  text-align: center;
}
.project-date strong { font-size: 13px; line-height: 1; }
.project-date span { font-size: 8px; line-height: 1; }
.project-date small { display: none; }
.project-content-copy {
  padding: 10px 0 0;
  display: block;
}
.project-content-copy > span,
.project-content-copy p,
.project-content-copy .project-content-link { display: none; }
.project-content-copy h2 {
  margin: 0;
  min-height: 35px;
  color: var(--red);
  font-size: 13px;
  line-height: 1.35;
  text-transform: uppercase;
}
.project-content-copy h2 a { color: inherit; }
.architecture-directory-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.architecture-reference-filters {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 12px;
}
.architecture-reference-filters form,
.architecture-reference-filters p {
  margin: 0;
  padding: 0;
}
.architecture-reference-filters label,
.architecture-reference-filters p > span {
  margin-bottom: 5px;
  display: block;
  color: #777;
  font-size: 10px;
  font-weight: 700;
}
.architecture-reference-filters form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.architecture-reference-filters input {
  min-width: 0;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #d8d8d8;
  font: inherit;
  font-size: 11px;
}
.architecture-reference-filters button {
  width: 45px;
  border: 0;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.architecture-reference-filters p {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #dedede;
  color: #777;
  background: #fafafa;
}
.architecture-reference-filters p > span { margin: 0; }
.architecture-reference-filters p strong { display: block; font-size: 9px; font-weight: 500; }
.architecture-directory-toolbar {
  min-height: 34px;
  margin-bottom: 12px;
  padding: 0 10px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}
.architecture-company-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}
.architecture-company-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.architecture-card-media { height: 210px; background: #f2f2f2; }
.architecture-company-card > div:last-child { padding: 9px 0 0; }
.architecture-company-card h2 {
  min-height: 34px;
  margin: 5px 0 9px;
  font-size: 12px;
}
.architecture-company-card > div:last-child > a {
  min-width: 62px;
  padding: 7px 10px;
  font-size: 8px;
}

.architecture-company-detail {
  width: min(100% - 32px, 1180px);
  margin: 34px auto 88px;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.architecture-detail-media {
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f3f3f3;
}
.architecture-detail-media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.architecture-detail-media > span { color: #c7c7c7; font-size: 76px; font-weight: 800; }
.architecture-detail-media > small { max-width: 250px; color: #777; text-align: center; }
.architecture-detail-copy h1 { margin: 10px 0 18px; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; }
.architecture-detail-copy > p { color: #666; line-height: 1.7; }
.architecture-detail-copy dl { margin: 28px 0; border-top: 1px solid #e7e7e7; }
.architecture-detail-copy dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid #e7e7e7; }
.architecture-detail-copy dt { color: #777; font-size: 12px; }
.architecture-detail-copy dd { margin: 0; font-size: 13px; font-weight: 650; }

@media (max-width: 1000px) {
  .architecture-directory-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .architecture-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wp-directory-title,
  .project-directory-section,
  .architecture-directory-section { width: min(100% - 24px, 1180px); }
  .wp-directory-title { margin-top: 16px; }
  .project-content-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-card-media { height: 220px; }
  .architecture-directory-layout { grid-template-columns: 1fr; }
  .architecture-reference-filters {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .architecture-reference-filters form { grid-column: 1 / -1; }
  .architecture-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .architecture-card-media { height: 155px; }
  .architecture-company-detail { grid-template-columns: 1fr; margin-top: 20px; gap: 22px; }
  .architecture-detail-media,
  .architecture-detail-media img { min-height: 280px; }
  .architecture-detail-copy dl > div { grid-template-columns: 105px 1fr; gap: 12px; }
}

/* 2026-08-01 review-root evidence gate: tighten WordPress rhythm only. */
@media (min-width: 1381px) {
  .header-main {
    max-width: 1260px;
    min-height: 102px;
    grid-template-columns: 232px minmax(0, 1fr) 162px 32px;
    gap: 17px;
  }
  .brand { width: 224px; height: 90px; }
  .header-search { height: 42px; }
  .header-search button { width: 60px; }
  .contact-cluster small,
  .contact-cluster a { font-size: 12px; }
  .category-strip-inner { gap: 16px; }
  .category-strip a { font-size: 10px; }
  .nav-inner { max-width: 1240px; min-height: 43px; }
  .nav-inner > a,
  .mega-menu > summary { padding: 0 9px; font-size: 10.5px; }
  .mega-menu > summary { padding-left: 17px; padding-right: 15px; }
  .mega-panel {
    width: min(960px, calc(100vw - 40px));
    min-height: min(430px, calc(100vh - 162px));
    max-height: calc(100vh - 162px);
    grid-template-columns: 28% 31% 41%;
  }
  .mega-roots a,
  .mega-level-two button,
  .mega-level-three a { font-size: 10.5px; }
  .mega-roots a { min-height: 35px; }
  .floating-contact { right: 18px; }
  .floating-chat { right: 18px; width: 232px; }
}

@media (min-width: 1021px) {
  .wp-category-archive { grid-template-columns: 228px minmax(0, 1fr); gap: 25px; }
  .catalog-archive-page .wp-category-results .product-grid { gap: 22px 17px; }
  .catalog-archive-page .wp-category-results .product-card { min-height: 426px; }
  .catalog-archive-page .wp-category-results .product-visual-card { height: 246px; }
  .product-detail-page .product-detail {
    grid-template-columns: minmax(0, 1.03fr) minmax(410px, .97fr);
    gap: 32px;
  }
  .product-detail-page .product-detail-media img { height: 450px; }
  .product-detail-page .product-detail h1 { font-size: clamp(25px, 2vw, 32px); }
  .project-content-grid { gap: 26px 20px; }
  .project-card-media { height: 196px; }
  .architecture-card-media { height: 190px; }
}
.quote-basket-mode-dialog { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .52); }
.quote-basket-mode-dialog > div { width: min(540px, 100%); padding: 26px; background: #fff; box-shadow: 0 18px 55px rgba(0, 0, 0, .24); }
.quote-basket-mode-dialog h2 { margin: 0 0 10px; }
.quote-basket-mode-dialog p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.quote-basket-mode-dialog > div > div { display: flex; flex-wrap: wrap; gap: 10px; }

/* Smart discovery search: presentation only; authority stays in API Core. */
.discovery-search-form, .mirror-search { position: relative; }
.discovery-suggestions { position: absolute; z-index: 80; top: calc(100% + 2px); left: 0; right: 0; max-height: 360px; overflow-y: auto; background: #fff; border: 1px solid #ddd; box-shadow: 0 14px 32px #0002; }
.discovery-suggestions:empty, .discovery-suggestions[hidden] { display: none; }
.discovery-suggestions a { display: grid; gap: 2px; padding: 10px 14px; border-bottom: 1px solid #eee; color: #222; text-decoration: none; }
.discovery-suggestions a:hover, .discovery-suggestions a.is-active { background: #fff1f1; color: var(--red); }
.discovery-suggestions small { color: #777; font-size: 11px; }
.discovery-intent { margin: 12px 0 0; color: #555; }
.discovery-active-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.discovery-active-chips a { padding: 7px 10px; border: 1px solid #d8d8d8; border-radius: 999px; background: #fff; color: #333; font-size: 12px; font-weight: 700; }
.discovery-active-chips a:hover { border-color: var(--red); color: var(--red); }
.discovery-active-chips .clear-all { border-color: #efb6b9; color: var(--red); }
.discovery-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
.discovery-filters { position: sticky; top: 136px; display: grid; gap: 15px; padding: 17px; border: 1px solid #ddd; background: #fff; }
.discovery-filters > label, .discovery-price-fields label { display: grid; gap: 6px; color: #555; font-size: 12px; font-weight: 800; }
.discovery-filters select, .discovery-filters input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #d2d2d2; background: #fff; color: #222; }
.discovery-filters fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.discovery-filters legend { margin-bottom: 8px; color: #555; font-size: 12px; font-weight: 800; }
.discovery-filters fieldset label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.discovery-filters fieldset input { width: auto; min-height: auto; }
.discovery-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.discovery-filter-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.discovery-filter-actions button, .discovery-filter-actions a { min-height: 40px; display: grid; place-items: center; border: 1px solid var(--red); background: var(--red); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.discovery-filter-actions a { background: #fff; color: var(--red); }
.discovery-filter-toggle { display: none; }
.discovery-results .archive-toolbar small { color: #777; }

@media (max-width: 820px) {
  .discovery-layout { grid-template-columns: 1fr; gap: 12px; }
  .discovery-filter-toggle { width: 100%; min-height: 42px; display: block; border: 1px solid var(--red); background: #fff; color: var(--red); font-weight: 800; }
  .discovery-filters { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 76px; top: auto; max-height: calc(100vh - 110px); overflow-y: auto; display: none; box-shadow: 0 18px 50px #0004; }
  .discovery-filters.is-open { display: grid; }
  .discovery-filter-actions { position: sticky; bottom: -17px; padding: 10px 0 17px; background: #fff; }
  .discovery-search-hero .hero-search { width: 100%; }
  .discovery-suggestions { max-height: 280px; }
}

/* Final combine REV02: one governed 14-DMSP strip and one shared navigation shell. */
.dmsp-authority-strip {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 7px 10px;
  border-top: 1px solid #e2e2e2;
  background: #fafafa;
  scrollbar-width: thin;
  scrollbar-color: #bbb transparent;
}
.dmsp-authority-strip-inner {
  width: min(100%, 1460px);
  min-width: 1260px;
  min-height: 62px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 5px;
}
.dmsp-authority-strip a {
  min-width: 0;
  min-height: 62px;
  padding: 5px 5px 6px;
  display: grid;
  align-content: start;
  justify-items: center;
  border: 1px solid #d7d7d7;
  border-bottom: 2px solid #c8c8c8;
  border-radius: 5px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}
.dmsp-authority-icon { width: 42px; height: 30px; display: block; border: 1px solid #e2e2e2; border-radius: 5px; object-fit: cover; background: #f4f4f4; }
.dmsp-authority-strip a:hover,
.dmsp-authority-strip a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
  background: #fff7f7;
  transform: translateY(-1px);
  outline: 0;
}
.dmsp-authority-strip strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.22;
}
.nav-inner > .region-link { margin-left: auto; color: var(--blue); }
.nav-inner > .sale-link { color: #fff !important; background: #d71920; }

@media (max-width: 820px) {
  .dmsp-authority-strip-inner {
    width: max-content;
    min-width: 0;
    min-height: 58px;
    display: flex;
  }
  .dmsp-authority-strip a { width: 118px; min-height: 58px; flex: 0 0 118px; padding: 5px 7px; }
  .dmsp-authority-icon { width: 40px; height: 28px; }
  .dmsp-authority-strip strong { -webkit-line-clamp: 2; font-size: 10px; }
  .nav-inner > .region-link { margin-left: 0; }
}
/* Loopback-only visual harness for the L3-ready contract. */
.qa-l3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 24px; }
.qa-l3-column, .qa-l3-products, .qa-l3-drawer { display: grid; gap: 9px; padding: 18px; border: 1px solid #ded8d2; background: #fff; }
.qa-l3-column a, .qa-l3-products a { padding: 11px; border: 1px solid #d7d0c8; border-radius: 8px; color: #222; }
.qa-l3-column a.is-active { border-color: #dc252a; background: #fff1f1; }
.qa-l3-products { margin: 0 24px 24px; }
.qa-l3-drawer { position: fixed; right: 0; top: 0; bottom: 0; z-index: 200; width: min(480px, 92vw); box-shadow: -20px 0 50px #0003; }
@media (max-width: 700px) { .qa-l3-grid { grid-template-columns: 1fr; } }
