/* banner-title.css */
/* The blog list banner title is the page's h1 (it was an h2 and the page had no h1); same look as the h2 rules for .banner-content-txt in style_new.css. */
.banner-content-txt h1 { font-weight: 700; font-size: 40px; }
@media (min-width: 768px) and (max-width: 992px) { .banner-content-txt h1 { font-size: 30px; } }
@media (max-width: 767px) { .banner-content-txt h1 { font-size: 20px; } }

/* blog-content.css */
/* A blog post's body (blog_body.py): Word's fonts and sizes are dropped at build time, so the body takes the site's type;
   section headings are real h2-h4 (they were bold 14pt paragraphs); tables scroll sideways on a phone.
   Scoped under section.blogs-view-wrapper: the post shell's own rules (blog_pre.html: p 14px, h2 32px) are that
   specific; the body keeps the shell's text colour. */
section.blogs-view-wrapper .blog-veiw-section p,
section.blogs-view-wrapper .blog-veiw-section li { font-size:17px; line-height:1.75; }
section.blogs-view-wrapper .blog-veiw-section p { margin:0 0 16px; }
section.blogs-view-wrapper .blog-veiw-section :is(ul, ol) { margin:0 0 16px; padding-left:1.4em; }
/* the theme takes every list marker off (li { list-style:none !important }): only an !important rule brings them back */
section.blogs-view-wrapper .blog-veiw-section ul > li { display:list-item; list-style:disc outside !important; }
section.blogs-view-wrapper .blog-veiw-section ul ul > li { list-style-type:circle !important; }
section.blogs-view-wrapper .blog-veiw-section ol > li { display:list-item; list-style:decimal outside !important; }
section.blogs-view-wrapper .blog-veiw-section li > :is(ul, ol) { margin:6px 0 0; }
section.blogs-view-wrapper .blog-veiw-section li { margin:0 0 6px; }
section.blogs-view-wrapper .blog-veiw-section h2 { margin:36px 0 14px; font-size:26px; font-weight:600; line-height:1.35; text-transform:none; }
section.blogs-view-wrapper .blog-veiw-section h3 { margin:28px 0 12px; font-size:21px; font-weight:600; line-height:1.4; text-transform:none; }
section.blogs-view-wrapper .blog-veiw-section h4 { margin:22px 0 10px; font-size:18px; font-weight:600; line-height:1.45; text-transform:none; }
section.blogs-view-wrapper .blog-veiw-section a:not(.btn) { color:var(--af-blue,#1d2088); text-decoration:underline; text-underline-offset:2px; }
section.blogs-view-wrapper .blog-veiw-section .af-table-scroll { max-width:100%; margin:0 0 20px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
section.blogs-view-wrapper .blog-veiw-section .af-table-scroll table { min-width:560px; border-collapse:collapse; }
section.blogs-view-wrapper .blog-veiw-section .af-table-scroll :is(td, th) { padding:8px 10px; border:1px solid var(--af-border,#dedee5); vertical-align:top; font-size:15px; line-height:1.55; }
section.blogs-view-wrapper .blog-veiw-section .af-table-scroll :is(td, th) p { margin:0; font-size:15px; line-height:1.55; }
@media (max-width:767px) {
  section.blogs-view-wrapper .blog-veiw-section p, section.blogs-view-wrapper .blog-veiw-section li { font-size:16px; }
  section.blogs-view-wrapper .blog-veiw-section h2 { margin-top:28px; font-size:22px; }
  section.blogs-view-wrapper .blog-veiw-section h3 { font-size:19px; }
  section.blogs-view-wrapper .blog-veiw-section h4 { font-size:17px; }
}

/* blog-list.css */
/* Blog entries: readable copy, supporting thumbnails and clear separators. */
.af-blogs-page .af-blog-list { border-top:1px solid var(--af-border,#dedee5); }
.af-blogs-page .af-blog-entry { display:grid; grid-template-columns:minmax(0,1fr) minmax(160px,30%); align-items:start; gap:24px; padding:28px 0; margin:0; border-bottom:1px solid var(--af-border,#dedee5); }
.af-blogs-page .af-blog-entry, .af-blogs-page .af-blog-entry * { box-sizing:border-box; font-family:var(--af-font)!important; }
.af-blogs-page .af-blog-copy { min-width:0; }
.af-blogs-page .af-blog-date { display:block; margin:0 0 8px; color:var(--af-muted); font-size:14px; line-height:1.5; }
.af-blogs-page .af-blog-title { margin:0 0 12px; padding:0; font-size:24px!important; font-weight:500; line-height:1.4; text-transform:none; overflow-wrap:anywhere; }
.af-blogs-page .af-blog-title a { color:var(--af-blue); text-decoration:none; }
.af-blogs-page .af-blog-title a:hover { color:var(--af-red); }
.af-blogs-page .af-blog-excerpt { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin:0 0 16px; color:var(--af-text); font-size:16px!important; font-weight:400; line-height:1.7; overflow-wrap:anywhere; }
.af-blogs-page .af-blog-details { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:44px; padding:10px 24px; border:1px solid var(--af-blue); background:var(--af-blue); color:#fff; font-size:16px; font-weight:500; line-height:1.5; text-align:center; text-decoration:none; }
.af-blogs-page .af-blog-image { display:block; overflow:hidden; border-radius:6px; background:var(--af-surface); }
.af-blogs-page .af-blog-image img { display:block; width:100%; height:auto; aspect-ratio:4 / 3; object-fit:contain; }
.af-blogs-page .af-blog-entry a:focus-visible { outline:2px solid var(--af-red); outline-offset:4px; }
@media (min-width:768px) and (max-width:991px) {
  .af-blogs-page .af-blog-entry { grid-template-columns:minmax(0,1fr); gap:16px; }
  .af-blogs-page .af-blog-image { grid-column:1; max-width:320px; width:100%; }
}
@media (max-width:767px) {
  .af-blogs-page .af-blog-entry { grid-template-columns:minmax(0,1fr); gap:16px; padding:24px 0; }
  .af-blogs-page .af-blog-title { font-size:22px!important; }
  .af-blogs-page .af-blog-image { grid-column:1; width:100%; max-width:360px; }
}

/* brand-theme.css */
/* Shared Anson Flow palette and type scale for application pages, home and catalog heroes.
   Oswald is already loaded by the site shell; CJK text uses local sans-serif fonts.
   The font stack is site-wide: every template and stylesheet uses var(--af-font) for text. */
:root { --af-font: "Oswald", "PingFang TC", "Microsoft JhengHei", sans-serif; }
html:lang(ja) { --af-font: "Oswald", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif; }
.semicon-preview, .af-home-hero, .af-catalog-hero, .af-alloy-page, .af-contact-hero, .af-blogs-page, .af-recent-posts, .af-mobile-actions, .af-category-drawer, .af-category-tree, .af-catalog-table, [data-product-list="category"], .main-header, #contactSupplierModal, #splash-screen {
  --af-blue: #1d2088;
  --af-blue-hover: #14166b;
  --af-red: #cf2126;
  --af-text: #252525;
  --af-muted: #646464;
  --af-border: #dedee5;
  --af-surface: #f6f6f8;
  --af-on-blue: #eeeef5;
  --af-hero-size: clamp(32px, 3vw, 44px);
  --af-section-size: clamp(28px, 2.5vw, 36px);
  --af-card-size: 22px;
  --af-body-size: 16px;
  --af-small-size: 14px;
  --af-button-size: 16px;
}
@media (max-width: 640px) {
  .semicon-preview, .af-home-hero, .af-catalog-hero, .af-alloy-page, .af-contact-hero { --af-hero-size: 32px; --af-section-size: 28px; --af-card-size: 20px; }
}

/* breadcrumb.css */
/* Breadcrumb: one look on every page (products, categories, product detail, blogs), at every width. */
section.bread-crum .container { padding-left: 15px !important; padding-right: 15px !important; }
.bread_crumb { padding: 10px 0 !important; font-size: 14px !important; line-height: 1.5 !important; font-weight: 400 !important; color: #555 !important; }
.bread_crumb a { font-size: 14px !important; font-weight: 500 !important; color: #000 !important; }
.bread_crumb a:hover { color: #1d2088 !important; }
.bread_crumb span { font-size: 14px !important; font-weight: 400 !important; color: #555 !important; }

/* catalog-hero.css */
/* Transparent-looking product strip, flip-to-details cards in a compact catalog banner. */
.af-catalog-hero { --af-marquee-card:184px; --af-hero-ink:var(--af-text); --af-hero-accent:var(--af-blue); position:relative; background:linear-gradient(90deg,#f6f6f8 0%,#f6f6f8 43%,#eaf2fb 65%,#dceafb 100%); overflow:hidden; border-bottom:1px solid #dce3ed; }
.af-catalog-hero,.af-catalog-hero * { box-sizing:border-box; font-family:var(--af-font)!important; }
.af-catalog-hero-layout { display:grid; grid-template-columns:minmax(0,43%) minmax(0,51%); gap:6%; align-items:center; min-height:256px; padding-top:24px; padding-bottom:24px; }
.af-catalog-hero-layout::before,.af-catalog-hero-layout::after { display:none; }
.af-catalog-hero-copy { min-width:0; }
.af-catalog-hero-copy::before { content:""; display:block; width:40px; height:3px; margin-bottom:12px; background:#8da7cc; }
.af-catalog-hero h1 { margin:0; color:var(--af-hero-ink); font-size:var(--af-hero-size)!important; font-weight:600; line-height:1.25; letter-spacing:0; text-transform:none; overflow-wrap:anywhere; }
.af-catalog-hero .af-catalog-overview { margin:12px 0 0; padding:0; border:0; }
.af-catalog-hero .af-catalog-overview .af-catalog-intro { color:var(--af-muted); font-size:18px!important; font-weight:400; line-height:1.65; letter-spacing:.025em; word-spacing:.1em; text-transform:none; }
#catalog-products { scroll-margin-top:100px; }
/* Blend the complete moving layer: transforms otherwise isolate the white image backgrounds. */
.af-catalog-hero-media { position:relative; min-width:0; mix-blend-mode:multiply; }
.af-catalog-hero-viewport { overflow-x:auto; scrollbar-width:thin; padding:8px 0; mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); }
.af-catalog-hero-track { display:flex; width:max-content; }
.af-catalog-hero-group { display:flex; gap:16px; padding-right:16px; flex:none; }
.af-catalog-hero-card { display:block; flex:0 0 var(--af-marquee-card); width:var(--af-marquee-card); height:var(--af-marquee-card); perspective:900px; text-decoration:none; color:#fff; }
.af-catalog-hero-flip { display:block; position:relative; width:100%; height:100%; transform-style:preserve-3d; transition:transform .45s ease; }
.af-catalog-hero-front,.af-catalog-hero-back { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.af-catalog-hero-front { background:transparent; }
.af-catalog-hero-front img { display:block; width:100%; height:100%; object-fit:contain; }
.af-catalog-hero-back { transform:rotateY(180deg); flex-direction:column; gap:12px; padding:16px; border-radius:4px; background:linear-gradient(140deg,var(--af-blue),#425da4); color:#fff; text-align:center; }
.af-catalog-hero-name { min-height:0; overflow-y:auto; scrollbar-width:thin; font-size:18px; font-weight:500; line-height:1.4; overflow-wrap:anywhere; }
.af-catalog-hero-detail { flex:none; display:inline-flex; align-items:center; gap:12px; border-bottom:1px solid #ffffff80; padding-bottom:4px; font-size:14px; line-height:1.4; }
.af-catalog-hero-detail::after { content:"\2192"; }
.af-catalog-hero-card:focus-visible .af-catalog-hero-flip { transform:rotateY(180deg); }
.af-catalog-hero .af-catalog-hero-card:focus-visible { outline:2px solid var(--af-hero-accent); outline-offset:3px; }
@media (hover:hover) { .af-catalog-hero-card:hover .af-catalog-hero-flip { transform:rotateY(180deg); } }
.af-catalog-hero-media.is-animated .af-catalog-hero-viewport { overflow-x:hidden; }
.af-catalog-hero-media.is-animated .af-catalog-hero-track { animation:af-catalog-drift var(--af-marquee-duration) linear infinite; will-change:transform; }
.af-catalog-hero-media.is-focused .af-catalog-hero-track { animation:none; will-change:auto; }
.af-catalog-hero-media.is-focused .af-catalog-hero-viewport { overflow-x:auto; }
.af-catalog-hero-media.is-focused [data-hero-clone] { display:none; }
@keyframes af-catalog-drift { to { transform:translateX(var(--af-marquee-distance)); } }
@media (max-width:1199px) { .af-catalog-hero { --af-marquee-card:176px; } .af-catalog-hero-name { font-size:18px; } }
@media (max-width:992px) {
  .af-catalog-hero { margin-top:80px; --af-marquee-card:160px; }
  .af-catalog-hero-layout { min-height:224px; padding-top:20px; padding-bottom:20px; }
  .af-catalog-hero-back { padding:16px; gap:12px; }
}
@media (max-width:767px) {
  .af-catalog-hero { background:var(--af-surface); }
  .af-catalog-hero-layout { grid-template-columns:minmax(0,1fr); min-height:0; gap:0; padding:20px; }
  .af-catalog-hero .af-catalog-overview { margin-top:14px; }
  .af-catalog-hero .af-catalog-overview .af-catalog-intro { font-size:17px!important; }
  .af-catalog-hero-media { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .af-catalog-hero-media.is-animated .af-catalog-hero-track { animation:none; will-change:auto; }
  .af-catalog-hero-media.is-animated .af-catalog-hero-viewport { overflow-x:auto; }
  .af-catalog-hero-flip { transition:none; }
}

/* catalog-specs.css */
/* Shared catalog information: short descriptions above the list, explicitly labelled product specs. */
.af-catalog-overview { margin:0 0 24px; padding:0 0 20px; border-bottom:1px solid var(--af-border,#dedee5); }
.af-catalog-overview .af-catalog-intro { margin:0; color:var(--af-text,#333); font-size:16px!important; line-height:1.65; }
.af-product-specs { margin:12px 0; text-align:left; }
.af-product-specs>div { display:grid; grid-template-columns:min(32%,96px) minmax(0,1fr); gap:8px; margin:0 0 5px; }
.af-product-specs dt,.af-product-specs dd { margin:0; font-size:14px; line-height:1.55; overflow-wrap:anywhere; }
.af-product-specs dt { color:var(--af-muted,#646464); font-weight:400; }
.af-product-specs dd { color:var(--af-text,#333); font-weight:500; }
.af-catalog-table { table-layout:fixed; width:100%; }
.af-catalog-table .af-series-column { width:58%; }
.af-catalog-table>thead>tr>th { padding:12px 16px; color:var(--af-blue,#1d2088); font-size:15px; font-weight:600; }
.af-catalog-table>tbody>tr>td { padding:14px 16px; vertical-align:middle; }
.af-catalog-table .af-product-specs { margin:0; }
.af-catalog-table .mainn-pro { display:flex!important; min-width:0; gap:12px; text-align:left; }
.af-catalog-table .mainn-pro>a:first-child { flex:0 0 60px; margin-right:0!important; }
.af-catalog-table .pro-title { display:block; flex:1; min-width:0; max-width:none; overflow:visible; -webkit-line-clamp:unset; white-space:normal; overflow-wrap:anywhere; color:var(--af-text,#333); }
.af-catalog-table .pro-title p { margin:0; font-family:var(--af-font)!important; font-size:16px!important; line-height:1.5; text-align:left; }
.af-catalog-overview,.af-catalog-overview *,.af-product-specs,.af-product-specs * { font-family:var(--af-font)!important; }
@media (max-width:767px) {
    .product-section[data-product-list="category"] .product-list { border:0!important; }
    .af-catalog-overview { margin-bottom:20px; padding-bottom:16px; }
    .af-catalog-table thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
    .af-catalog-table tbody,.af-catalog-table tr,.af-catalog-table td { display:block; width:100%; }
    .af-catalog-table>tbody>tr:not(.af-product-section) { padding:14px; border-bottom:1px solid var(--af-border,#dedee5); }
    .af-catalog-table>tbody>tr:not(.af-product-section)>td { padding:0; border:0; }
    .af-catalog-table>tbody>tr:not(.af-product-section)>td+td { padding-top:12px; }
}

/* Category cards keep the original unlabelled size / pressure teaser. */
.product-section .af-category-specs { display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline; gap:4px 12px; margin:10px 0 14px; }
.product-section .af-category-specs .pro-txt1 { margin:0; font-family:var(--af-font)!important; font-size:15px!important; line-height:1.6; color:var(--af-text,#333); }
.product-section .af-category-specs .pro-txt1 + .pro-txt1::before { content:"·"; margin-right:12px; color:var(--af-muted,#646464); }

/* Category cards enter in place when appended; no horizontal motion or stagger. */
.af-category-card { animation:af-category-appear .28s ease-out; }
@keyframes af-category-appear { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .af-category-card { animation:none; } }

/* category-groups.css */
/* Subcategory headings inside a parent category's card grid (lists.subcategory_heading); same quiet style as the All products sections. */
[data-product-list="category"] .af-subcategory-heading { margin:28px 0 16px; }
[data-product-list="category"] [data-list-items]>.af-subcategory-heading:first-child { margin-top:0; }
[data-product-list="category"] .af-subcategory-heading h2 { margin:0; padding:10px 17px; border-left:3px solid var(--af-red,#cf2126); background:var(--af-surface,#f6f6f8); color:var(--af-text,#252525); font-family:var(--af-font)!important; font-size:18px!important; font-weight:600; line-height:1.4; text-transform:none; }
[data-product-list="category"] .af-subcategory-heading a { color:var(--af-blue,#1d2088); text-decoration:none; }
[data-product-list="category"] .af-subcategory-heading a:hover { text-decoration:underline; text-underline-offset:4px; }
[data-product-list="category"] .af-subcategory-heading a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
[data-product-list="category"] .af-subcategory-count { color:var(--af-muted,#646464); font-size:14px; font-weight:400; }
@media (max-width:767px) {
  [data-product-list="category"] [data-list-items]>.af-subcategory-heading { display:block; margin:12px 0 0; }
  [data-product-list="category"] .af-subcategory-heading h2 { padding:9px 12px; font-size:16px!important; }
}

/* category-navigation.css */
/* Compact category navigation: native collapsed branches and a visible current position. */
.pro-menu .product-navbar { width:100%; padding:0; }
.pro-menu .product-navbar .navbar-collapse { width:100%; }
.af-category-tree { width:100%; margin:0; padding:0; border:0; background:transparent; list-style:none; }
.af-category-tree li { display:block; width:100%; margin:0; padding:0; border:0; background:transparent; list-style:none; }
.af-category-tree a { display:flex; align-items:center; min-height:34px; margin:0; padding:6px 10px; border:0; border-left:3px solid transparent; color:#333; background:transparent; font-family:var(--af-font); font-size:15px; font-weight:400; line-height:1.4; text-decoration:none; white-space:normal; overflow-wrap:anywhere; }
.af-category-tree .af-category-all { margin-bottom:4px; }
.af-category-tree .af-category-children { margin:0 0 4px 12px; padding:0; border:0; list-style:none; }
.af-category-tree .af-category-children a { min-height:30px; padding:5px 10px; color:#646464; font-size:14px; font-weight:400; }
.af-category-tree a:hover { color:#cf2126; }
.af-category-tree a[aria-current="page"] { border-left-color:#cf2126; background:#eef2f9; color:#1d2088; font-weight:500; }
.af-category-tree .has-current-child>a { border-left-color:#cf2126; background:#eef2f9; color:#1d2088; font-weight:500; }
.af-category-tree .has-reading-child>a { border-left-color:#cf2126; color:#1d2088; font-weight:500; }
.af-category-tree a:focus-visible { outline:2px solid #cf2126; outline-offset:-2px; }
.af-category-tree a,.af-category-list a { transition:background-color .18s,color .18s,border-color .18s; }
.af-category-tree a.is-reading,.af-category-list a.is-reading { border-left-color:#cf2126; color:#1d2088; font-weight:500; }
.af-category-tree a.is-reading::after,.af-category-tree .has-reading-child>a::after { content:""; flex:0 0 7px; width:7px; height:12px; margin-left:auto; margin-right:3px; border:solid #cf2126; border-width:0 2px 2px 0; transform:translateY(-2px) rotate(45deg); }
.af-category-tree a.is-reading,.af-category-list a.is-reading { gap:10px; }
.pro-menu { overscroll-behavior-y:contain; scrollbar-width:thin; }
@media (prefers-reduced-motion:reduce) { .af-category-tree a,.af-category-list a { transition:none; } }

.af-category-tree .has-children { position:relative; }
.af-category-tree .has-children>a { padding-right:36px; }
.af-category-branch>summary { position:absolute; top:0; right:0; display:flex; align-items:center; justify-content:center; width:32px; min-height:34px; padding:0; color:var(--af-muted,#646464); list-style:none; cursor:pointer; }
.af-category-branch>summary::-webkit-details-marker { display:none; }
.af-category-branch>summary::marker { content:""; }
.af-category-chevron { display:block; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.af-category-branch[open]>summary .af-category-chevron { transform:translateY(2px) rotate(225deg); }
.af-category-branch>summary:hover { color:var(--af-blue,#1d2088); background:#eef2f9; }
.af-category-branch>summary:focus-visible { outline:2px solid var(--af-red,#cf2126); outline-offset:-2px; }
.af-category-drawer .af-category-tree a { min-height:40px; padding-top:9px; padding-bottom:9px; }
.af-category-drawer .af-category-branch>summary { min-height:40px; width:36px; }

/* contact-hero.css */
/* Preserve the shared dev typography and the original contact form below the new hero. */
.af-contact-hero, .af-contact-hero * { box-sizing:border-box; font-family:var(--af-font)!important; }
.af-contact-hero { position:relative; isolation:isolate; overflow:hidden; background:var(--af-surface); }
.af-contact-hero-image { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center; }
.af-contact-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(246,246,248,.97),rgba(246,246,248,.91) 40%,rgba(246,246,248,.2)); }
.af-contact-hero-copy { padding-top:56px; padding-bottom:56px; }
.af-contact-hero h1 { margin:0; color:var(--af-text); font-size:var(--af-hero-size); font-weight:600; line-height:1.25; }
.af-contact-hero p { max-width:650px; margin:18px 0 0; color:var(--af-text); font-size:18px; font-weight:400; line-height:1.8; letter-spacing:.025em; word-spacing:.1em; }
@media (max-width:992px) { .af-contact-hero { margin-top:80px; } }
@media (max-width:767px) {
  .af-contact-hero-copy { padding:32px 20px; }
  .af-contact-hero::before { background:rgba(246,246,248,.92); }
  .af-contact-hero p { font-size:17px; }
}

/* cta-buttons.css */
/* Application and home hero actions share the brand palette and a 48px target. */
.af-home-hero .af-hero-actions a, .semicon-preview .sp-btn {
  min-height:48px; padding:12px 24px; font-size:var(--af-button-size) !important;
  font-weight:600; line-height:1.5; text-align:center; text-decoration:none;
}
.af-home-hero .af-hero-actions a:not(.af-hero-outline) { border-color:rgba(255,255,255,.85); }
.af-home-hero .af-hero-actions a:not(.af-hero-outline):is(:hover,:focus-visible),
.semicon-preview .sp-btn:not(.sp-btn-outline):not(.sp-secondary):is(:hover,:focus-visible) {
  background:var(--af-blue-hover); color:#fff; text-decoration:none;
}
.af-home-hero .af-hero-actions a.af-hero-outline:is(:hover,:focus-visible),
.semicon-preview .sp-btn:is(.sp-btn-outline,.sp-secondary):is(:hover,:focus-visible) {
  background:#fff; color:var(--af-blue); border-color:var(--af-blue); text-decoration:none;
}
.semicon-preview :is(.sp-hero,.sp-dark) a:focus-visible { outline-color:#fff; }
/* Bootstrap's own hover for .btn-primary is a bright blue (#0b5ed7); every primary button darkens the same way instead. */
.btn.btn-primary:not(.vertical-text):hover, .btn.btn-primary:not(.vertical-text):focus, .btn.btn-primary:not(.vertical-text):active { background: #14166b; border-color: #14166b; color: #fff; }

/* Two button families, one look each.
   Square: hero, semicon CONTACT, product Inquire Now (square corners, same hover).
   Pill: More Products and View Details (fully round, same hover). The legacy rules use high-specificity selectors, hence !important. */
.af-home-hero .af-hero-actions a, .semicon-preview .sp-btn, a.btn-primary.inquiry-pops { border-radius: 0 !important; }
/* The inquiry forms' Submit buttons are rounded like the CMS Sign in button (inquiry-form.css, inquiry-modal.css). */
.about-btn a, a.links, a.af-blog-details { border-radius: 999px !important; }
.about-btn a:hover, .about-btn a:focus-visible, a.links:hover, a.links:focus-visible, a.af-blog-details:hover, a.af-blog-details:focus-visible { background: #14166b !important; border-color: #14166b !important; color: #fff !important; }

/* floating-actions.css */
/* Floating actions on every page: the "Inquire now" tab and the back-to-top button.
   Both sit flush against the right edge, share one look (the inquiry blue, white text) and one width.
   The tab uses vertical writing mode instead of a rotated box, so any language or text length stays on the edge. */
body .my_contact_us { display: block; position: fixed !important; right: 0 !important; left: auto !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 900; margin: 0; }
body .my_contact_us a.btn.vertical-text { display: block; writing-mode: vertical-rl; width: 52px; padding: 22px 0; border: 0 !important; border-radius: 10px 0 0 10px; background: #1d2088; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .12em; line-height: 52px; text-align: center; white-space: nowrap; box-shadow: -2px 2px 10px rgba(0, 0, 0, .25); }
body .my_contact_us a.btn.vertical-text:hover, body .my_contact_us a.btn.vertical-text:focus-visible { background: #14166b; color: #fff; }
.af-top { position: fixed; right: 0; bottom: 28px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 10px 0 0 10px; background: #1d2088; color: #fff; font-size: 24px; line-height: 52px; text-align: center; cursor: pointer; box-shadow: -2px 2px 10px rgba(0, 0, 0, .25); z-index: 900; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, background .2s; }
.af-top.is-shown { opacity: 1; visibility: visible; }
.af-top:hover, .af-top:focus-visible { background: #14166b; }
@media (max-width: 767px) {
  body .my_contact_us a.btn.vertical-text { width: 46px; padding: 18px 0; font-size: 16px; line-height: 46px; }
  .af-top { width: 46px; height: 46px; font-size: 22px; line-height: 46px; bottom: 20px; }
}

/* footer.css */
/* Keep the footer mark's original 651 x 93 proportions, including before lazy loading. */
.footer-botm img.img-fluid { display:block; max-width:30%; height:auto; aspect-ratio:651 / 93; object-fit:contain; margin-inline:auto; }

/* One type scale for all three columns (the legacy sheets give each column, and each breakpoint, its own sizes, down to
   10px on phones): headings 18px and bolder, every item 14px on a 1.6 line in a softer white, so a
   heading and its rows read as two levels. The !important flags beat the legacy !important rules. */
footer.footer-section { --af-foot-text:rgba(255,255,255,.78); --af-foot-rule:rgba(255,255,255,.16); }
footer.footer-section .col-md-3.ffc { border-right-color:var(--af-foot-rule); }
footer.footer-section .f-recent-post .f-post h2 { margin:0 0 8px; padding:0; color:#fff; font-family:var(--af-font)!important; font-size:18px!important; font-weight:600; line-height:1.4!important; letter-spacing:.02em; }
footer.footer-section .f-recent-post .f-recent { display:block; margin:0!important; }
footer.footer-section .f-details-wrapper h3,
footer.footer-section .footer-menus li a { color:var(--af-foot-text); font-family:var(--af-font)!important; font-size:14px!important; font-weight:400; line-height:1.6!important; margin:0; }
footer.footer-section a:hover h3,
footer.footer-section .footer-menus li a:hover { color:#fff; }
footer.footer-section a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

/* Navigation columns: one link per row, 4px above and below. */
footer.footer-section .af-footer-nav { min-width:0; }
footer.footer-section .af-footer-nav .f-recent-post { padding:0 24px; }
footer.footer-section .af-footer-nav .footer-menus ul { margin:0; padding:0; list-style:none; }
footer.footer-section .af-footer-nav .f-details-wrapper a { display:block; padding:4px 0; overflow-wrap:anywhere; text-decoration:none; }
footer.footer-section .af-footer-nav .f-details-wrapper a:hover { text-decoration:underline; text-underline-offset:3px; }
footer.footer-section .af-footer-nav .f-recent.fot-downl-new { margin:0 0 28px!important; }

/* Company block: e-mail on its own line, then each office as name + address and one phone/fax line. Icons sit in a fixed
   16px box beside the first line, and wrapped text stays indented past them. */
footer.footer-section .f-recent-post.f-recent-post-last { padding-left:60px; padding-right:24px; }
footer.footer-section .f-recent.fot-cont-new .f-details-wrapper>a,
footer.footer-section .fot-cont-new .af-footer-office>span { display:block; text-decoration:none; }
footer.footer-section .f-recent.fot-cont-new .f-details-wrapper h3 { display:flex; align-items:flex-start; gap:10px; margin:0; text-transform:none; }
footer.footer-section .f-recent.fot-cont-new .f-details-wrapper h3.sml-txt { text-transform:lowercase; }
footer.footer-section .fot-cont-new .f-details-wrapper h3 img.img-fluid { flex:none; width:16px; height:16px; margin:3px 0 0; object-fit:contain; opacity:.85; }
footer.footer-section .fot-cont-new .af-office-name { color:#fff; font-weight:500; }
footer.footer-section .fot-cont-new .af-footer-office { margin-top:16px; }
footer.footer-section .fot-cont-new .af-footer-tel { display:flex; flex-wrap:wrap; column-gap:32px; row-gap:4px; margin-top:6px; }
footer.footer-section .f-recent.fot-cont-new .af-footer-tel h3.phn-num { margin-right:0; }

/* Copy buttons after the e-mail and addresses (footer-copy.js): the text keeps its place, the button follows it. */
footer.footer-section .fot-cont-new .af-copy-row { display:flex; align-items:flex-start; gap:6px; }
footer.footer-section .fot-cont-new .af-copy-row>:first-child { min-width:0; }
footer.footer-section .af-copy-button { flex:none; display:inline-grid; place-items:center; width:28px; height:28px; margin:-3px 0 0; padding:0; border:0; border-radius:4px; background:transparent; color:#fff; opacity:.6; cursor:pointer; transition:opacity .15s, background .15s; }
footer.footer-section .af-copy-button:hover { opacity:1; background:rgba(255,255,255,.12); }
footer.footer-section .af-copy-button:focus-visible { opacity:1; outline:2px solid #fff; outline-offset:1px; }

/* Side by side (768px and up) the company column is as tall as the link columns. The company block is centred across the
   column (heading and details share one left edge, text left-aligned); its heading stays on the same line as Category and
   Download, and the details sit centred in the height left under it. */
@media (min-width:768px) {
  footer.footer-section .container.bg>.row>.col-md-6 { display:flex; }
  footer.footer-section .f-recent-post.f-recent-post-last { flex:1 1 auto; display:flex; justify-content:center; padding-left:24px; padding-right:24px; }
  footer.footer-section .f-recent-post-last>.f-post { display:flex; flex-direction:column; width:fit-content; max-width:100%; text-align:left; }
  footer.footer-section .f-recent-post-last .f-recent.fot-cont-new { flex:1 1 auto; display:flex!important; flex-direction:column; justify-content:center; align-items:stretch; }
}
@media (max-width:991px) and (min-width:768px) {
  footer.footer-section .af-footer-nav .f-recent-post { padding:0 16px; }
}
@media (max-width:767px) {
  .footer-botm { padding:14px 0 calc(14px + env(safe-area-inset-bottom)); }
  .footer-botm img.img-fluid { max-width:min(88%, 360px); }
  footer.footer-section .container.bg { padding:44px 0 36px; }
  footer.footer-section .f-recent-post .f-post h2 { font-size:16px!important; margin-bottom:6px; padding-bottom:0; }
  footer.footer-section .af-footer-nav { width:50%; flex:0 0 50%; }
  footer.footer-section .af-footer-nav.ffc { border-right:0; }
  footer.footer-section .af-footer-nav .f-recent-post { padding:0 12px 0 24px; }
  footer.footer-section .af-footer-nav.ffc .f-recent-post { padding-left:12px; padding-right:24px; }
  footer.footer-section .af-footer-nav .f-details-wrapper a { padding:6px 0; }
  footer.footer-section .af-footer-nav .f-recent.fot-downl-new { margin-bottom:24px!important; }
  /* The company block runs full width under the two link columns, set off by a rule. */
  footer.footer-section .f-recent-post.f-recent-post-last { margin:32px 24px 0; padding:28px 0 0; border-top:1px solid var(--af-foot-rule); }
  footer.footer-section .fot-cont-new .af-footer-tel { column-gap:24px; }
}

/* header-compact.css */
/* The fixed header (up to 992px) shrinks a little once the page scrolls (header-compact.js). Its height is
   --af-fixed-header, which the drawer (lang-switch.css) and the sticky toolbars below it follow. */
@media (max-width:992px) {
  html { --af-fixed-header:80px; }
  html.af-header-compact { --af-fixed-header:60px; }
  /* The legacy stylesheet fixes the section at height:80px. */
  html section.logo-sec.main-header { height:var(--af-fixed-header); transition:height .2s ease, box-shadow .2s ease; }
  .main-header .my-navbar { transition:height .2s ease; }
  .main-header .my-navbar .header-logo.mobile-logo img { transition:width .2s ease, max-height .2s ease; }
  html.af-header-compact .main-header .my-navbar .header-logo.mobile-logo img { width:136px!important; max-height:46px; }
  html.af-header-compact section.logo-sec.main-header { box-shadow:0 2px 10px rgba(0,0,0,.06); }
}
@media (max-width:992px) and (prefers-reduced-motion:reduce) {
  html section.logo-sec.main-header, .main-header .my-navbar, .main-header .my-navbar .header-logo.mobile-logo img { transition:none; }
}

/* header-menu.css */
/* Header only: compact legacy typography, one chevron and explicit nested disclosures. */
.main-header { --af-menu-row-height:28px; }
/* The whole header must sit above sticky breadcrumbs (850), not just its dropdown children. */
section.logo-sec.main-header { z-index:1000; }
.main-header .header-logo-contain { padding:10px; }
.main-header .af-header-navigation { animation:none!important; transform:none!important; visibility:visible!important; }
.main-header .my-navbar .navbar-nav :is(a,button) { font-family:var(--af-font)!important; letter-spacing:0; }
.main-header .my-navbar .navbar-nav>.nav-item>a.nav-link { display:flex; align-items:center; gap:8px; font-size:15px!important; font-weight:500; text-transform:uppercase; }
.main-header .my-navbar .dropdown-toggle::after,
.main-header .my-navbar .af-header-subtoggle::after { content:""; display:inline-block; flex:none; width:7px; height:7px; margin:0 2px 3px 4px; border:0; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); transition:transform .18s ease; vertical-align:middle; }
.main-header .my-navbar .dropdown-toggle[aria-expanded="true"]::after,
.main-header .my-navbar .af-header-subtoggle[aria-expanded="true"]::after { transform:rotate(225deg); margin-bottom:-3px; }
.main-header .my-navbar .navbar-nav>.nav-item>a[aria-expanded="true"] { color:var(--af-red)!important; }
.main-header .my-navbar .navbar-collapse>.navbar-nav>.dropdown>.dropdown-menu { border-radius:0; border:1px solid #00000026; box-shadow:0 4px 12px #0000000d; }
.main-header .my-navbar .navbar-collapse ul.dropdown-menu li>a { font-family:var(--af-font)!important; font-size:15px!important; font-weight:700; line-height:24px; color:#353535!important; text-transform:capitalize; white-space:normal; }
.main-header .my-navbar .af-header-parent-link::after { display:none; }
.main-header .my-navbar .af-header-subtoggle { display:none; }
.main-header.af-header-menu-ready .my-navbar .sub-dropdown-parent { position:relative; }
.main-header.af-header-menu-ready .my-navbar .sub-dropdown-parent>.af-header-parent-link { padding-right:calc(var(--af-menu-row-height) + 4px)!important; min-height:var(--af-menu-row-height); }
.main-header.af-header-menu-ready .my-navbar .af-header-subtoggle { position:absolute; top:0; right:0; display:flex; align-items:center; justify-content:center; width:var(--af-menu-row-height); height:var(--af-menu-row-height); margin:0; padding:0; border:0; border-radius:0; background:transparent; color:var(--af-blue); cursor:pointer; }
.main-header.af-header-menu-ready .my-navbar .af-header-subtoggle:is(:hover,[aria-expanded="true"]) { color:var(--af-red); background:var(--af-surface); }
.main-header.af-header-menu-ready .my-navbar ul.af-header-submenu { position:static!important; inset:auto!important; transform:none!important; float:none; width:auto!important; min-width:0; margin:2px 0 4px 8px!important; padding:0 0 0 8px!important; border:0; border-left:1px solid var(--af-border); background:transparent; box-shadow:none; }
.main-header.af-header-menu-ready .my-navbar ul.af-header-submenu:not(.show) { display:none!important; }
.main-header.af-header-menu-ready .my-navbar ul.af-header-submenu.show { display:block!important; }
.main-header .my-navbar .navbar-nav :is(a,button):focus-visible { outline:2px solid var(--af-red); outline-offset:-2px; }
@media (min-width:993px) {
  /* Header has its own wider frame; page content keeps the shared container grid. */
  .main-header .header-logo-contain { width:100%; max-width:1520px; padding:10px clamp(20px,2.5vw,40px); }
  .main-header .my-navbar .navbar-collapse>.navbar-nav>.dropdown>.dropdown-menu { width:max-content; min-width:190px; max-width:min(300px,calc(100vw - 40px)); max-height:calc(100vh - 150px); max-height:calc(100dvh - 150px); overflow-y:auto; overscroll-behavior:contain; padding:4px 8px; }
  .main-header .my-navbar .navbar-collapse ul.dropdown-menu li { padding:0; }
  .main-header .my-navbar .navbar-collapse ul.dropdown-menu li>a { display:flex; align-items:center; min-height:var(--af-menu-row-height); margin:0!important; padding:2px 8px!important; }
}
@media (min-width:993px) and (max-width:1024px) {
  .main-header .my-navbar .navbar-collapse ul.dropdown-menu li>a { font-size:12px!important; }
}
@media (max-width:992px) {
  .main-header { --af-menu-row-height:40px; }
  .main-header .af-header-navigation { width:100%; padding-inline:0; }
  .main-header .my-navbar .navbar-collapse ul.dropdown-menu li>a { min-height:var(--af-menu-row-height); padding:8px 4px!important; font-size:14px!important; }
  .main-header .my-navbar .navbar-collapse>.navbar-nav>.dropdown>.dropdown-menu { box-shadow:none; border:0; border-left:2px solid var(--af-border); }
}
@media (prefers-reduced-motion:reduce) {
  .main-header .my-navbar .dropdown-toggle::after,.main-header .my-navbar .af-header-subtoggle::after { transition:none; }
}

/* header-overlay.css */
/* While the mobile menu or language list is open (header-overlay.js): the page below the header gets the inquiry
   modal's grey cover and blur and does not scroll; the header and its open panel stay above the cover. */
.af-header-backdrop { display:none; }
@media (max-width:992px) {
  html.af-header-overlay, html.af-header-overlay body { overflow:hidden; }
  .af-header-backdrop { display:block; position:fixed; inset:var(--af-fixed-header,80px) 0 0; z-index:999; background:rgba(66,72,82,.45); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); opacity:0; visibility:hidden; transition:opacity .2s ease, visibility 0s linear .2s; }
  html.af-header-overlay .af-header-backdrop { opacity:1; visibility:visible; transition:opacity .2s ease, visibility 0s linear 0s; }
}
@media (max-width:992px) and (prefers-reduced-motion:reduce) {
  .af-header-backdrop, html.af-header-overlay .af-header-backdrop { transition:none; }
}

/* high-purity-intro.css */
/* High Purity Solutions, first section: the valve photo centred and kept small enough to stay sharp (its source is
   1080px wide), then the PDF line (right) and the paragraph under it, on every screen size. */
section.customized-service.af-hp-intro-section { padding-top:24px; }
.af-hp-intro-section .af-hp-intro .about-head { margin-top:0; }
/* The photo has plain white bands above and below the valves: the frame leaves them out (the valves stay whole). */
.af-hp-intro .about-head img:not(.af-pdf-icon) { display:block; width:100%; max-width:800px; height:auto; aspect-ratio:1080 / 460; object-fit:cover; object-position:center; margin-inline:auto; }
.af-hp-intro-text .af-hp-intro-pdf { text-align:right; }
.af-hp-intro-text .af-hp-intro-pdf a { display:inline-block; margin-left:10px; vertical-align:middle; }

/* home-about.css */
/* Home About: give the exhibition photo room while retaining its full 4:3 composition. */
section.about-section.af-home-about { padding:28px 0!important; }
.af-home-about .af-home-about-row { row-gap:20px; }
.af-home-about .about-head { text-align:left; }
.af-home-about .about-head h4 { margin:0 0 8px; text-align:left; font-size:16px!important; line-height:1.4; }
.af-home-about .about-head .af-about-title { margin:0 0 14px; text-align:left; font-size:36px!important; line-height:1.25; }
.af-home-about .about-content { padding:0; }
.af-home-about .about-content p { display:block; margin:0 0 10px; font-size:16px!important; line-height:1.65; overflow:visible; -webkit-line-clamp:unset; }
.af-home-about .about-content p:empty { display:none; }
.af-home-about .about-content p:last-child { margin-bottom:0; }
.af-home-about .about-img { width:100%; max-width:440px; margin:0 auto; padding:0; }
.af-home-about .about-img img { display:block; width:100%; height:auto; max-height:none; aspect-ratio:4 / 3; object-fit:contain; }
@media (min-width:992px) {
  .af-home-about .af-home-about-copy { padding-right:36px; }
}
@media (max-width:991px) {
  section.about-section.af-home-about { padding:24px 0!important; }
  .af-home-about .about-img { max-width:400px; margin:0 auto; }
}
@media (max-width:767px) {
  .af-home-about .about-head .af-about-title { font-size:28px!important; margin-bottom:12px; }
  .af-home-about .about-head h4 { font-size:14px!important; }
  .af-home-about .af-home-about-row { row-gap:16px; }
}

/* home-image-ratios.css */
/* Preserve certificate proportions and fill the original application photo frames. */
.af-home-certifications .af-home-cert-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  max-width:1320px;
  margin:24px auto 0;
}
.af-home-certifications .af-home-cert-grid>div {
  width:100%;
  max-width:none;
  padding:0;
}
@media (max-width:767px) {
  .af-home-certifications .af-home-cert-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px 10px;
  }
}
section.af-home-certifications .certificate-img { width:100%; max-width:100%; }
.af-home-certifications .certificate-img>a { display:block; width:100%; max-width:100%; aspect-ratio:561 / 793; margin-inline:auto; }
.af-home-certifications .certificate-img img.img-fluid {
  display:block;
  width:100%;
  height:100%!important;
  max-width:100%;
  aspect-ratio:auto;
  object-fit:contain;
  margin-inline:auto;
}
.af-home-applications .gallery-img img.img-fluid {
  object-fit:cover;
  object-position:center;
  aspect-ratio:auto;
}

/* These four source icons are square; reserve a square before lazy loading. */
.homepage .service-sec .ser-img {
  width:30%;
  aspect-ratio:1;
  margin-inline:auto;
  flex-shrink:0;
}
.homepage .service-sec .ser-img img.img-fluid {
  display:block;
  width:100%;
  max-width:100%;
  height:100%!important;
  object-fit:contain;
  aspect-ratio:1;
}

/* inquiry-form.css */
/* Inquiry forms (popup and Contact us): field errors, the Turnstile check and the answer after sending. */
.af-inquiry-form .af-inquiry-extras { clear:both; }
.af-inquiry-form .af-inquiry-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
/* Both forms, phone and desktop: Turnstile at the left, 300 to 360px wide (drawn "flexible" by inquiry-form.js, so its
   height stays 65px; 300px is Cloudflare's minimum); the Submit button takes the rest of the row, as high as the check,
   rounded like the CMS Sign in button. Only where the row cannot hold the check and 120px of button does it go below. */
.af-inquiry-form .af-inquiry-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; clear:both; }
.af-inquiry-form .af-inquiry-check { flex:1 1 300px; min-width:300px; max-width:360px; min-height:65px; }   /* starts at 300: a wrapping row wraps before it shrinks */
.af-inquiry-form .af-inquiry-actions [type="submit"] { flex:0 0 auto; min-width:120px; height:65px; margin:0 0 0 auto; float:none; border-radius:6px; }
.af-required { margin-left:2px; color:#cf2126; font-weight:600; }
.af-required-note { margin:0 0 12px; color:var(--af-muted,#646464); font-size:13px; line-height:1.5; text-align:right; }
.af-inquiry-form .af-inquiry-status { margin:0 0 16px; padding:10px 12px; border:1px solid transparent; border-radius:4px; font-size:14px; line-height:1.6; }
.af-inquiry-form .af-inquiry-status[data-kind="info"] { background:var(--af-surface,#f6f6f8); color:var(--af-muted,#646464); }
.af-inquiry-form .af-inquiry-status[data-kind="ok"] { background:#ecf8f0; border-color:#9ad3ad; color:#1d5b33; }
.af-inquiry-form .af-inquiry-status[data-kind="bad"] { background:#fdecec; border-color:#f0a5a7; color:#8a1418; }
.af-inquiry-form .af-inquiry-error { display:block; margin:4px 0 0; color:#b0141a; font-size:13px; line-height:1.5; }
.af-inquiry-form [aria-invalid="true"] { border-color:#b0141a!important; }
.af-inquiry-form [type="submit"]:disabled { opacity:.6; cursor:progress; }
/* Contact us: the fields have no labels (icon and placeholder), so the mark sits at the field's right edge. */
.af-inquiry-form .af-required-field { position:relative; }
.af-inquiry-form .af-required-field::after { content:"*"; position:absolute; top:12px; right:14px; color:#cf2126; font-weight:600; line-height:1; pointer-events:none; }
.af-inquiry-form .af-required-field .form-control { padding-right:32px; }
.af-inquiry-form .af-required-field textarea.form-control { min-height:140px; }
/* Contact us: "* Required" sits at the top right of the form's title, and the send button fills the row from the
   right up to the Turnstile check. */
.contactmain .af-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding-right:20px; }
.contactmain .af-title-row .af-required-note { flex:0 0 auto; margin:0; padding-top:2px; }
.contactmain .af-inquiry-form .af-inquiry-actions { margin-top:4px; }
/* The old page fixed the form box at 440px, which the Turnstile row no longer fits in (it ran into the footer). */
.contactmain .shadow-box { height:auto; }
.contactmain .af-inquiry-actions button#inquiry_form_btn { flex:0 0 auto; width:auto; min-width:120px; margin:0 0 0 auto; height:65px; padding:0 24px; font-size:18px; font-weight:500; line-height:1.2; letter-spacing:.02em; text-align:center; border-radius:6px; }

/* inquiry-modal.css */
/* Shared inquiry form (partials/inquiry-form.html): the popup (#contactSupplierModal) and the end of every blog post
   (.af-blog-inquiry) use the same fields, labels and spacing; site typography, compact responsive spacing. */
.af-blog-inquiry .af-inquiry-form, .af-blog-inquiry .af-inquiry-form * { box-sizing:border-box; font-family:var(--af-font)!important; }
.af-blog-inquiry .af-inquiry-form { max-width:720px; color:var(--af-text,#252525); }
#contactSupplierModal { z-index:1060; color:var(--af-text,#252525); }
#contactSupplierModal, #contactSupplierModal * { box-sizing:border-box; font-family:var(--af-font)!important; }
#contactSupplierModal .modal-dialog { width:calc(100% - 32px); max-width:600px; margin:24px auto; }
#contactSupplierModal .modal-dialog-scrollable { height:calc(100% - 48px); }
#contactSupplierModal .modal-dialog-centered { min-height:calc(100% - 48px); }
#contactSupplierModal .modal-content { padding:0; border:1px solid var(--af-border,#dedee5); border-radius:12px; background:#fff; box-shadow:0 16px 56px rgb(0 0 0 / 16%); }
#contactSupplierModal .modal-header { display:block; position:relative; padding:20px 28px; border-bottom:1px solid var(--af-border,#dedee5); }
#contactSupplierModal .close { position:absolute; top:12px; right:16px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:6px; background:transparent; color:var(--af-muted,#646464); font-size:28px; font-weight:400; line-height:1; cursor:pointer; }
#contactSupplierModal .close:hover { background:var(--af-surface,#f6f6f8); color:var(--af-text,#252525); }
#contactSupplierModal .af-inquiry-heading { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin-right:40px; }
#contactSupplierModal .af-inquiry-logo { display:block; flex:none; width:112px; height:auto; aspect-ratio:290 / 84; object-fit:contain; }
#contactSupplierModal .modal-title { flex:1 1 128px; min-width:0; margin:0; font-size:28px!important; font-weight:500; line-height:1.3; text-align:left; text-transform:none; overflow-wrap:anywhere; }
#contactSupplierModal .modal-body { padding:16px 28px 20px; }
#contactSupplierModal #inquiry-preview-note { margin:0 0 16px; padding:10px 12px; border-radius:4px; background:var(--af-surface,#f6f6f8); color:var(--af-muted,#646464); font-size:14px; line-height:1.6; }
/* "* Required" shares the first label row (right end) instead of taking a line of its own. */
:is(#contactSupplierModal, .af-blog-inquiry) .af-inquiry-form { position:relative; }
:is(#contactSupplierModal, .af-blog-inquiry) .af-inquiry-form > .af-required-note { position:absolute; top:0; right:0; margin:0; font-size:13px; line-height:21px; }
:is(#contactSupplierModal, .af-blog-inquiry) .af-inquiry-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
:is(#contactSupplierModal, .af-blog-inquiry) .af-inquiry-wide { grid-column:1 / -1; }
:is(#contactSupplierModal, .af-blog-inquiry) .form-group { min-width:0; margin:0; }
:is(#contactSupplierModal, .af-blog-inquiry) .form-group label { display:block; margin:0 0 6px; color:var(--af-text,#252525); font-size:14px; font-weight:500; line-height:1.5; }
:is(#contactSupplierModal, .af-blog-inquiry) .form-group :is(input,textarea) { display:block; float:none; width:100%; height:auto; min-height:46px; margin:0; padding:10px 12px; border:1px solid var(--af-border,#dedee5); border-radius:4px; background:#fff; color:var(--af-text,#252525); font-size:16px; font-weight:400; line-height:1.5; }
:is(#contactSupplierModal, .af-blog-inquiry) .form-group :is(input,textarea):disabled { background:#fafafa; opacity:1; }
:is(#contactSupplierModal, .af-blog-inquiry) .form-group textarea { min-height:116px; resize:vertical; }
:is(#contactSupplierModal, .af-blog-inquiry) .agree { display:flex; align-items:flex-start; gap:10px; margin:0 0 16px; color:var(--af-muted,#646464); font-size:14px; font-weight:400; line-height:1.6; }
:is(#contactSupplierModal, .af-blog-inquiry) .agree input { flex:none; width:16px; height:16px; margin:3px 0 0; }
:is(#contactSupplierModal, .af-blog-inquiry) .agree span { position:static; top:auto; padding:0; font-size:14px; }   /* the old shell's label.agree span lifted the text off the box */
:is(#contactSupplierModal, .af-blog-inquiry) .cent { display:flex; align-items:center; gap:12px; padding-top:16px; border-top:1px solid var(--af-border,#dedee5); }
:is(#contactSupplierModal #inquiry_popup_btn, .af-blog-inquiry #inquiry_blog_btn) { flex:0 0 auto; width:auto; min-width:120px; height:65px; margin:0 0 0 auto; padding:10px 24px; border:0; border-radius:6px; background:var(--af-blue,#1d2088); color:#fff; font-size:16px; font-weight:500; line-height:1.5; }
#contactSupplierModal :is(.close,input,textarea,button):focus-visible, .af-blog-inquiry :is(input,textarea,button):focus-visible { outline:2px solid var(--af-blue,#1d2088); outline-offset:2px; }
@media (max-width:575px) {
  #contactSupplierModal .modal-dialog { width:calc(100% - 24px); margin:12px auto; }
  #contactSupplierModal .modal-dialog-scrollable { height:calc(100% - 24px); }
  #contactSupplierModal .modal-dialog-centered { min-height:calc(100% - 24px); }
  #contactSupplierModal .modal-header { padding:16px 20px; }
  #contactSupplierModal .close { top:10px; right:10px; }
  #contactSupplierModal .af-inquiry-heading { column-gap:12px; margin-right:36px; }
  #contactSupplierModal .af-inquiry-logo { width:86px; }
  #contactSupplierModal .modal-title { font-size:24px!important; }
  :is(#contactSupplierModal, .af-blog-inquiry) .af-inquiry-fields { grid-template-columns:minmax(0,1fr); gap:14px; }
  #contactSupplierModal .modal-body { padding:16px 14px 20px; }   /* leaves the 300px check its room on a 360px phone */
  :is(#contactSupplierModal, .af-blog-inquiry) .cent { flex-wrap:wrap; }   /* where the check and 120px of button do not fit, the button goes below (inquiry-form.css) */
}

/* Grey cover and blur belong only to inquiry; the dialog itself stays sharp. */
body.af-inquiry-open > .modal-backdrop { background:rgba(66,72,82,.45); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
body.af-inquiry-open > .modal-backdrop.show { opacity:1; }

/* list-pagination.css */
/* Page numbers wrap on narrow screens instead of pushing the page wider than the phone (the fixed tabs sat outside the screen on /blogs and /products). */
.pagination { flex-wrap: wrap; justify-content: center; row-gap: 4px; }

/* mobile-actions.css */
/* Two mobile actions with safe-area space. They fade out once the footer scrolls into view (mobile-actions.js),
   so the page needs no extra bottom padding and ends at the footer. */
.af-mobile-actions { display:none; }
.af-mobile-actions :is(a,button,span) { font-family:var(--af-font) !important; }
@media (max-width:767px) {
  html { scroll-padding-bottom:calc(var(--af-mobile-actions-height, 0px) + 12px); }
  body.has-mobile-actions .my_contact_us { display:none; }
  body.has-mobile-actions .af-top { bottom:calc(var(--af-mobile-actions-height, 80px) + 12px); }
  /* Let navigation/search and the on-screen keyboard use the mobile viewport. */
  body:has(.main-header .navbar-toggler[aria-expanded="true"]) :is(.af-mobile-actions,.af-top),
  body:has(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,textarea:focus,select:focus) :is(.af-mobile-actions,.af-top) { visibility:hidden; pointer-events:none; }
  .af-mobile-actions { transition:opacity .25s ease, transform .25s ease, visibility 0s linear 0s; }
  body.af-footer-in-view .af-mobile-actions { opacity:0; transform:translateY(100%); visibility:hidden; pointer-events:none; transition:opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
  body.has-mobile-actions.af-footer-in-view .af-top { bottom:calc(20px + env(safe-area-inset-bottom)); }
  .af-mobile-actions { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,13fr); gap:8px; position:fixed; inset:auto 0 0; z-index:900; padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); border-top:1px solid var(--af-border); background:#fff; box-shadow:0 -4px 18px rgba(0,0,0,.06); }
  .af-mobile-actions :is(a,button) { display:flex; justify-content:center; align-items:center; gap:6px; min-width:0; min-height:52px; margin:0; padding:10px 8px; border:1px solid var(--af-blue); border-radius:0; font-family:var(--af-font) !important; font-size:16px; font-weight:600; line-height:1.4; text-align:center; text-decoration:none; white-space:normal; overflow-wrap:anywhere; cursor:pointer; }
  .af-mobile-actions .af-mobile-secondary { background:#fff; color:var(--af-blue); font-size:14px; }
  .af-mobile-actions .af-mobile-primary { background:var(--af-blue); color:#fff; }
  .af-mobile-actions .af-mobile-primary:hover { background:var(--af-blue-hover); }
  .af-mobile-actions .af-mobile-secondary:hover { background:var(--af-surface); }
  .af-mobile-actions :is(a,button):focus-visible { outline:2px solid var(--af-red); outline-offset:2px; }
  .af-mobile-actions .af-toc-icon { font-size:18px; }
}
@media (max-width:767px) and (prefers-reduced-motion:reduce) {
  .af-mobile-actions, body.af-footer-in-view .af-mobile-actions { transition:none; }
}

/* mobile-categories.css */
/* Product category drawer: white surface, blue labels and a red current-category marker. */
html.af-category-open { overflow:hidden; }
.af-category-drawer { position:fixed; inset:0 auto 0 0; margin:0; padding:0; width:min(320px,calc(100vw - 28px)); max-width:none; height:100%; height:100dvh; max-height:none; border:0; border-right:1px solid var(--af-border); background:#fff; color:var(--af-text); box-shadow:8px 0 32px rgba(0,0,0,.12); overflow:hidden; }
.af-category-drawer:not([open]) { display:none; }
.af-category-drawer[open] { display:flex; flex-direction:column; }
.af-category-drawer::backdrop { background:rgba(0,0,0,.28); }
.af-category-drawer :is(h2,a,button) { font-family:var(--af-font) !important; }
.af-category-header { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:16px; padding:max(20px,env(safe-area-inset-top)) 20px 20px; border-top:3px solid var(--af-red); border-bottom:1px solid var(--af-border); }
.af-category-header h2 { margin:0; color:var(--af-blue); font-size:22px !important; font-weight:600; line-height:1.4; text-transform:none; }
.af-category-close { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; padding:0; border:1px solid var(--af-border); border-radius:0; background:#fff; color:var(--af-muted); font-size:28px; line-height:1; cursor:pointer; }
.af-category-close:hover { color:var(--af-red); border-color:var(--af-red); }
.af-category-list { padding:12px 16px max(24px,env(safe-area-inset-bottom)); overflow-y:auto; overscroll-behavior:contain; }
.af-category-drawer :is(a,button):focus-visible { outline:2px solid var(--af-red); outline-offset:-2px; }
@media (max-width:767px) { body.has-category-drawer .pro-menu { display:none; } }

/* mobile-language.css */
/* The globe stays in the mobile header; native details also works without JavaScript. */
@media (max-width:992px) {
  .main-header .my-navbar .container-fluids { gap:8px; }
  .main-header .my-navbar .header-logo.mobile-logo { flex:1 1 auto; margin-right:auto; }
  .main-header .lang-switch-mobile { display:block; position:relative; flex:0 0 44px; margin:0; padding:0; color:#1d2088; }
  .lang-switch-mobile summary { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid #d5d5d5; background:#fff; list-style:none; cursor:pointer; }
  .lang-switch-mobile summary::-webkit-details-marker { display:none; }
  .lang-switch-mobile summary svg { display:block; flex:none; }
  .lang-switch-mobile summary:hover,.lang-switch-mobile[open] summary { color:#cf2126; border-color:#cf2126; }
  .lang-switch-mobile summary:focus-visible { outline:2px solid #cf2126; outline-offset:3px; }
  .lang-switch-mobile .lang-switch { position:absolute; top:calc(100% + 12px); right:0; z-index:1100; width:176px; margin:0; padding:6px; border:1px solid #d5d5d5; border-top:2px solid #cf2126; background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.12); text-align:left; }
  .lang-switch-mobile .lang-switch ul { display:flex; flex-direction:column; align-items:stretch; width:100%; }
  .lang-switch-mobile .lang-switch li+li::before { display:none; }
  .lang-switch-mobile .lang-switch a,.lang-switch-mobile .lang-switch span { display:flex; justify-content:flex-start; width:100%; min-height:44px; height:auto; padding:12px; border:0; border-left:2px solid transparent; font-family:Arial,"Noto Sans TC","PingFang TC","Microsoft JhengHei","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif!important; font-size:14px; line-height:1.4; }
  .lang-switch-mobile .lang-switch a:hover { background:#f5f5f7; color:#1d2088; }
  .lang-switch-mobile .lang-switch [aria-current="true"] { border-left-color:#cf2126; background:#f5f5f7; color:#cf2126; }
}

/* mobile-product-list.css */
/* Two-column mobile product cards; group headings span both columns. */
@media (max-width:767px) {
  [data-product-list="category"]>[data-list-items] { margin-left:-6px; margin-right:-6px; row-gap:24px; }
  [data-product-list="category"]>[data-list-items]>div { display:flex; min-width:0; padding-left:6px; padding-right:6px; }
  [data-product-list="category"] .af-category-card { width:100%; min-width:0; }
  [data-product-list="category"] .af-category-card .main-div { display:grid; grid-template-columns:minmax(0,1fr); align-content:start; height:100%; margin:0!important; padding:0; }
  [data-product-list="category"] .af-category-card .main-div>a,
  [data-product-list="category"] .af-category-card .main-div>.product-url { grid-column:1 / -1; }
  [data-product-list="category"] .af-category-card .product-list { width:100%!important; height:auto!important; aspect-ratio:1; border:0!important; }
  [data-product-list="category"] .af-category-card .product-list img:not(.product-logo) { width:100%; height:100%; object-fit:contain; }
  [data-product-list="category"] .af-category-card .product-list .product-logo { max-width:42px; max-height:28px; z-index:1; }
  [data-product-list="category"] .af-category-card .product-url { margin:10px 0 0!important; }
  [data-product-list="category"] .af-category-card .product-url .pro-links { display:block; max-width:none; padding:0!important; font-family:var(--af-font)!important; font-size:15px!important; font-weight:500; line-height:1.45!important; overflow:visible; -webkit-line-clamp:unset; overflow-wrap:anywhere; }
  [data-product-list="category"] .af-category-specs { grid-column:1; min-width:0; flex-direction:column; align-items:center; gap:2px; margin:8px 0 0; text-align:center; }
  [data-product-list="category"] .af-category-specs .pro-txt1 { width:100%; min-width:0; font-size:13px!important; line-height:1.5; overflow-wrap:anywhere; }
  [data-product-list="category"] .af-category-specs .pro-txt1 + .pro-txt1::before { content:none; }
  [data-product-list="category"] .af-category-card .product-url-main { grid-column:1; justify-self:center; margin:10px 0 0!important; padding-top:0; }
  [data-product-list="category"] .af-category-card .view-details .links { display:inline-flex; align-items:center; justify-content:center; width:auto; max-width:100%; min-height:44px; padding:8px 9px!important; font-size:13px!important; line-height:1.4; }
  .af-catalog-table>tbody { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .af-catalog-table>tbody>.af-product-section { grid-column:1 / -1; }
  .af-catalog-table>tbody>tr.af-product-row { min-width:0; padding:12px 8px; }
  .af-catalog-table .mainn-pro { flex-direction:column; gap:10px; }
  .af-catalog-table .mainn-pro>a:first-child { flex:none; width:100%; }
  .af-catalog-table .mainn-pro>a:first-child img { display:block; width:100%; height:120px; max-width:100%!important; object-fit:contain; }
  .af-catalog-table .pro-title { flex:none; width:100%; }
  .af-catalog-table .pro-title p { font-size:15px!important; line-height:1.45; }
  .af-catalog-table .af-product-specs>div { display:block; margin-bottom:6px; }
  .af-catalog-table .af-product-specs dt { font-size:12px; line-height:1.5; }
  .af-catalog-table .af-product-specs dd { font-size:14px; line-height:1.5; }
}

/* page-transition.css */
/* One short entrance on normal page loads. Header, intro and browser navigation stay independent.
   Animate the existing content containers; no wrapper, overlay or persistent opacity/stacking context. */
body>main>.main-header~:is(div,section,article,footer):not(.clearfix,#splash-screen) {
  animation:af-content-in .28s ease-out;
}
@keyframes af-content-in { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce),print {
  body>main>.main-header~:is(div,section,article,footer):not(.clearfix,#splash-screen) { animation:none; }
}

/* product-carousel.css */
/* Product carousel images use the designated main image at every resolution.
   Owl sets width:100%; an explicit image box plus contain prevents max-height
   from distorting large originals inside the existing fixed-height container. */
.product-section .owl-carousel-m-product .product-list img.img-fluid {
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}

@media (max-width:767px) {
  .homepage section.product-section {
    padding-left:0!important;
    padding-right:0!important;
  }
  .homepage .product-section .af-home-product-track {
    width:100%;
    max-width:none;
    padding-inline:6px;
  }
  .homepage .af-home-product-track>.row {
    margin-inline:0;
  }
  .homepage .af-home-product-track>.row>.col-md-12 {
    padding-inline:0;
  }
  .homepage .product-section .owl-carousel-m-product .product-list {
    width:100%!important;
    max-width:100%;
    height:auto!important;
    border:0!important;
    padding:0;
    margin:0;
    aspect-ratio:1;
  }
  .homepage .product-section .owl-carousel-m-product .product-content {
    padding:10px 6px!important;
  }
}

.homepage .owl-carousel-m-product .owl-stage {
  transition-timing-function:linear!important;
}

/* Fade only the moving viewport; sibling navigation remains fully visible. */
@media (min-width:993px) {
  .homepage .owl-carousel-m-product .owl-stage-outer {
    --af-carousel-fade:clamp(24px,4vw,56px);
    -webkit-mask-image:linear-gradient(to right,transparent,#000 var(--af-carousel-fade),#000 calc(100% - var(--af-carousel-fade)),transparent);
    mask-image:linear-gradient(to right,transparent,#000 var(--af-carousel-fade),#000 calc(100% - var(--af-carousel-fade)),transparent);
  }
}

/* product-detail.css */
/* Product details: compact introduction, accessible gallery and original technical accordions. */
.af-product-page { --af-blue:#1d2088; --af-red:#cf2126; --af-text:#252525; --af-muted:#646464; --af-border:#dedee5; }
.af-product-detail,.af-product-detail * { font-family:var(--af-font)!important; box-sizing:border-box; }
.af-product-page .bread-crum { margin:0; padding:20px 0; }
.af-product-page .bread_crumb { overflow-wrap:anywhere; line-height:1.7; }
.af-product-detail { padding:12px 0 56px; color:var(--af-text); }
.af-product-detail>.container.prod_main { padding-top:0; }
.af-product-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"gallery heading" "gallery summary"; grid-template-rows:auto 1fr; gap:20px 48px; align-items:start; }
.af-product-heading { grid-area:heading; min-width:0; }
.af-product-heading h1 { margin:0; color:var(--af-blue); font-size:30px!important; font-weight:500; line-height:1.35; overflow-wrap:anywhere; text-transform:none; }
.af-product-gallery { grid-area:gallery; min-width:0; }
.af-product-stage { position:relative; padding:24px; border:1px solid var(--af-border); background:#fff; }
.af-product-brand { position:absolute; top:16px; left:16px; width:64px; height:40px; object-fit:contain; z-index:1; pointer-events:none; }
.af-product-frame { aspect-ratio:4/3; }
.af-product-frame>img { display:block; width:100%; height:100%; max-width:100%; max-height:none; object-fit:contain; padding:24px 0 0; }
.af-product-thumbs:not([hidden]) { display:flex; gap:10px; margin-top:12px; padding:2px 2px 8px; overflow-x:auto; }
.af-product-thumbs[hidden] { display:none!important; }
.af-product-thumb { flex:0 0 72px; width:72px; height:64px; padding:6px; border:1px solid var(--af-border); border-radius:0; background:#fff; cursor:pointer; }
.af-product-thumb img { width:100%; height:100%; object-fit:contain; }
.af-product-thumb[aria-pressed="true"] { border:2px solid var(--af-blue); }
.af-product-thumb:hover { border-color:var(--af-red); }
.af-product-detail :is(button,a):focus-visible { outline:2px solid var(--af-red); outline-offset:3px; }
.af-product-summary { grid-area:summary; min-width:0; }
.af-product-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:24px; }
.af-product-inquiry,.af-product-download { display:inline-flex; justify-content:center; align-items:center; gap:6px; min-height:52px; padding:10px 24px; border:1px solid var(--af-blue); font-size:16px; line-height:1.4; text-decoration:none; }
.af-product-inquiry { color:#fff; background:var(--af-blue); }
.af-product-inquiry:hover { color:#fff; background:#14166b; }
.af-product-download { color:var(--af-blue); background:#fff; }
.af-product-download .af-pdf-icon { display:block; flex:none; width:24px; height:30px; object-fit:contain; margin-right:4px; }
.af-product-download:hover { color:var(--af-blue); background:#f6f6f8; }
.af-product-details:empty { display:none; }
.af-product-details .accordion-body { overflow-x:auto; overflow-wrap:anywhere; }
.af-product-details .optional_descp img { max-width:100%; height:auto; }
@media (max-width:992px) {
  .af-product-page>.left,.af-product-page main>.left { padding-top:80px; }
  .af-product-layout { column-gap:28px; }
}
@media (max-width:767px) {
  .af-product-page .bread-crum { padding:14px 0; }
  .af-product-detail { padding:8px 0 32px; }
  .af-product-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"heading" "gallery" "summary"; grid-template-rows:auto; gap:20px; }
  .af-product-heading h1 { font-size:26px!important; }
  .af-product-stage { padding:16px; }
  .af-product-frame { aspect-ratio:4/3; max-height:340px; }
  .af-product-actions { margin-top:20px; }
}

/* product-image-sizes.css */
/* Match Jack Preview product photography without changing source assets or text. */
@media (min-width:768px) {
  .af-catalog-table .mainn-pro>a:first-child img {
    display:block;
    width:60px;
    height:60px;
    object-fit:contain;
  }
  [data-product-list="category"] .product-list img:not(.product-logo) {
    width:200px;
    height:200px;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
  }
}
/* Phones: list thumbnails and category card photos are the same square, at most 140px, centred in their column
   (the two-column cards of mobile-product-list.css keep their width; the photo no longer fills it). */
@media (max-width:767px) {
  .af-catalog-table .mainn-pro>a:first-child img {
    width:min(100%, 140px);
    height:auto;
    aspect-ratio:1;
    margin-inline:auto;
    object-fit:contain;
  }
  [data-product-list="category"] .af-category-card .product-list {
    width:min(100%, 140px)!important;
    margin-inline:auto;
  }
}
.af-product-frame {
  width:100%;
  max-width:400px;
  aspect-ratio:1;
  margin-inline:auto;
}
.af-product-frame>img {
  padding:0;
  object-fit:contain;
}
.af-product-thumb {
  flex-basis:75px;
  width:75px;
  height:75px;
}
@media (max-width:767px) {
  .af-product-frame { max-height:none; }
}

/* product-load-more.css */
/* Progressive pagination uses the existing blue/white/red action style. */
.af-load-more { display:flex; flex-direction:column; align-items:center; gap:12px; width:100%; min-height:32px; padding:16px 12px; text-align:center; overflow-anchor:none; }
.af-load-more p { margin:0; color:#555; font-size:14px; line-height:1.6; }
.af-load-more .af-load-button { display:inline-flex; justify-content:center; align-items:center; min-width:200px; min-height:48px; padding:12px 28px; border:1px solid #1d2088; border-radius:0; color:#fff; background:#1d2088; font-size:16px; font-weight:600; line-height:1.5; text-decoration:none; }
.af-load-more .af-load-button:hover { background:#151765; }
.af-load-more .af-load-button[aria-disabled="true"] { opacity:.65; cursor:wait; }
.af-load-more [hidden] { display:none!important; }
.af-load-status:empty { display:none; }
.af-load-more[data-loading="true"] .af-load-status::before { content:""; display:inline-block; width:14px; height:14px; margin-right:8px; border:2px solid #dedee5; border-top-color:#1d2088; border-radius:50%; vertical-align:-2px; animation:af-list-loading .7s linear infinite; }
@keyframes af-list-loading { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .af-load-more[data-loading="true"] .af-load-status::before { animation:none; } }
[data-list-pagination][hidden] { display:none!important; }
.af-load-more a:focus-visible { outline:2px solid #cf2126; outline-offset:3px; }
@media (max-width:767px) { .af-load-more .af-load-button { width:min(100%,320px); } }

/* product-sections.css */
/* Catalog hierarchy: quiet main heading, contextual subcategory heading, quiet product rows. */
.af-catalog-table { border-color:var(--af-border,#dedee5); }
.af-catalog-table>thead>tr>th { padding:10px 20px; border-width:0 0 1px; color:var(--af-muted,#646464); background:#fff; font-family:var(--af-font)!important; font-size:14px; font-weight:500; line-height:1.5; }
.af-catalog-table .af-product-section { scroll-margin-top:24px; }
.af-catalog-table .af-product-section>td { padding:0!important; border:0; border-top:20px solid #fff; background:#fff; }
.af-catalog-table .af-product-section:first-child>td { border-top:0; }
.af-catalog-table .af-section-heading { padding:12px 17px; border-left:3px solid var(--af-red,#cf2126); background:#f6f6f8; }
.af-catalog-table .af-section-heading h2 { margin:0; font-size:18px!important; font-weight:600; line-height:1.4; text-transform:none; }
.af-catalog-table .af-section-link { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:28px; color:var(--af-blue,#1d2088); text-decoration:none; }
.af-catalog-table .af-section-link>span:first-child { min-width:0; overflow-wrap:anywhere; }
.af-catalog-table .af-section-link:hover>span:first-child { text-decoration:underline; text-underline-offset:4px; }
.af-catalog-table .af-section-arrow { flex:0 0 7px; width:7px; height:7px; color:var(--af-muted,#646464); margin-right:4px; border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(-45deg); }
.af-catalog-table .is-subcategory>td { border-top-width:12px; }
.af-catalog-table .is-subcategory .af-section-heading { padding:10px 17px 10px 25px; border-left-color:var(--af-border,#dedee5); border-bottom:1px solid var(--af-border,#dedee5); background:#fff; }
.af-catalog-table .is-subcategory h2 { font-size:17px!important; }
.af-catalog-table .is-subcategory .af-section-link { color:var(--af-blue,#1d2088); }
.af-catalog-table .af-section-parent { display:inline-block; margin-bottom:3px; color:var(--af-muted,#646464); font-size:13px; font-weight:400; line-height:1.5; text-decoration:none; overflow-wrap:anywhere; }
.af-catalog-table .af-section-parent:hover { color:var(--af-red,#cf2126); text-decoration:underline; }
.af-catalog-table .af-section-heading,.af-catalog-table .af-section-heading * { font-family:var(--af-font)!important; }
.af-catalog-table .af-section-heading a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.af-catalog-table>tbody>.af-product-row>td { border-width:0 0 1px; border-color:var(--af-border,#dedee5); background:#fff; padding:18px 20px; }
.af-catalog-table>tbody>.af-product-row:hover>td { background:#fafafe; }
@media (max-width:992px) { .af-catalog-table .af-product-section { scroll-margin-top:104px; } }
@media (max-width:767px) {
    .af-catalog-table .af-product-section>td { border-top-width:16px; }
    .af-catalog-table .af-product-section:first-child>td { border-top:0; }
    .af-catalog-table .af-section-heading { padding:11px 12px; }
    .af-catalog-table .af-section-heading h2 { font-size:17px!important; }
    .af-catalog-table .is-subcategory>td { border-top-width:10px; }
    .af-catalog-table .is-subcategory .af-section-heading { padding:10px 12px 10px 16px; }
    .af-catalog-table .is-subcategory h2 { font-size:16px!important; }
    .af-catalog-table .af-section-link { gap:12px; }
    .af-catalog-table>tbody>tr.af-product-row { padding:12px 8px; }
    .af-catalog-table>tbody>tr.af-product-row>td { padding:0; border:0; }
    .af-catalog-table>tbody>tr.af-product-row>td+td { padding-top:12px; }
}

/* recent-posts.css */
/* One Recent Post panel on the blog index and article pages; all rules remain in normal flow. */
.main-blogs-list.af-recent-posts,
.blogs-view-wrapper .main-blogs-list.af-recent-posts { display:block; margin:0; padding:0; }
.af-recent-posts, .af-recent-posts * { box-sizing:border-box; font-family:var(--af-font)!important; }
.af-recent-posts .af-recent-title { display:block; position:static; width:auto; margin:0; padding:0 0 14px; border-bottom:1px solid var(--af-border); color:var(--af-blue)!important; font-size:20px!important; font-weight:500; line-height:1.4; text-align:left; text-transform:none; }
.af-recent-posts .af-recent-title::before, .af-recent-posts .af-recent-title::after { content:none; }
.af-recent-posts .recents-blogs-main-list { margin:0; padding:0; border:0; border-radius:0; }
.af-recent-posts .af-recent-item { padding:16px 0; border-bottom:1px solid var(--af-border); }
.af-recent-posts .af-recent-item:last-child { padding-bottom:0; border-bottom:0; }
.af-recent-posts .af-recent-item .blog-anchors { display:block; color:var(--af-text); font-size:16px; font-weight:500; line-height:1.6!important; text-transform:none; text-decoration:none; overflow-wrap:anywhere; }
.af-recent-posts .af-recent-item .blog-anchors:hover { color:var(--af-blue); text-decoration:underline; text-underline-offset:4px; }
.af-recent-posts .blog-anchors:focus-visible { outline:2px solid var(--af-red); outline-offset:4px; }
.af-recent-posts .af-recent-date { display:block; margin-top:6px; color:var(--af-muted); font-size:13px; font-weight:400; line-height:1.5; }
@media (max-width:767px) {
  .main-blogs-list.af-recent-posts,
  .blogs-view-wrapper .main-blogs-list.af-recent-posts { margin-top:28px; }
}

/* semicon-index.css */
/* Compact sticky toolbar; section links open in a left drawer, collapsed on every page load. */
:is(.semicon-preview,.af-alloy-page) .sp-anchor-nav { position:sticky; top:0; z-index:850; background:#fff; border-block:1px solid var(--af-border); }
:is(.semicon-preview,.af-alloy-page) .sp-anchor-nav .sp-wrap { display:flex; flex-wrap:wrap; gap:12px; padding-block:16px; }
:is(.semicon-preview,.af-alloy-page) .sp-anchor-nav .sp-wrap a { display:inline-flex; align-items:center; gap:12px; white-space:normal; font-size:var(--af-small-size) !important; }
:is(.semicon-preview,.af-alloy-page) .sp-anchor-nav.is-collapsible .sp-wrap { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-block:10px; }
:is(.semicon-preview,.af-alloy-page) :is(.af-toc-toggle,.af-toc-close) { font-family:var(--af-font) !important; cursor:pointer; border-radius:0; }
:is(.semicon-preview,.af-alloy-page) .af-toc-toggle { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:44px; margin-left:auto; padding:9px 16px; border:1px solid var(--af-blue); background:#fff; color:var(--af-blue); font-size:var(--af-small-size); font-weight:600; line-height:1.5; }
:is(.semicon-preview,.af-alloy-page) .af-toc-toggle:hover, :is(.semicon-preview,.af-alloy-page) .af-toc-toggle[aria-expanded="true"] { background:var(--af-blue); color:#fff; }
:is(.semicon-preview,.af-alloy-page) .af-toc-icon { font-size:18px; line-height:1; }
:is(.semicon-preview,.af-alloy-page) .af-toc-count { display:inline-grid; place-items:center; min-width:24px; height:24px; border-radius:50%; background:var(--af-surface); color:var(--af-blue); font-size:12px; }
html.af-toc-open { overflow:hidden; }
:is(.semicon-preview,.af-alloy-page) .af-section-drawer { position:fixed; inset:0 auto 0 0; margin:0; padding:0; width:min(360px,calc(100vw - 28px)); max-width:none; height:100%; height:100dvh; max-height:none; border:0; border-right:1px solid var(--af-border); background:#fff; color:var(--af-text); box-shadow:8px 0 32px rgba(0,0,0,.12); overflow:hidden; }
:is(.semicon-preview,.af-alloy-page) .af-section-drawer:not([open]) { display:none; }
:is(.semicon-preview,.af-alloy-page) .af-section-drawer[open] { display:flex; flex-direction:column; }
:is(.semicon-preview,.af-alloy-page) .af-section-drawer::backdrop { background:rgba(0,0,0,.28); }
:is(.semicon-preview,.af-alloy-page) .af-toc-header { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:16px; padding:max(20px,env(safe-area-inset-top)) 20px 20px; border-top:3px solid var(--af-red); border-bottom:1px solid var(--af-border); }
:is(.semicon-preview,.af-alloy-page) .af-toc-header h2 { margin:0; font-size:22px !important; line-height:1.4; }
:is(.semicon-preview,.af-alloy-page) .af-toc-close { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; padding:0; border:1px solid var(--af-border); background:#fff; color:var(--af-muted); font-size:28px; line-height:1; }
:is(.semicon-preview,.af-alloy-page) .af-toc-close:hover { color:var(--af-red); border-color:var(--af-red); }
:is(.semicon-preview,.af-alloy-page) .af-toc-list { padding:12px 16px max(24px,env(safe-area-inset-bottom)); overflow-y:auto; overscroll-behavior:contain; }
:is(.semicon-preview,.af-alloy-page) .af-toc-list a { display:flex; align-items:center; gap:16px; min-height:56px; margin:4px 0; padding:12px; border-left:3px solid transparent; color:var(--af-text); font-size:16px; font-weight:500; line-height:1.5; text-decoration:none; overflow-wrap:anywhere; }
:is(.semicon-preview,.af-alloy-page) .af-n { flex:0 0 28px; color:var(--af-muted); font-size:18px; font-weight:400; font-variant-numeric:tabular-nums; }
:is(.semicon-preview,.af-alloy-page) .af-toc-list a:hover { background:var(--af-surface); color:var(--af-blue); text-decoration:none; }
:is(.semicon-preview,.af-alloy-page) .af-toc-list a[aria-current="location"] { border-left-color:var(--af-red); background:var(--af-surface); color:var(--af-blue); font-weight:600; }
:is(.semicon-preview,.af-alloy-page) .af-toc-list a[aria-current="location"] .af-n { color:var(--af-red); }
:is(.semicon-preview,.af-alloy-page) :is(.af-toc-toggle,.af-toc-close):focus-visible { outline:2px solid var(--af-red); outline-offset:3px; }
:is(.semicon-preview,.af-alloy-page) .af-toc-list a:focus-visible { outline:2px solid var(--af-red); outline-offset:-2px; }
/* Leave room for this toolbar when native fragment links scroll to a section. */
:is(.semicon-preview,.af-alloy-page) section { scroll-margin-top:88px; }
@media (max-width:992px) {
  :is(.semicon-preview,.af-alloy-page) .sp-anchor-nav { top:var(--af-fixed-header,80px); transition:top .2s ease; }
  :is(.semicon-preview,.af-alloy-page) section { scroll-margin-top:168px; }
}
@media (max-width:479px) {
  :is(.semicon-preview,.af-alloy-page) .sp-anchor-nav.is-collapsible .sp-wrap { gap:4px 12px; }
  :is(.semicon-preview,.af-alloy-page) .af-toc-toggle { gap:8px; padding-inline:10px; }
  :is(.semicon-preview,.af-alloy-page) .af-toc-count { display:none; }
  :is(.semicon-preview,.af-alloy-page) section { scroll-margin-top:208px; }
}

/* Share the existing breadcrumb row rather than stacking a second toolbar. */
:is(.semicon-preview,.af-alloy-page) .sp-anchor-nav.is-in-trail { display:none; }
:is(.semicon-preview,.af-alloy-page) .af-section-trail { position:sticky; top:0; z-index:850; background:#fff; border-bottom:1px solid var(--af-border); }
:is(.semicon-preview,.af-alloy-page) .af-section-trail > .container { display:flex; align-items:center; justify-content:space-between; gap:12px 24px; padding-block:6px; }
:is(.semicon-preview,.af-alloy-page) .af-section-trail .bread_crumb { min-width:0; }
:is(.semicon-preview,.af-alloy-page) .af-section-trail .af-toc-toggle { flex-shrink:0; }
@media (max-width:992px) {
  :is(.semicon-preview,.af-alloy-page) .af-section-trail { top:var(--af-fixed-header,80px); transition:top .2s ease; }
}
@media (max-width:767px) {
  :is(.semicon-preview,.af-alloy-page) .af-section-trail > .container { flex-wrap:wrap; gap:4px 12px; }
  :is(.semicon-preview,.af-alloy-page) .af-section-trail.has-mobile-menu { position:static; }
  :is(.semicon-preview,.af-alloy-page) .af-section-trail.has-mobile-menu > .container { padding-block:0; }
  :is(.semicon-preview,.af-alloy-page) .has-mobile-menu .af-toc-toggle { display:none; }
  :is(.semicon-preview,.af-alloy-page):has(.has-mobile-menu) section[id] { scroll-margin-top:104px; }
}

/* special-alloy.css */
/* Jack's alloy content uses the dev site's type scale, quiet surfaces and shared palette. */
.af-alloy-page, .af-alloy-page * { box-sizing:border-box; font-family:var(--af-font)!important; }
.af-alloy-page { color:var(--af-text); }
.af-alloy-wrap { margin-inline:auto; padding-inline:15px; }
.af-alloy-page :is(h1,h2,h3,p,figure) { margin:0; }
.af-alloy-page h1 { font-size:var(--af-hero-size); font-weight:600; line-height:1.25; }
.af-alloy-page h2 { font-size:var(--af-section-size); font-weight:500; line-height:1.3; }
.af-alloy-page h3 { font-size:var(--af-card-size); font-weight:500; line-height:1.4; }
.af-alloy-page :is(p,td,th) { font-size:var(--af-body-size); line-height:1.75; }
.af-alloy-page p { color:var(--af-muted); }
.af-alloy-page strong { color:var(--af-text); font-weight:500; }
.af-alloy-page small { display:block; color:var(--af-muted); font-size:var(--af-small-size); line-height:1.7; }
.af-alloy-kicker { display:block; margin-bottom:12px; color:var(--af-blue); font-size:14px; font-weight:500; letter-spacing:.06em; }
.af-alloy-hero { display:flex; align-items:center; min-height:340px; padding:36px 0; background:linear-gradient(100deg,var(--af-surface) 45%,#eaf2fb); border-bottom:1px solid var(--af-border); }
.af-alloy-practical-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:48px; align-items:center; }
.af-alloy-hero h1 + p { margin-top:18px; font-size:18px; line-height:1.8; letter-spacing:.025em; word-spacing:.1em; }
.af-alloy-hero .af-alloy-hero-detail { margin:16px 0 22px; font-size:15px; }
.af-alloy-hero figure { min-width:0; text-align:center; }
.af-alloy-hero figure img { display:block; width:100%; height:280px; object-fit:contain; mix-blend-mode:multiply; }
/* Same eyebrow treatment as SEMICON, with dark text on this light hero. */
.af-alloy-hero .af-alloy-kicker { border-left:3px solid var(--af-red); padding-left:12px; color:var(--af-blue); font-weight:700; line-height:1.5; letter-spacing:.08em; text-transform:uppercase; }
html:lang(zh-TW) .af-alloy-hero .af-alloy-kicker,
html:lang(ja) .af-alloy-hero .af-alloy-kicker { letter-spacing:.02em; }
.af-alloy-hero figcaption { margin-top:12px; font-size:14px; color:var(--af-muted); }
.af-alloy-button { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; min-height:48px; padding:12px 24px; background:var(--af-blue); border:1px solid var(--af-blue); color:#fff; font-size:16px; line-height:1.5; font-weight:500; text-decoration:none; }
.af-alloy-button:is(:hover,:focus-visible) { background:var(--af-blue-hover); color:#fff; }
.af-alloy-page a:focus-visible, .af-alloy-table-scroll:focus-visible { outline:2px solid var(--af-blue); outline-offset:4px; }
.af-alloy-nav { border-bottom:1px solid var(--af-border); }
.af-alloy-nav .af-alloy-wrap { display:flex; flex-wrap:wrap; gap:8px 28px; padding-top:10px; padding-bottom:10px; }
.af-alloy-nav a { display:inline-flex; align-items:center; min-height:44px; color:var(--af-muted); font-size:15px; text-decoration:none; }
.af-alloy-nav a:is(:hover,:focus-visible) { color:var(--af-blue); text-decoration:underline; text-underline-offset:5px; }
.af-alloy-section { padding:48px 0; }
.af-alloy-page section[id] { scroll-margin-top:100px; }
.af-alloy-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
.af-alloy-heading > p { max-width:380px; }
.af-alloy-applications, .af-alloy-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.af-alloy-applications article { padding:22px 20px; background:var(--af-surface); border-top:2px solid #bdcce4; }
.af-alloy-app-icon { width:32px; height:32px; margin-bottom:16px; color:var(--af-blue); }
.af-alloy-app-icon svg { width:100%; height:100%; }
.af-alloy-applications h3 { margin-bottom:12px; }
.af-alloy-applications small { margin-top:16px; }
.af-alloy-product { min-width:0; }
.af-alloy-product > a { display:block; background:var(--af-surface); }
.af-alloy-product img { display:block; width:100%; aspect-ratio:1; object-fit:contain; padding:16px; mix-blend-mode:multiply; }
.af-alloy-product > div { padding:16px 0; }
.af-alloy-product h3 { margin:4px 0 6px; }
.af-alloy-quality { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.8fr); gap:40px; }
.af-alloy-quality h2 { margin-bottom:18px; }
.af-alloy-pmi { margin:22px 0; padding-top:20px; border-top:1px solid var(--af-border); }
.af-alloy-pmi h3 { margin-bottom:8px; }
.af-alloy-standard { display:grid; grid-template-columns:55px minmax(0,1fr); gap:14px; padding:8px 0; border-top:1px solid var(--af-border); }
.af-alloy-standard > span { color:var(--af-blue); font-size:15px; line-height:1.8; }
.af-alloy-material-reference { min-width:0; }
.af-alloy-table-scroll { max-width:100%; overflow-x:auto; scrollbar-width:thin; }
.af-alloy-reference-table { width:100%; min-width:580px; border-collapse:collapse; }
.af-alloy-reference-table caption { caption-side:top; padding:0 0 14px; color:var(--af-text); font-size:20px; font-weight:500; text-align:left; }
.af-alloy-reference-table :is(th,td) { padding:10px 12px; border-bottom:1px solid var(--af-border); text-align:left; vertical-align:top; font-size:14px; }
.af-alloy-reference-table th { font-weight:500; }
.af-alloy-reference-table thead { background:#eaf0f8; color:var(--af-blue); }
.af-alloy-reference-table tbody tr:nth-child(even) { background:var(--af-surface); }
.af-alloy-pale { background:var(--af-surface); }
.af-alloy-materials { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 40px; }
.af-alloy-material { padding:22px 0; border-top:1px solid var(--af-border); }
.af-alloy-material h3 { margin-bottom:10px; }
.af-alloy-project { padding:44px 0; background:#eaf0f8; }
.af-alloy-project .af-alloy-wrap { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.af-alloy-project .af-alloy-wrap > div { max-width:720px; }
.af-alloy-project p { margin-top:16px; }
.af-alloy-project .af-alloy-button { flex-shrink:0; }
@media (max-width:992px) {
  .af-alloy-hero { margin-top:80px; }
  .af-alloy-applications, .af-alloy-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .af-alloy-quality { grid-template-columns:minmax(0,1fr); gap:28px; }
}
@media (max-width:767px) {
  .af-alloy-hero { min-height:0; padding:28px 0; background:var(--af-surface); }
  .af-alloy-practical-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  .af-alloy-hero figure { display:none; }
  .af-alloy-hero h1 + p { font-size:17px; }
  .af-alloy-section { padding:32px 0; }
  .af-alloy-heading, .af-alloy-project .af-alloy-wrap { display:block; }
  .af-alloy-heading > p { margin-top:14px; }
  .af-alloy-nav .af-alloy-wrap { gap:0 20px; }
  .af-alloy-materials { grid-template-columns:minmax(0,1fr); }
  .af-alloy-project .af-alloy-button { margin-top:24px; }
}
@media (max-width:480px) {
  .af-alloy-applications { grid-template-columns:minmax(0,1fr); }
  .af-alloy-products { gap:16px; }
  .af-alloy-product h3 { font-size:20px; }
  .af-alloy-product img { padding:8px; }
}

/* sticky-sidebar.css */
/* Sticky sidebars: blog post, blogs list and product lists. */
/* The site header is fixed (80px) up to 992px and scrolls away above it, so the sticky offset only needs to clear it on small screens;
   sidebars are sticky from 993px, where nothing covers the top of the viewport. */
@media (min-width: 993px) {
  .blogs-view-wrapper .row > .col-md-3,
  .blogs-section .row > .col-md-3,
  .row > .col-md-3.pro-menu { align-self: flex-start; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
}
/* Product navigation aligns with the list and also sticks beside the tablet layout. */
:is(.contactmainss,.contactmain):has(.af-products-layout) { --af-toc-gap:24px; padding-bottom:var(--af-toc-gap); }
.af-products-layout { padding-top:var(--af-toc-gap,24px); align-items:flex-start; }
:is(.contactmainss,.contactmain) .pro-menu .main-cat { margin-top:0!important; }
.af-products-layout>[data-product-list] { padding-top:0!important; }
@media (min-width:768px) {
  :is(.contactmainss,.contactmain) .af-products-layout>.pro-menu {
    --af-toc-top:24px;
    flex:0 0 clamp(184px,23%,264px); width:clamp(184px,23%,264px); max-width:264px;
    align-self:flex-start; position:sticky; top:var(--af-toc-top);
    max-height:calc(100vh - var(--af-toc-top) - var(--af-toc-gap,24px));
    max-height:calc(100dvh - var(--af-toc-top) - var(--af-toc-gap,24px));
    overflow-y:auto;
  }
  .af-products-layout>[data-product-list] { flex:1 1 0; width:0; min-width:0; }
  .af-products-layout .product-navbar>.navbar-toggler { display:none; }
  .af-products-layout .product-navbar>.navbar-collapse { display:block!important; }
}
@media (min-width:768px) and (max-width:992px) {
  :is(.contactmainss,.contactmain) .af-products-layout>.pro-menu { --af-toc-top:calc(var(--af-fixed-header,80px) + 24px); }
}

/* toast.css */
/* window.afToast (toast.js): one short note, bottom centre, above the page, the mobile actions and dialogs. */
.af-toast-region { position:fixed; left:50%; bottom:calc(24px + env(safe-area-inset-bottom)); z-index:1070; width:max-content; max-width:calc(100vw - 32px); transform:translateX(-50%); pointer-events:none; }
.af-toast { display:flex; align-items:center; gap:8px; padding:10px 16px; border-left:3px solid var(--af-blue,#1d2088); border-radius:6px; background:#fff; color:#252525; box-shadow:0 8px 28px rgba(0,0,0,.22); font-family:var(--af-font,"Oswald",sans-serif)!important; font-size:15px; line-height:1.4; opacity:0; transform:translateY(8px); transition:opacity .2s ease, transform .2s ease; }
.af-toast::before { content:"✓"; color:var(--af-blue,#1d2088); font-weight:700; }
.af-toast.is-error { border-left-color:#cf2126; }
.af-toast.is-error::before { content:"!"; color:#cf2126; }
.af-toast.is-shown { opacity:1; transform:none; }
@media (max-width:767px) {
  body.has-mobile-actions:not(.af-footer-in-view) .af-toast-region { bottom:calc(var(--af-mobile-actions-height, 80px) + 12px); }
}
@media (prefers-reduced-motion:reduce) { .af-toast { transition:none; transform:none; } }
