:root {
    --navy: #221e1b; --navy-deep: #17140f; --steel: #4a453d;
    --accent: #db2327; --accent-dark: #b81c20; --accent-tint: #fbf1f1; --ink: #2a2723;
    --muted: #625e57; --line: #e8e1d6; --bg: #f6f3ee; --white: #ffffff;
    --radius: 14px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; font-family: 'Source Sans 3', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--ink); background: var(--white); line-height: 1.55;
  }
  a { text-decoration: none; color: inherit; }
  h1, h2, h3 { margin: 0; font-family: 'Libre Franklin', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; }


  header { background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-wrap { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
  .logo-img { height: 48px; width: auto; display: block; }
  nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; font-size: 14px; font-weight: 600; }
  nav a { color: var(--navy); opacity: 0.75; transition: opacity 0.2s; }
  nav a:hover { opacity: 1; }
  nav .active { color: var(--accent-dark); opacity: 1; }
  .has-dropdown { position: relative; }
  .has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
  .dropdown-caret { flex-shrink: 0; transition: transform 0.2s ease; }
  .has-dropdown:hover .dropdown-caret, .has-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }
  .nav-dropdown {
    position: absolute; top: 100%; left: 50%; margin-top: 14px; transform: translateX(-50%) translateY(-8px);
    background: var(--white); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 20px 44px rgba(23,20,15,0.16); padding: 16px; width: 460px;
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 200;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav-dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
  .has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .nav-dropdown-grid a { display: block; padding: 12px 14px; border-radius: 9px; font-size: 16px; font-weight: 600; color: var(--navy); opacity: 0.82; transition: background 0.15s ease, opacity 0.15s ease; }
  .nav-dropdown-grid a:hover { background: var(--bg); opacity: 1; }
  .nav-cta { background: var(--accent-dark); color: var(--white) !important; padding: 9px 18px; border-radius: 8px; font-size: 13.5px; opacity: 1 !important; }

  footer { background: var(--navy-deep); color: rgba(255,255,255,0.62); padding: 48px 24px 24px; }
  .footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  @media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
  .footer-brand img { height: 42px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.95; }
  .footer-brand p { font-size: 13px; color: rgba(255,255,255,0.62); max-width: 320px; }
  .footer-socials { display: flex; gap: 10px; margin-top: 16px; }
  .footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
  .footer-socials a:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
  footer h3 { color: var(--white); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
  footer ul { list-style: none; margin: 0; padding: 0; }
  footer li { margin-bottom: 10px; font-size: 13.5px; }
  footer a:hover { color: var(--white); }
  .footer-bottom { max-width: 1180px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.42); }


  /* Screen-reader/SEO-only heading — keeps the document outline unbroken
     (h1 -> h2) on photo-hero product pages without changing anything visible. */
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

  /* ---- Individual product pages (level 3, shared across all page-item-* sections) ---- */
  .item-detail-hero { background: linear-gradient(135deg, var(--navy-deep), var(--steel)); color: var(--white); padding: 52px 24px 54px; text-align: center; }
  .breadcrumb { text-align: center; margin-bottom: 18px; font-size: 13.5px; font-weight: 600; }
  .breadcrumb a { color: rgba(255,255,255,0.85); }
  .breadcrumb a:hover { color: #fff; text-decoration: underline; }
  .crumb-sep { color: rgba(255,255,255,0.4); margin: 0 8px; }
  .crumb-current { color: rgba(255,255,255,0.65); }
  .item-detail-hero .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12.5px; color: rgba(255,255,255,0.75); font-weight: 700; margin-bottom: 12px; }
  .item-detail-hero h1 { font-size: 32px; font-weight: 800; margin: 0; max-width: 720px; margin: 0 auto; }

  /* Photo hero variant — Treatment A "Studio Spotlight" (used when a product has photography) */
  .item-detail-hero--photo {
    display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 32px;
    text-align: left; padding: 64px clamp(24px, 6vw, 96px) 70px;
    background: radial-gradient(ellipse 90% 100% at 28% 45%, #3d3830 0%, #24201a 42%, #17140f 100%);
  }
  .item-hero-text { position: relative; z-index: 3; }
  .item-hero-text .breadcrumb { text-align: left; margin-bottom: 20px; }
  .item-hero-text .eyebrow { color: #e8a5a2; }
  .item-hero-text h1 { max-width: none; margin: 0 0 16px; text-align: left; }
  .item-hero-desc { font-size: 15px; color: rgba(255,255,255,0.72); max-width: 420px; margin: 0 0 28px; line-height: 1.65; }
  .item-hero-media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
  .item-hero-glow {
    position: absolute; width: 60%; aspect-ratio: 1 / 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,244,230,0.20) 0%, rgba(255,244,230,0.06) 45%, transparent 72%);
    filter: blur(2px);
  }
  .item-hero-shadow {
    position: absolute; bottom: 8%; width: 46%; height: 34px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0,0,0,0.55) 0%, transparent 72%); filter: blur(4px);
  }
  .item-hero-media img { position: relative; z-index: 2; max-height: 420px; max-width: 100%; width: auto; filter: drop-shadow(0 24px 26px rgba(0,0,0,0.45)); }
  @media (max-width: 760px) {
    .item-detail-hero--photo { grid-template-columns: 1fr; text-align: center; padding: 48px 24px 40px; }
    .item-hero-text, .item-hero-text .breadcrumb, .item-hero-text h1 { text-align: center; }
    .item-hero-desc { margin-left: auto; margin-right: auto; }
    .item-hero-media { margin-top: 24px; min-height: 260px; }
    .item-hero-media img { max-height: 260px; }
  }

  .section { max-width: 1180px; margin: 0 auto; padding: 64px 24px 68px; }
  .item-overview { max-width: 760px; margin: 0 auto 48px; text-align: center; }
  .item-overview h2 { font-size: 22px; color: var(--navy); margin: 0 0 14px; }
  .item-overview p { font-size: 15px; color: var(--ink); line-height: 1.7; margin: 0 0 22px; }
  .btn-primary { background: var(--accent-dark); color: var(--white); padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 14.5px; display: inline-block; transition: background 0.2s; }
  .btn-primary:hover { background: var(--accent); }
  .cat-note { font-size: 12.5px; color: var(--muted); font-style: italic; }

  /* ---- Tab panel: Features / Specifications / Applications / Compliance ---- */
  .tab-panel { max-width: 1080px; margin: 0 auto; }
  .tab-bar { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1.5px solid var(--line); margin-bottom: 38px; }
  .tab-btn {
    appearance: none; background: none; border: none; cursor: pointer; font-family: inherit;
    padding: 15px 4px; margin-right: 40px; font-size: 16.5px; font-weight: 700; color: var(--muted);
    border-bottom: 3px solid transparent; transition: color 0.15s ease, border-color 0.15s ease;
  }
  .tab-btn:hover { color: var(--navy); }
  .tab-btn.active { color: var(--navy); border-bottom-color: var(--accent-dark); }
  .tab-content { display: none; }
  .tab-content.active { display: block; }
  .tab-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px 40px; }
  .tab-list li { position: relative; padding-left: 26px; font-size: 16px; color: var(--ink); line-height: 1.65; }
  .tab-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 2px; background: var(--accent-dark); }
  .fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
  .fact-card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
  .fact-card span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; margin-bottom: 6px; }
  .fact-card b { font-size: 17px; color: var(--navy); font-weight: 700; }

  .section.tinted { background: var(--bg); max-width: none; padding: 56px 24px; }
  .section.tinted > .inner { max-width: 1180px; margin: 0 auto; }
  .section.tinted .divider-pill { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
  .section.tinted .divider-pill .d-rule { flex: 1 1 auto; max-width: 160px; height: 1px; background: var(--line); }
  .section.tinted .divider-pill .d-pill { flex: none; border: 1.5px solid var(--accent-dark); color: var(--accent-dark); font-family: 'Libre Franklin', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1.6px; padding: 8.5px 21px; border-radius: 999px; white-space: nowrap; }
  .section.tinted .section-title { text-align: center; font-size: 24px; font-weight: 800; color: var(--navy); margin: 0 0 30px; }
  .sib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
  .sib-card {
    display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line);
    border-radius: 12px; padding: 14px 16px; transition: all 0.15s;
  }
  .sib-card:hover { border-color: var(--navy); box-shadow: 0 6px 16px rgba(23,20,15,0.08); }
  .sib-card span { font-size: 13.5px; font-weight: 600; color: var(--navy); }


  /* ---- Mobile nav (hamburger dropdown panel) ---- */
  .nav-toggle { display: none; background: none; border: none; padding: 6px; margin: 0; cursor: pointer; color: var(--navy); }
  @media (max-width: 880px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    nav ul {
      display: none; position: fixed; top: 77px; left: 0; right: 0;
      flex-direction: column; gap: 0; margin: 0; background: var(--white);
      border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
      box-shadow: 0 16px 32px rgba(23,20,15,0.14); padding: 4px 24px; z-index: 300;
      max-height: calc(100vh - 77px); overflow-y: auto;
    }
    nav.nav-open ul { display: flex; }
    nav ul li { width: 100%; }
    nav ul li a { display: block; width: 100%; padding: 15px 2px; opacity: 1; border-bottom: 1px solid var(--line); box-sizing: border-box; }
    nav ul li:last-child a { border-bottom: none; }
    nav ul li a.nav-cta { display: block; text-align: center; margin: 14px 0 16px; border-bottom: none; }
    .has-dropdown .nav-dropdown { display: none !important; }
    .has-dropdown .dropdown-caret { display: none; }
  }

  /* ---- Footer legal links (Privacy Notice / Cookie settings) ---- */
  .footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .footer-legal a:hover { color: var(--white); }

  /* ---- Applications + FAQ (SEO content) ---- */
  .seo-band { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .seo-inner { max-width: 880px; margin: 0 auto; padding: 56px 24px; }
  .seo-title { font-size: 26px; font-weight: 800; color: var(--navy); margin: 0 0 26px; text-align: center; text-wrap: balance; }
  .app-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
  .app-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; color: var(--ink); }
  .app-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dark); }
  .faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .faq-item:last-child { border-bottom: 0; }
  .faq-item h3 { font-size: 16.5px; line-height: 1.4; color: var(--navy); margin: 0 0 8px; }
  .faq-item p { font-size: 14.5px; line-height: 1.65; color: var(--ink); margin: 0; }
  .faq-item a { color: var(--accent-dark); text-decoration: underline; }
  /* Placeholders awaiting confirmed facts: highlighted so they cannot be missed before launch. */
  .verify { background: #fff1a8; color: inherit; padding: 0 3px; border-radius: 3px; }
  @media (max-width: 700px) {
    .seo-inner { padding: 40px 20px; }
    .seo-title { font-size: 22px; }
    .app-list { grid-template-columns: 1fr; }
  }

/* CookieYes banner: make "Accept All" the primary action. Reject/Customise stay the same size and fully visible. */
.cky-btn.cky-btn-accept {
  background: #b81c20 !important;   /* site red: same as the Send Message button (--accent-dark) */
  border-color: #b81c20 !important;
  color: #ffffff !important;
}
.cky-btn.cky-btn-reject,
.cky-btn.cky-btn-customize,
.cky-btn.cky-btn-preferences {
  background: transparent !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
}
/* Preference centre (Customise panel): put "Accept All" first */
.cky-prefrence-btn-wrapper { display: flex !important; flex-wrap: wrap; gap: 8px; }
.cky-prefrence-btn-wrapper .cky-btn-accept { order: -1; }

/* CookieYes banner: smaller text on phones */
@media (max-width: 600px) {
  .cky-consent-container .cky-title { font-size: 14px !important; }
  .cky-consent-container .cky-notice-des,
  .cky-consent-container .cky-notice-des p { font-size: 12px !important; line-height: 1.4 !important; }
}
