:root {
  --navy: #0d2137;
  --navy-2: #102c49;
  --blue: #1a5ce2;
  --sky: #42a5ff;
  --teal: #0fa8a0;
  --ink: #171c29;
  --muted: #5e6877;
  --line: #e2e6ec;
  --soft: #f5f7f9;
  --white: #fff;
  --success: #13c66b;
  --shadow: 0 10px 30px rgba(17, 35, 56, 0.1);
  --container: 1280px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.muted { color: var(--muted); }
.blue { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.full-width { width: 100%; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state i { width: 42px; height: 42px; margin: 0 auto 14px; }

.site-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-main { height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 12px 16px 13px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 80px; object-fit: contain; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.header-search { position: relative; width: 196px; }
.header-search input {
  width: 100%; height: 32px; border: 0; border-radius: 4px; padding: 6px 36px 6px 12px;
  background: #f0f2f5; color: var(--ink); outline: none;
}
.header-search input:focus { box-shadow: 0 0 0 2px rgba(26, 92, 226, 0.18); }
.icon-button, .search-submit, .mobile-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 0; background: transparent; color: var(--ink); border-radius: 4px;
}
.icon-button:hover, .mobile-toggle:hover { background: var(--soft); }
.icon-button svg, .search-submit svg, .mobile-toggle svg { width: 20px; height: 20px; }
.search-submit { position: absolute; right: 0; top: 0; width: 32px; height: 32px; color: #7c8799; }
.search-submit svg { width: 16px; height: 16px; }
.text-link { color: #262a31; white-space: nowrap; }
.cart-button { position: relative; width: 20px; height: 20px; }
.cart-count {
  position: absolute; right: -3px; top: -3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--blue); color: white; font-size: 10px; line-height: 17px; text-align: center;
}
.mobile-toggle { display: none; }
.site-nav { border-bottom: 1px solid var(--line); }
.nav-inner { height: 44px; display: flex; align-items: center; gap: 4px; padding: 0 16px; }
.nav-inner a { padding: 10px 12px; color: #171717; font-size: 16px; white-space: nowrap; transition: color .15s; }
.nav-inner a:hover, .nav-inner a.active { color: var(--blue); }
.nav-spacer { flex: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
  padding: 9px 18px; border: 1px solid transparent; border-radius: 5px; font-weight: 500;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: #163b60; }
.btn-blue { background: #1767b6; color: #fff; }
.btn-blue:hover { background: #115796; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-small { min-height: 31px; padding: 5px 12px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.hero {
  min-height: 440px; color: white; background-color: var(--navy);
  background-image: linear-gradient(90deg, rgba(5, 28, 51, .18), rgba(5, 28, 51, .06)), url("assets/home-sections/brand-intro/banner2.png");
  background-size: cover; background-position: center;
}
.hero-inner { min-height: 440px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy { max-width: 520px; }
.eyebrow { margin-bottom: 11px; color: #1a5ce2; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow, .quality-band .eyebrow { color: #8ed1ff; }
.hero h1 { margin-bottom: 14px; font-size: 38px; line-height: 1.15; letter-spacing: 0; }
.hero p { max-width: 485px; color: #d4deea; font-size: 15px; }
.hero-copy > p { margin-bottom: 8px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: #c9d8e8; font-size: 11px; }
.hero-features span { display: inline-flex; align-items: center; gap: 5px; }
.hero-features svg { width: 13px; height: 13px; color: #8ed1ff; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; }
.hero-product { position: relative; justify-self: end; width: min(100%, 500px); }
.hero-card {
  display: block; width: 100%; height: 315px; position: relative; overflow: hidden;
  border-radius: 8px; background: linear-gradient(145deg, rgba(30, 79, 117, .85), rgba(6, 24, 42, .95));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}
.hero-card img { width: 100%; height: 100%; object-fit: contain; padding: 26px; background: rgba(255,255,255,.03); }
.hero-card-copy { position: absolute; inset: auto 0 0; padding: 36px 22px 18px; background: linear-gradient(transparent, rgba(4, 18, 32, .92)); }
.hero-card-copy strong { display: block; font-size: 16px; }
.hero-card-copy span { color: #b9c5d4; font-size: 12px; }
.hero-carousel-controls { position: absolute; inset: 0; pointer-events: none; }
.hero-carousel-controls > button { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(5, 28, 51, .72); color: #fff; transform: translateY(-50%); pointer-events: auto; }
.hero-carousel-controls > button:first-child { left: 12px; }
.hero-carousel-controls > button:last-child { right: 12px; }
.hero-carousel-controls svg { width: 18px; height: 18px; }
.hero-dots { position: absolute; z-index: 2; bottom: 13px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); pointer-events: auto; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; }
.hero-dots button.active { background: #fff; }

.section { padding: 72px 0; }
.section-soft { background: #f7f9fb; }
.section-dark { background: var(--navy); color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head.center { display: block; text-align: center; }
.section-head h2 { margin-bottom: 6px; font-size: 28px; line-height: 1.25; }
.section-head p { margin: 0; color: var(--muted); }
.tabs-row { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs-row button { flex: 0 0 auto; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: #697487; font-size: 12px; }
.tabs-row button.active { border-bottom-color: var(--blue); color: var(--ink); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
#home-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.product-image { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #f3f4f6; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .2s; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.product-name { min-height: 38px; margin-bottom: 7px; color: #0000ee; font-size: 12px; font-weight: 500; line-height: 1.45; }
.product-meta { margin-bottom: 11px; color: #6e7786; font-size: 10px; }
.product-price { margin-top: 2px; color: var(--ink); font-size: 14px; font-weight: 600; }
.product-actions { display: grid; gap: 6px; margin-top: auto; }
.product-actions .btn { min-height: 29px; padding: 4px 8px; font-size: 10px; }
.product-skeleton { aspect-ratio: 1; background: linear-gradient(90deg, #f2f3f5, #fafafa, #f2f3f5); }
.popular-strip { display: flex; gap: 16px; max-width: 100%; overflow-x: auto; padding: 2px 2px 16px; scrollbar-width: none; }
.popular-strip::-webkit-scrollbar { display: none; }
.popular-card { display: flex; flex: 0 0 220px; flex-direction: column; align-items: center; padding: 16px; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(10, 31, 51, .1); }
.popular-card img { width: 188px; height: 188px; margin-bottom: 12px; object-fit: contain; }
.popular-card p { margin: 0; text-align: center; }
.popular-name { color: #1a2332; font-size: 14px; font-weight: 500; }
.popular-spec { margin-bottom: 8px !important; color: var(--muted); font-size: 12px; }
.popular-price { margin-bottom: 12px !important; color: #16a05d; font-size: 16px; font-weight: 600; }
.popular-add { width: 100%; padding: 8px; border: 0; border-radius: 4px; background: #4da6ff; color: #fff; font-size: 13px; }
.popular-add:hover { background: #3d96ef; }

.brand-story { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.brand-story h2 { max-width: 650px; font-size: 30px; line-height: 1.25; }
.brand-story p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.feature { display: flex; gap: 13px; padding: 18px; border-radius: 6px; background: #eaf5ff; }
.feature svg { flex: 0 0 auto; width: 25px; height: 25px; color: var(--blue); }
.feature strong { display: block; margin-bottom: 3px; }
.feature span { color: #556171; font-size: 12px; }
.brand-visual img { width: 100%; max-height: 460px; object-fit: contain; }

.application-strip, .application-grid { display: grid; gap: 14px; }
.application-strip { grid-template-columns: repeat(5, 1fr); }
.application-grid { grid-template-columns: repeat(3, 1fr); }
.application-card { position: relative; min-height: 185px; overflow: hidden; border-radius: 6px; background: var(--navy); color: #fff; }
.application-grid .application-card { min-height: 280px; }
.application-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.application-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7, 30, 57, .95)); }
.application-card-copy { position: absolute; z-index: 1; inset: auto 16px 14px; }
.application-card-copy strong { display: block; margin-bottom: 8px; font-size: 14px; line-height: 1.3; }
.application-card-copy span { font-size: 11px; text-decoration: underline; }
.application-index-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(10, 31, 51, .06); transition: box-shadow .2s; }
.application-index-card:hover { box-shadow: 0 9px 24px rgba(10, 31, 51, .12); }
.application-index-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.application-index-card:hover > img { transform: scale(1.025); }
.application-index-card > span { display: block; padding: 16px; }
.application-index-card h2 { margin: 0; font-size: 16px; line-height: 1.4; }
.application-index-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.showroom { text-align: center; }
.showroom h2 { font-size: 28px; text-transform: uppercase; }
.showroom p { max-width: 650px; margin: 0 auto 22px; color: var(--muted); }
.quality-band { position: relative; overflow: hidden; padding: 70px 0; background: var(--navy); color: #fff; }
.quality-band::before { content: ""; position: absolute; inset: 0; background: url("assets/home-sections/about-us/2.png") right 30% center / 550px auto no-repeat; opacity: .25; }
.quality-copy { position: relative; max-width: 760px; }
.quality-copy h2 { font-size: 28px; }
.quality-copy p { color: #c5d2df; }

.page-hero { padding: 36px 0; background: var(--navy); color: #c9d2df; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 13px; }
.breadcrumbs a:hover { color: #fff; }
.catalog { padding: 48px 0 72px; background: #f7f8fa; min-height: 560px; }
.catalog-title { margin-bottom: 7px; color: #fff; font-size: 30px; }
.catalog-toolbar { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 6px; background: #edf0f3; }
.category-pills a { padding: 8px 14px; border-radius: 4px; color: #5f6875; font-size: 12px; }
.category-pills a.active { background: var(--navy); color: #fff; }
.showing { padding-top: 9px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 36px; }
.pagination button { min-width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.pagination button.active { border-color: var(--navy); background: var(--navy); color: #fff; }

.product-detail { padding: 48px 0 70px; background: #f7f8fa; }
.product-top { display: grid; grid-template-columns: 410px 1fr; gap: 38px; align-items: start; }
.gallery-main { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 11px; overflow-x: auto; }
.gallery-thumb { width: 58px; height: 58px; flex: 0 0 auto; padding: 3px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.gallery-thumb.active { border: 2px solid var(--navy); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-summary h1 { margin-bottom: 12px; font-size: 26px; }
.product-summary > p { color: #373e48; font-size: 15px; line-height: 1.65; }
.coa-link { margin: 7px 0 22px; }
.purchase-panel { padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.sku-line { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 16px; color: var(--muted); }
.sku-line strong { color: #2a3039; }
.sku-price { color: var(--ink); font-size: 17px; font-weight: 600; }
.purchase-actions { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 10px; }
.quantity { display: grid; grid-template-columns: 34px 1fr 34px; height: 42px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.quantity button { border: 0; background: #fff; }
.quantity span { display: grid; place-items: center; }
.product-tabs { margin-top: 24px; border: 1px solid var(--line); border-radius: 7px; background: #fff; overflow: hidden; }
.product-tab-list { display: flex; overflow-x: auto; background: #eef0f3; }
.product-tab-list button { flex: 0 0 auto; padding: 14px 18px; border: 0; background: transparent; color: #586273; font-weight: 600; }
.product-tab-list button.active { margin: 5px; padding: 9px 14px; border-radius: 4px; background: var(--navy); color: #fff; }
.product-tab-content { min-height: 320px; padding: 28px 24px; color: #4e5969; line-height: 1.75; }
.product-tab-content h1, .product-tab-content h2, .product-tab-content h3, .product-tab-content strong { color: var(--ink); }
.product-tab-content img { max-width: 100%; height: auto; margin: 20px auto; }
.product-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 20px 0; background: var(--line); border: 1px solid var(--line); }
.product-fact { padding: 12px 14px; background: #fff; }
.product-fact span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; }

.editorial-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; padding: 48px 0 80px; }
.sidebar { align-self: start; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.sidebar-title { padding: 15px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; }
.sidebar a { display: block; padding: 11px 14px; border-bottom: 1px solid #edf0f2; color: #5a6474; font-size: 12px; line-height: 1.35; }
.sidebar a:hover { color: var(--blue); background: #f7f9fb; }
.editorial-main h1 { margin-bottom: 24px; font-size: 26px; }
.featured-editorial { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 290px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.featured-editorial img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { align-self: center; padding: 36px; }
.featured-copy h2 { font-size: 26px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #eef1f4; }
.article-card-copy { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.article-card h3 { font-size: 15px; line-height: 1.4; }
.article-card p { color: var(--muted); font-size: 12px; }
.article-card .read-more { margin-top: auto; color: #14365a; font-size: 12px; font-weight: 600; }
.research-grid .article-card:nth-child(4) { grid-column: auto; }

.article-detail { padding: 48px 0 80px; background: #f7f8fa; }
.article-shell { max-width: 940px; margin: auto; padding: 40px 55px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.article-shell h1 { margin-bottom: 12px; font-size: 30px; line-height: 1.3; }
.article-meta { margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.article-content { color: #4b5565; font-size: 15px; line-height: 1.8; }
.article-content img { max-width: 100%; height: auto; margin: 22px auto; }
.article-content h1, .article-content h2, .article-content h3, .article-content strong { color: var(--ink); }
.article-content hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.application-detail-layout { padding: 0; }
.application-detail-layout .article-shell { max-width: none; margin: 0; }

.content-page { padding: 56px 0 80px; }
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-content h1 { font-size: 34px; }
.split-content p { color: var(--muted); font-size: 15px; }
.split-content img { width: 100%; max-height: 520px; object-fit: contain; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.value-item { padding: 24px; border-left: 3px solid var(--blue); background: #f5f8fb; }
.value-item svg { color: var(--blue); }
.contact-title { margin-bottom: 28px; font-size: 30px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; }
.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-item { display: flex; gap: 12px; align-items: center; }
.contact-item svg { width: 19px; color: var(--blue); }
.form-card { padding: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 12px; border: 1px solid #ccd3dc; border-radius: 4px; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 92, 226, .1); }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-field button { position: absolute; top: 50%; right: 4px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #667181; transform: translateY(-50%); }
.password-field svg { width: 18px; height: 18px; }
.field textarea { min-height: 120px; resize: vertical; }
.field-hint { margin: -4px 0 14px; color: var(--muted); font-size: 11px; }
.captcha-row { display: grid; grid-template-columns: 150px 38px 1fr; gap: 8px; align-items: center; }
.captcha-image { width: 150px; height: 48px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #eef3f7; color: var(--muted); font-size: 11px; }
.captcha-image img { width: 150px; height: 48px; }
.captcha-row input { min-width: 0; }
.contact-aside { align-self: start; box-shadow: none; }
.account-card { max-width: 680px; margin: auto; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.company-copy { margin-inline: auto; }
.policy-table { margin: 20px 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.policy-table > div { display: grid; grid-template-columns: 1fr 180px; }
.policy-table > div > * { padding: 10px 13px; border-bottom: 1px solid var(--line); }
.policy-table > div:last-child > * { border-bottom: 0; }
.policy-table > div:first-child { background: #f0f3f6; color: var(--ink); }
.policy-table > div > *:last-child { border-left: 1px solid var(--line); }
.sidebar a.active { color: var(--blue); background: #f7f9fb; font-weight: 600; }
.application-detail-layout .sidebar a.active { background: var(--navy); color: #fff; }
.about-link { margin-top: 26px; }

.auth-page { min-height: 620px; display: grid; place-items: center; padding: 60px 20px; background: #f5f7f9; }
.auth-card { width: min(100%, 440px); padding: 34px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 25px; }
.auth-card .brand img { width: 165px; height: auto; margin-bottom: 24px; }
.auth-card-footer { margin-top: 20px; text-align: center; color: var(--muted); font-size: 12px; }

.search-main { min-height: 600px; padding: 32px 16px 80px; }
.search-breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: #6b7280; font-size: 14px; line-height: 20px; }
.search-breadcrumbs a { transition: color .15s; }
.search-breadcrumbs a:hover { color: #0b5f5b; }
.search-breadcrumbs span:last-child { color: #1f2937; }
.search-heading { margin-bottom: 32px; }
.search-heading h1 { margin: 0; color: #111827; font-size: 24px; line-height: 32px; }
.search-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid #e5e7eb; }
.search-tabs button { margin-bottom: -1px; padding: 8px 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #6b7280; font-size: 14px; font-weight: 500; line-height: 20px; transition: color .15s, border-color .15s; }
.search-tabs button:hover { color: #374151; }
.search-tabs button.active { border-bottom-color: var(--navy); color: var(--navy); }
.search-results-section h2 { margin-bottom: 16px; color: #1f2937; font-size: 18px; line-height: 28px; }
.search-article-section { margin-top: 40px; }
.search-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.search-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 18px; background: #fff; }
.search-product-image { display: block; aspect-ratio: 1; overflow: hidden; background: #f3f4f6; }
.search-product-image img { width: 100%; height: 100%; padding: 16px; object-fit: contain; transition: transform .2s; }
.search-product-card:hover .search-product-image img { transform: scale(1.05); }
.search-product-info { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.search-product-name { display: -webkit-box; overflow: hidden; margin-bottom: 8px; color: #0000ee; font-size: 14px; font-weight: 500; line-height: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.search-product-name:hover { text-decoration: underline; }
.search-product-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.search-product-actions button, .search-product-actions a { display: grid; place-items: center; padding: 6px 12px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 16px; }
.search-product-actions button { height: 28px; border: 0; background: var(--navy); color: #fff; opacity: .6; cursor: not-allowed; }
.search-product-actions a { height: 30px; }
.search-product-actions a { border: 1px solid var(--navy); color: var(--navy); transition: color .15s, background .15s; }
.search-product-actions a:hover { background: var(--navy); color: #fff; }
.search-article-list { margin: 0; padding: 0; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; list-style: none; }
.search-article-list li { display: flex; align-items: flex-start; gap: 16px; min-height: 96px; padding: 16px; border-bottom: 1px solid #f3f4f6; transition: background .15s; }
.search-article-list li:last-child { border-bottom: 0; }
.search-article-list li:hover { background: #f9fafb; }
.search-article-image { flex: 0 0 96px; width: 96px; height: 64px; overflow: hidden; border-radius: 4px; }
.search-article-image img { width: 100%; height: 100%; object-fit: cover; }
.search-article-copy { min-width: 0; }
.search-article-copy a { display: -webkit-box; overflow: hidden; color: #111827; font-size: 16px; font-weight: 500; line-height: 24px; transition: color .15s; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.search-article-copy a:hover { color: #0b5f5b; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.15fr .7fr 1fr; gap: 70px; padding: 62px 0 48px; }
.footer-brand img { width: 150px; height: 44px; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { max-width: 360px; color: var(--muted); font-size: 12px; }
.footer-column h3 { margin-bottom: 14px; font-size: 14px; }
.footer-links { display: grid; gap: 8px; color: #566174; font-size: 12px; }
.footer-links a:hover { color: var(--blue); }
.footer-contact { display: grid; gap: 7px; color: #566174; font-size: 12px; }
.footer-contact span { display: flex; gap: 7px; align-items: start; }
.footer-contact svg { width: 14px; height: 14px; color: #3b9cff; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #626d7c; font-size: 11px; }

.whatsapp-float { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #20d467; color: #fff; box-shadow: 0 8px 24px rgba(32, 212, 103, .35); }
.whatsapp-float svg { width: 27px; height: 27px; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 90px; display: flex; gap: 10px; align-items: center; max-width: 360px; padding: 13px 16px; border-radius: 6px; background: var(--navy); color: #fff; box-shadow: var(--shadow); animation: toast-in .2s ease; }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }

.overlay { position: fixed; z-index: 80; inset: 0; background: rgba(7, 18, 31, .46); opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(100%, 430px); height: 100%; display: flex; flex-direction: column; background: #fff; box-shadow: -18px 0 50px rgba(9, 26, 43, .17); transform: translateX(105%); transition: transform .25s; }
.cart-drawer.open { transform: translateX(0); }
.drawer-head { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 18px; }
.drawer-body { flex: 1; overflow: auto; padding: 18px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 76px; object-fit: contain; border-radius: 4px; background: #f4f5f6; }
.cart-item h3 { margin-bottom: 4px; font-size: 12px; }
.cart-item p { margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.cart-item-controls { display: flex; align-items: center; gap: 7px; }
.cart-item-controls button { width: 25px; height: 25px; border: 1px solid var(--line); background: #fff; }
.cart-remove { align-self: start; border: 0; background: none; color: #9aa2ad; }
.drawer-foot { padding: 18px; border-top: 1px solid var(--line); background: #fff; }
.drawer-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 16px; font-weight: 600; }
.drawer-note { margin-bottom: 12px; color: var(--muted); font-size: 11px; }

.modal { position: fixed; z-index: 95; top: 50%; left: 50%; width: min(calc(100% - 32px), 560px); max-height: calc(100vh - 40px); overflow: auto; padding: 28px; border-radius: 7px; background: #fff; box-shadow: var(--shadow); transform: translate(-50%, -45%) scale(.98); opacity: 0; pointer-events: none; transition: .2s; }
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.modal-head h2 { font-size: 21px; }
.order-summary { max-height: 180px; overflow: auto; margin: 16px 0; padding: 12px; background: #f4f6f8; white-space: pre-wrap; font: 12px/1.5 ui-monospace, monospace; }

@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .search-product-grid { grid-template-columns: repeat(4, 1fr); }
  .product-top { grid-template-columns: 360px 1fr; }
  .application-strip { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-main { height: 72px; }
  .brand img { width: 150px; height: 42px; }
  .header-search, .header-tools .text-link { display: none; }
  .mobile-toggle { display: inline-grid; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; width: 100%; border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .nav-inner { height: auto; display: grid; gap: 0; padding-block: 8px; }
  .nav-inner a { padding: 11px 4px; border-bottom: 1px solid #f0f1f3; }
  .nav-spacer { display: none; }
  .hero-inner, .brand-story, .split-content, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 620px; }
  .hero-inner { min-height: 620px; padding: 50px 0 42px; gap: 30px; }
  .hero-product { justify-self: start; }
  .hero-card { height: 260px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .search-product-grid { grid-template-columns: repeat(3, 1fr); }
  #home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-top { grid-template-columns: 300px 1fr; gap: 24px; }
  .purchase-actions { grid-template-columns: 1fr 1fr; }
  .quantity { grid-column: 1 / -1; }
  .editorial-layout { grid-template-columns: 1fr; }
  .sidebar { max-height: 250px; overflow: auto; }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 13px; }
  .section { padding: 52px 0; }
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-product { width: 100%; }
  .hero-card { width: 100%; height: 230px; }
  .section-head { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .search-main { padding-inline: 0; }
  .search-tabs { max-width: 100%; overflow-x: auto; }
  .search-tabs button { flex: 0 0 auto; }
  .search-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  #home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-info { padding: 9px; }
  .product-name { min-height: 36px; font-size: 11px; }
  .product-meta { font-size: 9px; }
  .feature-grid { grid-template-columns: 1fr; }
  .application-strip, .application-grid { grid-template-columns: 1fr 1fr; }
  .application-card, .application-grid .application-card { min-height: 190px; }
  .catalog-toolbar { flex-direction: column; }
  .category-pills { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; }
  .showing { padding-top: 0; }
  .product-top { grid-template-columns: 1fr; }
  .gallery-main { max-height: 430px; }
  .purchase-actions { grid-template-columns: 1fr; }
  .quantity { grid-column: auto; }
  .product-tab-list button { padding: 12px; font-size: 11px; }
  .product-tab-content { padding: 22px 16px; }
  .product-facts { grid-template-columns: 1fr; }
  .featured-editorial { grid-template-columns: 1fr; }
  .featured-editorial img { height: 230px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-shell { padding: 25px 18px; }
  .article-shell h1 { font-size: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .captcha-row { grid-template-columns: 1fr 38px; }
  .captcha-row input { grid-column: 1 / -1; }
  .policy-table > div { grid-template-columns: 1fr 110px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { align-items: start; flex-direction: column; justify-content: center; padding: 14px 0; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  body:has(#contact-form) .whatsapp-float { display: none; }
}
