/* NeXt Chapter Recovery v2.2.7
   Responsive alignment system for WordPress, Recovery Hub and WooCommerce. */

:root {
  --ncr-v227-shell: 1180px;
  --ncr-v227-reading: 780px;
  --ncr-v227-gutter: clamp(1rem, 3vw, 2rem);
  --ncr-v227-width: min(var(--ncr-v227-shell), calc(100% - (var(--ncr-v227-gutter) * 2)));
  --ncr-v227-ink: #24150f;
  --ncr-v227-muted: #6d574b;
  --ncr-v227-line: rgba(104, 53, 30, .16);
  --ncr-v227-bg: #fff9f2;
  --ncr-v227-card: #fffdf9;
  --ncr-v227-soft: #fff2e5;
  --ncr-v227-accent: #a33718;
  --ncr-v227-accent-dark: #7b2614;
  --ncr-v227-orange: #e86a14;
  --ncr-v227-radius: 14px;
}

html[data-theme="dark"] {
  --ncr-v227-ink: #fff5e9;
  --ncr-v227-muted: #d6c5b8;
  --ncr-v227-line: rgba(255, 220, 193, .16);
  --ncr-v227-bg: #140c08;
  --ncr-v227-card: #20130e;
  --ncr-v227-soft: #2a1810;
  --ncr-v227-accent: #ef8351;
  --ncr-v227-accent-dark: #f39a72;
}

/* Homepage: keep the distinct dark brand treatment but stop the hero type from
   overwhelming common desktop and tablet viewports. */
body.home .ncr-home-hero { min-height: 540px !important; padding-block: clamp(2.7rem, 5vw, 4.8rem) !important; }
body.home .ncr-home-title { max-width: 720px !important; font-size: clamp(2.7rem, 5.15vw, 4.8rem) !important; line-height: .99 !important; }
body.home .ncr-home-lead { max-width: 62ch !important; font-size: clamp(.98rem, 1.2vw, 1.12rem) !important; }
body.home .ncr-home-logo-frame { padding: clamp(1rem, 2vw, 1.5rem) !important; }

body.ncr-layout-v227:not(.home) {
  background: var(--ncr-v227-bg) !important;
  color: var(--ncr-v227-ink) !important;
  font-size: 16px !important;
  line-height: 1.66;
  overflow-x: clip;
}
body.ncr-layout-v227:not(.home) *,
body.ncr-layout-v227:not(.home) *::before,
body.ncr-layout-v227:not(.home) *::after { box-sizing: border-box; }
body.ncr-layout-v227:not(.home) :where(img,video,iframe,svg) { max-width: 100%; }
body.ncr-layout-v227:not(.home) main#primary { width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding-inline: 0 !important; }

/* ---------- One horizontal grid ---------- */
body.ncr-layout-v227:not(.home) :where(
  .ncr-v187-header-inner,
  .ncr-breadcrumbs > ol,
  .ncr-shell-hero-inner,
  .ncr-shell-container,
  .ncr-v225-shell,
  .ncr-v224-page-shell,
  .ncr-blog-container,
  .ncr-archive-clean__container,
  .ncr-search-clean__container,
  .ncr-community-app-wrap,
  .ncr-woo-wrap,
  .ncr-v188-footer-inner
) {
  width: var(--ncr-v227-width) !important;
  max-width: var(--ncr-v227-shell) !important;
  margin-inline: auto !important;
}

/* ---------- Typography ---------- */
body.ncr-layout-v227:not(.home) :where(h1,h2,h3,h4,h5,h6) {
  color: var(--ncr-v227-ink) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}
body.ncr-layout-v227:not(.home) :where(
  .ncr-shell-title,
  .ncr-page-title,
  .entry-title,
  .ncr-v225-masthead h1,
  .ncr-v225-community-heading h1,
  .ncr-v224-page-heading h1,
  .ncr-v225-commerce-heading h1,
  .ncr-blog-header h1,
  .ncr-archive-clean__title,
  .woocommerce-products-header__title,
  .woocommerce div.product .product_title
) {
  max-width: 34ch !important;
  margin: 0 0 .5rem !important;
  font-size: clamp(1.8rem, 2.25vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}
body.ncr-layout-v227:not(.home) :where(.entry-content,.ncr-entry-content,.ncr-authority-section,.woocommerce,.ncr-community-module) h2 {
  margin: 1.65rem 0 .58rem !important;
  font-size: clamp(1.28rem, 1.55vw, 1.58rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -.012em !important;
}
body.ncr-layout-v227:not(.home) :where(.entry-content,.ncr-entry-content,.ncr-authority-section,.woocommerce,.ncr-community-module) h3 {
  margin: 1.2rem 0 .45rem !important;
  font-size: clamp(1.02rem, 1.12vw, 1.18rem) !important;
  line-height: 1.25 !important;
}
body.ncr-layout-v227:not(.home) :where(p,li) { font-size: .95rem; line-height: 1.7; }
body.ncr-layout-v227:not(.home) :where(.ncr-shell-lead,.ncr-v225-masthead p,.ncr-v225-community-heading p,.ncr-v224-page-heading p,.ncr-v225-commerce-heading p,.ncr-blog-header p) {
  max-width: 66ch !important;
  margin: 0 !important;
  color: var(--ncr-v227-muted) !important;
  font-size: .95rem !important;
  line-height: 1.58 !important;
}
body.ncr-layout-v227:not(.home) :where(.ncr-shell-eyebrow,.ncr-blog-header__eyebrow,.ncr-archive-clean__eyebrow,.ncr-pro-eyebrow) {
  font-size: .68rem !important;
  letter-spacing: .095em !important;
}

/* ---------- Header ---------- */
body.ncr-layout-v227:not(.home) .ncr-v187-header { min-height: 68px !important; border-bottom: 1px solid var(--ncr-v227-line) !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-header-inner {
  min-height: 68px !important;
  grid-template-columns: minmax(210px, 245px) minmax(0, 1fr) auto !important;
  gap: .7rem !important;
  padding: 0 !important;
}
body.ncr-layout-v227:not(.home) .ncr-v187-logo-wrap .brand-lockup { grid-template-columns: 38px minmax(0, 1fr) !important; gap: .45rem !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-logo-wrap .brand-icon-wrap { width: 38px !important; min-width: 38px !important; height: 38px !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-logo-wrap .brand-icon { width: 34px !important; height: 34px !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-logo-wrap .brand-title { font-size: .9rem !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-logo-wrap .brand-subtitle { font-size: .57rem !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-menu :where(ul,.ncr-nav-list) { gap: .08rem !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-menu a { min-height: 34px !important; padding: .36rem .5rem !important; font-size: .76rem !important; line-height: 1.1 !important; white-space: nowrap; }
body.ncr-layout-v227:not(.home) .ncr-v187-actions { gap: .25rem !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-v187-icon-btn,.ncr-v187-avatar-btn,.ncr-v187-help-cta) { height: 38px !important; min-height: 38px !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-v187-icon-btn,.ncr-v187-avatar-btn) { width: 38px !important; min-width: 38px !important; }
body.ncr-layout-v227:not(.home) .ncr-v187-help-cta { padding-inline: .75rem !important; font-size: .76rem !important; }

/* ---------- Breadcrumbs ---------- */
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ncr-v227-line) !important;
  background: color-mix(in srgb, var(--ncr-v227-soft) 72%, var(--ncr-v227-card)) !important;
}
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs > ol {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  min-height: 38px !important;
  gap: .32rem !important;
  margin-block: 0 !important;
  padding: .42rem 0 !important;
  list-style: none !important;
}
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs li {
  display: inline-flex !important;
  align-items: center !important;
  gap: .32rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  color: var(--ncr-v227-muted) !important;
  font-size: .75rem !important;
  line-height: 1.2 !important;
}
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs li::marker { content: ""; }
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs li + li::before { content: "›"; color: #a17a66; font-weight: 800; }
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs :where(a,span) {
  display: inline !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
}
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs a:hover { color: var(--ncr-v227-accent) !important; text-decoration: underline !important; text-underline-offset: 3px; }
body.ncr-layout-v227:not(.home) .ncr-breadcrumbs span[aria-current="page"] { max-width: min(50vw, 34rem) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ncr-v227-ink) !important; font-weight: 700; }
body.ncr-layout-v227:not(.home) .woocommerce-breadcrumb { display: none !important; }

/* ---------- Internal page shells ---------- */
body.ncr-layout-v227:not(.home) :where(.ncr-shell-hero,.ncr-v225-masthead,.ncr-v224-page-heading,.ncr-v225-community-heading) {
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(1.15rem, 2.5vw, 1.8rem) 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ncr-v227-line) !important;
  background: transparent !important;
}
body.ncr-layout-v227:not(.home) .ncr-shell-hero-inner { display: grid !important; grid-template-columns: 1fr !important; align-items: start !important; gap: .75rem !important; padding: 0 !important; }
body.ncr-layout-v227:not(.home) .ncr-shell-hero-inner > :first-child { width: min(100%, 860px) !important; }
body.ncr-layout-v227:not(.home) .ncr-page-hero-visual { display: none !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-shell-section,.ncr-v225-content-section) { width: 100% !important; margin: 0 !important; padding: clamp(1.25rem, 2.8vw, 2rem) 0 !important; }
body.ncr-layout-v227:not(.home) .ncr-shell-section.is-tight { padding-top: .75rem !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-v225-content-card,.ncr-content-card,.ncr-tool-card) { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
body.ncr-layout-v227:not(.home) .ncr-v225-featured-media { width: min(100%, var(--ncr-v227-reading)) !important; margin: 0 0 1.25rem !important; }
body.ncr-layout-v227:not(.home) .ncr-v225-featured-media img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--ncr-v227-radius); }

body.ncr-layout-v227:not(.home) .ncr-entry-content > :where(p,ul,ol,blockquote,h1,h2,h3,h4,h5,h6,pre,table,figure,.wp-block-group,.wp-block-buttons):not(.alignwide):not(.alignfull) {
  width: auto !important;
  max-width: var(--ncr-v227-reading) !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body.ncr-layout-v227:not(.home) .ncr-entry-content > :where(p,ul,ol,blockquote) { margin-top: 0 !important; margin-bottom: 1rem !important; }
body.ncr-layout-v227:not(.home) .ncr-entry-content :where(ul,ol) { padding-left: 1.25rem !important; }
body.ncr-layout-v227:not(.home) .ncr-entry-content blockquote { padding: .8rem 1rem !important; border-left: 3px solid var(--ncr-v227-accent) !important; background: var(--ncr-v227-soft) !important; }

/* Groups of links that are clearly page actions become actual button rows.
   Normal links inside prose remain ordinary, readable hyperlinks. */
body.ncr-layout-v227:not(.home) .ncr-entry-content .ncr-auto-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .6rem !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 1.25rem 0 0 !important;
}
body.ncr-layout-v227:not(.home) .ncr-entry-content .ncr-auto-actions > a.ncr-action-link,
body.ncr-layout-v227:not(.home) :where(.ncr-shell-btn,.ncr-btn,.wp-block-button__link,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce .added_to_cart) {
  display: inline-flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .4rem !important;
  padding: .62rem .9rem !important;
  border: 1px solid var(--ncr-v227-accent) !important;
  border-radius: 9px !important;
  background: var(--ncr-v227-accent) !important;
  color: #fff !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
body.ncr-layout-v227:not(.home) .ncr-entry-content .ncr-auto-actions > a.ncr-action-link.is-secondary,
body.ncr-layout-v227:not(.home) .ncr-shell-btn.is-light {
  border-color: var(--ncr-v227-line) !important;
  background: var(--ncr-v227-card) !important;
  color: var(--ncr-v227-ink) !important;
}
body.ncr-layout-v227:not(.home) .ncr-entry-content .ncr-auto-actions > a:hover,
body.ncr-layout-v227:not(.home) :where(.ncr-shell-btn,.ncr-btn,.wp-block-button__link,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce .added_to_cart):hover { transform: translateY(-1px); border-color: var(--ncr-v227-accent-dark) !important; }
body.ncr-layout-v227:not(.home) :where(.entry-content,.ncr-entry-content,.woocommerce-Tabs-panel,.woocommerce-MyAccount-content) a:not(.button):not(.wp-element-button):not(.wp-block-button__link):not(.ncr-shell-btn):not(.ncr-action-link) { color: var(--ncr-v227-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Authority/resource sections + FAQ ---------- */
body.ncr-layout-v227:not(.home) .ncr-authority-section {
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(1.5rem, 3.4vw, 2.6rem) 0 !important;
  background: transparent !important;
}
body.ncr-layout-v227:not(.home) .ncr-authority-section.is-soft { border-block: 1px solid var(--ncr-v227-line); background: color-mix(in srgb, var(--ncr-v227-soft) 54%, transparent) !important; }
body.ncr-layout-v227:not(.home) .ncr-authority-heading { width: min(100%, 800px) !important; max-width: 800px !important; margin: 0 0 1.1rem !important; }
body.ncr-layout-v227:not(.home) .ncr-authority-heading h2 { max-width: 32ch !important; margin: .15rem 0 .45rem !important; font-size: clamp(1.4rem, 1.85vw, 1.8rem) !important; line-height: 1.12 !important; }
body.ncr-layout-v227:not(.home) .ncr-authority-heading p { max-width: 72ch !important; margin: 0 !important; color: var(--ncr-v227-muted) !important; font-size: .91rem !important; line-height: 1.68 !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-authority-grid,.ncr-shell-grid) { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: .75rem !important; align-items: stretch !important; }
body.ncr-layout-v227:not(.home) .ncr-shell-grid.cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
body.ncr-layout-v227:not(.home) .ncr-shell-grid.cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-authority-grid > *,.ncr-shell-card) { min-width: 0 !important; margin: 0 !important; padding: .9rem !important; border: 1px solid var(--ncr-v227-line) !important; border-radius: 11px !important; background: var(--ncr-v227-card) !important; box-shadow: none !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-authority-grid > *,.ncr-shell-card) h3 { margin: 0 0 .3rem !important; font-size: 1.05rem !important; }
body.ncr-layout-v227:not(.home) :where(.ncr-authority-grid > *,.ncr-shell-card) p { margin: 0 !important; font-size: .84rem !important; line-height: 1.6 !important; }
body.ncr-layout-v227:not(.home) .ncr-local-coverage { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: .8rem !important; margin-top: .8rem !important; }
body.ncr-layout-v227:not(.home) .ncr-local-coverage > div { padding: .9rem 1rem !important; border: 1px solid var(--ncr-v227-line) !important; border-radius: 11px !important; background: var(--ncr-v227-soft) !important; }
body.ncr-layout-v227:not(.home) .ncr-local-coverage h3 { margin: 0 0 .3rem !important; font-size: 1.02rem !important; }
body.ncr-layout-v227:not(.home) .ncr-local-coverage p { margin: 0 !important; font-size: .84rem !important; }
body.ncr-layout-v227:not(.home) .ncr-answer-layout { display: grid !important; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr) !important; gap: clamp(1rem, 3vw, 2rem) !important; align-items: start !important; }
body.ncr-layout-v227:not(.home) .ncr-answer-layout > .ncr-authority-heading { margin: 0 !important; }
body.ncr-layout-v227:not(.home) .ncr-answer-list { display: grid !important; gap: .65rem !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; }
body.ncr-layout-v227:not(.home) .ncr-answer-list details {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--ncr-v227-line) !important;
  border-radius: 11px !important;
  background: var(--ncr-v227-card) !important;
}
body.ncr-layout-v227:not(.home) .ncr-answer-list summary {
  position: relative;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: .9rem 2.75rem .9rem 1rem !important;
  color: var(--ncr-v227-ink) !important;
  font-size: .96rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  cursor: pointer;
  list-style: none !important;
}
body.ncr-layout-v227:not(.home) .ncr-answer-list summary::-webkit-details-marker { display: none; }
body.ncr-layout-v227:not(.home) .ncr-answer-list summary::after { content: "+"; position: absolute; top: 50%; right: 1rem; transform: translateY(-50%); color: var(--ncr-v227-accent); font-size: 1.1rem; font-weight: 500; }
body.ncr-layout-v227:not(.home) .ncr-answer-list details[open] summary::after { content: "−"; }
body.ncr-layout-v227:not(.home) .ncr-answer-list details[open] summary { padding-bottom: .55rem !important; }
body.ncr-layout-v227:not(.home) .ncr-answer-list details > :not(summary) {
  width: min(100%, 76ch) !important;
  max-width: 76ch !important;
  margin: 0 !important;
  padding: 0 1rem 1rem !important;
  color: var(--ncr-v227-muted) !important;
  font-size: .9rem !important;
  line-height: 1.68 !important;
}
body.ncr-layout-v227:not(.home) .ncr-shop-after { margin-top: 2rem !important; padding-top: 1.7rem !important; }
body.ncr-layout-v227:not(.home) .ncr-shop-after .ncr-authority-heading { max-width: 900px !important; }
body.ncr-layout-v227:not(.home) .ncr-shop-actions { display: flex !important; flex-wrap: wrap !important; gap: .55rem !important; margin-top: .8rem !important; }

/* Resource page: remove the old large empty visual gaps between stacked sections. */
body.ncr-layout-v227.ncr-v226-page .ncr-page-resources .ncr-shell-section + .ncr-authority-section,
body.ncr-layout-v227 .ncr-page-resources .ncr-shell-section + .ncr-authority-section { padding-top: .5rem !important; }

/* ---------- Community ---------- */
body.ncr-layout-v227.ncr-v227-community,
body.ncr-layout-v227.ncr-v226-community { background: var(--ncr-v227-bg) !important; }
body.ncr-layout-v227 .ncr-community-app-page { width: 100% !important; margin: 0 !important; padding: 0 0 2.5rem !important; background: transparent !important; }
body.ncr-layout-v227 .ncr-community-app-wrap { padding: 0 !important; }
body.ncr-layout-v227 .ncr-v225-community-heading { padding: 1.2rem 0 .9rem !important; }
body.ncr-layout-v227 .ncr-v225-community-heading h1 { font-size: clamp(1.75rem, 2.15vw, 2.2rem) !important; }
body.ncr-layout-v227 .ncr-community-safety { margin: .7rem 0 .8rem !important; padding: .65rem .8rem !important; border: 1px solid var(--ncr-v227-line) !important; border-left: 3px solid var(--ncr-v227-accent) !important; border-radius: 9px !important; background: var(--ncr-v227-soft) !important; color: var(--ncr-v227-ink) !important; font-size: .78rem !important; line-height: 1.5 !important; }
body.ncr-layout-v227 :where(.ncr-community-module,.ncr-v225-community-module) { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.ncr-layout-v227 .ncr-community-isolation-shell { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; background: transparent !important; contain: none !important; isolation: auto !important; overflow: visible !important; }
body.ncr-layout-v227 .ncr-community-isolation-inner,
body.ncr-layout-v227 :where(.ncr-pro-community-app,.ncr-community-shell) { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.ncr-layout-v227 .ncr-pro-community-header { display: grid !important; grid-template-columns: minmax(0,1fr) auto !important; align-items: end !important; gap: .8rem !important; margin: 0 0 .7rem !important; padding: 1rem 1.1rem !important; border-radius: 14px !important; box-shadow: none !important; }
body.ncr-layout-v227 .ncr-pro-community-header h2 { max-width: 26ch !important; margin: .25rem 0 .35rem !important; font-size: clamp(1.35rem, 1.8vw, 1.72rem) !important; line-height: 1.08 !important; letter-spacing: -.02em !important; }
body.ncr-layout-v227 .ncr-pro-community-header p { max-width: 68ch !important; margin: 0 !important; font-size: .86rem !important; line-height: 1.55 !important; }
body.ncr-layout-v227 .ncr-pro-community-header .ncr-pro-button { min-height: 38px !important; padding: .55rem .8rem !important; font-size: .78rem !important; }
body.ncr-layout-v227 .ncr-pro-community-nav { display: flex !important; flex-wrap: nowrap !important; gap: .25rem !important; width: 100% !important; margin: 0 0 .75rem !important; padding: .3rem !important; overflow-x: auto !important; border-radius: 12px !important; box-shadow: none !important; scrollbar-width: thin; }
body.ncr-layout-v227 .ncr-pro-community-nav a { flex: 1 1 0 !important; min-width: 110px !important; min-height: 38px !important; padding: .48rem .65rem !important; border-radius: 8px !important; font-size: .78rem !important; white-space: nowrap !important; }
body.ncr-layout-v227 .ncr-pro-community-layout { display: grid !important; grid-template-columns: minmax(190px,225px) minmax(0,1fr) minmax(210px,250px) !important; gap: .75rem !important; width: 100% !important; max-width: 100% !important; align-items: start !important; }
body.ncr-layout-v227 :where(.ncr-pro-left-rail,.ncr-pro-community-sidebar) { position: sticky !important; top: 86px !important; gap: .75rem !important; }
body.ncr-layout-v227 :where(.ncr-pro-feed-main,.ncr-pro-feed-list,.ncr-pro-left-rail,.ncr-pro-community-sidebar,.ncr-pro-community-layout) { min-width: 0 !important; max-width: 100% !important; }
body.ncr-layout-v227 :where(.ncr-pro-member-card,.ncr-pro-side-card,.ncr-pro-composer,.ncr-pro-post-card,.ncr-pro-login-panel,.ncr-pro-profile-hero,.ncr-pro-profile-about,.ncr-pro-profile-form,.ncr-pro-notification,.ncr-pro-group-card) { border-radius: 12px !important; box-shadow: none !important; }
body.ncr-layout-v227 .ncr-pro-composer { padding: .9rem !important; }
body.ncr-layout-v227 .ncr-pro-side-card { padding: .85rem !important; }
body.ncr-layout-v227 .ncr-pro-side-card h3 { font-size: .98rem !important; }
body.ncr-layout-v227 .ncr-pro-side-card :where(p,li,a) { font-size: .8rem !important; }

/* ---------- WooCommerce ---------- */
body.ncr-layout-v227 .ncr-woo-wrap { padding: clamp(1.25rem, 2.8vw, 2rem) 0 clamp(2.5rem, 5vw, 4rem) !important; }
body.ncr-layout-v227 .ncr-v225-commerce-heading { width: 100% !important; margin: 0 !important; padding: 0 0 1rem !important; border: 0 !important; background: transparent !important; }
body.ncr-layout-v227 :where(.ncr-woo-card,.ncr-v225-catalogue-panel,.ncr-v225-product-panel) { width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.ncr-layout-v227 .woocommerce .woocommerce-result-count { float: none !important; margin: 0 0 .65rem !important; color: var(--ncr-v227-muted) !important; font-size: .78rem !important; }
body.ncr-layout-v227 .woocommerce .woocommerce-ordering { float: none !important; margin: 0 0 .9rem !important; }
body.ncr-layout-v227 .woocommerce .woocommerce-ordering select { min-width: 210px; min-height: 40px; padding: .45rem 2rem .45rem .65rem; border: 1px solid var(--ncr-v227-line); border-radius: 8px; background: var(--ncr-v227-card); color: var(--ncr-v227-ink); }
body.ncr-layout-v227 .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: .9rem !important; width: 100% !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.ncr-layout-v227 .woocommerce ul.products::before,
body.ncr-layout-v227 .woocommerce ul.products::after { display: none !important; }
body.ncr-layout-v227 .woocommerce ul.products li.product { display: flex !important; flex-direction: column !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: .72rem !important; border: 1px solid var(--ncr-v227-line) !important; border-radius: 11px !important; background: var(--ncr-v227-card) !important; box-shadow: none !important; }
body.ncr-layout-v227 .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: block !important; color: inherit !important; text-decoration: none !important; }
body.ncr-layout-v227 .woocommerce ul.products li.product a img { width: 100% !important; aspect-ratio: 1/1 !important; object-fit: cover !important; margin: 0 0 .65rem !important; border-radius: 8px !important; }
body.ncr-layout-v227 .woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 0 .35rem !important; padding: 0 !important; font-size: .91rem !important; line-height: 1.28 !important; }
body.ncr-layout-v227 .woocommerce ul.products li.product .price { margin: 0 0 .6rem !important; color: var(--ncr-v227-accent) !important; font-size: .9rem !important; font-weight: 800 !important; }
body.ncr-layout-v227 .woocommerce ul.products li.product :where(.button,.added_to_cart) { width: 100% !important; margin-top: auto !important; }

body.ncr-layout-v227.single-product .ncr-woo-wrap { padding-top: 1.15rem !important; }
body.ncr-layout-v227 .woocommerce div.product { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(300px,.9fr) !important; gap: clamp(1rem, 2.5vw, 1.8rem) !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: clamp(.9rem, 2vw, 1.2rem) !important; border: 1px solid var(--ncr-v227-line) !important; border-radius: 12px !important; background: var(--ncr-v227-card) !important; box-shadow: none !important; }
body.ncr-layout-v227 .woocommerce div.product :where(div.images,div.summary) { width: 100% !important; max-width: 100% !important; min-width: 0 !important; float: none !important; margin: 0 !important; }
body.ncr-layout-v227 .woocommerce div.product .product_title { max-width: 26ch !important; font-size: clamp(1.55rem, 2vw, 2rem) !important; }
body.ncr-layout-v227 .woocommerce div.product :where(p.price,span.price) { margin: .5rem 0 !important; color: var(--ncr-v227-accent) !important; font-size: 1.02rem !important; font-weight: 800 !important; }
body.ncr-layout-v227 .woocommerce div.product .woocommerce-product-details__short-description { max-width: 62ch !important; margin: .65rem 0 !important; color: var(--ncr-v227-muted) !important; }
body.ncr-layout-v227 .woocommerce div.product form.cart,
body.ncr-layout-v227 .woocommerce div.product form.variations_form { width: 100% !important; margin: .85rem 0 !important; }
body.ncr-layout-v227 .woocommerce div.product table.variations { width: 100% !important; margin: 0 0 .65rem !important; border: 0 !important; }
body.ncr-layout-v227 .woocommerce div.product table.variations tr { display: grid !important; grid-template-columns: minmax(85px,110px) minmax(0,1fr) !important; gap: .5rem !important; align-items: center !important; }
body.ncr-layout-v227 .woocommerce div.product table.variations :where(th,td) { width: auto !important; padding: .2rem 0 !important; border: 0 !important; text-align: left !important; }
body.ncr-layout-v227 .woocommerce div.product table.variations select { width: 100% !important; min-height: 40px !important; padding: .45rem .6rem !important; border: 1px solid var(--ncr-v227-line) !important; border-radius: 8px !important; background: var(--ncr-v227-card) !important; color: var(--ncr-v227-ink) !important; }
body.ncr-layout-v227 .woocommerce div.product :where(.woocommerce-tabs,.related,.upsells) { grid-column: 1/-1 !important; width: 100% !important; margin-top: 1.1rem !important; }
body.ncr-layout-v227 .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex !important; gap: .3rem !important; margin: 0 0 .7rem !important; padding: 0 !important; overflow-x: auto !important; list-style: none !important; }
body.ncr-layout-v227 .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.ncr-layout-v227 .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.ncr-layout-v227 .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.ncr-layout-v227 .woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 1px solid var(--ncr-v227-line) !important; border-radius: 8px !important; background: var(--ncr-v227-soft) !important; }
body.ncr-layout-v227 .woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block !important; padding: .46rem .68rem !important; font-size: .77rem !important; color: var(--ncr-v227-ink) !important; text-decoration: none !important; white-space: nowrap; }
body.ncr-layout-v227 .woocommerce div.product .woocommerce-tabs .panel { margin: 0 !important; padding: .9rem !important; border: 1px solid var(--ncr-v227-line) !important; border-radius: 9px !important; }
body.ncr-layout-v227 .woocommerce div.product :where(.related,.upsells) > h2 { font-size: 1.25rem !important; }

/* Cart / checkout / account + standard controls */
body.ncr-layout-v227 .ncr-v224-page-shell { padding: clamp(1.2rem, 2.7vw, 2rem) 0 clamp(2.5rem, 5vw, 4rem) !important; }
body.ncr-layout-v227 .ncr-v224-page-heading { margin-bottom: .9rem !important; padding: 0 0 .8rem !important; }
body.ncr-layout-v227 :where(.ncr-v224-commerce-panel,.ncr-v224-commerce-panel > .woocommerce,.ncr-v224-commerce-panel .wp-block-woocommerce-cart,.ncr-v224-commerce-panel .wp-block-woocommerce-checkout) { width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; }
body.ncr-layout-v227 .woocommerce form .form-row { margin: 0 0 .7rem !important; }
body.ncr-layout-v227 .woocommerce form .form-row label { display: block !important; margin: 0 0 .22rem !important; font-size: .78rem !important; font-weight: 800 !important; }
body.ncr-layout-v227 .woocommerce :where(input.input-text,textarea,select) { width: 100%; min-height: 40px; padding: .5rem .6rem; border: 1px solid var(--ncr-v227-line); border-radius: 8px; background: var(--ncr-v227-card); color: var(--ncr-v227-ink); }
body.ncr-layout-v227 .ncr-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.ncr-layout-v227 .woocommerce table.shop_table { min-width: 680px; }
body.ncr-layout-v227 :where(.wc-block-cart,.wc-block-checkout,.wc-block-components-sidebar-layout,.wc-block-components-main,.wc-block-components-sidebar) { min-width: 0 !important; max-width: 100% !important; }

/* ---------- Responsive breakpoints ---------- */
@media (max-width: 1120px) {
  body.ncr-layout-v227:not(.home) .ncr-v187-header-inner { grid-template-columns: minmax(205px,1fr) auto !important; }
  body.ncr-layout-v227:not(.home) .ncr-v187-menu { display: none !important; }
  body.ncr-layout-v227:not(.home) .ncr-v187-menu-toggle { display: inline-grid !important; }
  body.ncr-layout-v227 .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  body.ncr-layout-v227:not(.home) .ncr-shell-grid.cols-4 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.ncr-layout-v227 .ncr-pro-community-layout { grid-template-columns: minmax(0,1fr) minmax(220px,260px) !important; }
  body.ncr-layout-v227 .ncr-pro-left-rail { display: none !important; }
}

@media (max-width: 900px) {
  body.home .ncr-home-title { font-size: clamp(2.55rem, 8vw, 4rem) !important; }
  body.home .ncr-home-hero { min-height: auto !important; }
  body.ncr-layout-v227:not(.home) :where(.ncr-authority-grid,.ncr-shell-grid,.ncr-blog-grid,.ncr-archive-clean__grid) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.ncr-layout-v227:not(.home) .ncr-answer-layout { grid-template-columns: 1fr !important; }
  body.ncr-layout-v227:not(.home) .ncr-local-coverage { grid-template-columns: 1fr !important; }
  body.ncr-layout-v227 .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.ncr-layout-v227 .woocommerce div.product { grid-template-columns: 1fr !important; }
  body.ncr-layout-v227 .woocommerce div.product :where(.woocommerce-tabs,.related,.upsells) { grid-column: auto !important; }
  body.ncr-layout-v227 .ncr-pro-community-layout { grid-template-columns: 1fr !important; }
  body.ncr-layout-v227 .ncr-pro-community-sidebar { position: static !important; }
}

@media (max-width: 680px) {
  :root { --ncr-v227-gutter: 1rem; }
  body.home .ncr-home-title { font-size: clamp(2.35rem, 11vw, 3.25rem) !important; }
  body.home .ncr-home-hero { padding-block: 2.25rem !important; }
  body.ncr-layout-v227:not(.home) :where(.ncr-shell-title,.ncr-page-title,.entry-title,.ncr-v225-masthead h1,.ncr-v225-community-heading h1,.ncr-v224-page-heading h1,.ncr-v225-commerce-heading h1,.woocommerce-products-header__title,.woocommerce div.product .product_title) { font-size: clamp(1.55rem, 7vw, 1.9rem) !important; }
  body.ncr-layout-v227:not(.home) .ncr-v187-header,
  body.ncr-layout-v227:not(.home) .ncr-v187-header-inner { min-height: 62px !important; }
  body.ncr-layout-v227:not(.home) .ncr-v187-help-cta { display: none !important; }
  body.ncr-layout-v227:not(.home) .ncr-breadcrumbs > ol { flex-wrap: nowrap !important; overflow-x: auto !important; scrollbar-width: none; }
  body.ncr-layout-v227:not(.home) .ncr-breadcrumbs > ol::-webkit-scrollbar { display: none; }
  body.ncr-layout-v227:not(.home) .ncr-breadcrumbs li { flex: 0 0 auto !important; }
  body.ncr-layout-v227:not(.home) .ncr-breadcrumbs span[aria-current="page"] { max-width: 58vw !important; }
  body.ncr-layout-v227:not(.home) :where(.ncr-authority-grid,.ncr-shell-grid,.ncr-shell-grid.cols-2,.ncr-shell-grid.cols-3,.ncr-shell-grid.cols-4,.ncr-blog-grid,.ncr-archive-clean__grid) { grid-template-columns: 1fr !important; }
  body.ncr-layout-v227:not(.home) .ncr-entry-content .ncr-auto-actions { display: grid !important; grid-template-columns: 1fr !important; }
  body.ncr-layout-v227:not(.home) .ncr-entry-content .ncr-auto-actions > a { width: 100% !important; }
  body.ncr-layout-v227 .ncr-pro-community-header { grid-template-columns: 1fr !important; padding: .85rem !important; }
  body.ncr-layout-v227 .ncr-pro-community-header h2 { max-width: none !important; }
  body.ncr-layout-v227 .ncr-pro-community-nav a { flex: 0 0 auto !important; min-width: 108px !important; }
  body.ncr-layout-v227 .woocommerce ul.products { grid-template-columns: 1fr !important; }
  body.ncr-layout-v227 .woocommerce .woocommerce-ordering select { width: 100%; min-width: 0; }
  body.ncr-layout-v227 .woocommerce div.product { padding: .75rem !important; }
  body.ncr-layout-v227 .woocommerce div.product table.variations tr { grid-template-columns: 1fr !important; gap: .1rem !important; }
  body.ncr-layout-v227 .woocommerce div.product :where(.woocommerce-variation-add-to-cart,form.cart:not(.variations_form)) { display: grid !important; grid-template-columns: 1fr !important; gap: .5rem !important; }
  body.ncr-layout-v227 .woocommerce div.product :where(.quantity,.quantity .qty,.single_add_to_cart_button) { width: 100% !important; }
}

@media (max-width: 430px) {
  :root { --ncr-v227-gutter: .75rem; }
  body.ncr-layout-v227:not(.home) .ncr-v187-logo-wrap .brand-subtitle { display: none !important; }
  body.ncr-layout-v227:not(.home) .ncr-v187-logo-wrap .brand-title { font-size: .82rem !important; }
  body.ncr-layout-v227:not(.home) .ncr-v187-actions { gap: .15rem !important; }
  body.ncr-layout-v227:not(.home) :where(.ncr-v187-icon-btn,.ncr-v187-avatar-btn) { width: 36px !important; min-width: 36px !important; height: 36px !important; }
  body.ncr-layout-v227:not(.home) .ncr-answer-list summary { padding: .78rem 2.35rem .78rem .8rem !important; font-size: .9rem !important; }
  body.ncr-layout-v227:not(.home) .ncr-answer-list details > :not(summary) { padding: 0 .8rem .85rem !important; }
}
