:root {
  --ink: #102238;
  --ink-soft: #52657a;
  --paper: #f6f9fc;
  --surface: #ffffff;
  --line: #d8e3ef;
  --ocean: #1261d6;
  --ocean-deep: #0b1f3a;
  --signal: #00a8c9;
  --sand: #eaf4ff;
  --display: 'Segoe UI', 'Microsoft YaHei UI', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Segoe UI', 'Microsoft YaHei UI', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.catalog-body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.catalog-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

/* Product pages use the same fixed site navigation as the rest of the site. */
.catalog-body .catalog-hero, .catalog-body .detail-hero { margin-top: 76px; }

.catalog-header { position: sticky; top: 0; z-index: 20; background: rgba(243, 241, 235, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16, 32, 42, .12); }
.catalog-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.catalog-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--ocean); clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%); font-family: var(--display); }
.catalog-brand small { display: block; color: var(--ink-soft); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.catalog-links { display: flex; gap: 24px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.catalog-links a:hover, .catalog-links a[aria-current='page'] { color: var(--ocean); }
.catalog-cta { border: 0; border-radius: 99px; padding: 11px 17px; color: #fff; background: var(--ocean); font-size: 13px; font-weight: 700; }

.catalog-hero { position: relative; overflow: hidden; min-height: 0; padding: 22px 0 23px; background: #0b1f3a; color: #fff; }
.catalog-hero::before, .catalog-hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(1px); }
.catalog-hero::before { inset: 0; z-index: 1; width: auto; height: auto; right: auto; top: auto; border-radius: 0; background: linear-gradient(90deg, rgba(11,31,58,.78) 0%, rgba(11,31,58,.70) 42%, rgba(11,31,58,.57) 66%, rgba(11,31,58,.46) 100%); opacity: 1; }
.catalog-hero::after { display: block; z-index: 0; inset: 0; width: auto; height: auto; right: 0; bottom: 0; border-radius: 0; background: url('../assets/images/banners/factory-applications.jpg') center / cover no-repeat; filter: brightness(.52) saturate(.68); opacity: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr); gap: 34px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: #6de8f5; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.catalog-hero h1, .detail-title { max-width: 780px; margin: 0; color: #fff; font-family: var(--display); font-size: clamp(31px, 3.7vw, 49px); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.hero-copy { display: none; }
.hero-stat { border-left: 1px solid rgba(255,255,255,.45); padding: 10px 0 10px 18px; background: rgba(8, 36, 68, .54); }
.hero-stat strong { display: block; font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 700; }
.hero-stat span { display: block; max-width: 260px; margin-top: 5px; color: #cfe0e2; font-size: 12px; line-height: 1.42; }

.catalog-main { padding: 28px 0 86px; }
@media (min-width: 681px) { .catalog-main .catalog-shell { width: min(1400px, calc(100% - 28px)); } }
.catalog-layout { display: grid; min-width: 0; grid-template-columns: 244px minmax(0, 1fr); gap: 34px; align-items: start; }
.catalog-sidebar { position: sticky; min-width: 0; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; border: 1px solid var(--line); background: rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(5,31,39,.06); }
.catalog-sidebar > .eyebrow { margin: 0; padding: 20px 20px 0; }
.catalog-sidebar h2 { margin: 0; padding: 7px 20px 18px; font-family: var(--display); font-size: 23px; line-height: 1.1; letter-spacing: -.035em; }
.family-strip { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 0; border-top: 1px solid var(--line); }
.family-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; color: var(--ink); border-bottom: 1px solid var(--line); background: #edf5ff; transition: color .2s ease, background .2s ease; }
.family-all:hover, .family-all.active { color: #fff; background: var(--ocean); }
.family-all strong { display: block; font-family: var(--display); font-size: 16px; font-weight: 700; line-height: 1.1; }
.family-all b, .family-tile .tile-count { display: inline-flex; min-width: 28px; align-items: center; justify-content: center; padding: 3px 7px; color: var(--signal); background: #dff4ff; border-radius: 999px; font-size: 10px; font-weight: 850; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.family-all.active b, .family-all:hover b, .family-tile.active .tile-count { color: #fff; background: rgba(255,255,255,.2); }
.family-tile { min-height: 0; border-bottom: 1px solid var(--line); background: #fff; }
.family-parent { position: relative; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px 14px; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; transition: color .2s ease, background .2s ease; }
.family-parent::before { position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; content: ''; background: transparent; transition: background .2s ease; }
.family-parent:hover { background: #edf5ff; }
.family-parent-link { text-decoration: none; }
.family-tile.active .family-parent { color: #fff; background: var(--ocean); }
.family-tile.active .family-parent::before { background: var(--signal); }
.family-tile strong { display: block; font-family: var(--display); font-size: 16px; font-weight: 750; line-height: 1.1; }
.family-children { display: none; padding: 10px 13px 12px 22px; background: #f7faff; border-top: 1px solid #e6eef7; }
.family-tile.expanded .family-children { display: block; }
.family-children-label { margin: 0 0 5px 12px; color: #7190ad; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.family-child { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-left: 10px; padding: 10px 11px 10px 18px; color: var(--ink-soft); border-left: 2px solid #d8e6f3; font-size: 12px; font-weight: 650; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.family-child::before { position: absolute; top: 50%; left: -2px; width: 12px; height: 1px; content: ''; background: #d8e6f3; }
.family-child + .family-child { border-top: 1px solid rgba(212,224,237,.72); }
.family-child:hover { color: var(--ocean); background: #e8f2ff; border-left-color: #8bc4f4; }
.family-child.active { color: var(--ocean); background: #e1f0ff; border-left-color: var(--signal); box-shadow: inset 3px 0 0 var(--signal); font-weight: 800; }
.family-child small { color: #7290ac; font-size: 10px; font-weight: 800; }
.family-child.active small { color: var(--ocean); }
.catalogue-support { position: relative; overflow: hidden; padding: 20px; color: #d6e6ef; background: #0a344b; }
.catalogue-support::after { position: absolute; top: -44px; right: -34px; width: 130px; height: 130px; border: 1px solid rgba(114,196,244,.28); border-radius: 50%; content: ''; }
.catalogue-support-label { position: relative; z-index: 1; margin: 0 0 8px; color: #74caf8; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.catalogue-support strong { position: relative; z-index: 1; display: block; max-width: 180px; color: #fff; font-family: var(--display); font-size: 18px; line-height: 1.18; }
.catalogue-support > p:not(.catalogue-support-label) { position: relative; z-index: 1; margin: 10px 0 13px; color: #c8dbe7; font-size: 11px; line-height: 1.55; }
.catalogue-support ul { position: relative; z-index: 1; display: grid; gap: 7px; margin: 0 0 17px; padding: 0; list-style: none; }
.catalogue-support li { position: relative; padding-left: 15px; color: #f2f9fc; font-size: 11px; font-weight: 700; }
.catalogue-support li::before { position: absolute; top: 4px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #5bb6f2; box-shadow: 0 0 0 3px rgba(91,182,242,.14); content: ''; }
.catalogue-support a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; color: #08304c; background: #fff; font-size: 11px; font-weight: 900; }
.catalogue-support a:hover { color: #fff; background: var(--signal); }
.catalogue-support small { position: relative; z-index: 1; display: block; margin-top: 9px; color: #9bc2da; font-size: 9px; line-height: 1.35; text-align: center; }
.sidebar-divider { height: 1px; margin: 18px 20px 14px; background: var(--line); }
.sidebar-label { margin: 0 20px 8px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.catalog-results { min-width: 0; }

.catalog-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin: 0 0 8px; }
.catalog-toolbar h2, .detail-section h2 { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 700; letter-spacing: -.04em; }
.catalog-toolbar p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }
.catalog-toolbar > div > p:not(.eyebrow) { display: none; }
.catalog-search { position: relative; min-width: min(340px, 100%); }
.catalog-search input { width: 100%; padding: 13px 42px 13px 15px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); outline-color: var(--ocean); }
.catalog-search::after { content: '⌕'; position: absolute; right: 14px; top: 6px; color: var(--ocean); font-size: 25px; }
.filter-row { display: grid; gap: 5px; padding: 0 20px 20px; }
.filter-button { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.filter-button:hover, .filter-button.active { border-color: var(--ocean); color: #fff; background: var(--ocean); }
.catalog-status { display: flex; justify-content: space-between; align-items: center; padding: 0 0 11px; color: var(--ink-soft); font-size: 13px; }
.catalog-status strong { color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; background: var(--surface); border: 1px solid transparent; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.product-card:hover { border-color: #b9c9c8; box-shadow: 0 18px 34px rgba(16,32,42,.1); transform: translateY(-3px); }
.product-image { position: relative; aspect-ratio: 1.34; overflow: hidden; background: linear-gradient(135deg, #d5dddd, #9eb3b7); }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-form { position: absolute; left: 13px; bottom: 13px; padding: 6px 9px; color: #fff; background: rgba(8,47,58,.85); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-content { padding: 18px 18px 19px; }
.product-path { margin: 0 0 9px; color: var(--signal); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { min-height: 51px; margin: 0; font-family: var(--display); font-size: 23px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--ocean); font-size: 12px; font-weight: 800; }
.product-link::after { content: '→'; font-size: 17px; line-height: .7; }
.empty-state { grid-column: 1 / -1; padding: 72px 20px; text-align: center; background: var(--surface); color: var(--ink-soft); }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--ink); font-family: var(--display); font-size: 29px; font-weight: 500; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 40px; }
.page-button { min-width: 36px; height: 36px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.page-button.active, .page-button:hover { color: #fff; border-color: var(--ocean); background: var(--ocean); }

.detail-hero { padding: 50px 0 62px; background: var(--ocean-deep); color: #fff; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; color: #b9dce1; font-size: 12px; }
.breadcrumbs a:hover { color: #fff; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); gap: clamp(30px, 6vw, 84px); align-items: center; }
.detail-title { font-size: clamp(40px, 5.3vw, 68px); }
.detail-summary { max-width: 680px; margin: 23px 0 0; color: #cfe0e2; font-size: 16px; line-height: 1.72; }
.detail-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-contact-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 16px; color: #fff; border: 1px solid rgba(255,255,255,.65); font-size: 12px; font-weight: 850; letter-spacing: .03em; text-decoration: none; }
.detail-contact-actions .detail-email { background: #1261d6; border-color: #1261d6; }
.detail-contact-actions .detail-whatsapp { background: #12966f; border-color: #12966f; }
.detail-contact-actions a:hover { color: #08304c; background: #fff; border-color: #fff; }
.detail-image { position: relative; overflow: hidden; min-height: 290px; margin: 0; background: #265866; }
.detail-image img { display: block; width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.detail-image::after { content: ''; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(8,47,58,.65)); }
.detail-image figcaption { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.detail-gallery-stage { min-height: 290px; }
.detail-gallery-thumbnails { position: absolute; z-index: 3; right: 14px; bottom: 14px; left: 14px; display: flex; gap: 7px; overflow-x: auto; padding: 4px; }
.detail-gallery-thumbnails button { width: 52px; height: 42px; padding: 0; overflow: hidden; flex: 0 0 auto; background: #fff; border: 2px solid transparent; cursor: pointer; opacity: .72; }
.detail-gallery-thumbnails button.is-active { border-color: #fff; opacity: 1; box-shadow: 0 0 0 1px #1261d6; }
.detail-gallery-thumbnails img { width: 100% !important; height: 100% !important; min-height: 0 !important; object-fit: cover; }
.detail-gallery-thumbnails ~ figcaption { bottom: 68px; }
.detail-main { padding: 56px 0 88px; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 68px; }
.detail-section { margin-bottom: 56px; }
.detail-section > p { max-width: 760px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.spec-item { min-height: 86px; padding: 16px; background: var(--surface); }
.spec-item span { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.spec-item strong { font-size: 14px; line-height: 1.4; }
.applications { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.applications span { padding: 9px 11px; border: 1px solid #cbd7d6; color: var(--ocean); background: #edf4f3; font-size: 12px; }
.technical-table { width: 100%; border-collapse: collapse; margin-top: 21px; font-size: 13px; background: var(--surface); }
.technical-table caption { padding: 13px 16px; text-align: left; color: #fff; background: var(--ocean); font-family: var(--display); font-size: 20px; }
.technical-table td { padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.technical-table tr:first-child td { color: var(--ink); background: #edf1ef; font-weight: 800; }
.inquiry-card { position: sticky; top: 100px; padding: 27px; background: var(--sand); }
.inquiry-card h2 { margin: 0; font-family: var(--display); font-size: 31px; font-weight: 500; letter-spacing: -.03em; }
.inquiry-card p { color: #5d594f; font-size: 14px; line-height: 1.65; }
.inquiry-card a { display: block; padding: 13px 15px; color: #fff; background: var(--ocean); font-size: 13px; font-weight: 800; text-align: center; }
.inquiry-card .source-link { margin-top: 10px; color: var(--ocean); background: transparent; border: 1px solid var(--ocean); }
.related-products { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(8,47,58,.18); }
.related-products .eyebrow { margin: 0 0 5px; font-size: 9px; }
.related-products h3 { margin: 0 0 12px; color: var(--ink); font-family: var(--display); font-size: 19px; line-height: 1.15; }
.inquiry-card .related-product { display: grid; grid-template-rows: 112px auto; gap: 0; margin-top: 10px; padding: 0; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid rgba(8,47,58,.15); text-align: left; text-decoration: none; }
.inquiry-card .related-product img { display: block; width: 100%; height: 112px; object-fit: cover; background: #dbe7ea; transition: transform .3s ease; }
.related-product span { min-width: 0; padding: 9px 10px 10px; }
.related-product small, .related-product strong { display: block; }
.related-product small { margin-bottom: 3px; color: var(--signal); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.related-product strong { overflow: hidden; color: var(--ocean); font-family: var(--display); font-size: 12px; line-height: 1.28; text-overflow: ellipsis; }
.inquiry-card .related-product:hover { background: #fff; border-color: var(--signal); }
.inquiry-card .related-product:hover img { transform: scale(1.04); }
.inquiry-card .related-product:hover strong { color: var(--signal); }
.inquiry-card .related-view-all { margin-top: 10px; padding: 0; color: var(--signal); background: transparent; font-size: 11px; text-align: left; }
.inquiry-card .related-view-all:hover { color: var(--ocean); background: transparent; }
.catalog-footer { padding: 28px 0; color: #bcd0d1; background: var(--ocean-deep); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.catalog-loading { padding: 90px 20px; color: var(--ink-soft); text-align: center; }

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .detail-content { grid-template-columns: 1fr; gap: 0; } .inquiry-card { position: static; } }
@media (max-width: 680px) { .catalog-shell { width: min(100% - 28px, 1240px); } .catalog-links { display: none; } .catalog-nav { min-height: 66px; } .catalog-cta { padding: 10px 12px; } .catalog-body .catalog-hero, .catalog-body .detail-hero { margin-top: 68px; } .catalog-hero { min-height: 0; padding: 24px 0 26px; } .hero-grid, .catalog-toolbar, .detail-layout { grid-template-columns: 1fr; gap: 20px; } .hero-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding: 13px 0 0; } .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } .catalog-sidebar { position: static; max-height: none; } .family-strip { display: grid; max-width: 100%; grid-template-columns: 1fr; overflow: visible; margin-right: 0; padding: 0; } .family-tile { min-height: 0; } .filter-row { display: flex; flex-wrap: wrap; gap: 6px; } .filter-button { width: auto; border-radius: 99px; } .catalog-toolbar { margin-top: 0; } .catalog-search { min-width: 0; } .product-grid { grid-template-columns: 1fr; } .spec-grid { grid-template-columns: 1fr; } .detail-hero { padding-top: 34px; } .detail-image, .detail-image img { min-height: 230px; } .footer-inner { display: block; } .footer-inner span { display: block; margin-top: 8px; } }
