/*
 * CNC Designs Store — buyer-first storefront layer.
 * Kept separate so the redesign remains reversible and does not touch Astra.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: optional;
  font-weight: 400 800;
  src: url('../fonts/inter-latin-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-display: optional;
  font-weight: 600;
  src: url('../fonts/barlow-condensed-latin-600.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --cnc-foundry-950: #090c0f;
  --cnc-steel-900: #141a21;
  --cnc-alloy-800: #1e2731;
  --cnc-sheet-100: #eef1f2;
  --cnc-drawing-ink: #172029;
  --cnc-cut-white: #f5f7f8;
  --cnc-birch-500: #c99a61;
  --cnc-toolpath-500: #2468d8;
  --cnc-focus-cyan: #78d4e8;
  --cnc-muted-400: #aeb8c3;
  --cnc-rule: rgba(174, 184, 195, 0.2);
  --cnc-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cnc-font-display: 'Barlow Condensed', 'Arial Narrow', var(--cnc-font-body);
  --cnc-font-data: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --cnc-container: 1280px;
  --cnc-readable: 72ch;
  --cnc-radius-control: 4px;
  --cnc-radius-card: 8px;
  --cnc-radius-panel: 10px;
  --cnc-shadow-raised: 0 18px 48px rgba(0, 0, 0, 0.24);
  --cnc-carbide: var(--cnc-foundry-950);
  --cnc-steel: var(--cnc-steel-900);
  --cnc-steel-raised: var(--cnc-alloy-800);
  --cnc-cut-line: var(--cnc-cut-white);
  --cnc-metal-muted: var(--cnc-muted-400);
  --cnc-birch: var(--cnc-birch-500);
  --cnc-toolpath: var(--cnc-toolpath-500);
  --cnc-focus: var(--cnc-focus-cyan);
}

/* Content is readable even if animation JavaScript or IntersectionObserver fails. */
.cnc-reveal,
.cnc-reveal.cnc-visible {
  opacity: 1;
  transform: none;
}

body :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--cnc-focus) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--cnc-carbide) !important;
}

/* WooCommerce remains responsible for the price markup and sale state. */
body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price {
  display: block;
  min-height: 1.75rem;
  color: var(--cnc-birch);
  text-shadow: none;
  font-variant-numeric: tabular-nums;
  transition: color 180ms ease;
}

body.woocommerce ul.products li.product .price del,
body.woocommerce-page ul.products li.product .price del {
  color: var(--cnc-metal-muted);
  opacity: 0.72;
}

body.woocommerce span.onsale,
body.woocommerce-page span.onsale,
body .ast-onsale-card {
  min-width: 0;
  min-height: 0;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(213, 166, 107, 0.55);
  border-radius: 4px;
  background: rgba(11, 13, 16, 0.9);
  color: var(--cnc-birch);
  box-shadow: none;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  background: var(--cnc-steel);
  border-color: rgba(170, 180, 192, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body.woocommerce ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover {
  border-color: rgba(111, 211, 232, 0.42);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

/* ── Checkpoint 2: CNC workshop catalogue direction ── */
body .cnc-hero {
  min-height: 0;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--cnc-carbide);
}

body .cnc-hero__grid {
  opacity: 0.16;
  background-size: 42px 42px;
}

body .cnc-hero__orb {
  display: none;
}

body .cnc-hero__inner {
  width: min(1240px, calc(100% - 40px));
  padding: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

body .cnc-hero__content > * {
  animation: none;
}

body .cnc-hero__badge {
  width: fit-content;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(111, 211, 232, 0.42);
  border-radius: 4px;
  background: transparent;
  color: var(--cnc-focus);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

body .cnc-hero__badge-dot {
  border-radius: 1px;
  box-shadow: none;
}

body .cnc-hero__title {
  max-width: 13ch;
  margin-top: 1.25rem;
  color: var(--cnc-cut-line);
  font-size: clamp(2.7rem, 5.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-shadow: none;
}

body .cnc-hero__title-accent {
  color: var(--cnc-birch);
  -webkit-text-fill-color: currentColor;
  background: none;
}

body .cnc-hero__subtitle {
  max-width: 61ch;
  margin-top: 1.4rem;
  color: var(--cnc-metal-muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
}

body .cnc-hero__actions {
  margin-top: 1.75rem;
  gap: 0.75rem;
}

body .cnc-hero__btn {
  min-height: 48px;
  border-radius: 5px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body .cnc-hero__btn--primary {
  border-color: var(--cnc-toolpath);
  background: var(--cnc-toolpath);
  color: #fff;
  box-shadow: none;
}

body .cnc-hero__btn--ghost {
  border-color: rgba(170, 180, 192, 0.42);
  background: transparent;
  color: var(--cnc-cut-line);
}

body .cnc-hero__btn:hover {
  transform: translateY(-2px);
}

body .cnc-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(170, 180, 192, 0.22);
  border-bottom: 1px solid rgba(170, 180, 192, 0.22);
}

body .cnc-hero__trust-item {
  position: relative;
  display: block;
  min-width: 0;
  padding: 1.6rem 0.8rem 0.85rem;
  border-right: 1px solid rgba(170, 180, 192, 0.22);
  color: var(--cnc-cut-line);
  font-size: 0.78rem;
  line-height: 1.35;
}

body .cnc-hero__trust-item:last-child {
  border-right: 0;
}

body .cnc-hero__trust-item::before {
  position: absolute;
  top: 0.55rem;
  left: 0.8rem;
  color: var(--cnc-metal-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

body .cnc-hero__trust-item:nth-child(1)::before {
  content: "DELIVERY";
}

body .cnc-hero__trust-item:nth-child(2)::before {
  content: "QUALITY";
}

body .cnc-hero__trust-item:nth-child(3)::before {
  content: "VALUE";
}

body .cnc-hero__visual-frame {
  overflow: hidden;
  padding: 0.55rem;
  border: 1px solid rgba(213, 166, 107, 0.5);
  border-radius: 6px;
  background: var(--cnc-steel);
  box-shadow: 18px 18px 0 rgba(32, 117, 245, 0.13);
}

body .cnc-hero__visual-glow {
  display: none;
}

body .cnc-hero__visual-img {
  width: 100%;
  max-height: 590px;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  object-fit: cover;
}

body.woocommerce ul.products,
body.woocommerce-page ul.products {
  gap: clamp(1rem, 2vw, 1.4rem);
}

body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  border-radius: 7px;
  overflow: hidden;
}

body.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
body.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap {
  background: #10141a;
}

body.woocommerce ul.products li.product a img,
body.woocommerce-page ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  object-fit: cover;
}

body.woocommerce ul.products li.product .astra-shop-summary-wrap,
body.woocommerce-page ul.products li.product .astra-shop-summary-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1rem 1.1rem;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.8em;
  margin: 0;
  color: var(--cnc-cut-line);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

body.woocommerce ul.products li.product .ast-woo-product-category,
body.woocommerce-page ul.products li.product .ast-woo-product-category {
  margin: 0;
  color: var(--cnc-metal-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button {
  width: 100%;
  margin: auto 0 0;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(111, 211, 232, 0.55);
  border-radius: 4px;
  background: transparent;
  color: var(--cnc-cut-line);
  box-shadow: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

body.woocommerce ul.products li.product .button:hover,
body.woocommerce-page ul.products li.product .button:hover {
  border-color: var(--cnc-toolpath);
  background: var(--cnc-toolpath);
  color: #fff;
  box-shadow: none;
}

@media (max-width: 782px) {
  body .cnc-hero {
    padding: 2.75rem 0 3rem;
  }

  body .cnc-hero__inner {
    width: min(calc(100% - 32px), 620px);
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: left;
  }

  body .cnc-hero__title {
    max-width: 12ch;
    font-size: clamp(2.45rem, 12vw, 4.1rem);
  }

  body .cnc-hero__subtitle {
    margin-right: 0;
    margin-left: 0;
  }

  body .cnc-hero__actions,
  body .cnc-hero__trust {
    justify-content: flex-start;
  }

  body .cnc-hero__trust {
    grid-template-columns: 1fr;
  }

  body .cnc-hero__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(170, 180, 192, 0.22);
  }

  body .cnc-hero__trust-item:last-child {
    border-bottom: 0;
  }

  body .cnc-hero__visual-frame {
    box-shadow: 10px 10px 0 rgba(32, 117, 245, 0.13);
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .cnc-hero__content {
    order: 1;
  }

  .cnc-hero__visual {
    order: 2;
  }

  /* The bottom menu already contains the mobile cart entry. */
  #moderncart-floating-cart {
    display: none !important;
  }

  #chat-widget-root {
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }

  body.single-product {
    padding-bottom: calc(142px + env(safe-area-inset-bottom));
  }

  body.single-product .ast-sticky-add-to-cart {
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }

  body.single-product #chat-widget-root {
    bottom: calc(148px + env(safe-area-inset-bottom)) !important;
  }
}


/* ── Phase 1: Precision Foundry shared shell ── */

html {
  scroll-padding-top: 112px;
}

body.cnc-enterprise-shell {
  overflow-wrap: break-word;
  background: var(--cnc-foundry-950);
  color: var(--cnc-cut-white);
  font-family: var(--cnc-font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.cnc-enterprise-shell :where(h1, h2, .site-title, .cnc-enterprise-footer__wordmark) {
  font-family: var(--cnc-font-display);
  font-stretch: condensed;
  text-wrap: balance;
}

body.cnc-enterprise-shell :where(h2, h3, h4, h5, h6, [id]) {
  scroll-margin-top: 120px;
}

body.cnc-enterprise-shell :where(a, button, input, select, textarea) {
  touch-action: manipulation;
}

body.cnc-enterprise-shell :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--cnc-focus-cyan) !important;
  outline-offset: 3px;
}

body.cnc-enterprise-shell :where(input:not([type='checkbox']):not([type='radio']), select, textarea) {
  border-radius: var(--cnc-radius-control);
  font-family: var(--cnc-font-body);
}

body .woocommerce-breadcrumb,
body.woocommerce .woocommerce-breadcrumb {
  margin: clamp(1rem, 2vw, 1.5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.65rem 0 0.75rem;
  border-bottom: 1px solid var(--cnc-rule);
  color: #8f9aa6;
  font: 600 0.68rem/1.6 var(--cnc-font-data);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body .woocommerce-breadcrumb a,
body .woocommerce-breadcrumb a:visited,
body.woocommerce .woocommerce-breadcrumb a,
body.woocommerce .woocommerce-breadcrumb a:visited {
  color: #c4ccd3;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

body .woocommerce-breadcrumb a:hover,
body .woocommerce-breadcrumb a:focus-visible,
body.woocommerce .woocommerce-breadcrumb a:hover,
body.woocommerce .woocommerce-breadcrumb a:focus-visible {
  color: var(--cnc-cut-white);
}

body .cnc-utility-bar {
  position: relative;
  z-index: 101;
  border-bottom: 1px solid rgba(201, 154, 97, 0.24);
  background: #050709;
  color: #c4cbd2;
}

body .cnc-utility-bar__inner {
  display: flex;
  width: min(var(--cnc-container), calc(100% - 40px));
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  font: 650 0.63rem/1.2 var(--cnc-font-data);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body .cnc-utility-bar__inner span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

body .cnc-utility-bar__inner span::before {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: var(--cnc-birch-500);
  content: '';
}

body #masthead {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--cnc-rule);
  background: var(--cnc-foundry-950) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body #masthead .ast-primary-header-bar,
body #masthead .main-header-bar,
body #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
  min-height: 76px;
  border: 0 !important;
  background: transparent !important;
}

body #masthead .ast-container {
  width: min(var(--cnc-container), calc(100% - 40px));
  max-width: none;
  padding-inline: 0;
}

body #masthead .site-branding {
  align-items: center;
}

body #masthead .custom-logo {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 154, 97, 0.34);
  border-radius: 6px;
}

body #masthead .site-title a,
body #masthead .site-title a:visited {
  color: var(--cnc-cut-white) !important;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

body #masthead .site-description {
  color: var(--cnc-muted-400) !important;
  font: 600 0.61rem/1.2 var(--cnc-font-data);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body #masthead .main-header-menu {
  align-items: center;
  gap: 0.1rem;
}

body #masthead .main-header-menu > .menu-item > .menu-link {
  position: relative;
  min-height: 48px;
  padding-inline: 0.72rem;
  color: #dfe4e8 !important;
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

body #masthead .main-header-menu > .menu-item > .menu-link::after {
  position: absolute;
  right: 0.72rem;
  bottom: 3px;
  left: 0.72rem;
  height: 2px;
  background: var(--cnc-birch-500);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

body #masthead .main-header-menu > .menu-item:hover > .menu-link,
body #masthead .main-header-menu > .menu-item:focus-within > .menu-link,
body #masthead .main-header-menu > .current-menu-item > .menu-link {
  color: #ffffff !important;
}

body #masthead .main-header-menu > .menu-item:hover > .menu-link::after,
body #masthead .main-header-menu > .menu-item:focus-within > .menu-link::after,
body #masthead .main-header-menu > .current-menu-item > .menu-link::after {
  transform: scaleX(1);
}

body #masthead .cnc-designs-menu > .menu-link {
  position: relative;
  padding-right: 3rem;
}

body #masthead .cnc-designs-menu > .menu-link > .dropdown-menu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

body #masthead .cnc-designs-menu > .menu-link::before {
  position: absolute;
  top: 50%;
  right: 0.72rem;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: '';
  transform: translateY(-70%) rotate(45deg);
}

body #masthead .cnc-designs-menu > .sub-menu {
  min-width: 260px;
  padding: 0.55rem;
  border: 1px solid rgba(201, 154, 97, 0.32);
  border-top: 3px solid var(--cnc-birch-500);
  border-radius: 0 0 var(--cnc-radius-panel) var(--cnc-radius-panel);
  background: #10151b;
  box-shadow: var(--cnc-shadow-raised);
}

body #masthead .cnc-designs-menu.cnc-submenu-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body #masthead .cnc-designs-menu > .sub-menu .menu-link {
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border-radius: var(--cnc-radius-control);
  color: #e8ecef !important;
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

body #masthead .cnc-designs-menu > .sub-menu .menu-link:hover,
body #masthead .cnc-designs-menu > .sub-menu .menu-link:focus-visible {
  background: rgba(201, 154, 97, 0.13);
  color: #ffffff !important;
  transform: translateX(3px);
}

body #masthead .cnc-menu-utility--cart > .menu-link {
  min-height: 42px;
  margin-left: 0.25rem;
  border: 1px solid rgba(201, 154, 97, 0.5);
  border-radius: var(--cnc-radius-control);
  color: #f0d8b8 !important;
}

body #masthead .dgwt-wcas-search-wrapp {
  min-width: 184px;
  margin-left: 0.35rem;
}

body #masthead .dgwt-wcas-search-input {
  min-height: 44px;
  border: 1px solid rgba(174, 184, 195, 0.3) !important;
  border-radius: var(--cnc-radius-control) !important;
  background: var(--cnc-steel-900) !important;
  color: var(--cnc-cut-white) !important;
  font-size: 1rem !important;
}

body #masthead .dgwt-wcas-search-submit {
  width: 44px !important;
  min-width: 44px;
  height: 44px !important;
  min-height: 44px;
}

body #masthead .menu-toggle {
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(201, 154, 97, 0.38);
  border-radius: var(--cnc-radius-control);
  color: var(--cnc-cut-white) !important;
}

body #masthead .menu-toggle .mobile-menu-wrap {
  display: none;
}

body #masthead .menu-toggle .ast-svg-iconset {
  color: var(--cnc-cut-white) !important;
}

body .ast-mobile-popup-drawer .ast-mobile-popup-inner {
  width: min(390px, 92vw);
  padding-bottom: env(safe-area-inset-bottom);
  border-left: 1px solid rgba(201, 154, 97, 0.3);
  background: var(--cnc-foundry-950) !important;
  box-shadow: -22px 0 60px rgba(0, 0, 0, 0.42);
  overscroll-behavior: contain;
}

body .ast-mobile-popup-drawer .ast-mobile-popup-content {
  padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom));
}

body .ast-mobile-popup-drawer .main-header-menu .menu-link {
  min-height: 48px;
  border-bottom: 1px solid rgba(174, 184, 195, 0.14);
  color: var(--cnc-cut-white) !important;
  font-weight: 680;
}

body .ast-mobile-popup-drawer .main-header-menu .sub-menu {
  margin: 0.25rem 0 0.55rem 0.75rem;
  border-left: 1px solid rgba(201, 154, 97, 0.42);
  background: #10151b;
}

body .ast-mobile-popup-drawer .main-header-menu .sub-menu .menu-link {
  min-height: 44px;
  padding-left: 1rem;
  color: #d7dde2 !important;
}

/* The Spectra column must align the filter with the first product row. */
body.home .uagb-block-f66398aa > .uagb-container-inner-blocks-wrap {
  align-items: flex-start !important;
}

body.home .uagb-block-a92a8b5f {
  align-self: stretch !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* Hero image becomes a technical product plate. */
body .cnc-hero {
  border-bottom: 1px solid rgba(170, 180, 192, 0.13);
}

body .cnc-hero__inner {
  gap: clamp(3rem, 6vw, 5.75rem);
}

body .cnc-hero__title {
  max-width: 12.5ch;
}

body .cnc-hero__visual-frame {
  position: relative;
  padding: 0.65rem;
  border-color: rgba(213, 166, 107, 0.62);
  border-radius: 3px;
  background: #10151b;
  box-shadow: 14px 14px 0 rgba(213, 166, 107, 0.09);
}

body .cnc-hero__visual-frame::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  right: -1px;
  width: 62px;
  height: 62px;
  border-top: 2px solid var(--cnc-focus);
  border-right: 2px solid var(--cnc-focus);
  content: "";
  pointer-events: none;
}

body .cnc-hero__visual-img {
  max-height: 540px;
  border-radius: 0;
  filter: saturate(0.88) contrast(1.05);
}

body .cnc-hero__visual-meta {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border-left: 2px solid var(--cnc-birch);
  background: rgba(7, 9, 12, 0.88);
  color: var(--cnc-cut-line);
}

body .cnc-hero__visual-meta span {
  color: var(--cnc-metal-muted);
  font: 650 0.66rem/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .cnc-hero__visual-meta strong {
  color: var(--cnc-birch);
  font: 800 0.78rem/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
}

/* Dense, square catalogue cards make comparison faster and feel more curated. */
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  border: 1px solid rgba(170, 180, 192, 0.17) !important;
  border-radius: 4px;
  background: #12171d !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2) !important;
}

body.woocommerce ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover {
  border-color: rgba(213, 166, 107, 0.54) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3) !important;
}

body.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
body.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap {
  overflow: hidden;
  border-bottom: 1px solid rgba(170, 180, 192, 0.14);
}

body.woocommerce ul.products li.product a img,
body.woocommerce-page ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

body.woocommerce ul.products li.product:hover a img,
body.woocommerce-page ul.products li.product:hover a img {
  filter: contrast(1.04);
  transform: scale(1.025);
}

body.woocommerce ul.products li.product .astra-shop-summary-wrap,
body.woocommerce-page ul.products li.product .astra-shop-summary-wrap {
  gap: 0.55rem;
  min-height: 198px;
  padding: 1rem 1.05rem 1.05rem;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 4.05em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #f4f6f8;
  font-size: 0.96rem;
  line-height: 1.35;
}

body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price {
  color: var(--cnc-birch) !important;
}

body.woocommerce ul.products li.product .cnc-card-action,
body.woocommerce-page ul.products li.product .cnc-card-action {
  min-height: 43px;
  justify-content: space-between !important;
  padding: 0.68rem 0.8rem !important;
  border: 1px solid rgba(213, 166, 107, 0.46) !important;
  border-radius: 3px !important;
  background: transparent !important;
  color: var(--cnc-cut-line) !important;
  box-shadow: none !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.woocommerce ul.products li.product .cnc-card-action::after,
body.woocommerce-page ul.products li.product .cnc-card-action::after {
  color: var(--cnc-birch);
  content: "→";
  font-size: 1rem;
  transition: transform 160ms ease;
}

body.woocommerce ul.products li.product .cnc-card-action:hover,
body.woocommerce-page ul.products li.product .cnc-card-action:hover {
  border-color: var(--cnc-toolpath) !important;
  background: var(--cnc-toolpath) !important;
  color: #fff !important;
}

body.woocommerce ul.products li.product .cnc-card-action:hover::after,
body.woocommerce-page ul.products li.product .cnc-card-action:hover::after {
  color: #fff;
  transform: translateX(3px);
}

/* Proof, license, and final CTA use one calm editorial rhythm. */
body .cnc-glass-banner {
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: 0;
  border: 1px solid rgba(170, 180, 192, 0.16);
  border-radius: 4px;
  background: #10151b;
  box-shadow: none;
}

body .cnc-glass-banner__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

body .cnc-glass-banner__item {
  position: relative;
  min-height: 82px;
  padding: 2.15rem 1rem 0.8rem;
  border-right: 1px solid rgba(170, 180, 192, 0.16);
  color: #dce2e8;
  font-size: 0.76rem;
  font-weight: 700;
}

body .cnc-glass-banner__item:last-child {
  border-right: 0;
}

body .cnc-glass-banner__item::before {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  width: 18px;
  height: 2px;
  background: var(--cnc-birch);
  content: "";
}

body .cnc-section.cnc-features {
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  margin: clamp(4rem, 7vw, 6.5rem) auto;
  padding: 0;
}

body .cnc-features__title {
  max-width: 14ch;
  margin: 0 0 2rem;
  padding: 0;
  color: var(--cnc-cut-line);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 880;
  line-height: 1;
  letter-spacing: -0.045em;
}

body .cnc-features__grid {
  counter-reset: cnc-feature;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(170, 180, 192, 0.16);
  background: rgba(170, 180, 192, 0.16);
}

body .cnc-feature-card {
  position: relative;
  min-height: 215px;
  padding: 4.5rem 1.4rem 1.5rem;
  border: 0;
  border-radius: 0;
  background: #10151b;
  counter-increment: cnc-feature;
  transition: background-color 160ms ease;
}

body .cnc-feature-card::before {
  position: absolute;
  top: 1.25rem;
  left: 1.4rem;
  color: var(--cnc-birch);
  content: "0" counter(cnc-feature);
  font: 750 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.1em;
}

body .cnc-feature-card:hover {
  border-color: transparent;
  background: #151b22;
  transform: none;
}

body .cnc-feature-card__title {
  color: var(--cnc-cut-line);
  font-size: 1.08rem;
}

body .cnc-feature-card__desc {
  color: var(--cnc-metal-muted);
}

body .cnc-cta-section {
  margin: 0;
  padding: clamp(4rem, 8vw, 7rem) 40px;
  border-top: 1px solid rgba(213, 166, 107, 0.2);
  border-bottom: 1px solid rgba(213, 166, 107, 0.2);
  background:
    linear-gradient(90deg, rgba(213, 166, 107, 0.07), transparent 38%),
    #0d1116;
  text-align: left;
}

body .cnc-cta-inner {
  width: min(1240px, 100%);
  max-width: none;
  margin: 0 auto;
}

body .cnc-cta__title {
  max-width: 13ch;
  margin: 0 0 1rem;
  background: none;
  color: var(--cnc-cut-line);
  -webkit-text-fill-color: currentColor;
  font-size: clamp(2.3rem, 5vw, 4.75rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

body .cnc-cta__desc {
  max-width: 55ch;
  margin: 0 0 2rem;
  color: var(--cnc-metal-muted);
}

body .cnc-cta__actions {
  justify-content: flex-start;
}

body .cnc-cta__btn {
  min-height: 48px;
  border-radius: 3px !important;
  box-shadow: none !important;
}

body .cnc-cta__btn--primary {
  border-color: var(--cnc-toolpath) !important;
  background: var(--cnc-toolpath) !important;
}

body .cnc-cta__btn--outline {
  border-color: rgba(170, 180, 192, 0.36) !important;
  background: transparent !important;
  color: var(--cnc-cut-line) !important;
}

/* The footer behaves like a compact technical index, not a repeated menu wall. */
body .site-footer,
body .site-primary-footer-wrap,
body .site-below-footer-wrap {
  border-color: var(--cnc-rule) !important;
  background: #07090c !important;
}

body .site-footer,
body .site-footer a {
  color: #b7c0c9 !important;
}

body .cnc-enterprise-footer {
  border-top: 1px solid rgba(201, 154, 97, 0.3);
  border-bottom: 1px solid var(--cnc-rule);
  background:
    linear-gradient(90deg, rgba(201, 154, 97, 0.04) 1px, transparent 1px) 0 0 / 72px 100%,
    #090c0f;
}

body .cnc-enterprise-footer__inner {
  display: grid;
  width: min(var(--cnc-container), calc(100% - 40px));
  grid-template-columns: minmax(260px, 1.55fr) repeat(4, minmax(120px, 0.75fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

body .cnc-enterprise-footer__brand {
  max-width: 36ch;
}

body .cnc-enterprise-footer__wordmark,
body .cnc-enterprise-footer__wordmark:visited {
  display: inline-block;
  color: var(--cnc-cut-white) !important;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body .cnc-enterprise-footer__brand p {
  margin: 1rem 0 0.75rem;
  color: #c7ced5;
  font-size: 0.9rem;
  line-height: 1.65;
}

body .cnc-enterprise-footer__brand span {
  display: block;
  color: #8f9aa6;
  font: 550 0.69rem/1.55 var(--cnc-font-data);
}

body .cnc-enterprise-footer__group h2 {
  margin: 0 0 1rem;
  color: var(--cnc-birch-500);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body .cnc-enterprise-footer__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body .cnc-enterprise-footer__group a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: #bdc6ce !important;
  font-size: 0.82rem;
  transition: color 150ms ease, transform 150ms ease;
}

body .cnc-enterprise-footer__group a:hover,
body .cnc-enterprise-footer__group a:focus-visible {
  color: var(--cnc-cut-white) !important;
  transform: translateX(3px);
}

body .site-primary-footer-wrap .footer-bar-navigation {
  display: none;
}

body .site-primary-footer-wrap {
  padding-block: 0.75rem !important;
}

body .site-primary-footer-inner-wrap {
  min-height: 44px;
  align-items: center;
}

body .ast-footer-social-wrap a {
  min-width: 44px;
  min-height: 44px;
}

body .site-below-footer-wrap {
  min-height: calc(52px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
}

body .site-below-footer-wrap p {
  margin: 0;
  color: #8d98a3;
  font: 550 0.68rem/1.5 var(--cnc-font-data);
  letter-spacing: 0.04em;
}

@media (max-width: 921px) {
  body .cnc-utility-bar__inner {
    width: min(100% - 32px, 760px);
    justify-content: center;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    padding: 0.45rem 0;
  }

  body #masthead .ast-primary-header-bar,
  body #masthead .main-header-bar,
  body .ast-mobile-header-wrap .ast-primary-header-bar {
    min-height: 68px;
  }

  body .cnc-hero__visual-img {
    max-height: 480px;
  }
}

@media (max-width: 768px) {
  body .cnc-utility-bar__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.28rem;
    min-height: 0;
    padding: 0.55rem 0;
    font-size: 0.56rem;
  }

  body .cnc-utility-bar__inner span:nth-child(2),
  body .cnc-utility-bar__inner span:nth-child(3) {
    display: none;
  }

  body.home .uagb-block-f66398aa > .uagb-container-inner-blocks-wrap {
    gap: 1rem !important;
  }

  body .cnc-hero__visual-meta {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 0.75rem;
  }

  body.woocommerce ul.products li.product .astra-shop-summary-wrap,
  body.woocommerce-page ul.products li.product .astra-shop-summary-wrap {
    min-height: 185px;
    padding: 0.9rem;
  }

  body .cnc-glass-banner {
    width: min(calc(100% - 32px), 620px);
  }

  body .cnc-glass-banner__inner {
    grid-template-columns: 1fr 1fr;
  }

  body .cnc-glass-banner__item {
    min-height: 74px;
    border-right: 1px solid rgba(170, 180, 192, 0.16);
    border-bottom: 1px solid rgba(170, 180, 192, 0.16);
  }

  body .cnc-glass-banner__item:nth-child(2n) {
    border-right: 0;
  }

  body .cnc-glass-banner__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body .cnc-section.cnc-features {
    width: min(calc(100% - 32px), 620px);
  }

  body .cnc-features__grid {
    grid-template-columns: 1fr;
  }

  body .cnc-feature-card {
    min-height: 185px;
  }

  body .cnc-cta-section {
    padding: 4.5rem 16px;
  }

  body .cnc-cta__actions {
    align-items: stretch;
  }
}

/* Keep the existing support widget usable without changing its plugin logic. */
body #chat-close-btn,
body #chat-mic-btn,
body #chat-send-btn {
  min-width: 44px !important;
  min-height: 44px !important;
}

body .chat-qr-pill {
  min-height: 44px !important;
  padding-block: 0.55rem !important;
}

@media (max-width: 1180px) and (min-width: 922px) {
  body #masthead .site-description {
    display: none;
  }

  body #masthead .main-header-menu > .menu-item > .menu-link {
    padding-inline: 0.52rem;
    font-size: 0.68rem;
  }

  body #masthead .dgwt-wcas-search-wrapp {
    min-width: 160px;
  }
}

@media (max-width: 921px) {
  body .cnc-utility-bar__inner {
    width: min(100% - 32px, 760px);
    min-height: 30px;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    padding: 0.35rem 0;
  }

  body #masthead .ast-primary-header-bar,
  body #masthead .main-header-bar,
  body #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    min-height: 66px;
  }

  body #masthead .ast-builder-grid-row {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  body #wp-bottom-menu,
  body #wp-bottom-menu-search-form-wrapper {
    display: none !important;
  }

  body.cnc-enterprise-shell {
    padding-bottom: 0 !important;
  }

  body.single-product .ast-sticky-add-to-cart {
    bottom: env(safe-area-inset-bottom) !important;
  }

  body.single-product #chat-widget-root {
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }

  body .cnc-enterprise-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }

  body .cnc-enterprise-footer__brand {
    max-width: 52ch;
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body .cnc-utility-bar__inner {
    display: flex;
    width: calc(100% - 28px);
    min-height: 30px;
    justify-content: flex-start;
    padding: 0.35rem 0;
    font-size: 0.56rem;
  }

  body .cnc-utility-bar__inner span:nth-child(2),
  body .cnc-utility-bar__inner span:nth-child(3) {
    display: none;
  }

  body #masthead .custom-logo {
    width: 44px;
    height: 44px;
  }

  body #masthead .site-title a {
    font-size: 1.14rem;
  }

  body #masthead .site-description {
    display: none;
  }

  body .ast-mobile-popup-drawer .ast-mobile-popup-inner {
    width: min(360px, 94vw);
  }

  body.cnc-enterprise-shell :where(input:not([type='checkbox']):not([type='radio']), select, textarea) {
    min-height: 44px;
    font-size: 16px !important;
  }

  body .cnc-enterprise-footer__inner {
    width: calc(100% - 32px);
    gap: 2rem 1rem;
    padding: 3.25rem 0;
  }

  body .cnc-enterprise-footer__group a {
    min-height: 44px;
  }
}

/* ── Final polish P1: crafted technical editorial shell ── */

:root {
  --cnc-foundry-950: #0b0d0f;
  --cnc-steel-900: #181b1d;
  --cnc-alloy-800: #252c32;
  --cnc-sheet-100: #e4ded4;
  --cnc-drawing-ink: #211c17;
  --cnc-cut-white: #f5f2ec;
  --cnc-birch-500: #d5a05f;
  --cnc-toolpath-500: #356fc4;
  --cnc-focus-cyan: #73a8ff;
  --cnc-muted-400: #aeb6bd;
  --cnc-rule: rgba(221, 213, 202, 0.16);
  --cnc-action: #d5a05f;
  --cnc-action-hover: #e0b175;
  --cnc-action-ink: #1d150d;
  --cnc-walnut: #181411;
  --cnc-walnut-raised: #211b17;
  --cnc-steel-soft: #20262b;
  --cnc-shadow-raised: 0 22px 60px rgba(0, 0, 0, 0.3);
  --cnc-radius-control: 6px;
  --cnc-radius-card: 10px;
  --cnc-radius-panel: 12px;
}

html {
  background: var(--cnc-foundry-950);
}

body.cnc-enterprise-shell {
  background:
    linear-gradient(180deg, rgba(213, 160, 95, 0.035), transparent 26rem),
    var(--cnc-foundry-950);
  color: var(--cnc-cut-white);
}

body.cnc-enterprise-shell :where(h1, h2) {
  font-weight: 600;
  letter-spacing: -0.025em;
}

body.cnc-enterprise-shell :where(h3, h4, h5, h6, p, li) {
  text-wrap: pretty;
}

body.cnc-enterprise-shell :where(.button, button, input[type='button'], input[type='submit']) {
  font-family: var(--cnc-font-body);
  font-weight: 720;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.cnc-enterprise-shell :where(
  .cnc-hero__btn--primary,
  .cnc-cta__btn--primary,
  .cnc-search__submit,
  .cnc-card-action,
  .single_add_to_cart_button,
  .checkout-button,
  #place_order,
  .woocommerce-button.button,
  .return-to-shop .button
) {
  border-color: var(--cnc-action) !important;
  background: var(--cnc-action) !important;
  color: var(--cnc-action-ink) !important;
  box-shadow: 0 10px 28px rgba(213, 160, 95, 0.16) !important;
}

body.cnc-enterprise-shell :where(
  .cnc-hero__btn--primary,
  .cnc-cta__btn--primary,
  .cnc-search__submit,
  .cnc-card-action,
  .single_add_to_cart_button,
  .checkout-button,
  #place_order,
  .woocommerce-button.button,
  .return-to-shop .button
):hover {
  border-color: var(--cnc-action-hover) !important;
  background: var(--cnc-action-hover) !important;
  color: var(--cnc-action-ink) !important;
  transform: translateY(-1px);
}

body.cnc-enterprise-shell :where(.cnc-hero__btn--ghost, .cnc-cta__btn--outline) {
  border-color: rgba(213, 160, 95, 0.5) !important;
  background: transparent !important;
  color: var(--cnc-cut-white) !important;
}

body.cnc-enterprise-shell :where(.cnc-hero__btn--ghost, .cnc-cta__btn--outline):hover {
  border-color: var(--cnc-action) !important;
  background: rgba(213, 160, 95, 0.08) !important;
  color: var(--cnc-cut-white) !important;
}

body .cnc-utility-bar {
  border-bottom-color: rgba(213, 160, 95, 0.18);
  background: #08090a;
}

body .cnc-utility-bar__inner {
  min-height: 28px;
  color: #c8c1b8;
  font-family: var(--cnc-font-body);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: none;
}

body .cnc-utility-bar__inner span::before {
  width: 4px;
  height: 4px;
  flex-basis: 4px;
  border-radius: 50%;
  background: var(--cnc-action);
}

body #masthead {
  border-bottom-color: rgba(221, 213, 202, 0.13);
  background: rgba(11, 13, 15, 0.98) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

body #masthead .ast-primary-header-bar,
body #masthead .main-header-bar,
body #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
  min-height: 68px;
}

body #masthead .custom-logo {
  width: 46px;
  height: 46px;
  border-color: rgba(213, 160, 95, 0.3);
  border-radius: 8px;
}

body #masthead .site-title a,
body #masthead .site-title a:visited {
  font-family: var(--cnc-font-display);
  font-size: clamp(1.18rem, 1.5vw, 1.4rem);
  letter-spacing: 0;
  text-transform: none;
}

body #masthead .site-description {
  font-family: var(--cnc-font-body);
  font-size: 0.64rem;
  letter-spacing: 0.035em;
  text-transform: none;
}

body #masthead .main-header-menu {
  gap: 0.08rem;
}

body #masthead .main-header-menu > .menu-item > .menu-link {
  min-height: 44px;
  padding-inline: 0.68rem;
  color: #d8d4ce !important;
  font-size: 0.81rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

body #masthead .main-header-menu > .menu-item > .menu-link::after {
  right: 0.68rem;
  bottom: 1px;
  left: 0.68rem;
  height: 1px;
  background: var(--cnc-action);
}

body #masthead .cnc-designs-menu > .sub-menu {
  min-width: 248px;
  padding: 0.55rem;
  border-color: rgba(213, 160, 95, 0.28);
  border-top-width: 2px;
  border-top-color: var(--cnc-action);
  border-radius: 0 0 10px 10px;
  background: #151718;
}

body #masthead .cnc-designs-menu:not(.cnc-submenu-open) > .sub-menu {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body #masthead .cnc-designs-menu > .sub-menu .menu-link {
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 630;
  letter-spacing: 0;
}

body #masthead .cnc-designs-menu > .sub-menu .menu-link:hover,
body #masthead .cnc-designs-menu > .sub-menu .menu-link:focus-visible {
  background: rgba(213, 160, 95, 0.1);
  transform: translateX(2px);
}

body #masthead .cnc-menu-utility--cart > .menu-link {
  border-color: rgba(213, 160, 95, 0.44);
  border-radius: 6px;
  color: #f0d5b3 !important;
}

body #masthead .dgwt-wcas-search-wrapp {
  width: clamp(170px, 15vw, 220px);
  min-width: 170px;
}

body #masthead .dgwt-wcas-search-input {
  min-height: 44px;
  border-color: rgba(221, 213, 202, 0.22) !important;
  border-radius: 6px !important;
  background: #121516 !important;
  font-size: 0.92rem !important;
}

body #masthead .dgwt-wcas-search-input:focus {
  border-color: var(--cnc-focus) !important;
}

body #masthead .dgwt-wcas-search-submit {
  width: 44px !important;
  min-width: 44px;
  height: 44px !important;
  min-height: 44px;
}

body #masthead .menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border-color: rgba(213, 160, 95, 0.34);
  border-radius: 8px;
}

body .ast-mobile-popup-drawer .ast-mobile-popup-inner {
  width: min(348px, 92vw);
  border-left-color: rgba(213, 160, 95, 0.28);
  background: #101213 !important;
}

body .ast-mobile-popup-drawer .ast-mobile-popup-content {
  padding: 0.5rem 1rem calc(1rem + env(safe-area-inset-bottom));
}

body .ast-mobile-popup-drawer .main-header-menu .menu-link {
  min-height: 50px;
  padding-inline: 0.8rem;
  border-bottom-color: rgba(221, 213, 202, 0.12);
  font-size: 0.97rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

body .ast-mobile-popup-drawer .main-header-menu .sub-menu {
  margin: 0.25rem 0 0.5rem 0.5rem;
  border-left-color: rgba(213, 160, 95, 0.38);
  background: #17191a;
}

body .ast-mobile-popup-drawer .main-header-menu .sub-menu .menu-link {
  min-height: 46px;
  font-size: 0.9rem;
}

body .ast-mobile-popup-drawer :where(.ast-mobile-popup-header .menu-toggle-close, .ast-menu-toggle) {
  min-width: 44px;
  min-height: 44px;
}

body .ast-mobile-popup-drawer .dgwt-wcas-search-wrapp {
  width: 100%;
  margin: 0.75rem 0;
}

body .ast-mobile-popup-drawer .dgwt-wcas-search-input {
  min-height: 48px;
  border-radius: 8px !important;
  background: #171a1c !important;
  color: var(--cnc-cut-white) !important;
}

body #chat-toggle {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(29, 21, 13, 0.5);
  background: var(--cnc-action) !important;
  color: var(--cnc-action-ink) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34) !important;
  animation: none !important;
}

body #chat-toggle:hover {
  background: var(--cnc-action-hover) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38) !important;
}

body #chat-tooltip {
  bottom: 66px;
  padding: 0.65rem 0.85rem;
  border-color: rgba(213, 160, 95, 0.32);
  border-radius: 8px;
  background: #1b1e20;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
  color: var(--cnc-cut-white);
  animation: none !important;
  opacity: 1;
  transform: none;
}

body #chat-tooltip span {
  background: none;
  color: var(--cnc-cut-white);
  -webkit-text-fill-color: currentColor;
}

body .chat-tooltip-arrow {
  background: #1b1e20;
  border-color: rgba(213, 160, 95, 0.32);
}

body #moderncart-floating-cart {
  border: 1px solid rgba(29, 21, 13, 0.42) !important;
  background: var(--cnc-action) !important;
  color: var(--cnc-action-ink) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34) !important;
}

body .site-footer,
body .site-primary-footer-wrap,
body .site-below-footer-wrap {
  background: #090a0b !important;
}

body .cnc-enterprise-footer {
  border-top-color: rgba(213, 160, 95, 0.25);
  background: var(--cnc-walnut);
}

body .cnc-enterprise-footer__inner {
  gap: clamp(1.75rem, 3vw, 3.5rem);
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

body .cnc-enterprise-footer__wordmark,
body .cnc-enterprise-footer__wordmark:visited {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  letter-spacing: 0;
  text-transform: none;
}

body .cnc-enterprise-footer__group h2 {
  color: var(--cnc-action);
  font-family: var(--cnc-font-body);
  font-size: 0.76rem;
  letter-spacing: 0.055em;
}

body .cnc-enterprise-footer__group a {
  color: #c9c3bb !important;
  font-size: 0.86rem;
}

@media (max-width: 921px) {
  body .cnc-utility-bar__inner {
    min-height: 28px;
    padding-block: 0.25rem;
  }

  body #masthead .ast-primary-header-bar,
  body #masthead .main-header-bar,
  body #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    min-height: 62px;
  }

  body #masthead .custom-logo {
    width: 40px;
    height: 40px;
  }

  body #chat-widget-root {
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }

  body #chat-tooltip {
    display: none !important;
  }

  body.single-product #chat-widget-root {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }

  body .cnc-enterprise-footer__inner {
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 600px) {
  body .cnc-utility-bar__inner {
    width: calc(100% - 24px);
    min-height: 28px;
    font-size: 0.62rem;
  }

  body .cnc-utility-bar__inner span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body #masthead .site-title a {
    font-size: 1.08rem;
  }

  body .ast-mobile-popup-drawer .ast-mobile-popup-inner {
    width: min(336px, 92vw);
  }

  body .cnc-enterprise-footer__inner {
    padding: 2.75rem 0;
  }
}

/* P1 plugin surface refinement after live inspection. */
body #masthead .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
}

body #masthead .dgwt-wcas-search-form {
  min-width: 0;
}

body #moderncart-floating-cart .moderncart-floating-cart-button {
  border: 1px solid rgba(29, 21, 13, 0.42) !important;
  background: var(--cnc-action) !important;
  color: var(--cnc-action-ink) !important;
  box-shadow: none !important;
}

body #moderncart-floating-cart :where(svg, path) {
  color: var(--cnc-action-ink) !important;
  stroke: currentColor !important;
}

body #chat-tooltip {
  display: none !important;
}

/* Keep support and cart in one conventional control rail. */
body #chat-widget-root {
  right: 24px !important;
  left: auto !important;
  bottom: 96px !important;
}

body #chat-window {
  right: 0;
  left: auto;
}

@media (max-width: 921px) {
  body #chat-widget-root {
    right: 16px !important;
    left: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }

  body.single-product #chat-widget-root {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }
}

/* P1 mobile drawer refinement after WebKit inspection. */
body .ast-mobile-popup-drawer .main-header-menu .menu-link {
  border-bottom: 1px solid rgba(221, 213, 202, 0.13) !important;
}

body .ast-mobile-popup-drawer .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
}

body .ast-mobile-popup-drawer .dgwt-wcas-search-submit {
  width: 46px !important;
  min-width: 46px;
  height: 46px !important;
  min-height: 46px;
}

body .ast-mobile-popup-drawer .dgwt-wcas-search-submit {
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  margin-block: auto !important;
}

/* Final polish P4 — compact homepage discovery and product visibility. */
body.home .uagb-block-c660cd0c {
  padding-block: 0 !important;
}

body.home .cnc-hero {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(213, 160, 95, 0.07), transparent 26rem),
    #0b0d0f;
}

body.home .cnc-hero__inner {
  gap: clamp(2rem, 4vw, 3.75rem);
}

body.home .cnc-hero__badge {
  margin-bottom: 0.9rem;
  border-color: rgba(213, 160, 95, 0.34);
  color: var(--cnc-action);
}

body.home .cnc-hero__badge-dot {
  background: var(--cnc-action);
}

body.home .cnc-hero__title {
  max-width: 13ch;
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(2.65rem, 4.9vw, 4.55rem);
  line-height: 0.98;
}

body.home .cnc-hero__subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.62;
}

body.home .cnc-hero__actions {
  margin: 1.2rem 0 0;
}

body.home .cnc-hero__btn {
  min-height: 46px;
  justify-content: center;
  padding: 0.72rem 1rem !important;
  border: 1px solid transparent;
  text-decoration: none !important;
}

body.home .cnc-hero__trust {
  margin-top: 1.2rem;
}

body.home .cnc-hero__trust-item {
  padding: 1.45rem 0.72rem 0.65rem;
}

body.home .cnc-hero__visual-frame {
  width: min(100%, 470px);
  margin-inline: auto;
  padding: 0.55rem;
  border-color: rgba(213, 160, 95, 0.42);
  background: linear-gradient(145deg, #211b17, #111316);
  box-shadow:
    inset 0 0 0 4px rgba(11, 13, 15, 0.46),
    12px 12px 0 rgba(213, 160, 95, 0.065);
}

body.home .cnc-hero__visual-frame::before {
  border-color: rgba(213, 160, 95, 0.68);
}

body.home .cnc-hero__visual-img {
  max-height: 460px;
  filter: saturate(0.94) contrast(1.035);
}

body.home .cnc-hero__visual-meta {
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.7rem 0.8rem;
  background: rgba(11, 13, 15, 0.93);
}

body.home .cnc-glass-banner {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  border-color: rgba(228, 222, 212, 0.13);
  border-radius: var(--cnc-radius-card);
  background: #151513;
}

body.home .cnc-glass-banner__item {
  min-height: 72px;
  padding-top: 1.95rem;
  border-right-color: rgba(228, 222, 212, 0.11);
}

body.home .cnc-section.cnc-features {
  margin-block: clamp(3rem, 5vw, 4.75rem);
}

body.home .cnc-features__title {
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

body.home .cnc-features__grid {
  border-color: rgba(228, 222, 212, 0.12);
  background: rgba(228, 222, 212, 0.12);
}

body.home .cnc-feature-card {
  min-height: 188px;
  padding: 4rem 1.3rem 1.35rem;
  background: #151513;
}

body.home .cnc-feature-card:hover {
  background: #1c1916;
}

body.home .cnc-cta-section {
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
  border-color: rgba(213, 160, 95, 0.16);
  background:
    linear-gradient(90deg, rgba(213, 160, 95, 0.055), transparent 42%),
    #0e0f0f;
}

body.home .cnc-cta__title {
  max-width: 15ch;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1;
}

@media (max-width: 960px) {
  body.home .cnc-hero__inner {
    gap: 2rem;
  }

  body.home .cnc-hero__visual-frame {
    width: min(100%, 420px);
  }
}

@media (max-width: 600px) {
  body.home .cnc-hero {
    padding-block: 1.75rem 2.25rem;
  }

  body.home .cnc-hero__title {
    font-size: clamp(2.45rem, 12vw, 3.25rem);
  }

  body.home .cnc-hero__subtitle {
    margin-top: 0.85rem;
  }

  body.home .cnc-hero__actions {
    margin-top: 1rem;
  }

  body.home .cnc-hero__trust {
    margin-top: 1rem;
  }

  body.home .cnc-hero__visual {
    display: none;
  }

  body.home .cnc-section.cnc-features {
    margin-block: 2.75rem;
  }

  body.home .cnc-feature-card {
    min-height: 0;
  }

  body.home .cnc-cta-section {
    padding: 3rem 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
