/*
Theme Name: NPTCL Creator
Theme URI: https://www.nptcl.com/
Author: NPTCL
Author URI: https://www.nptcl.com/
Description: Conversion-focused WordPress theme for NPTCL — wireless microphones for iPhone and content creator kits. Includes an SEO-optimised front page with product schema and FAQ schema.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nptcl
Tags: e-commerce, one-column, custom-logo, custom-menu, featured-images, block-styles, wide-blocks
*/

:root {
  --radius: 14px;
  /* Hex fallbacks first: browsers without oklch() support keep these. */
  --background: #fbfcfe;
  --background: oklch(0.992 0.002 250);
  --foreground: #20242e;
  --foreground: oklch(0.21 0.02 255);
  --surface: #f1f3f9;
  --surface: oklch(0.968 0.006 248);
  --surface-strong: #e4e8f1;
  --surface-strong: oklch(0.932 0.009 248);
  --accent: #e8ecfb;
  --accent: oklch(0.93 0.03 255);
  --card: #ffffff;
  --card: oklch(1 0 0);
  --primary: #2563eb;
  --primary: oklch(0.623 0.188 259.8);
  --primary-foreground: #fbfcfe;
  --primary-foreground: oklch(0.99 0.002 250);
  --muted-foreground: #767d8c;
  --muted-foreground: oklch(0.58 0.025 256);
  --border: #d8dce6;
  --border: oklch(0.905 0.011 252);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --max: 1152px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, .font-display { font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; margin: 1.5rem 0 0; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0; }
h3 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.header-right { display: flex; align-items: center; gap: 32px; }
.site-brand img { height: 40px; width: auto; display: block; }
.custom-logo { height: 40px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.site-nav ul { display: flex; align-items: center; gap: 4px; font-size: 0.875rem; font-weight: 500; }
.site-nav .nav-link, .site-nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 14px; border: 0; cursor: pointer;
  font: inherit; background: transparent; color: var(--muted-foreground);
  transition: background .2s ease, color .2s ease;
}
.site-nav .nav-link:hover, .site-nav .nav-trigger:hover,
.has-dropdown.is-open .nav-trigger { background: var(--accent); color: var(--primary); }
.chev {
  width: 16px; height: 16px; flex: 0 0 auto; display: block;
  transition: transform .2s ease;
}
.has-dropdown.is-open .chev, .drawer-section.is-open .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card); border-top: 1px solid var(--border);
  box-shadow: 0 24px 48px -32px color-mix(in oklch, var(--foreground) 40%, transparent);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mega.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.site-header .mega .wrap { display: block; padding-top: 40px; padding-bottom: 40px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; }
.mega-item { display: block; padding: 12px; border-radius: 12px; transition: background .2s ease; }
.mega-item:hover { background: var(--surface); }
.mega-item strong { display: block; font-weight: 600; transition: color .2s ease; }
.mega-item:hover strong { color: var(--primary); }
.mega-item span { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--muted-foreground); }
.mega-footer {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
  padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.875rem;
}
.mega-footer strong { color: var(--primary); font-weight: 500; }
.mega-footer span { color: var(--muted-foreground); }
.mega-footer em { font-style: normal; color: var(--primary); transition: transform .2s ease; }
.mega-footer:hover em { transform: translateX(4px); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 8px;
  background: transparent; cursor: pointer; color: var(--foreground);
}
.menu-toggle:hover { background: var(--surface); }
.menu-bar { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: color-mix(in oklch, var(--foreground) 40%, transparent);
  opacity: 0; transition: opacity .3s ease;
}
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 51;
  width: 85%; max-width: 24rem; background: var(--card);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -20px 0 60px -30px color-mix(in oklch, var(--foreground) 60%, transparent);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.drawer-close {
  border: 0; background: transparent; cursor: pointer; font-size: 1.75rem;
  line-height: 1; padding: 4px 10px; border-radius: 8px; color: var(--foreground);
}
.drawer-close:hover { background: var(--surface); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 8px 12px; }
.drawer-link, .drawer-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 12px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--foreground);
  border-bottom: 1px solid var(--border); text-align: left;
}
.drawer-section { border-bottom: 1px solid var(--border); }
.drawer-section .drawer-toggle { border-bottom: 0; border-radius: 10px; }
.drawer-section.is-open .drawer-toggle { background: var(--surface-strong); color: var(--primary); }
.drawer-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease, opacity .3s ease; }
.drawer-section.is-open .drawer-panel { grid-template-rows: 1fr; opacity: 1; }
.drawer-panel-inner { overflow: hidden; }
.drawer-panel a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 10px 24px; font-size: 0.875rem; color: var(--muted-foreground);
}
.drawer-panel a:hover { color: var(--primary); }
.drawer-panel em { font-style: normal; color: var(--primary); }
.drawer-actions { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-top: 1px solid var(--border); }
.drawer-actions .btn { justify-content: center; }

@media (max-width: 767px) {
  .header-right, .mega { display: none; }
  .menu-toggle { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 12px 24px;
  font-size: 0.875rem; font-weight: 500; border: 1px solid transparent;
  transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { opacity: .9; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-dark { background: var(--foreground); color: var(--background); }
.btn-outline { border-color: var(--border); background: var(--card); color: var(--foreground); }
a.btn.btn-outline:hover,
a.btn.btn-outline:focus-visible {
  background-color: var(--surface-strong);
  border-color: color-mix(in oklch, var(--foreground) 20%, var(--border));
  opacity: 1;
}
.btn-sm { padding: 8px 16px; }
.btn-light { background: var(--card); color: var(--foreground); }
/* Light/ghost CTAs get a real colour change on hover (not just the generic
   opacity dip) so they feel as responsive as the primary button. */
.btn-light:hover, .btn-light:focus-visible {
  background: var(--primary); color: var(--primary-foreground);
  border-color: var(--primary); opacity: 1;
}
.btn-ghost { border-color: color-mix(in oklch, var(--background) 40%, transparent); color: var(--background); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: color-mix(in oklch, var(--background) 16%, transparent);
  border-color: color-mix(in oklch, var(--background) 70%, transparent);
  opacity: 1;
}
.about-cta .btn-ghost { border-color: color-mix(in oklch, var(--primary-foreground) 40%, transparent); color: var(--primary-foreground); }
.about-cta .btn-ghost:hover, .about-cta .btn-ghost:focus-visible {
  background: color-mix(in oklch, var(--primary-foreground) 16%, transparent);
  border-color: color-mix(in oklch, var(--primary-foreground) 70%, transparent);
}

/* 45-degree arrow trailing a call-to-action label. It inherits currentColor
   and scales with the button font, so it sits on the text baseline without
   needing per-button tweaks. Spacing comes from the button's own flex gap. */
.btn-arrow {
  width: 1em; height: 1em; flex: none;
  transition: transform .2s ease;
}
.btn:hover .btn-arrow,
a:hover .btn-arrow { transform: translate(2px, -2px); }

/* Cards / grid */
.card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.grid { display: grid; gap: 16px; }
.section { padding-top: 80px; scroll-margin-top: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 4px 12px; font-size: 0.75rem; color: var(--muted-foreground);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); display: block; }
.lede { margin-top: 20px; max-width: 30rem; color: var(--muted-foreground); }
.muted { color: var(--muted-foreground); font-size: 0.875rem; }

/* Hero */
.hero { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); padding-top: 48px; }
.hero-copy { grid-column: span 7; background: var(--surface); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-media { grid-column: span 5; }
.hero-media img { height: 100%; width: 100%; object-fit: cover; }
.hero-stats { grid-column: span 12; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .hero-copy, .hero-media, .hero-stats { grid-column: span 12; }
  .hero-copy { padding: 32px; }
}

/* Products (homepage kit grid only — scoped to .home so the generic
   `.product` class doesn't leak onto WooCommerce shop cards, whose
   `<li class="product">` would otherwise inherit `grid-column: span 4`
   and stretch to the whole row). */
.home .products { grid-template-columns: repeat(8, 1fr); margin-top: 32px; }
.home .product { display: flex; flex-direction: column; grid-column: span 4; }
.home .product.feature { grid-column: span 8; flex-direction: row; }
.home .product.feature .product-media { width: 50%; }
.home .product-media { background: var(--surface); }
.home .product-media img { height: 256px; width: 100%; object-fit: cover; }
.home .product.feature .product-media img { height: 100%; min-height: 320px; }
.home .product-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.specs li { background: var(--surface); border-radius: 999px; padding: 4px 12px; font-size: 0.75rem; color: var(--muted-foreground); }
@media (max-width: 900px) {
  .home .products { grid-template-columns: 1fr; }
  .home .product, .home .product.feature { grid-column: span 1; flex-direction: column; }
  .home .product.feature .product-media { width: 100%; }
  .home .product.feature .product-media img { min-height: 0; height: 256px; }
}

/* Feature grid + FAQ */
.features, .faqs { grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
.faqs { grid-template-columns: repeat(2, 1fr); }
.feature-card, .faq-card { padding: 28px; }
.feature-card, .faq-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Shared card hover: lift + bottom shadow. One recipe for the whole site —
   homepage sections (scoped to .home so they never bleed onto e.g. the
   single-product <article class="product">) plus the About page card grids. */
.home .feature-card, .home .faq-card,
.home .hero-copy, .home .hero-media, .home .hero-stats,
.home .product, .home .review, .home .cta,
.about-values .card, .about-locations .card, .about-team .card,
.about-workflow .card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.home .feature-card:hover, .home .faq-card:hover,
.home .hero-copy:hover, .home .hero-media:hover, .home .hero-stats:hover,
.home .product:hover, .home .review:hover, .home .cta:hover,
.about-values .card:hover, .about-locations .card:hover, .about-team .card:hover,
.about-workflow .card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklch, var(--foreground) 18%, var(--border));
  box-shadow: 0 20px 44px -28px color-mix(in oklch, var(--foreground) 50%, transparent);
}
/* "Why creators switch" badge: tinted rounded square holding a line icon. */
.feature-ico-wrap { display: inline-flex; margin-bottom: 18px; }
.feature-ico {
  display: block; width: 44px; height: 44px; padding: 10px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 900px) { .features, .faqs { grid-template-columns: 1fr; } }

/* News */
.news { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.news-card { display: flex; flex-direction: column; }
.news-media { display: block; background: var(--surface); }
.news-media img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 a:hover { color: var(--primary); }
.news-actions { margin-top: 24px; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }

/* News list + text variants */
.news-list { display: grid; gap: 20px; margin-top: 32px; }
.news-row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; padding: 0; overflow: hidden; }
.news-row-media { display: block; background: var(--surface); }
.news-row-media img { width: 100%; height: 180px; object-fit: cover; display: block; }
.news-row-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 20px 20px 20px 0; }
/* Text-only variant (featured image disabled via nptcl_blog_media_enabled) */
.news-card.is-text .news-body { padding: 24px; }
.blog-row.is-text { grid-template-columns: 1fr; }
.blog-row.is-text .blog-row-body { padding: 24px; }
@media (max-width: 760px) { .news-row { grid-template-columns: 1fr; } .news-row-body { padding: 0 16px 20px; } .news-row-media img { height: 200px; } }

/* Reviews / testimonials */
.reviews { grid-template-columns: repeat(12, 1fr); margin-top: 32px; }
.review { grid-column: span 6; background: var(--surface); padding: 32px; margin: 0; display: flex; flex-direction: column; }
.review-body { display: flex; flex-direction: column; flex: 1; }
/* The pull-quote carries the card; the note below it is supporting detail and
   may be omitted entirely. */
.review-quote {
  font-family: var(--font-display); letter-spacing: -0.01em;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.35;
}
.review-note { margin-top: 12px; font-size: 0.9375rem; line-height: 1.6; color: var(--muted-foreground); }
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-star { width: 16px; height: 16px; fill: none; stroke: var(--border); stroke-width: 1.6; }
.review-star.is-on { fill: var(--primary); stroke: var(--primary); }
.review-meta {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem; color: var(--muted-foreground);
}
.review-avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; flex: none; }
.review-avatar--initials {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700;
  color: var(--primary); background: var(--accent);
  border: 1px solid color-mix(in oklch, var(--primary) 18%, transparent);
}
.review-sig { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.review-role { font-size: 0.8125rem; }
.reviews-more { margin-top: 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); }
.link-arrow:hover { color: var(--foreground); }
.cta {
  grid-column: span 12; background: var(--primary); color: var(--primary-foreground);
  padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
@media (max-width: 900px) { .review { grid-column: span 12; } }

/* Testimonials page (page-testimonials.php) */
.tm-hero .lede { margin-top: 12px; max-width: 46rem; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 32px; }
.tm-grid .review { grid-column: auto; padding: 0; }
.review--media .review-body { padding: 24px; }
.review-media { background: var(--surface-strong); }
.review-media img { width: 100%; height: 200px; object-fit: cover; }
.tm-cta {
  margin-top: 48px; padding: 32px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.tm-empty { margin-top: 32px; }
@media (max-width: 600px) { .tm-cta { flex-direction: column; align-items: flex-start; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 80px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; }

.newsletter {
  display: grid; gap: 24px; grid-template-columns: 1fr 1fr; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
}
.newsletter-title { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.newsletter p { margin-top: 8px; max-width: 32rem; }
.newsletter-form { display: flex; flex-wrap: wrap; align-items: stretch; }
.newsletter-form input[type="email"] { flex: 1 1 200px; }
.newsletter-form input {
  flex: 1; min-width: 0; font: inherit; font-size: .875rem;
  border: 1px solid var(--border); background: var(--card); padding: 12px 16px; outline: none;
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
  border: 0; cursor: pointer; font: inherit; font-size: .875rem; font-weight: 500;
  background: var(--foreground); color: var(--background); padding: 12px 24px;
}
.newsletter-form button:hover { opacity: .9; }

.footer-brand { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-brand img { height: 40px; width: auto; }
.footer-social { display: flex; gap: 20px; font-size: .8125rem; color: var(--muted-foreground); }
.footer-social a:hover { color: var(--primary); }

.footer-cols { margin-top: 48px; display: grid; gap: 40px; grid-template-columns: repeat(5, 1fr); }
.footer-col-title { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.footer-cols ul { margin-top: 16px; display: grid; gap: 8px; font-size: .875rem; color: var(--muted-foreground); }
.footer-cols a:hover { color: var(--primary); }
.footer-cols p { margin-top: 16px; line-height: 1.7; }

.footer-legal {
  margin-top: 48px; border-top: 1px solid var(--border); padding-top: 32px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .875rem; color: var(--muted-foreground);
}
.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.legal-links a:hover { color: var(--primary); }
.legal-links .sep { color: var(--border); }

@media (max-width: 900px) {
  .newsletter, .footer-cols { grid-template-columns: 1fr; }
  .footer-legal { justify-content: center; text-align: center; }
}


/* Text helpers */
.mt-8 { margin-top: 8px; }
.h-sm { font-size: 1rem; }
.h-md { font-size: 1.5rem; }
.review-name { color: var(--foreground); }
.cta-text { margin-top: 8px; opacity: .9; font-size: .875rem; max-width: 28rem; }

/* Default page/post content */
.entry { padding-top: 48px; padding-bottom: 48px; }
.entry-card { padding: 32px; margin-bottom: 16px; }
.entry-title { font-size: 2rem; margin-top: 0; }
.entry-thumb { margin: 24px 0; }
.entry-content { margin-top: 16px; }
.entry-content p { margin-bottom: 1rem; }

/* Hero slider */
.hero-slider { padding-top: 16px; }
.hero-slider .slider {
  position: relative; overflow: hidden; border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hero-slider .slides { position: relative; height: 600px; }
.hero-slider .slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .7s ease;
}
.hero-slider .slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, color-mix(in oklch, var(--foreground) 85%, transparent), color-mix(in oklch, var(--foreground) 55%, transparent) 55%, transparent);
}
.slide-body {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start; gap: 16px;
  padding: 64px; color: var(--background); max-width: 44rem;
}
.slide-body h2 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.08; }
.slide-body p { max-width: 30rem; font-size: 0.95rem; opacity: .85; }
.eyebrow-light {
  background: color-mix(in oklch, var(--background) 12%, transparent);
  border-color: color-mix(in oklch, var(--background) 30%, transparent);
  color: var(--background);
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  border: 1px solid color-mix(in oklch, var(--background) 30%, transparent);
  background: color-mix(in oklch, var(--background) 15%, transparent);
  color: var(--background); font-size: 1.5rem; line-height: 1;
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots { position: absolute; right: 40px; bottom: 28px; display: flex; gap: 8px; }
.slider-dots button {
  width: 12px; height: 6px; border: 0; border-radius: 999px; cursor: pointer;
  background: color-mix(in oklch, var(--background) 45%, transparent);
  transition: width .3s ease, background .3s ease;
}
.slider-dots button.is-active { width: 32px; background: var(--background); }
@media (max-width: 900px) {
  .hero-slider .slides { height: 440px; }
  .slide-body { padding: 28px; }
  .slider-arrow { display: none; }
  .slider-dots { right: 24px; bottom: 20px; }
}

/* About page */
.about-hero { position: relative; max-width: var(--max); margin: 16px auto 0; padding: 0 20px; }
.about-hero > img { width: 100%; height: clamp(420px, 45vw, 520px); object-fit: cover; border-radius: var(--radius); }
/* About auto-rotating hero slider. No arrows, no dots — just slow fades. */
.about-hero-frames { position: relative; width: 100%; height: clamp(420px, 45vw, 520px); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.about-hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--about-hero-fade, 1.2s) ease-in-out; will-change: opacity; }
.about-hero-frame.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .about-hero-frame { transition: none; }
  .about-hero-slider { --about-hero-fade: 0s; }
}
.about-hero-overlay {
  position: absolute; inset: 0 20px; border-radius: var(--radius);
  background: linear-gradient(90deg, color-mix(in oklch, var(--foreground) 85%, transparent), color-mix(in oklch, var(--foreground) 55%, transparent) 55%, transparent);
}
.about-hero-copy { position: absolute; inset: 0 20px; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; max-width: 780px; color: var(--background); }
.about-hero-copy h1 { color: var(--background); margin-top: 16px; }
.about-hero-copy p { margin-top: 18px; max-width: 44ch; color: color-mix(in oklch, var(--background) 85%, transparent); }
.about-hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  border: 1px solid color-mix(in oklch, var(--background) 30%, transparent);
  background: color-mix(in oklch, var(--background) 12%, transparent);
  border-radius: 999px; padding: 5px 12px; font-size: 0.75rem; font-weight: 500;
}
.about-hero-copy .eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--primary); display: inline-block; }
.about-hero-actions, .about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.about-story { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.about-story-copy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.about-story-copy p { color: var(--muted-foreground); }
.about-story-media { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.about-story-media img { width: 100%; height: 100%; object-fit: cover; }

.about-stats {
  margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px;
}
.about-stats .stat-value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; }
.about-stats .stat-label { margin-top: 8px; font-size: 0.875rem; color: var(--muted-foreground); }

/* Development journey: centre-rail timeline, image and text alternating. */
.about-journey { position: relative; margin-top: 40px; display: grid; gap: 32px; }
.about-journey::before {
  content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, transparent, var(--border) 6%, var(--border) 94%, transparent);
}
.journey-item { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; }
.journey-media { grid-column: 1; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.journey-media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.journey-item:hover .journey-media img { transform: scale(1.04); }
.journey-marker {
  grid-column: 2; justify-self: center;
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 999px;
  background: var(--card); border: 2px solid var(--border);
  font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; color: var(--primary);
}
.journey-body { grid-column: 3; }
.journey-item:nth-child(even) .journey-media { grid-column: 3; }
.journey-item:nth-child(even) .journey-body { grid-column: 1; text-align: right; }
.journey-year-inline { display: none; }
.journey-body h3 { font-size: 1.125rem; }
.journey-body p { margin-top: 10px; font-size: 0.875rem; color: var(--muted-foreground); }
/* Without an image the card spans both sides so the rail still reads. */
.journey-item:not(.has-media) .journey-body {
  grid-column: 3; text-align: left;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.journey-item:not(.has-media):nth-child(even) .journey-body { grid-column: 1; text-align: left; }

.about-workflow { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-workflow .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.about-workflow .workflow-icon { font-size: 1.75rem; line-height: 1; margin-bottom: 14px; }
.about-workflow h3 { font-size: 1.0625rem; }
.about-workflow p { margin-top: 10px; font-size: 0.875rem; color: var(--muted-foreground); }

.about-values, .about-locations { margin-top: 32px; display: grid; gap: 16px; }
.about-values { grid-template-columns: repeat(3, 1fr); }
.about-locations { grid-template-columns: repeat(2, 1fr); }
.about-values .card, .about-locations .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.about-values h3, .about-locations h3 { font-size: 1.125rem; }
.about-values p, .about-locations address, .about-locations .hours { margin-top: 12px; font-size: 0.875rem; color: var(--muted-foreground); font-style: normal; }
.loc-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.875rem; }
.loc-links a:first-child { color: var(--primary); font-weight: 500; }
.loc-links a:last-child { color: var(--muted-foreground); }

.about-team { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-team .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.about-team img { width: 100%; height: 288px; object-fit: cover; }
.about-team .team-body { padding: 24px; }
.about-team h3 { font-size: 1rem; }
.about-team .team-role { margin-top: 4px; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.about-team .team-body p:last-child { margin-top: 8px; font-size: 0.875rem; color: var(--muted-foreground); }

/* Team cards are links: neutral text, "View profile" affordance, footer button. */
.team-card { display: block; color: inherit; text-decoration: none; }
.team-card:hover { color: inherit; }
.team-card .team-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 0.8125rem; font-weight: 600;
  color: var(--primary);
}
.team-card .team-more .btn-arrow { width: 14px; height: 14px; transition: transform 0.2s ease; }
.team-card:hover .team-more .btn-arrow { transform: translate(2px, -2px); }
.team-card .team-body > p:last-of-type { margin-bottom: 0; }
.about-team-footer { margin-top: 32px; display: flex; justify-content: center; }

/* Dedicated /team/ page: same card language, full-width grid. */
.team-page .about-team { margin-top: 40px; }
.team-page .about-team .card:hover { transform: translateY(-4px); }

/* Single member page: portrait beside the bio. */
.team-single { max-width: 100%; }
.team-member {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px; align-items: start; margin-top: 8px;
}
.team-member-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.team-member-body h1 { margin-top: 10px; }
.team-member-bio { margin-top: 24px; font-size: 1.0625rem; line-height: 1.75; }
.team-member-bio p + p { margin-top: 1em; }
.team-member-back { margin-top: 32px; }
@media (max-width: 900px) {
  .team-member { grid-template-columns: 1fr; gap: 24px; }
  .team-member-media { max-width: 420px; }
}

.about-cta {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--primary); color: var(--primary-foreground); border-radius: var(--radius); padding: 40px;
}
.about-cta h2 { color: var(--primary-foreground); }
.about-cta p { margin-top: 8px; max-width: 52ch; font-size: 0.9375rem; opacity: .9; }
.about-cta-actions { margin-top: 0; }

@media (max-width: 900px) {
  .about-story, .about-values, .about-locations, .about-team { grid-template-columns: 1fr; }
  .about-workflow { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); padding: 28px; }
  .about-hero-copy { padding: 28px; }
  .about-story-copy { padding: 28px; }

  /* Journey collapses to a single column with the rail on the left. */
  .about-journey::before { left: 35px; }
  .journey-item { grid-template-columns: 72px 1fr; gap: 20px; align-items: start; }
  .journey-media { grid-column: 2; grid-row: 1; }
  .journey-marker { grid-column: 1; grid-row: 1; width: 64px; height: 64px; font-size: 0.875rem; }
  .journey-body { grid-column: 2; grid-row: 2; text-align: left; }
  .journey-item:nth-child(even) .journey-media { grid-column: 2; }
  .journey-item:nth-child(even) .journey-body { grid-column: 2; grid-row: 2; text-align: left; }
  .journey-item:not(.has-media) .journey-body,
  .journey-item:not(.has-media):nth-child(even) .journey-body { grid-column: 2; text-align: left; }
}

@media (max-width: 560px) {
  .about-workflow { grid-template-columns: 1fr; }
  .journey-item { grid-template-columns: 1fr; gap: 14px; }
  .about-journey::before { display: none; }
  .journey-media,
  .journey-item:nth-child(even) .journey-media { grid-column: 1; grid-row: 1; }
  .journey-marker { grid-column: 1; grid-row: 2; justify-self: start; }
  .journey-body,
  .journey-item:nth-child(even) .journey-body,
  .journey-item:not(.has-media) .journey-body,
  .journey-item:not(.has-media):nth-child(even) .journey-body { grid-column: 1; grid-row: 3; text-align: left; }
  .journey-year-inline { display: inline-block; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 700; color: var(--primary); }
  .journey-marker { display: none; }
}

/* Newsletter module + popup */
.newsletter--stacked { grid-template-columns: 1fr; border: 0; padding: 0; }
.newsletter-consent { font-size: .75rem; margin-top: 8px; }
.newsletter-msg { font-size: .8125rem; margin-top: 8px; min-height: 1em; }
.newsletter-msg.is-ok { color: var(--primary); }
.newsletter-msg.is-error { color: #b42318; }
.newsletter-form button[disabled] { opacity: .6; cursor: progress; }

.nptcl-popup { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.nptcl-popup[hidden] { display: none; }
.nptcl-popup-backdrop { position: absolute; inset: 0; background: rgba(15, 17, 20, .55); opacity: 0; transition: opacity .25s ease; }
.nptcl-popup.is-open .nptcl-popup-backdrop { opacity: 1; }
.nptcl-popup-dialog {
  position: relative; width: min(560px, 100%); background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(15, 17, 20, .22);
  transform: translateY(12px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.nptcl-popup.is-open .nptcl-popup-dialog { transform: none; opacity: 1; }
.nptcl-popup-image { width: 100%; height: 200px; object-fit: cover; display: block; }
.nptcl-popup-body { padding: 28px; }
/* Popup headline is the focal point: noticeably larger than the inline
   newsletter title. 700 is the heaviest Space Grotesk weight the theme loads
   (500;600;700), so anything above it would only be synthetic bold — tracking
   is tightened to keep the large uppercase setting readable. */
.nptcl-popup .newsletter-title {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
}
.nptcl-popup-x {
  position: absolute; top: 10px; right: 12px; z-index: 2; border: 0; background: transparent;
  font-size: 1.75rem; line-height: 1; cursor: pointer; color: var(--foreground);
}
@media (max-width: 600px) { .nptcl-popup-image { height: 140px; } .nptcl-popup-body { padding: 20px; } }

/* Newsletter honeypot + anti-bot widget */
.nptcl-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.nptcl-antibot{flex:0 0 100%;width:100%}
.nptcl-antibot:not(:empty){margin-top:12px}
.nptcl-antibot iframe{max-width:100%}
.newsletter-form input.nptcl-antibot-token{display:none}

/* Blog, archive, search, 404 --------------------------------------------- */
.breadcrumbs { margin: 0 0 20px; font-size: .85rem; color: var(--muted-foreground); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--foreground); text-decoration: underline; }

.archive-head { margin-bottom: 32px; }
.archive-head .lede { margin-top: 8px; }
.entry-meta { margin-top: 8px; font-size: .9rem; }

/* FAQ & knowledge base ------------------------------------------------ */
.faq-accordion { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); }
.faq-q {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 20px; background: transparent; border: 0; cursor: pointer;
	font: inherit; font-weight: 600; text-align: left; color: var(--foreground);
}
.faq-q:hover { color: var(--primary); }
.faq-q .chev { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted-foreground); }
.faq-a[hidden] { display: none; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-empty { color: var(--muted-foreground); }

.search-form { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 8px; }
.search-form input[type="search"] {
  flex: 1 1 240px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); padding: 12px 18px; outline: none; font: inherit;
}
.search-form input[type="search"]:focus { border-color: var(--primary); }

/* Post navigation (single) — thumbnail + title cards */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav-card {
	display: flex; gap: 14px; align-items: center;
	padding: 16px; border: 1px solid var(--border); border-radius: var(--radius);
	background: var(--card); color: inherit; text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.post-nav-card:hover { border-color: var(--primary); box-shadow: 0 6px 22px rgba(0, 0, 0, .06); }
.post-nav-next { text-align: right; }
.post-nav-next .post-nav-text { align-items: flex-end; }
.post-nav-next .post-nav-thumb { order: 2; }
.post-nav-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.post-nav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-nav-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.post-nav-label { display: inline-flex; gap: 6px; font-size: .8rem; color: var(--muted-foreground); }
.post-nav-title { font-weight: 600; font-size: .98rem; line-height: 1.3; }

/* Comments — styled to match the theme */
.comments-area { margin-top: 32px; }
.comments-area > .h-sm { font-size: 1.25rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { padding: 20px 0; border-top: 1px solid var(--border); }
.comment-list > .comment:first-child { border-top: 0; padding-top: 0; }
.comment-body { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.comment-author .avatar { border-radius: 50%; display: block; }
.comment-author .fn { font-style: normal; font-weight: 600; }
.comment-meta { font-size: .82rem; color: var(--muted-foreground); margin-bottom: 6px; }
.comment-meta a { color: inherit; }
.comment-content { font-size: .95rem; }
.comment-content p { margin: 0 0 .75rem; }
.comment .reply { margin-top: 8px; font-size: .85rem; }
.comment .reply a { color: var(--primary); text-decoration: none; }
.comment .reply a:hover { text-decoration: underline; }
.comment .children { list-style: none; margin: 0; padding-left: 32px; }

/* Comment form */
.comment-respond { margin-top: 28px; }
.comment-reply-title { font-size: 1.25rem; }
.comment-reply-title small { font-size: .7em; font-weight: 400; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: 13px 15px; border: 1px solid var(--border);
	border-radius: 12px; background: var(--card); font: inherit; color: inherit;
}
.comment-form textarea { resize: vertical; min-height: 140px; }
.comment-form input:focus,
.comment-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: .85rem; }
.comment-form .comment-form-cookies-consent input { width: auto; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-form .form-submit { margin: 0; }
.comment-form .submit {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	border-radius: 999px; padding: 12px 24px; font-size: .875rem; font-weight: 500;
	border: 1px solid transparent; background: var(--primary); color: var(--primary-foreground);
	transition: opacity .2s ease;
}
.comment-form .submit:hover { opacity: .9; }
.logged-in-as { font-size: .85rem; color: var(--muted-foreground); }

/* Pagination (blog, archives, comments) */
.pagination .nav-links,
ul.page-numbers {
	display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; padding: 0; list-style: none;
}
.pagination .nav-links a,
.pagination .nav-links span,
ul.page-numbers a,
ul.page-numbers span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--border); border-radius: 10px;
	background: var(--card); color: var(--foreground); text-decoration: none; font-size: .9rem;
}
.pagination .nav-links a:hover,
ul.page-numbers a:hover { border-color: var(--primary); }
.pagination .nav-links .current,
ul.page-numbers .current { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.error-404 { text-align: center; max-width: 640px; }
.error-404 .search-form { justify-content: center; }

/* Blog page template — list layout */
.blog-list { display: grid; gap: 20px; margin-top: 32px; }
.blog-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; }
.blog-row-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.blog-row-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.blog-row-body .btn { margin-top: 6px; }
@media (max-width: 760px) { .blog-row { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
 * Contact page
 * ---------------------------------------------------------------------- */
.contact-hero {
	padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3.5vw, 40px);
	background: linear-gradient(180deg, var(--surface, #f6f7f9) 0%, transparent 100%);
}
.contact-hero h1 { margin: 12px 0 16px; max-width: 18ch; }
.contact-hero-intro { max-width: 62ch; font-size: 1.05rem; color: var(--muted, #5b6570); }

.contact-channels {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-top: clamp(24px, 3.5vw, 36px);
}
.contact-channel {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px;
	border: 1px solid var(--line, #e2e6ea);
	border-radius: 18px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-channel:hover {
	transform: translateY(-3px);
	border-color: var(--ink, #101418);
	box-shadow: 0 18px 40px -28px rgba(16, 20, 24, 0.6);
}
.contact-channel-label {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted, #5b6570);
}
.contact-channel strong { font-size: 1.1rem; }

.contact-main {
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: start;
	padding-top: clamp(32px, 5vw, 56px);
}
@media (max-width: 900px) { .contact-main { grid-template-columns: 1fr; } }

.contact-form-panel {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line, #e2e6ea);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 70px -60px rgba(16, 20, 24, 0.9);
}
.contact-form-title { margin: 0 0 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.contact-form { margin-top: 22px; }
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.contact-field label { font-size: 0.85rem; font-weight: 600; }
.contact-field input,
.contact-field select,
.contact-field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--line, #e2e6ea);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	color: inherit;
}
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
	outline: 2px solid var(--ink, #101418);
	outline-offset: 1px;
	border-color: var(--ink, #101418);
}

.contact-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
}
.contact-consent { font-size: 0.82rem; max-width: 42ch; }
.contact-msg { margin: 14px 0 0; min-height: 1.2em; }

.contact-aside { display: grid; gap: 16px; }
.contact-card {
	padding: 22px 24px;
	border: 1px solid var(--line, #e2e6ea);
	border-radius: 18px;
	background: #fff;
}
.contact-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.contact-link { display: inline-block; margin-top: 10px; font-weight: 600; }

/* ---------- Sidebar layout (posts, shop, product) ---------- */
.with-sidebar {
	display: grid;
	gap: clamp(24px, 3.5vw, 44px);
	grid-template-columns: minmax(0, 1fr) 260px;
	align-items: start;
}
@media (max-width: 900px) { .with-sidebar { grid-template-columns: 1fr; } }

.site-sidebar { display: grid; gap: 16px; position: sticky; top: 96px; }
@media (max-width: 900px) { .site-sidebar { position: static; } }
.side-card {
	padding: 20px 22px;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--card);
}
.side-title { margin: 0 0 12px; font-family: var(--font-display); font-size: 1rem; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-list a { text-decoration: none; font-weight: 500; }
.side-list a:hover { text-decoration: underline; }
.side-cta { background: var(--surface); }
.side-cta .btn { margin-top: 12px; }

/* ---------- Shop grid ---------- */
.shop-head { padding: clamp(24px, 4vw, 44px) 0 8px; max-width: 62ch; }
.shop-grid {
	display: grid;
	gap: clamp(16px, 2.4vw, 26px);
	/* Auto-fill keeps several columns even when the sidebar eats space,
	   instead of collapsing to a single column. */
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.shop-grid > * { min-width: 0; height: 100%; }
.shop-card {
	display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.shop-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in oklch, var(--foreground) 18%, var(--border));
	box-shadow: 0 20px 44px -28px color-mix(in oklch, var(--foreground) 50%, transparent);
}
.shop-card-media { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shop-card:hover .shop-card-media img { transform: scale(1.04); }
.shop-badge {
	position: absolute; top: 12px; left: 12px;
	padding: 5px 10px; border-radius: 999px;
	background: var(--primary); color: var(--primary-foreground);
	font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}
.shop-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; flex: 1 1 auto; min-height: 0; }
.shop-card-body h2 { margin: 0; }
.shop-card-body h2 a { text-decoration: none; color: inherit; }
.shop-card-body h2,
.shop-card-sub,
.shop-card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card-body h2 { -webkit-line-clamp: 2; }
.shop-card-sub { -webkit-line-clamp: 2; }
.shop-card-excerpt { -webkit-line-clamp: 3; }
.shop-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }


/* ---------- Product page ---------- */
.product-head { padding: 0; }
.product-title {
	margin: 0; font-family: var(--font-display);
	font-size: clamp(1.6rem, 2.2vw, 1.85rem);
	font-weight: 800; line-height: 1.15; letter-spacing: -0.01em;
	color: var(--foreground);
}
.product-subtitle { margin: 10px 0 0; max-width: 60ch; font-size: clamp(.98rem, 1.4vw, 1.1rem); color: var(--muted-foreground); }

.product-hero {
	display: grid;
	gap: clamp(24px, 3.4vw, 56px);
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
	align-items: start;
	margin-top: clamp(20px, 3vw, 36px);
}
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.product-gallery-col { min-width: 0; order: 1; }
.product-info { order: 2; }

/* Left info column: title, subtitle, rating, price, variants, buttons, short desc. */
.product-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: 96px;
	min-width: 0;
}
@media (max-width: 900px) { .product-info { position: static; } }
.product-info .product-head { padding: 0; }
.product-info .product-subtitle { margin: 10px 0 0; }
.product-info .woocommerce-product-rating {
	display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem;
}
.product-info .woocommerce-product-rating .woocommerce-review-link { color: var(--muted-foreground); text-decoration: none; }
.product-info .woocommerce-product-rating .woocommerce-review-link:hover { text-decoration: underline; }
.product-info .woocommerce-product-rating .star-rating { margin: 0; }
/* Open, borderless purchase column (price + qty + buttons). */
.product-purchase { display: grid; gap: 16px; margin: 4px 0 0; }

/* Price block — strikethrough original, bold enlarged current price. */
.product-purchase .price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
	margin: 0; font-size: 1.4rem; font-weight: 700; color: var(--foreground);
}
.product-purchase .price del { font-weight: 500; font-size: 1rem; color: var(--muted-foreground); }
.product-purchase .price ins { text-decoration: none; }
.product-purchase .price ins .woocommerce-Price-amount,
.product-purchase .price > .woocommerce-Price-amount {
	color: #c62828; font-weight: 800; font-size: 1.9rem;
}
.product-purchase .price del .woocommerce-Price-amount {
	color: var(--muted-foreground); font-weight: 500; font-size: 1rem;
	text-decoration: line-through;
}

/* Add-to-cart row: [−] qty [+]   [Add to cart]   [Buy now].
   .product-purchase always sits inside .product-info, so one scoped selector
   covers both B2C and B2B. */
.product-info form.cart {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0;
}
.product-info form.cart .quantity { margin: 0; }

/* Quantity stepper — minimal underline style (built by theme.js). No outer
   box, no vertical dividers; loose horizontal layout, single bottom border. */
.product-info form.cart .quantity.qty-stepper {
	display: inline-flex; align-items: center; height: 48px;
	border: 0; border-bottom: 1px solid var(--border);
	border-radius: 0; background: transparent; overflow: visible;
	gap: 16px; padding: 0 4px;
}
.qty-stepper .qty-btn {
	width: auto; min-width: 28px; flex: 0 0 auto; border: 0; background: transparent;
	color: var(--foreground); font-size: 1.3rem; line-height: 1; cursor: pointer;
	display: grid; place-items: center; padding: 0; transition: color .15s ease;
}
.qty-stepper .qty-btn:hover { color: var(--primary); }
.qty-stepper input.qty {
	width: 44px; border: 0; text-align: center; font-family: inherit; font-size: 1rem;
	font-weight: 600; background: transparent; color: var(--foreground);
	-moz-appearance: textfield; padding: 0;
}
.qty-stepper input.qty::-webkit-outer-spin-button,
.qty-stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Action buttons — Add to cart is the quiet grey secondary, Buy now is the
   primary blue fast-path. Both share sizing; only palette differs. */
.product-info form.cart button.button,
.btn-buy-now {
	height: 48px; border-radius: var(--radius); padding: 0 28px;
	font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* Add to cart: light grey, hover lifts the border (same recipe as .btn-outline). */
.product-info form.cart button.button {
	background: var(--surface-strong); color: var(--foreground);
	border: 1px solid var(--border);
}
.product-info form.cart button.button:hover {
	background: var(--card);
	border-color: color-mix(in oklch, var(--foreground) 25%, var(--border));
}
/* Buy now: primary blue, hover darkens like every primary CTA on the site. */
.btn-buy-now {
	background: var(--primary); color: var(--primary-foreground);
	border: 1px solid var(--primary);
}
.btn-buy-now:hover {
	background: color-mix(in oklab, var(--primary), black 16%);
	border-color: color-mix(in oklab, var(--primary), black 16%);
}

.product-info .product-actions { margin: 0; }

/* Amazon five-point feature list (element ⑤). */
.product-features { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.product-features li {
	position: relative; padding-left: 22px; line-height: 1.6;
	color: var(--foreground); font-size: .98rem;
}
.product-features li::before {
	content: ""; position: absolute; left: 0; top: .6em;
	width: 8px; height: 8px; border-radius: 999px; background: var(--primary);
}
.product-features li strong { font-weight: 700; }
.product-info .variations { margin: 0; }

.product-info .variations tr { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.product-info .variations td { padding: 0; }
.product-info .variations label { font-weight: 600; font-size: .9rem; }

.product-media {
	border-radius: 22px; overflow: hidden; background: var(--surface);
	border: 1px solid var(--border);
}
.product-media img { width: 100%; height: auto; display: block; }

.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 4px; }
.product-specs {
	margin: 22px 0 0; display: grid; gap: 0;
	border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.product-specs > div { display: grid; grid-template-columns: 40% 60%; border-top: 1px solid var(--border); }
.product-specs > div:first-child { border-top: 0; }
.product-specs dt { margin: 0; padding: 12px 16px; background: var(--surface); font-weight: 600; font-size: .9rem; }
.product-specs dd { margin: 0; padding: 12px 16px; font-size: .9rem; }

/* Product page quotation form */
.quote-form-wrap{background:var(--surface,#fff);border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:2rem;box-shadow:0 20px 50px -35px rgba(15,23,42,.45)}
.quote-form-wrap .contact-form-title{margin:0 0 .35rem}
.quote-form-wrap input[disabled]{opacity:.75}
@media (max-width:640px){.quote-form-wrap{padding:1.25rem}}

/* Related products */
.product-related,
.wc-page .related,
.wc-page .upsells { margin-top: clamp(32px, 5vw, 64px); clear: both; }
.product-related > h2,
.wc-page .related > h2,
.wc-page .upsells > h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}
.product-related-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* Product gallery */
.product-gallery { display: grid; gap: 14px; align-items: start; min-width: 0; }
.product-gallery-main { margin: 0; min-width: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); position: relative; cursor: zoom-in; }
.product-gallery-main img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.product-gallery-zoom-hint {
	position: absolute; right: 12px; bottom: 12px;
	width: 38px; height: 38px; display: grid; place-items: center;
	border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--foreground);
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); pointer-events: none;
	transition: transform .15s ease;
}
.product-gallery-main:hover .product-gallery-zoom-hint { transform: scale(1.08); }

/* Click-to-zoom lightbox (custom — no standalone image URL is exposed). */
.nptcl-lightbox {
	position: fixed; inset: 0; z-index: 1100; display: none;
	align-items: center; justify-content: center;
	padding: 4vh 4vw; background: rgba(10, 15, 25, .86);
	-webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.nptcl-lightbox.is-open { display: flex; }
.nptcl-lightbox-img {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	max-width: 100%; max-height: 92vh;
	border-radius: 12px; background: #fff;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
	animation: nptcl-fade .18s ease;
	overflow: hidden;
}
.nptcl-lightbox-img img {
	display: block;
	max-width: 100%; max-height: 92vh;
	width: auto; height: auto;
}
.nptcl-lightbox-close {
	position: absolute; top: 18px; right: 22px;
	width: 44px; height: 44px; border-radius: 999px; border: 0;
	background: rgba(255, 255, 255, .16); color: #fff;
	font-size: 1.7rem; line-height: 1; cursor: pointer;
	display: grid; place-items: center;
}
.nptcl-lightbox-close:hover { background: rgba(255, 255, 255, .3); }
.nptcl-lightbox-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border-radius: 999px; border: 0;
	background: rgba(255, 255, 255, .16); color: #fff; font-size: 2rem; line-height: 1;
	cursor: pointer; display: grid; place-items: center; transition: background-color .15s ease;
}
.nptcl-lightbox-nav:hover { background: rgba(255, 255, 255, .3); }
.nptcl-lightbox-prev { left: 18px; }
.nptcl-lightbox-next { right: 18px; }
body.nptcl-lb-open { overflow: hidden; }

/* Hover zoom (Amazon / JD style): hovering the product image shows a large
   zoom viewer floating to the right of the gallery, plus a small selection
   box on the image marking the area being magnified. Only active when the
   gallery root carries .has-zoom (set by nptcl_wc_image_zoom_enabled()). */
.product-gallery-main,
.product-gallery-stack-item { position: relative; cursor: zoom-in; }
.wc-zoom-lens {
	position: absolute; top: 0; left: 0;
	border: 1px solid rgba(37, 99, 235, .65);
	background: rgba(37, 99, 235, .15);
	pointer-events: none;
	opacity: 0;
	transition: opacity .12s ease;
	will-change: transform;
	z-index: 6;
}
.wc-zoom-lens.is-active { opacity: 1; }
.wc-zoom-panel {
	position: fixed;
	z-index: 9999;
	border: 1px solid var(--border, #e5e7eb);
	border-radius: var(--radius, 14px);
	background-color: #fff;
	box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .5);
	opacity: 0;
	pointer-events: none;
	display: none;
	overflow: hidden;
}
.wc-zoom-panel.is-active { opacity: 1; display: block; }
/* Inner image is panned with a GPU-composited transform so dragging the
   cursor stays smooth; max-width:none neutralises any global img cap. */
.wc-zoom-img {
	position: absolute; top: 0; left: 0;
	display: block;
	max-width: none;
	user-select: none;
	pointer-events: none;
	will-change: transform;
	backface-visibility: hidden;
}

/* Category navigation — large tiles (image + text). Tiles that have a
   category thumbnail render as image-on-top / text-below (`has-media`); tiles
   without an image fall back to a text-only layout that fills the card. */
.product-cat-nav { margin: 6px 0 30px; }
.product-cat-nav-head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin-bottom: 14px;
}
.product-cat-nav-head .h-sm { margin: 0; }
.product-cat-back {
	font-size: .85rem; font-weight: 600; color: var(--primary);
	text-decoration: none; white-space: nowrap;
}
.product-cat-back:hover { text-decoration: underline; }
.product-cat-nav-grid {
	display: grid; gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-cat-tile {
	position: relative; display: flex; flex-direction: column;
	min-height: 140px; padding: 0;
	border: 1px solid var(--border); border-radius: var(--radius, 14px);
	background: var(--surface); color: var(--foreground);
	text-decoration: none; overflow: hidden;
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.product-cat-tile:hover {
	border-color: var(--primary);
	transform: translateY(-4px);
	box-shadow: 0 10px 24px -12px color-mix(in oklab, var(--primary) 45%, transparent);
}
.product-cat-tile-media {
	display: block; aspect-ratio: 16 / 10; overflow: hidden;
	background: color-mix(in oklab, var(--surface) 50%, var(--border));
}
.product-cat-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.product-cat-tile:hover .product-cat-tile-media img { transform: scale(1.04); }
.product-cat-tile-body {
	position: relative; display: flex; flex-direction: column; gap: 8px;
	padding: 18px 22px 22px; flex: 1 1 auto;
}
.product-cat-tile-name {
	font-size: 1.12rem; font-weight: 700; line-height: 1.3;
	padding-right: 28px;
}
.product-cat-tile-desc {
	font-size: .9rem; color: var(--muted, #6b7280); line-height: 1.5;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
	overflow: hidden;
}
.product-cat-tile-arrow {
	position: absolute; right: 18px; bottom: 14px;
	font-size: 1.1rem; color: var(--primary);
	transition: transform .18s ease;
}
.product-cat-tile:hover .product-cat-tile-arrow { transform: translateX(4px); }
@media (max-width: 900px) {
	.product-cat-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.product-cat-nav-grid { grid-template-columns: minmax(0, 1fr); }
	.product-cat-tile { min-height: 0; }
}

/* Widen the product page so the gallery gets more room (no sidebar). */
.product-page.wc-page { max-width: var(--max); }
.product-gallery-thumbs { display: grid; gap: 10px; }
.product-gallery-thumb { padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.product-gallery-thumb img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-gallery-thumb:hover { transform: translateY(-2px); }
.product-gallery-thumb.is-active { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent); }

/* Gallery layouts: classic (thumbnails below + arrow nav), vertical (thumb
   strip on the left), stacked (image grid). */
.product-gallery--classic { grid-template-columns: minmax(0, 1fr); }
.product-gallery--classic .product-gallery-main { order: 1; }
.product-gallery--classic .product-gallery-thumbs-wrap { order: 2; }

/* Classic bottom thumbnail rail with prev/next arrows. */
.product-gallery--classic .product-gallery-thumbs-wrap {
	position: relative; display: flex; align-items: center; gap: 8px;
}
.product-gallery--classic .product-gallery-thumbs {
	flex: 1 1 auto; min-width: 0;
	display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 10px;
	overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
}
.product-gallery--classic .product-gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-nav {
	flex: 0 0 auto; width: 34px; height: 34px; border-radius: 999px;
	border: 1px solid var(--border); background: var(--card); color: var(--foreground);
	font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
	transition: background-color .15s ease, opacity .15s ease;
}
.gallery-nav:hover { background: var(--surface-strong); }
.gallery-nav[disabled] { opacity: .35; cursor: default; }
.gallery-nav[disabled]:hover { background: var(--card); }

/* Vertical thumbnail strip on the left. */
.product-gallery--vertical { grid-template-columns: 84px minmax(0, 1fr); }
.product-gallery--vertical .product-gallery-main { order: 2; }
.product-gallery--vertical .product-gallery-thumbs {
	grid-template-columns: 1fr; grid-auto-rows: 76px; gap: 10px;
	max-height: 560px; overflow-y: auto; scrollbar-width: thin;
}

.product-gallery--stacked .product-gallery-stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.product-gallery--stacked .product-gallery-stack-item { margin: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.product-gallery--stacked .product-gallery-stack-item img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* On small screens the vertical strip drops below the main image. */
@media (max-width: 820px) {
	.product-gallery--vertical { grid-template-columns: 1fr; }
	.product-gallery--vertical .product-gallery-main { order: 0; }
	.product-gallery--vertical .product-gallery-thumbs {
		grid-auto-flow: column; grid-auto-rows: 64px; grid-template-columns: none;
		max-height: none; overflow-x: auto;
	}
}

/* ---------------------------------------------------------------
 * WooCommerce (shop grid, product page, tabs, protection)
 * ------------------------------------------------------------- */
.wc-page .woocommerce-notices-wrapper:empty { display: none; }
.wc-page .woocommerce-message,
.wc-page .woocommerce-info,
.wc-page .woocommerce-error {
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 20px;
  list-style: none;
}

/* Toolbar: count, sorting, grid/list switch */
.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin: 0 0 22px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.shop-toolbar .woocommerce-result-count { margin: 0; color: var(--muted-foreground); font-size: .92rem; }
.shop-toolbar-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar .woocommerce-ordering select {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--foreground); font: inherit; font-size: .9rem;
}
.shop-views { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.shop-view {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 32px; border-radius: 999px; color: var(--muted-foreground);
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.shop-view:hover { color: var(--foreground); background: var(--surface); }
.shop-view.is-active { background: var(--primary); color: var(--primary-foreground); }
.shop-view-icon { display: block; width: 15px; height: 12px; }
.shop-view-icon-grid {
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 6px 5px; background-repeat: no-repeat;
  background-position: 0 0, 9px 0, 0 7px, 9px 7px;
}
.shop-view-icon-list {
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 15px 2px; background-repeat: no-repeat;
  background-position: 0 0, 0 5px, 0 10px;
}

.wc-page ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wc-page ul.products::before,
.wc-page ul.products::after { display: none; }
.wc-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0;
  clear: none !important;
  display: flex; flex-direction: column; overflow: hidden; height: 100%;

}
.wc-page ul.products li.product .shop-card-media img { border-radius: 0; }
@media (max-width: 900px) {
  .wc-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wc-page ul.products { grid-template-columns: minmax(0, 1fr); }
}
.shop-card-price { font-weight: 700; font-size: 1.05rem; color: var(--foreground); }
.shop-card-price del { color: var(--muted-foreground); font-weight: 500; margin-right: 6px; }
.shop-card-price ins { text-decoration: none; }
.shop-card-excerpt { color: var(--muted-foreground); font-size: .93rem; line-height: 1.6; }
.shop-card-media .shop-badge { z-index: 2; }

/* List view */
body.shop-view-list .wc-page ul.products,
.shop-grid.is-list { grid-template-columns: 1fr; gap: 16px; }
body.shop-view-list .wc-page ul.products li.product,
.shop-grid.is-list .shop-card {
  display: grid;
  grid-template-columns: minmax(160px, 300px) minmax(0, 1fr);
  align-items: stretch;
}
body.shop-view-list .wc-page ul.products li.product .shop-card-media,
.shop-grid.is-list .shop-card-media { aspect-ratio: 1 / 1; height: 100%; }
body.shop-view-list .wc-page ul.products li.product .shop-card-body,
.shop-grid.is-list .shop-card-body { justify-content: center; padding: clamp(18px, 2.4vw, 30px); }
body.shop-view-list .wc-page ul.products li.product .shop-card-actions,
.shop-grid.is-list .shop-card-actions { margin-top: 4px; }

@media (max-width: 640px) {
  body.shop-view-list .wc-page ul.products li.product,
  .shop-grid.is-list .shop-card { grid-template-columns: 1fr; }
}

/* Single product */
.wc-page div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}
.wc-page div.product > .woocommerce-product-gallery { grid-column: 1; margin: 0; width: auto !important; float: none !important; }
.wc-page div.product > .summary {
  grid-column: 2; margin: 0 !important; width: auto !important; float: none !important;
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 96px;
}
.wc-page div.product > .woocommerce-tabs,
.wc-page div.product > .related,
.wc-page div.product > .upsells,
.wc-page div.product > .woocommerce-product-gallery + .clear { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .wc-page div.product { grid-template-columns: 1fr; }
  .wc-page div.product > .woocommerce-product-gallery,
  .wc-page div.product > .summary { grid-column: 1; }
  .wc-page div.product > .summary { position: static; }
  .wc-page div.product .woocommerce-product-gallery__wrapper:has(.flex-control-thumbs) { grid-template-columns: 1fr; }
  .wc-page div.product .flex-viewport { grid-column: 1; grid-row: 1; }
  .wc-page div.product .flex-control-thumbs {
    grid-column: 1; grid-row: 2;
    grid-auto-flow: column; grid-auto-rows: 64px; grid-template-columns: none;
    max-height: none; overflow-x: auto;
  }
}
.wc-page div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  margin: 0;
}
.wc-page div.product .product-subtitle { margin: 0; }
.wc-page div.product p.price,
.wc-page div.product span.price { font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin: 0; }
.wc-page div.product p.price del { font-size: 1rem; font-weight: 500; color: var(--muted-foreground); }
.wc-page div.product .woocommerce-product-details__short-description { color: var(--muted-foreground); line-height: 1.7; }
.wc-page div.product .product_meta { font-size: .86rem; color: var(--muted-foreground); border-top: 1px solid var(--border); padding-top: 14px; }
.wc-page div.product .woocommerce-product-gallery { position: relative; }
.wc-page div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.wc-page div.product .woocommerce-product-gallery img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--border); }
/* Botiga-style vertical gallery.
   flex-viewport (main image) and flex-control-thumbs (thumbnails) are children of
   .woocommerce-product-gallery__wrapper, so the two-column grid lives there. We
   only enable it when thumbnails exist — a single image just fills the full width
   instead of being forced into the 84px thumbnail column. */
.wc-page div.product .woocommerce-product-gallery__wrapper:has(.flex-control-thumbs) {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.wc-page div.product .flex-control-thumbs {
  grid-column: 1; grid-row: 1;
  display: grid; grid-template-columns: 1fr; grid-auto-rows: 84px; gap: 10px;
  margin: 0; padding: 0; list-style: none; max-height: 560px; overflow-y: auto;
}
.wc-page div.product .flex-viewport { grid-column: 2; grid-row: 1; }
.wc-page div.product .flex-control-thumbs li { width: auto; margin: 0; float: none; }
.wc-page div.product .flex-control-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); opacity: .7; cursor: pointer; transition: opacity .15s ease, border-color .15s ease; }
.wc-page div.product .flex-control-thumbs img.flex-active,
.wc-page div.product .flex-control-thumbs img:hover { opacity: 1; border-color: var(--primary); }
.wc-page div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 6px 0; }
.wc-page div.product form.cart .quantity { display: flex; align-items: stretch; }
.wc-page div.product form.cart .quantity input {
  width: 72px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--card); color: var(--foreground); font: inherit; height: 48px;
  text-align: center;
}
.wc-page div.product form.cart button.button {
  border-radius: 999px; padding: 12px 24px; font-weight: 600;
  background: var(--primary); color: var(--primary-foreground); border: 1px solid var(--primary);
}
.wc-page div.product .product-actions { margin: 8px 0 0; }

/* Tabs — Botiga underline style */
.wc-page .woocommerce-tabs { margin-top: clamp(36px, 5vw, 56px); }
.wc-page .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
}
.wc-page .woocommerce-tabs ul.tabs::before,
.wc-page .woocommerce-tabs ul.tabs li::before,
.wc-page .woocommerce-tabs ul.tabs li::after { display: none; }
.wc-page .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.wc-page .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0 2px 14px;
  margin-bottom: -15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted-foreground);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.wc-page .woocommerce-tabs ul.tabs li a:hover { color: var(--foreground); }
.wc-page .woocommerce-tabs ul.tabs li.active a {
  color: var(--foreground);
  border-bottom-color: var(--primary);
}
.wc-tab-panel { max-width: 78ch; line-height: 1.7; animation: nptcl-fade .2s ease; }
.wc-tab-panel .product-specs { max-width: none; }

.wc-detail-media {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.wc-detail-figure { margin: 0; }
.wc-detail-figure img,
.wc-detail-figure video { width: 100%; height: auto; border-radius: 12px; display: block; }

/* User manual viewer */
.wc-manual-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.wc-manual-frame iframe {
  display: block;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  border: 0;
}
.wc-manual-guard {
  position: absolute;
  inset: 0 0 auto auto;
  width: 92px;
  height: 46px;
  background: transparent;
}
.wc-manual-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.wc-manual { -webkit-user-select: none; user-select: none; }

/* Image copy protection */
.wc-page img,
.product-page img,
.wc-detail-media img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

/* ---------- Shop / product layout safeguards ---------- */
.with-sidebar-main { min-width: 0; }
.site-sidebar { min-width: 0; }
.shop-toolbar-tools:empty { display: none; }
.shop-card-body h2 a,
.shop-card-sub,
.side-list a { overflow-wrap: anywhere; }

/* Related / up-sell rows stay a grid even while the shop is in list view */
body.shop-view-list .wc-page .related ul.products,
body.shop-view-list .wc-page .upsells ul.products,
.wc-page .related ul.products,
.wc-page .upsells ul.products {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}
body.shop-view-list .wc-page .related ul.products li.product,
body.shop-view-list .wc-page .upsells ul.products li.product {
  display: flex;
  flex-direction: column;
}
body.shop-view-list .wc-page .related ul.products li.product .shop-card-media,
body.shop-view-list .wc-page .upsells ul.products li.product .shop-card-media {
  aspect-ratio: 4 / 3;
  height: auto;
}
.wc-page .related, .wc-page .upsells, .product-related { min-width: 0; }
.product-related-grid .shop-card-media { aspect-ratio: 4 / 3; }
@media (max-width: 480px) {
  .product-related-grid,
  .wc-page .related ul.products,
  .wc-page .upsells ul.products { grid-template-columns: 1fr; }
}

/* Related products slider (more than 4 items) */
.related-slider-nav { display: flex; justify-content: flex-end; gap: 8px; margin: -8px 0 12px; }
.related-slider-btn {
  width: 38px; height: 38px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface, #fff);
  font-size: 20px; line-height: 1; color: inherit;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.related-slider-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.product-related-grid.is-slider,
.wc-page .related ul.products.is-slider,
.wc-page .upsells ul.products.is-slider {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  align-items: stretch;
}
.product-related-grid.is-slider > *,
.wc-page .related ul.products.is-slider > li,
.wc-page .upsells ul.products.is-slider > li { scroll-snap-align: start; min-width: 0; height: 100%; }
.wc-page ul.products > li.product,
.product-related-grid > * { height: 100%; min-width: 0; }

@media (max-width: 1024px) {
  .product-related-grid.is-slider,
  .wc-page .related ul.products.is-slider,
  .wc-page .upsells ul.products.is-slider { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 640px) {
  .product-related-grid.is-slider,
  .wc-page .related ul.products.is-slider,
  .wc-page .upsells ul.products.is-slider { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 480px) {
  .product-related-grid.is-slider,
  .wc-page .related ul.products.is-slider,
  .wc-page .upsells ul.products.is-slider { grid-auto-columns: 85%; }
}

/* ===== Knowledge base / Help Center (EazyDocs-style) ===== */
.kb { padding-top: 40px; padding-bottom: 64px; }

/* Landing hero + search */
.kb-hero { text-align: center; max-width: 680px; margin: 8px auto 44px; }
.kb-hero .eyebrow { justify-content: center; }
.kb-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0 8px; line-height: 1.15; }
.kb-hero .lede { margin: 0 auto; }
.kb-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 480px; margin: 24px auto 0; padding: 0 18px; border: 1px solid var(--border); background: var(--card); border-radius: 999px; }
.kb-search .kb-ico { width: 18px; height: 18px; color: var(--muted-foreground); flex: none; }
.kb-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: inherit; padding: 14px 0; color: var(--foreground); }
.kb-search input::placeholder { color: var(--muted-foreground); }
.kb-search--sm { margin: 16px 0 0; max-width: 360px; }

/* Category GRID on the landing page */
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kb-cat-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--foreground); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.kb-cat-card:hover { border-color: color-mix(in oklch, var(--foreground) 18%, var(--border)); transform: translateY(-3px); box-shadow: 0 18px 40px -28px color-mix(in oklch, var(--foreground) 45%, transparent); }
.kb-cat-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--primary); margin-bottom: 6px; }
.kb-cat-icon .kb-ico { width: 24px; height: 24px; }
.kb-cat-card h3 { margin: 0; font-size: 1.15rem; }
.kb-cat-card p { margin: 0; color: var(--muted-foreground); font-size: .92rem; }
.kb-cat-count { margin-top: auto; padding-top: 14px; font-size: .8rem; color: var(--muted-foreground); }
.kb-empty { text-align: center; color: var(--muted-foreground); margin-top: 24px; }

/* Bottom "common FAQ" section */
.kb-faq { margin-top: 72px; }
.kb-faq-head { text-align: center; max-width: 560px; margin: 0 auto 28px; }
.kb-faq-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 0; }
.kb-faq-head .eyebrow { justify-content: center; }

/* Category + article shared layout with left sidebar nav */
.kb-layout { display: grid; grid-template-columns: 256px 1fr; gap: 48px; align-items: start; margin-top: 28px; }
.kb-side { position: sticky; top: 24px; }
.kb-side-home { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--foreground); margin-bottom: 14px; }
.kb-side-home .kb-ico { width: 18px; height: 18px; color: var(--muted-foreground); }
.kb-side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.kb-side-cat-link { display: block; padding: 8px 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted-foreground); font-size: .92rem; }
.kb-side-cat-link:hover { color: var(--foreground); }
.kb-side-cat.is-active > .kb-side-cat-link { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.kb-side-docs { list-style: none; margin: 2px 0 8px; padding: 0 0 0 14px; display: grid; gap: 1px; }
.kb-side-docs a { display: block; padding: 6px 14px; border-left: 2px solid transparent; margin-left: -1px; text-decoration: none; color: var(--muted-foreground); font-size: .88rem; }
.kb-side-docs a:hover { color: var(--foreground); }
.kb-side-docs li.is-current > a { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }

/* Category head + article list (list view) */
.kb-cat-head { margin-bottom: 24px; }
.kb-cat-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 10px 0 0; }
.kb-article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kb-article-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--foreground); transition: border-color .18s ease, transform .18s ease; }
.kb-article-row:hover { border-color: color-mix(in oklch, var(--foreground) 18%, var(--border)); transform: translateX(3px); }
.kb-article-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--surface); color: var(--primary); }
.kb-article-ico .kb-ico { width: 20px; height: 20px; }
.kb-article-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kb-article-title { font-weight: 600; }
.kb-article-excerpt { color: var(--muted-foreground); font-size: .9rem; }
.kb-article-go { margin-left: auto; color: var(--muted-foreground); flex: none; }
.kb-article-go .kb-ico { width: 18px; height: 18px; }
.kb-article-row:hover .kb-article-go { color: var(--primary); }

/* Article detail (blog-like) */
.kb-article { min-width: 0; }
.kb-article-title { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 10px 0 12px; line-height: 1.15; }
.kb-article-meta { color: var(--muted-foreground); font-size: .85rem; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.kb-article-body.prose { margin-top: 22px; }
.kb-article-body.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.kb-article-body.prose p { margin: 0 0 14px; line-height: 1.7; }
.kb-article-body.prose ul, .kb-article-body.prose ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.kb-article-body.prose li { line-height: 1.6; }
.kb-article-body.prose a { color: var(--primary); }
.kb-article-body.prose strong { color: var(--foreground); }
.kb-article-foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

@media (max-width: 900px) {
  .kb-grid { grid-template-columns: repeat(2, 1fr); }
  .kb-layout { grid-template-columns: 1fr; gap: 24px; }
  .kb-side { position: static; }
}
@media (max-width: 560px) {
  .kb-grid { grid-template-columns: 1fr; }
}

/* ---------- Optional sidebar (full-width layouts) ---------- */
.no-sidebar { min-width: 0; }

/* Shared fade-in used by the WooCommerce tab panels. */
@keyframes nptcl-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Home FAQ (early card grid) + view-more ---------- */
.faq-home-more { margin-top: 32px; }
.faq-home-more .btn { display: inline-flex; align-items: center; gap: 8px; }
.faq-home-more .btn .chev { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ---------- KB page FAQ: category filter ---------- */
.faq-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}
.faq-filter {
	appearance: none;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--muted-foreground);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.faq-filter:hover { color: var(--foreground); border-color: var(--primary); }
.faq-filter.is-active {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--primary-foreground);
}
