/*
Theme Name: BrightStar Chem
Theme URI: https://chemical-manufacturer-catalog.eli-dxb.chatgpt.site
Author: BrightStar Chem
Description: A responsive product catalogue theme for BrightStar Chem, a China-based chemical manufacturer and stockist.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: brightstar-chem
*/

    :root {
      --ink: #15333d;
      --muted: #5b737b;
      --paper: #f7f8f4;
      --white: #fff;
      --teal: #0d766d;
      --teal-dark: #075b55;
      --lime: #d4ef83;
      --line: #dce5e1;
      --soft: #eaf2ee;
      --orange: #f0a35e;
      --shadow: 0 18px 50px rgba(21, 51, 61, .09);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
    a { color: inherit; text-decoration: none; }
    .wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
    .topbar { border-bottom: 1px solid rgba(21, 51, 61, .09); background: rgba(247,248,244,.86); }
    .topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; }
    .brand img { width: 187px; height: auto; display:block; }
    .custom-logo-link { display:inline-flex; align-items:center; }
    .custom-logo { width:187px; height:auto; }
    nav { display: flex; align-items: center; gap: 31px; color: #415d64; font-size: 13px; font-weight: 650; }
    nav li { list-style:none; }
    nav a:hover { color: var(--teal); }
    .button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 7px; background: var(--teal); color: white; font-size: 13px; font-weight: 750; border: 1px solid var(--teal); transition: .2s ease; }
    .button:hover { background: var(--teal-dark); transform: translateY(-1px); }
    .button.outline { color: var(--teal); background: transparent; }
    .button.outline:hover { color: white; background: var(--teal); }
    .hero { position: relative; overflow: hidden; padding: 72px 0 62px; }
    .hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 55px; align-items: center; position: relative; }
    .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
    .eyebrow:before { content: ""; width: 24px; height: 2px; background: var(--orange); }
    h1 { max-width: 660px; margin: 20px 0 20px; font-size: clamp(40px, 4.7vw, 60px); line-height: 1.04; letter-spacing: -.045em; font-weight: 680; }
    h1 span { color: var(--teal); }
    .hero-copy { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .hero-note { margin-top: 32px; color: #6e8589; font-size: 11px; }
    .hero-art { min-height: 420px; position: relative; display: grid; place-items: center; }
    .orb { width: min(100%, 420px); aspect-ratio: 1; position: relative; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f8f6df, #e2eee4 50%, #c7e1d7); box-shadow: inset -22px -20px 45px rgba(11, 68, 68, .11), var(--shadow); }
    .orb:before,.orb:after { content: ""; position: absolute; border: 1px solid rgba(13,118,109,.27); border-radius: 50%; transform: rotate(-32deg); }
    .orb:before { inset: 58px 12px; }
    .orb:after { inset: 13px 74px; transform: rotate(52deg); }
    .molecule { position: absolute; inset: 0; z-index: 1; }
    .atom { position: absolute; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800; box-shadow: 0 7px 18px rgba(21,51,61,.15); }
    .atom.a { width: 70px; height: 70px; left: 44%; top: 40%; background: var(--teal); color: #fff; font-size: 18px; }
    .atom.b { width: 48px; height: 48px; left: 22%; top: 28%; background: var(--orange); color: #fff; }
    .atom.c { width: 54px; height: 54px; right: 19%; top: 23%; background: #fff; color: var(--teal); }
    .atom.d { width: 45px; height: 45px; right: 21%; bottom: 23%; background: var(--lime); color: var(--ink); }
    .atom.e { width: 42px; height: 42px; left: 20%; bottom: 24%; background: #fff; color: var(--ink); }
    .orb-label { position: absolute; z-index: 2; right: -2px; bottom: 24px; padding: 14px 18px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
    .mini-card { position: absolute; z-index: 2; left: -4px; top: 48px; padding: 13px 15px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
    .mini-card strong { display: block; font-size: 12px; }
    .mini-card span { color: var(--muted); font-size: 10px; }
    .strip { background: var(--ink); color: white; }
    .strip-inner { display: grid; grid-template-columns: repeat(3,1fr); padding: 22px 0; }
    .strip-item { padding: 2px 28px; border-right: 1px solid rgba(255,255,255,.19); }
    .strip-item:first-child { padding-left: 0; }
    .strip-item:last-child { border: 0; }
    .strip-item strong { display: block; font-size: 13px; }
    .strip-item span { color: #b8cbc8; font-size: 11px; }
    section { padding: 84px 0; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
    h2 { margin: 12px 0 0; max-width: 620px; font-size: clamp(31px, 4vw, 46px); line-height: 1.07; letter-spacing: -.045em; font-weight: 670; }
    .section-copy { max-width: 380px; margin: 0; color: var(--muted); font-size: 14px; }
    .products { background: #fff; }
    .product-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; margin:-8px 0 20px; }
    .product-filters { display:flex; flex-wrap:wrap; gap:8px; }
    .filter-button { min-height:38px; padding:0 13px; border:1px solid var(--line); border-radius:4px; background:#fff; color:#496166; font:inherit; font-size:12px; cursor:pointer; }
    .filter-button:hover,.filter-button[aria-pressed="true"] { border-color:var(--teal); background:var(--teal); color:#fff; }
    .filter-button:focus-visible,.catalog-search:focus-visible { outline:3px solid rgba(13,118,109,.22); outline-offset:2px; }
    .catalog-search { width:min(100%,290px); min-height:38px; padding:8px 11px; border:1px solid var(--line); border-radius:4px; background:#fff; color:var(--ink); font:inherit; font-size:12px; }
    .product-card[hidden] { display:none; }
    .product-count { margin:0 0 12px; color:var(--muted); font-size:12px; }
    .product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
    .product-card { min-height: 420px; display: flex; flex-direction: column; padding: 18px 20px; overflow:hidden; background: #fbfcfa; border: 1px solid var(--line); border-radius: 5px; transition: .2s ease; }
    .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #abd3c9; }
    .product-image { display:block; width:calc(100% + 40px); height:140px; margin:-18px -20px 17px; object-fit:cover; background:#edf2ef; }
    
    .range-note { margin-top:16px; padding:16px 18px; border-left:3px solid var(--teal); background:#f0f5f2; color:#496166; font-size:12px; }
    .product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 29px; }
    .product-icon { width: 34px; height: 34px; display: grid; place-items: center; background: #edf2ef; color: #355b5d; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing:.03em; }
    .product-no { color: #9aabaa; font-size: 10px; letter-spacing: .1em; }
    .tag { display: inline-flex; align-self: flex-start; padding: 5px 8px; border-radius: 4px; color: #47635f; background: #e9f1ed; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .product-card h3 { margin: 11px 0 8px; font-size: 19px; line-height: 1.2; letter-spacing: -.025em; }
    .product-card p { margin: 0; color: var(--muted); font-size: 12px; }
    .product-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
    .product-foot span { color: #456066; font-size: 11px; font-weight: 700; }
    .arrow { color: var(--teal); font-size: 19px; }
    .approach { background: var(--paper); }
    .approach-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 70px; align-items: start; }
    .approach-intro p { max-width: 380px; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
    .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .step { min-height: 150px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
    .step .num { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
    .step h3 { margin: 10px 0 7px; font-size: 15px; }
    .step p { margin: 0; color: var(--muted); font-size: 11px; }
    .quote-section { padding-top: 30px; padding-bottom: 90px; }
    .quote-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; padding: 48px; border-radius: 12px; background: var(--ink); color: white; overflow: hidden; position: relative; }
    .quote-box:after { content:""; position:absolute; width:330px; height:330px; border:1px solid rgba(212,239,131,.2); border-radius:50%; right:-115px; top:-155px; box-shadow:0 0 0 35px rgba(212,239,131,.04),0 0 0 70px rgba(212,239,131,.03); }
    .quote-box .eyebrow { color: var(--lime); }
    .quote-box h2 { position: relative; z-index: 1; font-size: clamp(29px, 4vw, 43px); }
    .quote-box p { max-width: 380px; margin: 17px 0 0; color: #c2d1cf; font-size: 13px; }
    form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    label { display: grid; gap: 6px; color: #dce7e4; font-size: 10px; font-weight: 700; }
    label.full { grid-column: 1/-1; }
    input,select,textarea { width: 100%; min-height: 42px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 5px; font: inherit; font-size: 12px; outline: none; }
    textarea { min-height: 72px; resize: vertical; }
    input:focus,select:focus,textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(212,239,131,.2); }
    form button { grid-column: 1/-1; justify-self: start; margin-top: 4px; color: var(--ink); background: var(--lime); border-color: var(--lime); cursor: pointer; }
    form button:hover { color: var(--ink); background: #e2f5aa; }
    .contact-placeholder { grid-column: 1/-1; color: #b2c6c3; font-size: 10px; }
    footer { padding: 27px 0; border-top: 1px solid var(--line); background: #fff; }
    .footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #6b8183; font-size: 10px; }
    .footer-links { display:flex; gap:20px; }
    .notice { display:none; margin-top:10px; color:#d4ef83; font-size:11px; }
    .notice-visible { display:block; }
    .honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
    .hero-photo { width:100%; height:370px; object-fit:cover; border-radius:4px; box-shadow:none; }
    .about { background:#fff; }
    .about-grid { display:grid; grid-template-columns:1fr 1fr; gap:58px; align-items:center; }
    .about-copy p { max-width:530px; color:var(--muted); font-size:14px; }
    .about-image-wrap { position:relative; }
    .about-image { display:block; width:100%; aspect-ratio:1.45; object-fit:cover; border-radius:4px; box-shadow:none; }
    .about-points { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:24px; }
    .about-point { padding:13px 14px; background:#f3f7f4; border-radius:6px; color:#31555b; font-size:11px; font-weight:700; }
    .company-address { margin-top:24px; color:#c2d1cf; font-size:12px; line-height:1.75; }
    .company-address strong { color:#fff; font-size:10px; letter-spacing:.12em; text-transform:uppercase; }
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
      .product-grid { grid-template-columns: repeat(2,1fr); }
      .approach-grid { gap: 35px; }
      .quote-box { gap: 28px; padding: 35px; }
    }
    @media (max-width: 680px) {
      .wrap { width: min(100% - 32px, 520px); }
      .topbar-inner { min-height: 64px; }
      nav { gap: 14px; font-size: 11px; }
      nav a:nth-child(2) { display:none; }
      nav .button { min-height: 38px; padding: 0 12px; }
      .brand { font-size: 12px; }
      .brand-mark { width:30px; height:30px; }
      .hero { padding: 55px 0 44px; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-art { min-height: 320px; margin-top: 5px; }
      .hero-photo { height:310px; }
      .orb { width: 300px; }
      .mini-card { left: 0; top: 20px; }
      .orb-label { right: -3px; bottom: 12px; }
      .strip-inner { grid-template-columns:1fr; gap:12px; padding:17px 0; }
      .strip-item,.strip-item:first-child { padding:0; border:0; }
      section { padding: 60px 0; }
      .section-head { align-items:flex-start; flex-direction:column; gap:12px; }
      .product-grid { grid-template-columns:1fr; }
      .product-card { min-height: 390px; }
      .product-image { height:165px; }
      .approach-grid { grid-template-columns:1fr; gap:25px; }
      .about-grid { grid-template-columns:1fr; gap:25px; }
      .steps { grid-template-columns:1fr; }
      .step { min-height: initial; }
      .quote-section { padding-top: 0; padding-bottom:60px; }
      .quote-box { grid-template-columns:1fr; padding:28px 22px; gap:25px; }
      form { grid-template-columns:1fr; }
      label.full, form button, .contact-placeholder { grid-column:1; }
      .footer-inner { align-items:flex-start; flex-direction:column; }
    }
  
