/* bw-category.css — extracted from inline <style> during CSS centralisation.
 * Loaded alongside bw-base.css. Cascade order: bw-base.css first,
 * this file second (page-type rules win where they overlap).
 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 90px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #ffffff; color: #1a1a1a; overflow-x: hidden; }
/* Category --cat-* tokens come from <body class="cat-{slug}"> in bw-base.css.
   Do NOT redeclare here. */
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0.6rem 2rem; display: flex; align-items: center; justify-content: space-between; transition: all 0.4s ease; background: rgba(15,15,15,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.navbar.scrolled { background: rgba(15,15,15,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.navbar-logo img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { color: white; font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.5rem 0; transition: color 0.3s; }
.nav-links > li > a:hover { color: var(--amber); }
.nav-links > li > a.active { color: var(--amber); }
.nav-links > li > a.active::after, .nav-links > li > a:hover::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--amber); }
/* Products dropdown */
.nav-links .has-dropdown > a .chev { font-size: 0.6rem; margin-left: 0.4rem; transition: transform 0.25s; opacity: 0.75; }
.nav-links .has-dropdown:hover > a .chev { transform: rotate(180deg); opacity: 1; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-6px); background: rgba(15,15,15,0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-width: 230px; padding: 0.4rem 0; border-radius: 10px; list-style: none; box-shadow: 0 18px 45px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.06); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; pointer-events: none; }
.nav-links .has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown li { padding: 0; }
.nav-links .dropdown a { display: block; padding: 0.7rem 1.5rem; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.88); border-left: 3px solid transparent; transition: background 0.15s, color 0.15s, border-left-color 0.15s; }
.nav-links .dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--amber); border-left-color: var(--amber); }
.nav-links .dropdown a::after { display: none !important; }
.dropdown-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 0.35rem 0; pointer-events: none; }
.mobile-section { font-weight: 700 !important; }
.mobile-sub { padding-left: 1.25rem !important; font-size: 0.95rem !important; opacity: 0.92; }
.menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background: #0f0f0f; z-index: 1500; padding: 5rem 2rem 2rem; transition: right 0.4s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
.mobile-menu.open { right: 0; }
.mobile-menu a { display: block; color: white; padding: 1rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* SOCIAL SIDEBAR */
.social-sidebar { position: fixed; top: 50%; left: 0.85rem; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 0.5rem; }
.social-sidebar a { width: 36px; height: 36px; border-radius: 50%; background: rgba(15,15,15,0.85); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all 0.3s; }
.social-sidebar a:hover { background: var(--cat-bright); transform: translateX(4px); }

/* HERO HEADER */
.page-header { background: linear-gradient(135deg, rgba(15,15,15,0.45), rgba(15,15,15,0.25)), var(--hero-bg, url('images/about/about-bg.jpg')) center/cover; min-height: 60vh; padding: 9rem 2rem 5rem; color: white; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.page-header-content { max-width: 880px; }
.page-tagline { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cat-bright); margin-bottom: 1rem; font-weight: 600; }
.page-title { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.page-subtitle { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.65; color: rgba(255,255,255,0.86); max-width: 720px; margin: 0 auto 2rem; }
.page-stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.stat-block { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--cat-bright); }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); margin-top: 0.3rem; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--cat-bright); }
.breadcrumb i { font-size: 0.55rem; opacity: 0.5; }
.breadcrumb span { color: white; font-weight: 600; }

/* SEO COPY SECTIONS */
.seo-section { padding: 4.5rem 2rem; background: white; }
.seo-section.alt { background: var(--light-alt); }
.seo-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.seo-text { min-width: 0; }
.seo-eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--cat-bright); font-weight: 600; margin-bottom: 0.75rem; display: block; }
.seo-section h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 1.25rem; line-height: 1.2; color: var(--text-dark); }
.seo-section h3 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem; color: var(--text-dark); }
.seo-section p { font-size: 1rem; line-height: 1.75; color: var(--text-body); margin-bottom: 1rem; }
.seo-section ul { list-style: none; padding-left: 0; margin: 1rem 0 1.5rem; }
.seo-section li { position: relative; padding-left: 1.6rem; line-height: 1.7; color: var(--text-body); margin-bottom: 0.6rem; }
.seo-section li::before { content: '\2713'; position: absolute; left: 0; color: var(--cat-bright); font-weight: bold; }
.seo-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: sticky; top: 100px; }
.seo-collage figure { margin: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,0.08); transition: transform 0.4s ease, box-shadow 0.4s ease; background: var(--light-alt); }
.seo-collage figure:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.14); }
.seo-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.seo-collage figure:hover img { transform: scale(1.06); }
.seo-collage.shift figure:nth-child(2) { transform: translateY(2rem); }
.seo-collage.shift figure:nth-child(2):hover { transform: translateY(2rem) translateY(-4px); }
.seo-collage.shift figure:nth-child(4) { transform: translateY(2rem); }
.seo-collage.shift figure:nth-child(4):hover { transform: translateY(2rem) translateY(-4px); }

/* PRODUCT GRID */
.product-grid-section { padding: 4rem 2rem; background: var(--light-alt); }
.grid-inner { max-width: 1280px; margin: 0 auto; }
.grid-heading { text-align: center; margin-bottom: 2.5rem; }
.grid-eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--cat-bright); font-weight: 600; }
.grid-title { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin: 0.5rem 0 0.75rem; color: var(--text-dark); }
.grid-sub { color: var(--text-muted); font-size: 0.98rem; max-width: 580px; margin: 0 auto; line-height: 1.65; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 1.5rem; }
.product-card { background: white; border-radius: 8px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); border-color: var(--cat-bright); }
.product-image-wrap { aspect-ratio: 1; background: white; display: flex; align-items: center; justify-content: center; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.product-image { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-info { padding: 1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.product-name { font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.product-link { font-size: 0.82rem; color: var(--cat-bright); font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; }

/* BLOG CALLOUT */
.blog-callout { background: var(--light-alt); border-left: 4px solid var(--cat-bright); padding: 1.25rem 1.5rem; margin: 1.5rem 0 0; border-radius: 0 8px 8px 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.blog-callout .blog-eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cat-bright); font-weight: 700; display: block; margin-bottom: 0.3rem; }
.blog-callout .blog-title { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; line-height: 1.4; flex: 1; min-width: 240px; }
.blog-callout a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--cat-bright); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.blog-callout a i { font-size: 0.75rem; transition: transform 0.25s; }
.blog-callout a:hover i { transform: translateX(3px); }

/* FAQ */
.faq-section { padding: 4.5rem 2rem; background: white; }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 0; font-size: 1.02rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit; }
.faq-question:hover { color: var(--cat-bright); }
.faq-question i { transition: transform 0.3s; color: var(--cat-bright); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-body); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.25rem; }

/* OTHER CATEGORIES */
.other-categories { padding: 4.5rem 2rem; background: var(--light-alt); }
.other-inner { max-width: 1280px; margin: 0 auto; }
.other-heading { text-align: center; margin-bottom: 2.5rem; }
.other-eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--cat-bright); font-weight: 600; }
.other-title { font-size: 1.8rem; margin-top: 0.4rem; color: var(--text-dark); }
.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 1rem; }
.other-cat-card { position: relative; aspect-ratio: 1.4; border-radius: 8px; overflow: hidden; transition: transform 0.3s; }
.other-cat-card:hover { transform: translateY(-3px); }
.other-cat-card img { width: 100%; height: 100%; object-fit: cover; }
.other-cat-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.75)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; color: white; }
.other-cat-name { font-size: 1.1rem; font-weight: 700; }
.other-cat-count { font-size: 0.78rem; opacity: 0.85; margin-top: 0.2rem; }

/* HELP CTA */
.help-cta { padding: 5rem 2rem; background: linear-gradient(135deg, rgba(15,15,15,0.85), rgba(26,26,26,0.92)), var(--cta-bg, #1a1a1a) center/cover; color: white; text-align: center; position: relative; }
.help-inner { max-width: 720px; margin: 0 auto; }
.help-cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: 0.85rem; }
.help-cta p { color: rgba(255,255,255,0.78); font-size: 1.02rem; line-height: 1.7; margin-bottom: 1.75rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--cat-bright); color: white; padding: 0.85rem 1.75rem; border-radius: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.92rem; transition: all 0.3s; }
.btn-primary:hover { background: var(--cat-dark); transform: translateY(-2px); }

/* FOOTER */
.footer { background: #0a0a0a; color: white; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3.5rem 2rem; max-width: 1200px; margin: 0 auto; align-items: center; }
.footer-main img { max-width: 280px; opacity: 0.85; }
.footer-search h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-search p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.search-form { display: flex; gap: 0.5rem; }
.search-form input { flex: 1; padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: white; border-radius: 4px; font-size: 0.9rem; font-family: inherit; }
.search-form input::placeholder { color: rgba(255,255,255,0.5); }
.search-form input:focus { outline: none; border-color: var(--cat-bright); }
.btn-green { background: var(--cat-bright); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 4px; cursor: pointer; font-weight: 600; transition: background 0.3s; }
.btn-green:hover { background: var(--cat-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 2rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--cat-bright); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .mobile-menu { display: block; }
    .social-sidebar { display: none; }
    .page-header { padding: 7rem 1.5rem 4rem; min-height: 0; }
    .seo-section, .product-grid-section, .faq-section, .other-categories, .help-cta { padding: 3rem 1.25rem; }
    .seo-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .seo-collage { position: static; }
    .seo-collage.shift figure:nth-child(2),
    .seo-collage.shift figure:nth-child(4) { transform: none; }
    .footer-main { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-main > div:first-child { display: flex; justify-content: center; }
}
@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .other-grid { grid-template-columns: 1fr 1fr; }
    .navbar { padding: 0.5rem 1rem; }
    .navbar-logo img { height: 44px; }
}
