/* Purchasing pages share the same gutters, field rhythm and action alignment. */
:root {
  --nc-layout-edge: clamp(14px, 4.1vw, 24px);
  --nc-layout-line: #d6e4da;
  --nc-layout-ink: #143a32;
  --nc-layout-muted: #47665a;
  --nc-layout-soft: #f0f6f0;
}

.nc-reading-panel {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid var(--nc-layout-line);
  border-radius: 14px;
  background: #fff;
}
.nc-reading-panel > summary,
.nc-opt-detail > summary,
.nc-opt-export > summary {
  cursor: pointer;
  padding: 13px 16px;
  color: var(--nc-layout-ink);
  font-weight: 720;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.nc-reading-panel > summary:focus-visible,
.nc-opt-detail > summary:focus-visible,
.nc-opt-export > summary:focus-visible {
  outline: 2px solid #168367;
  outline-offset: 2px;
  border-radius: 8px;
}
.nc-reading-panel > summary > :is(h2, h3) {
  display: inline;
  font: inherit !important;
  margin: 0 !important;
}
.nc-reading-panel__body {padding: 0 16px 16px}
.nc-reading-panel__body > :last-child {margin-bottom: 0}
.nc-reading-panel--standalone {
  width: min(960px, 100% - 2 * var(--nc-layout-edge));
  margin: 14px auto;
}
.seo-copy-card:has(> .nc-reading-panel),
.card:has(> .nc-reading-panel) {padding: 0 !important; background: transparent; border: 0; box-shadow: none}
body.nc-v11 .nc-reading-panel > .seo-commercial-max {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] .b2b-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto;
  align-items: start;
  gap: clamp(18px, 3.5vw, 42px) !important;
}
body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] .b2b-hero > :is(.b2b-hero__copy, .b2b-lead-card) {
  grid-area: auto;
  min-width: 0;
}
body.nc-v11[data-ui-page=opt] .b2b-hero__copy {padding: 0}
body.nc-v11[data-ui-page=opt] .b2b-hero__copy .b2b-lead {line-height: 1.52 !important}
body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] .b2b-hero .nc-proc-hero-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 16px 0 !important;
}
body.nc-v11[data-ui-page=opt] .nc-proc-hero-actions > .btn {margin: 0 !important}
.nc-opt-facts, .nc-opt-tiers {
  display: grid;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.nc-opt-facts {grid-template-columns: repeat(2, minmax(0, 1fr))}
.nc-opt-facts > li, .nc-opt-tiers > li {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--nc-layout-line);
  border-radius: 9px;
  background: #fff;
  color: var(--nc-layout-ink);
  line-height: 1.3;
}
.nc-opt-facts > li:last-child {grid-column: 1 / -1; background: #e6f2e7}
.nc-opt-facts strong {font-size: 14px}
.nc-opt-facts span, .nc-opt-tiers span {font-size: 12px; color: var(--nc-layout-muted)}
body.nc-v11 #kp-form input[type=file] {max-width: 100%; min-width: 0}
body.nc-v11 #kp-form .b2b-extra__fields {display: grid; gap: 9px}
body.nc-v11 #kp-form .b2b-extra__fields label {margin-bottom: 0}
body.nc-v11 #kp-form label[for=kp-message] small {font-weight: 400; color: var(--nc-layout-muted)}
body.nc-v11 #kp-form textarea {min-height: 62px; height: 66px}
body.nc-v11 #kp-form > .agreebox {align-items: start}
body.nc-v11 #kp-form > [data-b2b-quote-context] {overflow-wrap: anywhere}

.nc-opt-pricing__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
body.nc-v11 .nc-opt-pricing__head h2 {margin: 0 !important}
.nc-opt-pricing__head p, .nc-opt-pricing__note, .nc-opt-unit > p {
  margin: 5px 0 0;
  color: var(--nc-layout-muted);
  font-size: 14px;
  line-height: 1.5;
}
.nc-opt-pricing__note {margin-top: 10px}
.nc-opt-downloads {display: inline-flex; flex-wrap: wrap; gap: 5px 12px}
.nc-opt-pricing__note a {color: #075d48; font-weight: 680; text-decoration: underline; text-underline-offset: .2em}
.nc-opt-tiers {grid-template-columns: repeat(4, minmax(0, 1fr))}
.nc-opt-tiers > li {padding: 12px}
.nc-opt-tiers > li:last-child {background: #e4f2e8; border-color: #b8d8c5}
.nc-opt-tiers strong {font-size: clamp(17px, 2vw, 22px); font-variant-numeric: tabular-nums}
.nc-opt-unit {margin: 12px 0}
.nc-opt-unit > p {margin: 0 0 7px}
.nc-opt-unit .nc-opt-tiers > li {padding: 8px 10px}
.nc-opt-unit .nc-opt-tiers strong {font-size: 16px}
.nc-opt-selection .b2b-selected :is(th, td) {min-width: 0}
.nc-opt-selection .b2b-selected td:last-child {width: 1%; text-align: right}
.nc-opt-detail, .nc-opt-export {
  margin: 8px 0;
  border: 1px solid var(--nc-layout-line);
  border-radius: 12px;
  background: #fff;
}
.nc-opt-detail__body {padding: 0 14px 14px; min-width: 0}
body.nc-v11 .nc-opt-detail__body > h2 {font-size: 19px !important; margin: 0 0 8px !important}
.nc-opt-detail__body .nc-order-case {max-width: 600px; margin: 0}
.nc-opt-export .spec-actions {margin: 0; padding: 0 14px 4px}
.nc-opt-export .spec-note:not(:empty) {padding: 0 14px 8px}
.nc-opt-export .spec-note:empty {display: none}
body.nc-v11 [data-b2b-calculator] [hidden] {display: none !important}

@media screen and (max-width: 900px) {
  body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] .b2b-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}

@media screen and (max-width: 820px) {
  /* The visible edges of header, page content and footer use one gutter. */
  body.nc-v11.nc-v8.nc-v4.v3-site :is(.wrap,.headerV3__main,.footerV3__bottom) {
    padding-inline: var(--nc-layout-edge) !important;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site :is(.wrap > .wrap, .wrap > .v2-section > .wrap) {
    padding-inline: 0 !important;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site main > :is(.v2-section,.req-card,.nc-flow-cards,h1):not(.wrap) {
    width: calc(100% - 2 * var(--nc-layout-edge));
    margin-inline: auto !important;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site main > .v2-section:not(.wrap) > .wrap {padding-inline: 0 !important}
  body.nc-v11.nc-v8.nc-v4.v3-site main > .wrap.nc-legal {
    padding: clamp(14px, 4vw, 24px) !important;
    margin-inline: auto;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site :where(.v2-section, .card, .pcard, .productInfo, .cartSide, .checkout-grid > *) {
    min-width: 0;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site :is(h1, h2, h3, .btn, .pcard .title) {overflow-wrap: anywhere}
  body.nc-v11.nc-v8.nc-v4.v3-site :is(h1,h2) {text-wrap: balance}
  body.nc-v11.nc-v8.nc-v4.v3-site :is(main, .footer-v3, .b2b-modal) .btn {
    white-space: normal !important;
    line-height: 1.3;
    text-align: center;
    justify-content: center;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site :is(.nc-order-contacts,.b2b-modal__panel,.v2-contact-card,.nc-legal) :is(a[href^="mailto:"],a[href^="tel:"]) {
    overflow-wrap: anywhere;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site :is(.v2-catalog-tools__row, .tenty-filters__grid, .nc-price-filters) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: end;
  }
  body.nc-v11 :is(.v2-catalog-tools__row, .tenty-filters__grid, .nc-price-filters, .b2b-picker-row, .b2b-form-row) > * {min-width: 0}
  body.nc-v11 :is(.v2-catalog-tools__row, .tenty-filters__grid, .nc-price-filters, .b2b-picker-row, .b2b-form-row) :is(input, select) {
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
  body.nc-v11 .nc-price-filters label {min-width: 0}
  body.nc-v11 .nc-price-table td.nc-price-amount {min-width: 0 !important; text-align: left}
  body.nc-v11 .nc-price-table .nc-price-action .btn {display: flex; width: 100%; min-height: 44px}

  body.nc-v11.nc-v8.nc-v4.v3-site :is(.v2-location__actions, .priceStrip__actions, .seo-size-hero .v2-actions, .nc-price-hero .v2-actions, .nc-flow-actions, .nc-proc-guide__actions, .spec-actions) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100%;
    align-items: stretch;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site :is(.v2-location__actions, .priceStrip__actions, .seo-size-hero .v2-actions, .nc-price-hero .v2-actions, .nc-flow-actions, .nc-proc-guide__actions, .spec-actions) > .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    margin: 0 !important;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site :is(.v2-location__actions, .priceStrip__actions, .seo-size-hero .v2-actions, .nc-price-hero .v2-actions, .nc-flow-actions, .nc-proc-guide__actions, .spec-actions) > .btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-quick-contacts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px !important;
    align-items: start !important;
    width: 100%;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-quick-contacts :is(.nc-contact, .nc-max-contact) {min-width: 0; width: 100%; margin: 0 !important}
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-quick-contacts > .nc-contact,
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-quick-contacts summary.nc-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding-inline: 3px !important;
    font-size: 12px !important;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-max-contact__content {
    right: 0;
    left: auto;
    max-width: min(210px, calc(100vw - 2 * var(--nc-layout-edge)));
  }
  body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=article] main > .wrap > .table {
    display: block;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-picker-v7 .nc-live-selection__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: end;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-picker-v7 select {width: 100%; min-width: 0; font-size: 16px !important}
  body.nc-v11.home .v2-density-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 8px !important;
  }
  body.nc-v11.home .v2-density {min-width: 0; overflow-wrap: anywhere}
  body.nc-v11.home .v2-density > :last-child {margin-top: auto}
  body.nc-v11.home .nc-popular__header > .nc-popular__catalog {min-height: 44px}
  body.nc-v11.nc-v8.nc-v4.v3-site .footerV3__cta {
    display: flex;
    width: min(100%, 420px);
    min-height: 44px;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .footerV3__bottom > span:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .footerV3__bottom a {margin: 0}
  body.nc-v11.nc-v8.nc-v4.v3-site .seo-footer-nav nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .seo-footer-nav a {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 40px;
    padding: 4px;
    border: 1px solid #ffffff36;
    border-radius: 8px;
    line-height: 1.3;
  }

  body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] .b2b-hero {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  body.nc-v11[data-ui-page=opt] .b2b-hero__copy {
    padding: clamp(14px, 3.8vw, 22px);
    border: 1px solid var(--nc-layout-line);
    border-radius: 14px;
    background: var(--nc-layout-soft);
  }
  body.nc-v11[data-ui-page=opt] .b2b-hero__copy h1 {margin-top: 0 !important}
  body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] .b2b-hero .b2b-lead-card {
    width: 100%;
    padding: clamp(13px, 3.8vw, 20px) !important;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] :is(.b2b-picker-row, .nc-opt-batch-actions) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .nc-opt-pricing__head > .btn {min-height: 44px}
  .nc-opt-selection {border: 0 !important; overflow: visible !important; background: transparent !important}
  .nc-opt-selection .b2b-selected,
  .nc-opt-selection .b2b-selected tbody {display: block; min-width: 0; width: 100%}
  .nc-opt-selection .b2b-selected caption {display: block; text-align: left; margin-bottom: 6px}
  .nc-opt-selection .b2b-selected thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }
  .nc-opt-selection .b2b-selected tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 7px;
    margin: 0 0 8px;
    padding: 10px;
    border: 1px solid var(--nc-layout-line);
    border-radius: 11px;
    background: #fff;
  }
  .nc-opt-selection .b2b-selected tbody :is(th, td) {
    display: block;
    border: 0;
    padding: 4px 5px;
    min-width: 0;
    width: auto;
    white-space: normal;
  }
  .nc-opt-selection .b2b-selected tbody th {grid-column: 1 / -1; overflow-wrap: anywhere}
  .nc-opt-selection .b2b-selected td:nth-child(2) {grid-column: 1; grid-row: 2}
  .nc-opt-selection .b2b-selected td:nth-child(5) {grid-column: 2; grid-row: 2; padding: 0 5px 4px; align-self: end}
  .nc-opt-selection .b2b-selected td:nth-child(2) input {width: 100%; min-height: 44px; font-size: 16px}
  .nc-opt-selection .b2b-selected td:nth-child(5) button {width: 44px; min-height: 44px; margin: 0}
  .nc-opt-selection .b2b-selected :is(td:nth-child(3), td:nth-child(4)) {
    background: var(--nc-layout-soft);
    border-radius: 7px;
    padding: 6px 8px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
  }
  .nc-opt-selection .b2b-selected td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    color: var(--nc-layout-muted);
    font-weight: 500;
  }

  body.nc-v11.nc-v8.nc-v4.v3-site.cart-page .cartRow {
    grid-template-columns: clamp(61px, 18vw, 90px) minmax(0, 1fr) !important;
    gap: 8px 12px !important;
    align-items: start;
  }
  body.nc-v11.cart-page .cartRow__body {display: contents}
  body.nc-v11.cart-page .cartRow__img {grid-row: 1 / 3; align-self: start; width: 100%; height: auto; aspect-ratio: 1}
  body.nc-v11.cart-page .cartRow__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 6px;
  }
  body.nc-v11.cart-page .cartRow__title {overflow-wrap: anywhere}
  body.nc-v11.cart-page .cartRow__remove {margin: 0; min-height: 36px; padding-inline: 4px}
  body.nc-v11.cart-page .cartRow__meta {grid-column: 2; display: grid; gap: 2px; margin: 0}
  body.nc-v11.cart-page .cartRow__meta > span {margin-left: 0 !important}
  body.nc-v11.nc-v8.nc-v4.v3-site.cart-page .cartRow__controls {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center !important;
    gap: 7px 9px !important;
    width: 100%;
    margin: 4px 0 0 !important;
    padding-top: 8px;
    border-top: 1px solid var(--nc-layout-line);
  }
  body.nc-v11.cart-page .cartRow__controls > .qtyCtl {grid-column: 1; grid-row: 1; justify-self: start}
  body.nc-v11.cart-page .cartRow__controls > .cartRow__sum {
    grid-column: 2; grid-row: 1; justify-self: end; text-align: right; margin: 0;
  }
  body.nc-v11.cart-page .cartRow__controls > .muted {grid-column: 1 / -1}
  body.nc-v11.nc-v8.nc-v4.v3-site.cart-page .cartRow__sum .sum {
    font-size: clamp(17px, 5vw, 23px) !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.nc-v11.cart-page .cartRow__controls .qtyCtl :is(button,input) {min-height: 40px}
  body.nc-v11.nc-v8.nc-v4.v3-site.checkout-page .shippingChoices {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 8px !important;
  }
  body.nc-v11.checkout-page .shipChoice {min-width: 0; overflow-wrap: anywhere}
  body.nc-v11.nc-v8.nc-v4.v3-site.checkout-page .shipChoice > span {min-width: 0}
  body.nc-v11.nc-v8.nc-v4.v3-site.checkout-page .checkout-grid .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site.checkout-page .checkout-grid .actions > .btn {margin: 0; min-height: 44px}
  body.nc-v11.checkout-page .summary-actions .btn {width: 100%}

  body.nc-v11.product-page .nc-mobile-buybar > :is(.btn, .nc-mobile-buybar__price) {min-width: 0}
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-mobile-buybar .btn {min-width: 0 !important; max-width: none; flex: 1 1 50%}
  body.nc-v11.product-page .nc-mobile-buybar__price {flex: 0 1 42%}
  body.nc-v11.product-page .nc-mobile-buybar__price strong {overflow-wrap: anywhere}
  body.nc-v11.product-page #bulkCard .bulk-mobile {width: 100%}
  body.nc-v11.product-page #bulkCard .bulk-mobile tr > * {width: 50%; min-width: 0}
  body.nc-v11.product-page .nc-spec-grid > div {min-width: 0}
  body.nc-v11.product-page .nc-spec-grid dd {overflow-wrap: anywhere}

  .offer-header > div, .proposal-wrap > *, .proposal-hero > *, .offer-share > * {min-width: 0}
  :is(.offer-editor,.proposal-wrap) :is(h1,h2,button,a) {overflow-wrap: anywhere}
  .offer-actions {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr))}
  .offer-actions > :last-child:nth-child(odd) {grid-column: 1 / -1}
  .offer-share :is(button,a), .proposal-actions :is(button,a) {min-height: 44px}
}
@media screen and (max-width: 560px) {
  .nc-opt-tiers {grid-template-columns: repeat(2, minmax(0, 1fr))}
  .nc-opt-pricing__head > .btn {width: 100%}
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-price-hero .v2-actions > .btn:first-child {
    grid-column: 1 / -1;
  }
  body.nc-v11.nc-v8.nc-v4.v3-site .nc-price-hero .v2-actions > .btn:last-child {grid-column: 1 / -1}
  body.nc-v11.product-page :is(.nc-buybox,.nc-product-section) {max-width: 100%}
  body.nc-v11.nc-v8.nc-v4.v3-site .footerV3__cta {width: 100%}
}

@media screen and (min-width: 380px) and (max-width: 560px) {
  body.nc-v11.nc-v8.nc-v4.v3-site[data-ui-page=opt] #kp-form > .b2b-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}
