/* =========================================================================
   SILICONE SEALANT FACTORY  -  TAG PAGES STYLESHEET
   Design tokens
   Primary  : #69ac16 (leaf green - cure/seal, eco, durability)
   Primary-D: #4c7d10 (deep green - hover/active states)
   Primary-L: #eaf3da (pale green tint - card backgrounds)
   Ink       : #1f2a17 (near-black green-black for headings)
   Body      : #4a5540 (soft body copy tone)
   Warm      : #d97a1f (single restrained warm accent - used sparingly on CTAs)
   Surface   : #ffffff / Canvas: #f6f8f1 / Border: #dee6d0
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (spec + data)
   Signature: the "bead line"  -  a repeating rounded bump pattern that mimics
   a hand-tooled sealant bead. Used as section dividers and under headings.
   ========================================================================= */

:root {
  --c-primary: #69ac16;
  --c-primary-dark: #4c7d10;
  --c-primary-light: #eaf3da;
  --c-primary-soft: #f2f7e9;
  --c-ink: #1f2a17;
  --c-body: #4a5540;
  --c-muted: #7c8a70;
  --c-warm: #d97a1f;
  --c-surface: #ffffff;
  --c-canvas: #f6f8f1;
  --c-border: #dee6d0;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 18px rgba(31, 42, 23, 0.08);
  --shadow-pop: 0 12px 40px rgba(31, 42, 23, 0.22);
  --gutter: clamp(20px, 4vw, 56px);
}

/* =========================================================================
   RESET (scoped to page wrappers, never bare-tag)
   ========================================================================= */
.ssf-tag-page, .ssf-tag-page * ,
.ssf-detail-page, .ssf-detail-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ssf-tag-page {
  font-family: var(--font-body);
  color: var(--c-body);
  background: var(--c-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.ssf-detail-page {
  font-family: var(--font-body);
  color: var(--c-body);
  background: var(--c-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ssf-tag-page img, .ssf-detail-page img { max-width: 100%; display: block; }
.ssf-tag-page a, .ssf-detail-page a { text-decoration: none; color: inherit; }
.ssf-tag-page ul, .ssf-detail-page ul, .ssf-tag-page ol, .ssf-detail-page ol { list-style: none; }
.ssf-tag-page button, .ssf-detail-page button { font-family: inherit; cursor: pointer; border: none; background: none; }
.ssf-tag-page input, .ssf-detail-page input,
.ssf-tag-page textarea, .ssf-detail-page textarea { font-family: inherit; }

.ssf-shell { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* =========================================================================
   BEAD DIVIDER  -  signature element, pure CSS, no image assets
   ========================================================================= */
.bead-divider {
  width: 100%;
  height: 10px;
  background-image: repeating-radial-gradient(circle at 8px 5px, var(--c-primary) 0 3.4px, transparent 3.6px 16px);
  opacity: 0.9;
}
.bead-divider--light {
  background-image: repeating-radial-gradient(circle at 8px 5px, rgba(255,255,255,0.85) 0 3.4px, transparent 3.6px 16px);
}
.bead-divider--tight {
  background-image: repeating-radial-gradient(circle at 6px 5px, var(--c-primary-dark) 0 2.6px, transparent 2.8px 12px);
  height: 8px;
}

/* =========================================================================
   SITE HEADER  (approximate reconstruction of the live nav  - 
   swap labels/links for the real siliconesealantfactory.com menu)
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 500; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--gutter); max-width: 1240px; margin: 0 auto; }
.site-header .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--c-ink); white-space: nowrap; }
.site-header .brand .brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.site-header .brand .brand-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; color: var(--c-muted); letter-spacing: .04em; }

.site-header .main-nav { display: flex; align-items: center; gap: 30px; }
.site-header .main-nav > ul { display: flex; gap: 28px; align-items: center; }
.site-header .main-nav > ul > li > a { font-size: 14.5px; font-weight: 600; color: var(--c-ink); padding: 8px 0; position: relative; }
.site-header .main-nav > ul > li > a:hover { color: var(--c-primary-dark); }
.site-header .main-nav > ul > li.current > a { color: var(--c-primary-dark); }
.site-header .main-nav > ul > li.current > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--c-primary); }
.site-header .main-nav > ul > li.has-drop { display: flex; align-items: center; gap: 4px; }
.site-header .main-nav .drop-caret { font-size: 10px; color: var(--c-muted); }

.site-header .header-cta { display: flex; align-items: center; gap: 16px; }
.site-header .quote-btn { background: var(--c-primary); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 20px; border-radius: 999px; transition: background .2s ease; }
.site-header .quote-btn:hover { background: var(--c-primary-dark); }
.site-header .nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.site-header .nav-toggle span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; }

@media (max-width: 960px) {
  .site-header .main-nav { position: fixed; top: 66px; left: 0; right: 0; bottom: 0; background: var(--c-surface); flex-direction: column; align-items: stretch; padding: 24px var(--gutter); transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; }
  .site-header .main-nav.is-open { transform: translateX(0); }
  .site-header .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .site-header .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--c-border); }
  .site-header .main-nav > ul > li > a { display: block; padding: 14px 2px; }
  .site-header .header-cta .quote-btn { margin-top: 18px; }
  .site-header .nav-toggle { display: flex; }
}

/* =========================================================================
   SITE FOOTER (approximate reconstruction  -  align with the real footer)
   ========================================================================= */
.site-footer { background: var(--c-ink); color: #dfe8d3; }
.site-footer .footer-top { padding: 56px var(--gutter) 40px; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer .footer-brand .brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; }
.site-footer .footer-brand h4 { font-family: var(--font-display); color: #fff; font-size: 19px; margin-bottom: 10px; }
.site-footer .footer-brand p { font-size: 13.5px; color: #a9b89a; max-width: 320px; }
.site-footer .footer-social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #3c4a30; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #dfe8d3; }
.site-footer .footer-social a:hover { background: var(--c-primary); border-color: var(--c-primary); }
.site-footer .footer-col h5 { font-family: var(--font-display); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer .footer-col ul li { margin-bottom: 10px; }
.site-footer .footer-col ul li a { font-size: 13.5px; color: #a9b89a; }
.site-footer .footer-col ul li a:hover { color: var(--c-primary); }
.site-footer .footer-col .contact-line { display: flex; gap: 10px; font-size: 13.5px; color: #a9b89a; margin-bottom: 14px; }
.site-footer .footer-col .contact-line .ico { color: var(--c-primary); flex-shrink: 0; }
.site-footer .footer-bottom { border-top: 1px solid #3c4a30; padding: 18px var(--gutter); }
.site-footer .footer-bottom .footer-bottom-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #7f9070; }

@media (max-width: 860px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================================
   TAG HUB (CATEGORY) PAGE  -  hero + aggregated intro
   ========================================================================= */
.tag-hero { background: linear-gradient(160deg, var(--c-primary-light) 0%, var(--c-canvas) 62%); padding: 56px 0 0; }
.tag-hero .crumb { font-size: 12.5px; color: var(--c-muted); margin-bottom: 18px; }
.tag-hero .crumb a { color: var(--c-primary-dark); font-weight: 600; }
.tag-hero .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding-bottom: 44px; }
.tag-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary-dark); background: var(--c-surface); border: 1px solid var(--c-border); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.tag-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); color: var(--c-ink); line-height: 1.12; margin-bottom: 18px; }
.tag-hero h1 span { color: var(--c-primary-dark); }
.tag-hero p.lead { font-size: 16px; color: var(--c-body); max-width: 520px; margin-bottom: 24px; }
.tag-hero .hero-stats { display: flex; gap: 32px; margin-bottom: 8px; }
.tag-hero .hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--c-ink); }
.tag-hero .hero-stats .stat span { font-size: 12px; color: var(--c-muted); }
.tag-hero .hero-visual { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-card); }
.tag-hero .hero-visual .swatch-row { display: flex; gap: 10px; margin-bottom: 16px; }
.tag-hero .hero-visual .swatch { flex: 1; height: 52px; border-radius: var(--radius-sm); }
.tag-hero .hero-visual .swatch:nth-child(1) { background: var(--c-primary); }
.tag-hero .hero-visual .swatch:nth-child(2) { background: var(--c-ink); }
.tag-hero .hero-visual .swatch:nth-child(3) { background: #ffffff; border: 1px solid var(--c-border); }
.tag-hero .hero-visual .swatch:nth-child(4) { background: var(--c-warm); }
.tag-hero .hero-visual .cap-line { font-family: var(--font-mono); font-size: 12px; color: var(--c-muted); }
.tag-hero .hero-visual .cap-line b { color: var(--c-ink); }

@media (max-width: 860px) {
  .tag-hero .hero-grid { grid-template-columns: 1fr; }
}

/* aggregated intro copy block  -  SEO aggregation content sits above the grid */
.tag-agg-intro { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.tag-agg-intro .agg-inner { padding: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tag-agg-intro .agg-card { padding: 4px; }
.tag-agg-intro .agg-card .agg-num { font-family: var(--font-mono); font-size: 12px; color: var(--c-primary-dark); margin-bottom: 8px; }
.tag-agg-intro .agg-card h3 { font-family: var(--font-display); font-size: 17px; color: var(--c-ink); margin-bottom: 8px; }
.tag-agg-intro .agg-card p { font-size: 13.8px; color: var(--c-muted); }
@media (max-width: 860px) { .tag-agg-intro .agg-inner { grid-template-columns: 1fr; } }

/* =========================================================================
   TAG GRID SECTION  -  maps to inner-main-box / i-product / pro-list markup
   ========================================================================= */
.tag-grid-section { padding: 52px 0 68px; }
.tag-grid-section .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.tag-grid-section .section-head h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); color: var(--c-ink); }
.tag-grid-section .section-head p { font-size: 13.5px; color: var(--c-muted); max-width: 480px; }
.tag-grid-section .sort-tab { display: flex; gap: 8px; }
.tag-grid-section .sort-tab button { font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--c-border); color: var(--c-muted); background: var(--c-surface); }
.tag-grid-section .sort-tab button.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* --- inner-main-box / i-product / pro-list: the actual call-code container --- */
.inner-main-box { }
.inner-main-box .i-product { }
.inner-main-box .ui.container { max-width: 100%; }
.inner-main-box .pro-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.inner-main-box .pro-list .con-box { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md); height: 100%; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; overflow: hidden; }
.inner-main-box .pro-list .con-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--c-primary); }
.inner-main-box .pro-list .inner-box { padding: 22px 20px 20px; position: relative; }
.inner-main-box .pro-list .inner-box::before { content: ""; display: block; width: 30px; height: 6px; border-radius: 4px; background: var(--c-primary); margin-bottom: 14px; }
.inner-main-box .pro-list .tit { font-family: var(--font-display); font-size: 16.5px; line-height: 1.4; }
.inner-main-box .pro-list .tit a { color: var(--c-ink); }
.inner-main-box .pro-list .con-box:hover .tit a { color: var(--c-primary-dark); }

@media (max-width: 960px) { .inner-main-box .pro-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .inner-main-box .pro-list { grid-template-columns: 1fr; } }

.tag-grid-section .grid-more { text-align: center; margin-top: 34px; }
.tag-grid-section .grid-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--c-primary-dark); border: 1.5px solid var(--c-primary); padding: 12px 26px; border-radius: 999px; }
.tag-grid-section .grid-more a:hover { background: var(--c-primary); color: #fff; }

/* =========================================================================
   AGGREGATE CTA BAND (closes the category page)
   ========================================================================= */
.agg-cta-band { background: var(--c-ink); }
.agg-cta-band .cta-inner { padding: 46px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.agg-cta-band h3 { font-family: var(--font-display); color: #fff; font-size: 24px; max-width: 560px; }
.agg-cta-band p { color: #a9b89a; font-size: 13.5px; margin-top: 8px; }
.agg-cta-band .cta-btn { background: var(--c-primary); color: #fff; font-weight: 700; padding: 14px 28px; border-radius: 999px; white-space: nowrap; }
.agg-cta-band .cta-btn:hover { background: var(--c-primary-dark); }

/* =========================================================================
   TAG DETAIL PAGE  -  hero / breadcrumb
   ========================================================================= */
.detail-hero { background: linear-gradient(160deg, var(--c-primary-light) 0%, var(--c-canvas) 68%); padding: 40px 0 34px; }
.detail-hero .crumb { font-size: 12.5px; color: var(--c-muted); margin-bottom: 16px; }
.detail-hero .crumb a { color: var(--c-primary-dark); font-weight: 600; }
.detail-hero .crumb .sep { margin: 0 6px; color: var(--c-muted); }
.detail-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary-dark); background: var(--c-surface); border: 1px solid var(--c-border); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.detail-hero h1 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); color: var(--c-ink); max-width: 780px; line-height: 1.16; margin-bottom: 14px; }
.detail-hero div.lead { font-size: 15.5px; max-width: 680px; color: var(--c-body); }
.detail-hero .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.detail-hero .hero-tags a { font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-body); }
.detail-hero .hero-tags a:hover { border-color: var(--c-primary); color: var(--c-primary-dark); }

/* =========================================================================
   TAG DETAIL CONTENT  -  backend-fed via {$v2['meta'][detXX]}
   Each block is an independent, class-scoped drop zone. Icons in THIS
   section use inline SVG (hardcoded hex), per spec, since this is the
   content that gets authored in backend A.
   ========================================================================= */
.tagdet-section { padding: 46px 0; }
.tagdet-section .tagdet-block + .tagdet-block { margin-top: 46px; }
.tagdet-section .block-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 10px; }

/* det01  -  overview */
.tagdet-overview { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 34px clamp(20px,4vw,44px); }
.tagdet-overview h2 { font-family: var(--font-display); font-size: 24px; color: var(--c-ink); margin-bottom: 14px; }
.tagdet-overview p { font-size: 15px; color: var(--c-body); margin-bottom: 14px; }
.tagdet-overview p:last-child { margin-bottom: 0; }
.tagdet-overview strong { color: var(--c-ink); }

/* det02  -  feature/benefit grid with SVG icon tiles */
.tagdet-features h2 { font-family: var(--font-display); font-size: 22px; color: var(--c-ink); margin-bottom: 20px; }
.tagdet-features .feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tagdet-features .feat-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 22px 18px; text-align: left; }
.tagdet-features .feat-card .feat-ico { width: 42px; height: 42px; margin-bottom: 14px; }
.tagdet-features .feat-card h4 { font-family: var(--font-display); font-size: 15px; color: var(--c-ink); margin-bottom: 6px; }
.tagdet-features .feat-card p { font-size: 12.8px; color: var(--c-muted); }
@media (max-width: 960px) { .tagdet-features .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tagdet-features .feat-grid { grid-template-columns: 1fr; } }

/* det03  -  application steps with SVG numbered icons */
.tagdet-steps h2 { font-family: var(--font-display); font-size: 22px; color: var(--c-ink); margin-bottom: 20px; }
.tagdet-steps .step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tagdet-steps .step-card { position: relative; background: var(--c-primary-soft); border-radius: var(--radius-md); padding: 24px 18px 20px; }
.tagdet-steps .step-card .step-ico { width: 38px; height: 38px; margin-bottom: 12px; }
.tagdet-steps .step-card h4 { font-family: var(--font-display); font-size: 14.5px; color: var(--c-ink); margin-bottom: 6px; }
.tagdet-steps .step-card p { font-size: 12.5px; color: var(--c-body); }
.tagdet-steps .step-card .step-idx { position: absolute; top: 14px; right: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--c-primary-dark); }
@media (max-width: 960px) { .tagdet-steps .step-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tagdet-steps .step-row { grid-template-columns: 1fr; } }

/* det04  -  specification table */
.tagdet-specs h2 { font-family: var(--font-display); font-size: 22px; color: var(--c-ink); margin-bottom: 18px; }
.tagdet-specs .spec-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; }
.tagdet-specs .spec-table th { background: var(--c-ink); color: #fff; text-align: left; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 12px 16px; }
.tagdet-specs .spec-table td { padding: 12px 16px; font-size: 13.8px; border-top: 1px solid var(--c-border); color: var(--c-body); }
.tagdet-specs .spec-table tr:nth-child(even) td { background: var(--c-primary-soft); }
.tagdet-specs .spec-table td:first-child { font-weight: 600; color: var(--c-ink); width: 34%; }

/* det05  -  FAQ accordion with SVG plus/minus icons */
.tagdet-faq h2 { font-family: var(--font-display); font-size: 22px; color: var(--c-ink); margin-bottom: 18px; }
.tagdet-faq .faq-item { border-bottom: 1px solid var(--c-border); }
.tagdet-faq .faq-item:first-child { border-top: 1px solid var(--c-border); }
.tagdet-faq .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; text-align: left; font-family: var(--font-display); font-size: 15.5px; color: var(--c-ink); }
.tagdet-faq .faq-q .faq-ico { width: 20px; height: 20px; flex-shrink: 0; transition: transform .2s ease; }
.tagdet-faq .faq-item.is-open .faq-q .faq-ico { transform: rotate(45deg); }
.tagdet-faq .faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.tagdet-faq .faq-item.is-open .faq-a { max-height: 260px; }
.tagdet-faq .faq-a p { font-size: 13.8px; color: var(--c-body); padding: 0 4px 20px; }

/* =========================================================================
   PRODUCT DISPLAY SECTION  -  {article cat="product"} call block
   ========================================================================= */
.product-showcase { padding: 50px 0; background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.product-showcase .section-head { margin-bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.product-showcase .section-head h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); color: var(--c-ink); }
.product-showcase .section-head p { font-size: 13.5px; color: var(--c-muted); max-width: 460px; }
.product-showcase .section-head a.view-all { font-weight: 700; font-size: 13.5px; color: var(--c-primary-dark); white-space: nowrap; }

/* container/grid classes match the given call-code exactly */
.product-showcase .ui.container { max-width: 100%; }
.product-showcase .pro-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-showcase .img-box { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; background: var(--c-primary-soft); }
.product-showcase .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-showcase .con-box { background: var(--c-canvas); border: 1px solid var(--c-border); border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.product-showcase .con-box:hover { border-color: var(--c-primary); box-shadow: var(--shadow-card); }
.product-showcase .con-box:hover .img-box img { transform: scale(1.06); }
.product-showcase .inner-box { padding: 18px 18px 20px; }
.product-showcase .tit { font-family: var(--font-display); font-size: 15.5px; color: var(--c-ink); margin-bottom: 8px; }
.product-showcase .abst { font-size: 12.8px; color: var(--c-muted); margin-bottom: 14px; }
.product-showcase .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.8px; color: var(--c-primary-dark); }
.product-showcase .more:hover { color: var(--c-ink); }

@media (max-width: 960px) { .product-showcase .pro-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-showcase .pro-list { grid-template-columns: 1fr; } }

/* =========================================================================
   COMPANY INTRO SECTION
   ========================================================================= */
.company-intro { padding: 56px 0; }
.company-intro .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.company-intro .intro-media { position: relative; }
.company-intro .intro-media .media-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 6/5; }
.company-intro .intro-media .media-main img { width: 100%; height: 100%; object-fit: cover; }
.company-intro .intro-media .media-badge { position: absolute; left: -18px; bottom: -18px; background: var(--c-ink); color: #fff; border-radius: var(--radius-md); padding: 16px 20px; box-shadow: var(--shadow-card); }
.company-intro .intro-media .media-badge b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--c-primary); }
.company-intro .intro-media .media-badge span { font-size: 11.5px; color: #cdd8bd; }
.company-intro .intro-copy .eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary-dark); margin-bottom: 12px; display: block; }
.company-intro .intro-copy h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); color: var(--c-ink); margin-bottom: 16px; }
.company-intro .intro-copy p { font-size: 14.5px; color: var(--c-body); margin-bottom: 14px; }
.company-intro .intro-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.company-intro .intro-facts .fact b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--c-ink); }
.company-intro .intro-facts .fact span { font-size: 12px; color: var(--c-muted); }

@media (max-width: 860px) {
  .company-intro .intro-grid { grid-template-columns: 1fr; }
  .company-intro .intro-media { margin-bottom: 20px; }
}

/* =========================================================================
   RELATED TAGS SECTION  -  {foreach fuzzy_search()} call block
   ========================================================================= */
.related-tags { padding: 46px 0; background: var(--c-primary-soft); }
.related-tags .section-head { margin-bottom: 20px; }
.related-tags .section-head h2 { font-family: var(--font-display); font-size: 21px; color: var(--c-ink); margin-bottom: 6px; }
.related-tags .section-head p { font-size: 13px; color: var(--c-muted); }
.related-tags .tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.related-tags .tag-cloud a { font-size: 13.5px; font-weight: 600; color: var(--c-ink); background: var(--c-surface); border: 1px solid var(--c-border); padding: 9px 16px; border-radius: 999px; transition: all .18s ease; }
.related-tags .tag-cloud a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* =========================================================================
   CONTACT FORM SECTION  -  {forms pid='3'}  -  styles only, markup fixed
   ========================================================================= */
.contact-section { padding: 56px 0 64px; }
.contact-section .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; background: var(--c-ink); border-radius: var(--radius-lg); overflow: hidden; }
.contact-section .contact-side { padding: 44px clamp(24px,3vw,40px); color: #dfe8d3; position: relative; }
.contact-section .contact-side .eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px; display: block; }
.contact-section .contact-side h2 { font-family: var(--font-display); font-size: 26px; color: #fff; margin-bottom: 14px; }
.contact-section .contact-side p { font-size: 13.8px; color: #a9b89a; margin-bottom: 26px; }
.contact-section .contact-side .side-line { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; margin-bottom: 16px; }
.contact-section .contact-side .side-line .ico { color: var(--c-primary); flex-shrink: 0; }
.contact-section .contact-form-wrap { background: var(--c-surface); padding: 44px clamp(24px,3vw,40px); }

/* the fixed contact form markup  -  .Auxil-form is the real class used in the call code */
.contact-form-wrap .Auxil-form .grid-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-wrap .Auxil-form .grid-box .wid-100 { grid-column: 1 / -1; }
.contact-form-wrap .Auxil-form .box { position: relative; display: flex; align-items: center; background: var(--c-canvas); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 0 14px; transition: border-color .2s ease; }
.contact-form-wrap .Auxil-form .box:focus-within { border-color: var(--c-primary); background: var(--c-surface); }
.contact-form-wrap .Auxil-form .box .fa { font-size: 14px; color: var(--c-muted); margin-right: 10px; flex-shrink: 0; }
.contact-form-wrap .Auxil-form .box:focus-within .fa { color: var(--c-primary-dark); }
.contact-form-wrap .Auxil-form input[type="text"] { flex: 1; border: none; background: transparent; padding: 14px 0; font-size: 13.8px; color: var(--c-ink); outline: none; }
.contact-form-wrap .Auxil-form textarea { flex: 1; border: none; background: transparent; padding: 14px 0; font-size: 13.8px; color: var(--c-ink); outline: none; resize: vertical; min-height: 96px; }
.contact-form-wrap .Auxil-form input::placeholder,
.contact-form-wrap .Auxil-form textarea::placeholder { color: var(--c-muted); }
.contact-form-wrap .Auxil-form .more { display: inline-flex; align-items: center; gap: 8px; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: 999px; transition: background .2s ease; }
.contact-form-wrap .Auxil-form .more:hover { background: var(--c-primary-dark); }
.contact-form-wrap .Auxil-form .more .fa { color: #fff; margin-right: 0; }

@media (max-width: 860px) {
  .contact-section .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap .Auxil-form .grid-box { grid-template-columns: 1fr; }
  .contact-form-wrap .Auxil-form .grid-box li { grid-column: 1 / -1; }
}

/* =========================================================================
   FLOATING CONTACT BALL  -  fixed side widget, opens {forms pid='5'} popup
   ========================================================================= */
.float-ball-wrap { position: fixed; right: 26px; bottom: 30px; z-index: 900; }
.float-ball-wrap .float-ball { width: 58px; height: 58px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-pop); position: relative; }
.float-ball-wrap .float-ball::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--c-primary); opacity: .5; animation: floatPulse 2.4s ease-out infinite; }
.float-ball-wrap .float-ball:hover { background: var(--c-primary-dark); }
.float-ball-wrap .float-label { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--c-ink); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.float-ball-wrap:hover .float-label { opacity: 1; }

@keyframes floatPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.35); opacity: 0; } }

.float-popup-overlay { position: fixed; inset: 0; background: rgba(31,42,23,0.45); z-index: 950; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.float-popup-overlay.is-open { opacity: 1; pointer-events: auto; }

.float-popup { position: fixed; right: 26px; bottom: 100px; width: 340px; max-width: calc(100vw - 40px); background: var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); z-index: 960; padding: 26px 24px; transform: translateY(16px); opacity: 0; pointer-events: none; transition: all .22s ease; }
.float-popup.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.float-popup .popup-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.float-popup .popup-head h4 { font-family: var(--font-display); font-size: 17px; color: var(--c-ink); }
.float-popup .popup-head p { font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.float-popup .popup-close { font-size: 18px; color: var(--c-muted); line-height: 1; }
.float-popup .popup-close:hover { color: var(--c-ink); }

/* the fixed floating-ball form markup  -  .Auxil-form reused, id addForm5 */
.float-popup .Auxil-form .grid { display: grid; gap: 12px; }
.float-popup .Auxil-form .grid-2 { grid-template-columns: 1fr 1fr; }
.float-popup .Auxil-form .grid-span { grid-column: 1 / -1; }
.float-popup .Auxil-form input[type="text"],
.float-popup .Auxil-form input[type="email"],
.float-popup .Auxil-form input[type="tel"] { width: 100%; border: 1px solid var(--c-border); background: var(--c-canvas); border-radius: var(--radius-sm); padding: 11px 12px; font-size: 13px; color: var(--c-ink); outline: none; transition: border-color .2s ease; }
.float-popup .Auxil-form input:focus,
.float-popup .Auxil-form textarea:focus { border-color: var(--c-primary); background: var(--c-surface); }
.float-popup .Auxil-form textarea { width: 100%; border: 1px solid var(--c-border); background: var(--c-canvas); border-radius: var(--radius-sm); padding: 11px 12px; font-size: 13px; color: var(--c-ink); outline: none; resize: vertical; min-height: 74px; }
.float-popup .Auxil-form input[type="submit"] { width: 100%; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 13.5px; padding: 12px; border-radius: 999px; transition: background .2s ease; }
.float-popup .Auxil-form input[type="submit"]:hover { background: var(--c-primary-dark); }

@media (max-width: 480px) {
  .float-popup { right: 14px; left: 14px; width: auto; bottom: 96px; }
  .float-ball-wrap { right: 16px; bottom: 20px; }
}

/* =========================================================================
   SHARED UTILITIES
   ========================================================================= */
.ssf-tag-page .fadein, .ssf-detail-page .fadein { animation: ssfFade .5s ease both; }
@keyframes ssfFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.ssf-shell li {
    list-style-type: disc;
}
.product-showcase .img-box img {
    padding: 10px;
}
.product-showcase .abst {
    line-height: 2;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12.8px;
    color: var(--c-muted);
    margin-bottom: 14px;
}
.contact-form-wrap .Auxil-form .grid-box li.column {
    width: 100%;
}
.float-ball-wrap {
    margin-bottom: 100px;
}