/*
 * Nortei Solar Core · Frontend CSS module
 * File: 30-cart-checkout-forms.css
 * Purpose: Carrito, checkout, filtros, servicios/contacto y estabilización de layouts.
 * Note: module order is intentional; preserve enqueue order unless testing the full cascade.
 */

body.home #page,
body.home .site,
body.home .site-content,
body.home #content,
body.home .content-area,
body.home .site-main,
body.home .inside-article,
body.home .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .entry-content > *:first-child,
body.home .entry-content > .gb-container:first-child,
body.home .nsrm-home-hero--fullwidth {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.nsrm-custom-header__top {
  padding: 14px 18px 10px !important;
}

.nsrm-custom-header__logo img {
  max-height: 86px;
}

.nsrm-custom-header__bottom {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-bar .nsrm-custom-header__bottom {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .nsrm-custom-header__bottom {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .nsrm-custom-header__top {
    padding: 10px 12px 8px !important;
  }

  .nsrm-custom-header__logo img {
    max-width: min(100%, 210px);
    max-height: 68px;
  }
}

.nsrm-home-hero--fullwidth {
  margin-bottom: 40px;
}

.nsrm-home-hero__slider--full .nsrm-slider-nav,
.nsrm-home-hero__slider--full .nsrm-slider-progress,
.nsrm-home-hero__slider--full .nsrm-slider-dots {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.nsrm-home-hero__slider--full:hover .nsrm-slider-nav,
.nsrm-home-hero__slider--full:hover .nsrm-slider-progress,
.nsrm-home-hero__slider--full:hover .nsrm-slider-dots,
.nsrm-home-hero__slider--full:focus-within .nsrm-slider-nav,
.nsrm-home-hero__slider--full:focus-within .nsrm-slider-progress,
.nsrm-home-hero__slider--full:focus-within .nsrm-slider-dots {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nsrm-home-hero__slider--full .nsrm-slider-nav,
.nsrm-home-hero__slider--full .nsrm-slider-nav:hover {
  transform: translateY(-50%) !important;
}

.nsrm-custom-header__cart-wrap {
  position: relative;
  padding: 8px 0;
  margin: -8px 0;
}

.nsrm-custom-header__cart {
  z-index: 2;
}

.nsrm-custom-header__cart-panel {
  display: block !important;
  top: calc(100% + 4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nsrm-custom-header__cart-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 18px;
}

.nsrm-custom-header__cart-wrap:hover .nsrm-custom-header__cart-panel,
.nsrm-custom-header__cart-wrap:focus-within .nsrm-custom-header__cart-panel,
.nsrm-custom-header__cart-wrap.is-open .nsrm-custom-header__cart-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nsrm-custom-header__cart-panel .woocommerce-mini-cart__buttons .button.checkout,
.nsrm-custom-header__cart-panel .woocommerce-mini-cart__buttons .checkout,
.nsrm-custom-header__cart-panel .woocommerce-mini-cart__buttons a:last-child {
  display: none !important;
}

@media (max-width: 768px) {
  .nsrm-custom-header__cart-panel {
    right: -8px;
    top: calc(100% + 2px);
    width: calc(100vw - 16px);
  }
}

.nsrm-custom-header__cart-panel.is-busy {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nsrm-cart-feedback {
  position: fixed;
  left: 50%;
  top: 84px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  color: #123b68;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(12, 79, 138, 0.10);
  transform: translate(-50%, -12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.nsrm-cart-feedback.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nsrm-cart-feedback__text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.nsrm-cart-feedback__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--nsrm-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nsrm-cart-feedback__link:hover,
.nsrm-cart-feedback__link:focus {
  background: #0a4374;
  color: #fff;
}

@media (max-width: 782px) {
  .admin-bar .nsrm-cart-feedback {
    top: 98px;
  }
}

@media (max-width: 768px) {
  .nsrm-cart-feedback {
    top: 78px;
    width: calc(100vw - 16px);
    padding: 12px 14px;
    gap: 8px;
  }

  .nsrm-cart-feedback__text {
    font-size: 13px;
  }

  .nsrm-cart-feedback__link {
    min-height: 32px;
    padding: 0 12px;
  }
}

.nsrm-custom-header {
  position: relative;
  z-index: 1200;
}

.nsrm-custom-header__bottom {
  position: sticky !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1201;
}

.admin-bar .nsrm-custom-header__bottom {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .nsrm-custom-header__bottom {
    top: 46px;
  }
}

.woocommerce-cart .site-main,
.woocommerce-cart .inside-article {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.woocommerce-cart .entry-title {
  margin-bottom: 28px;
}

.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, .9fr);
  gap: 28px;
  align-items: start;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
  min-width: 0;
}

.woocommerce-cart table.shop_table {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.woocommerce-cart table.shop_table thead th {
  padding: 24px 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  border: 0;
}

.woocommerce-cart table.shop_table tbody tr {
  transition: background-color .18s ease;
}

.woocommerce-cart table.shop_table tbody tr:hover {
  background: rgba(12, 79, 138, 0.018);
}

.woocommerce-cart table.shop_table tbody td {
  padding: 22px 20px;
  vertical-align: middle;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.woocommerce-cart td.product-remove a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #e11d48 !important;
  background: rgba(225, 29, 72, 0.08);
  text-decoration: none;
}

.woocommerce-cart td.product-thumbnail img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.woocommerce-cart .product-name a {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal,
.woocommerce-cart td.product-quantity {
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-cart .quantity {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
}

.woocommerce-cart .quantity .qty {
  width: 72px;
  min-height: 50px;
  border: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

.woocommerce-cart .actions {
  padding: 20px !important;
}

.woocommerce-cart .coupon {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.woocommerce-cart .coupon .input-text {
  min-width: 220px;
  background: #fff;
}

.woocommerce-cart .actions .button,
.woocommerce-cart .coupon .button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  min-height: 52px;
  padding: 0 22px !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.woocommerce-cart .coupon .button,
.woocommerce-cart .actions .button:not(.checkout-button) {
  background: #eef5fb !important;
  color: var(--nsrm-blue) !important;
  border: 1px solid rgba(12, 79, 138, 0.16) !important;
}

.woocommerce-cart .actions .button[name="update_cart"] {
  background: var(--nsrm-blue) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.woocommerce-cart .actions .button[name="update_cart"][disabled] {
  opacity: .72;
}

.woocommerce-cart .cart-collaterals {
  position: sticky;
  top: calc(72px + 32px);
}

body:not(.admin-bar) .woocommerce-cart .cart-collaterals {
  top: 92px;
}

.woocommerce-cart .cart_totals {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.woocommerce-cart .cart_totals h2 {
  margin-bottom: 18px;
  color: var(--nsrm-blue);
  font-size: 28px;
  font-weight: 800;
}

.woocommerce-cart .cart_totals table.shop_table {
  box-shadow: none;
  border: 0 !important;
  border-radius: 18px;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--nsrm-gold), #ffcf48) !important;
  color: var(--nsrm-blue) !important;
  border: 0 !important;
}

.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info {
  margin-bottom: 18px;
  border: 1px solid rgba(12, 79, 138, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

@media (max-width: 980px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-cart .cart-collaterals,
  body:not(.admin-bar) .woocommerce-cart .cart-collaterals {
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .woocommerce-cart .site-main,
  .woocommerce-cart .inside-article {
    padding: 0 14px 40px;
  }

  .woocommerce-cart table.shop_table {
    border-radius: 20px;
  }

  .woocommerce-cart table.shop_table thead {
    display: none;
  }

  .woocommerce-cart table.shop_table tbody tr,
  .woocommerce-cart table.shop_table tbody td {
    display: block;
    width: 100%;
  }

  .woocommerce-cart table.shop_table tbody tr {
    position: relative;
    padding: 12px 0;
  }

  .woocommerce-cart table.shop_table tbody td {
    padding: 14px 16px;
    border-top: 0;
  }

  .woocommerce-cart td.product-remove {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0;
    z-index: 2;
    width: auto;
  }

  .woocommerce-cart td.product-thumbnail,
  .woocommerce-cart td.product-name {
    display: inline-block;
    vertical-align: top;
  }

  .woocommerce-cart td.product-thumbnail {
    width: 86px;
    padding-right: 0;
  }

  .woocommerce-cart td.product-name {
    width: calc(100% - 102px);
    padding-left: 0;
  }

  .woocommerce-cart td.product-price::before,
  .woocommerce-cart td.product-quantity::before,
  .woocommerce-cart td.product-subtotal::before {
    display: inline-block;
    min-width: 92px;
    color: #0f172a;
    font-weight: 800;
  }

  .woocommerce-cart td.product-price::before { content: 'Precio:'; }
  .woocommerce-cart td.product-quantity::before { content: 'Cantidad:'; }
  .woocommerce-cart td.product-subtotal::before { content: 'Subtotal:'; }

  .woocommerce-cart .coupon {
    flex-direction: column;
  }

  .woocommerce-cart .coupon .input-text,
  .woocommerce-cart .coupon .button,
  .woocommerce-cart .actions .button[name="update_cart"] {
    width: 100% !important;
  }
}

.nsrm-custom-header {
  --nsrm-header-bottom-height: 56px;
  --nsrm-sticky-top: 0px;
}

.nsrm-custom-header.has-sticky-bottom {
  padding-bottom: var(--nsrm-header-bottom-height);
}

.nsrm-custom-header__bottom {
  position: relative !important;
  top: auto !important;
}

.nsrm-custom-header__bottom.is-sticky-active {
  position: fixed !important;
  left: 0;
  right: 0;
  top: var(--nsrm-sticky-top) !important;
  width: 100%;
  z-index: 1300;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.woocommerce-cart .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, .95fr);
  grid-template-areas:
    'notices notices'
    'form totals';
  gap: 28px;
  align-items: start;
}

.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper {
  grid-area: notices;
}

.woocommerce-cart .woocommerce > form.woocommerce-cart-form {
  grid-area: form;
  width: 100%;
}

.woocommerce-cart .woocommerce > .cart-collaterals {
  grid-area: totals;
  width: 100%;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table {
  table-layout: fixed;
}

.woocommerce-cart .woocommerce-cart-form td.product-name {
  min-width: 220px;
}

.woocommerce-cart .woocommerce-cart-form td.actions {
  padding-top: 18px !important;
}

.woocommerce-cart .woocommerce-cart-form .coupon + button,
.woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"] {
  margin-left: auto;
}

@media (max-width: 980px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr;
    grid-template-areas:
      'notices'
      'form'
      'totals';
  }
}

.woocommerce-checkout .site-main,
.woocommerce-checkout .inside-article {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.woocommerce-checkout .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .9fr);
  gap: 32px;
  align-items: start;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  grid-column: 1 / -1;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  min-width: 0;
}

.woocommerce-checkout .col2-set {
  display: block;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  width: 100% !important;
  float: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 26px;
}

.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  color: var(--nsrm-blue);
  font-size: 34px;
  font-weight: 800;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  margin: 0 0 18px;
  color: var(--nsrm-blue);
  font-size: 30px;
  font-weight: 800;
}

.woocommerce-checkout form .form-row {
  margin-bottom: 14px;
}

.woocommerce-checkout form .input-text,
.woocommerce-checkout form select,
.woocommerce-checkout form textarea {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  box-shadow: none;
}

.woocommerce-checkout form textarea {
  min-height: 120px;
}

.woocommerce-checkout table.shop_table {
  border: 0 !important;
  box-shadow: none;
}

.woocommerce-checkout #payment {
  background: transparent !important;
}

.woocommerce-checkout #payment .place-order .button,
.woocommerce-checkout #payment #place_order {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--nsrm-gold), #ffd44f) !important;
  color: var(--nsrm-blue) !important;
  border: 0 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_company_field,
.woocommerce-checkout #billing_company_field {
  display: none !important;
}

@media (max-width: 980px) {
  .woocommerce-checkout .woocommerce {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .woocommerce-checkout .site-main,
  .woocommerce-checkout .inside-article {
    padding: 0 14px 40px;
  }

  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout #order_review {
    padding: 18px;
    border-radius: 20px;
  }

  .woocommerce-checkout .woocommerce-billing-fields h3,
  .woocommerce-checkout #order_review_heading {
    font-size: 24px;
  }
}

.nsrm-archive-filters {
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(12, 79, 138, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.nsrm-archive-filters__toggle {
  display: none;
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(12, 79, 138, 0.12);
  background: #eef5fb;
  color: var(--nsrm-blue);
  font-size: 14px;
  font-weight: 800;
}

.nsrm-archive-filters__panel {
  display: block;
}

.nsrm-archive-filters__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nsrm-archive-filters__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nsrm-archive-filters__field span {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.nsrm-archive-filters__field select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  padding: 0 14px;
}

.nsrm-archive-filters__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.nsrm-archive-filters__submit,
.nsrm-archive-filters__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.nsrm-archive-filters__submit {
  border: 0;
  background: var(--nsrm-blue);
  color: #fff;
}

.nsrm-archive-filters__reset {
  background: #eef5fb;
  color: var(--nsrm-blue);
  border: 1px solid rgba(12, 79, 138, 0.12);
}

@media (max-width: 768px) {
  .nsrm-archive-filters {
    padding: 14px;
    border-radius: 20px;
  }

  .nsrm-archive-filters__toggle {
    display: inline-flex;
  }

  .nsrm-archive-filters__panel {
    display: none;
    margin-top: 12px;
  }

  .nsrm-archive-filters.is-open .nsrm-archive-filters__panel {
    display: block;
  }

  .nsrm-archive-filters__grid {
    grid-template-columns: 1fr;
  }

  .nsrm-archive-filters__actions {
    flex-direction: column;
  }
}

.nsrm-custom-header {
  --nsrm-sticky-top: 0px;
}

.nsrm-custom-header__bottom,
.nsrm-custom-header__bottom.is-sticky-active {
  position: sticky !important;
  top: var(--nsrm-sticky-top) !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 1300 !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.nsrm-custom-header.has-sticky-bottom {
  padding-bottom: 0 !important;
}

.admin-bar .nsrm-custom-header {
  --nsrm-sticky-top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .nsrm-custom-header {
    --nsrm-sticky-top: 46px;
  }
}

.woocommerce-cart .site-main,
.woocommerce-cart .inside-article,
.woocommerce-checkout .site-main,
.woocommerce-checkout .inside-article {
  max-width: 1360px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.woocommerce-cart .woocommerce {
  display: block !important;
}

.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
.woocommerce-cart .woocommerce > .cart-collaterals,
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper {
  width: 100% !important;
}

.woocommerce-cart .woocommerce-cart-form {
  margin-bottom: 28px;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table {
  table-layout: auto !important;
}

.woocommerce-cart table.shop_table thead th,
.woocommerce-cart table.shop_table tbody td {
  white-space: normal !important;
  word-break: keep-all;
}

.woocommerce-cart td.product-name {
  min-width: 260px !important;
}

.woocommerce-cart td.product-name a {
  display: inline-block;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.woocommerce-cart td.product-price,
.woocommerce-cart td.product-quantity,
.woocommerce-cart td.product-subtotal {
  white-space: nowrap !important;
}

.woocommerce-cart .cart-collaterals,
body:not(.admin-bar) .woocommerce-cart .cart-collaterals {
  position: static !important;
  top: auto !important;
  width: 100% !important;
  max-width: 460px;
  margin: 0 0 0 auto !important;
}

.woocommerce-cart .cart_totals {
  width: 100%;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 42px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.woocommerce-cart .cart_totals table.shop_table {
  width: 100% !important;
  table-layout: auto !important;
}

.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 18px;
}

.woocommerce-checkout .woocommerce {
  display: block !important;
}

.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.9fr);
  grid-template-areas:
    'customer review_heading'
    'customer review';
  gap: 32px;
  align-items: start;
}

.woocommerce-checkout form.checkout #customer_details {
  grid-area: customer;
  min-width: 0;
  width: 100%;
}

.woocommerce-checkout form.checkout #order_review_heading {
  grid-area: review_heading;
  min-width: 0;
  margin: 0 0 16px !important;
}

.woocommerce-checkout form.checkout #order_review {
  grid-area: review;
  min-width: 0;
  width: 100%;
}

.woocommerce-checkout .col2-set {
  display: block !important;
  width: 100% !important;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  width: 100% !important;
  float: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout #order_review {
  padding: 32px !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 38px !important;
  line-height: 1.08;
  word-break: keep-all;
  overflow-wrap: normal;
  margin: 0 0 20px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.woocommerce-checkout form .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce-checkout form .form-row-first,
.woocommerce-checkout form .form-row-last {
  width: calc(50% - 8px) !important;
}

.woocommerce-checkout form .form-row-wide {
  width: 100% !important;
}

.woocommerce-checkout table.shop_table {
  width: 100% !important;
  table-layout: auto !important;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  white-space: normal !important;
}

.woocommerce-checkout #payment {
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .woocommerce-cart td.product-name {
    min-width: 220px !important;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
    grid-template-areas:
      'customer'
      'review_heading'
      'review';
  }

  .woocommerce-checkout .woocommerce-billing-fields h3,
  .woocommerce-checkout #order_review_heading {
    font-size: 30px !important;
  }
}

@media (max-width: 980px) {
  .woocommerce-cart .cart-collaterals,
  body:not(.admin-bar) .woocommerce-cart .cart-collaterals {
    max-width: none;
    margin-top: 24px !important;
  }
}

@media (max-width: 768px) {
  .woocommerce-cart .cart_totals h2 {
    font-size: 34px;
  }

  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout #order_review {
    padding: 20px !important;
  }

  .woocommerce-checkout .woocommerce-billing-fields h3,
  .woocommerce-checkout #order_review_heading {
    font-size: 26px !important;
  }

  .woocommerce-checkout form .form-row-first,
  .woocommerce-checkout form .form-row-last {
    width: 100% !important;
  }
}

.nsrm-custom-header {
  overflow: visible;
}

.nsrm-custom-header__bottom {
  position: sticky !important;
  top: var(--nsrm-sticky-top, 0px) !important;
  z-index: 1300 !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.nsrm-custom-header__bottom.is-sticky-active {
  position: sticky !important;
}

body.admin-bar .nsrm-custom-header__bottom,
.admin-bar .nsrm-custom-header__bottom {
  top: var(--nsrm-sticky-top, 32px) !important;
}

.woocommerce-cart .woocommerce,
.woocommerce-cart .site-main,
.woocommerce-cart .inside-article {
  max-width: 1360px !important;
}

.woocommerce-cart .woocommerce {
  display: block !important;
  margin: 0 auto !important;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .woocommerce-cart-form table.shop_table {
  width: 100% !important;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table,
.woocommerce-cart table.shop_table {
  table-layout: auto !important;
}

.woocommerce-cart table.shop_table thead th,
.woocommerce-cart table.shop_table tbody td {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.woocommerce-cart td.product-name,
.woocommerce-cart td.product-name a {
  min-width: 0 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal,
.woocommerce-cart td.product-quantity {
  font-size: 15px !important;
}

.woocommerce-cart .cart-collaterals {
  float: none !important;
  clear: both;
  width: min(100%, 480px) !important;
  margin: 32px 0 0 auto !important;
  position: static !important;
}

.woocommerce-cart .cart_totals {
  max-width: none !important;
  width: 100% !important;
}

.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px;
  font-size: 24px !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  margin: 18px 0 0 !important;
}

@media (max-width: 980px) {
  .woocommerce-cart .cart-collaterals {
    width: 100% !important;
    margin: 24px 0 0 !important;
  }
}

.woocommerce-checkout .woocommerce,
.woocommerce-checkout .site-main,
.woocommerce-checkout .inside-article {
  max-width: 1360px !important;
}

.woocommerce-checkout .woocommerce {
  display: block !important;
  margin: 0 auto !important;
}

.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .86fr) !important;
  gap: 34px !important;
  align-items: start;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout .col2-set {
  grid-column: 1;
  min-width: 0 !important;
  width: 100% !important;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
  min-width: 0 !important;
}

.woocommerce-checkout #order_review_heading {
  margin: 0 0 16px !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  line-height: 1.02 !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-size: clamp(32px, 4vw, 52px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.02em;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none !important;
  width: 100% !important;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: calc(50% - 10px) !important;
}

.woocommerce-checkout #order_review {
  padding: 28px !important;
}

@media (max-width: 980px) {
  .woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .col2-set,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 1 !important;
  }
}

.nsrm-custom-header__cart-panel {
  width: min(420px, calc(100vw - 20px)) !important;
  right: 0;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.nsrm-custom-header__cart-panel-inner {
  padding: 18px !important;
}

.nsrm-mini-cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nsrm-mini-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 0 28px 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nsrm-mini-cart-item__thumb img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: #f5f8fb;
}

.nsrm-mini-cart-item__content {
  min-width: 0;
}

.nsrm-mini-cart-item__name {
  display: block;
  color: #163b66;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.nsrm-mini-cart-item__qty {
  margin-top: 6px;
  color: #42526b;
  font-size: 14px;
  font-weight: 700;
}

.nsrm-mini-cart-item__remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.nsrm-mini-cart-footer {
  padding-top: 12px;
}

.nsrm-mini-cart-footer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.nsrm-mini-cart-footer__button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(12, 79, 138, 0.16);
  background: #eef5fb;
  color: var(--nsrm-blue) !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.nsrm-services-section,
.nsrm-contact-section {
  max-width: 1380px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.nsrm-section-heading--center {
  text-align: center;
}

.nsrm-section-heading--center h2 {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.nsrm-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.nsrm-service-card {
  display: grid;
  grid-template-columns: minmax(220px, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border-radius: 24px;
  background: #f4f4f4;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.nsrm-service-card__media {
  min-height: 280px;
  background: linear-gradient(135deg, #eaf2fb, #d9e8f8);
}

.nsrm-service-card__media img,
.nsrm-service-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nsrm-service-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nsrm-blue);
}

.nsrm-service-card__placeholder svg {
  width: 84px;
  height: 84px;
}

.nsrm-service-card__content {
  padding: 34px 28px;
}

.nsrm-service-card__content p {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.65;
}

.nsrm-service-card__content h3 {
  margin: 0;
  color: #4b4b4b;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-style: italic;
}

.nsrm-contact-section {
  display: grid;
  grid-template-columns: minmax(300px, .44fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding-bottom: 64px;
}

.nsrm-contact-card {
  background: #444;
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.nsrm-contact-card h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-style: italic;
}

.nsrm-contact-card p {
  margin: 0 0 26px;
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.75;
}

.nsrm-contact-card__meta {
  display: grid;
  gap: 12px;
}

.nsrm-contact-card__meta a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.nsrm-contact-form-shell {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  padding: 34px;
}

.nsrm-contact-form {
  display: grid;
  gap: 18px;
}

.nsrm-contact-form__row.is-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nsrm-contact-form label {
  display: grid;
  gap: 8px;
}

.nsrm-contact-form label span {
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
}

.nsrm-contact-form input,
.nsrm-contact-form textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 0;
  border: 1px solid rgba(15, 23, 42, 0.22);
  padding: 12px 14px;
  font-size: 16px;
}

.nsrm-contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.nsrm-contact-form__submit {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: #2f6ecc;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.nsrm-contact-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.nsrm-contact-notice.is-success {
  background: #e9f8ef;
  color: #156c3d;
}

.nsrm-contact-notice.is-error {
  background: #fff1f2;
  color: #be123c;
}

@media (max-width: 980px) {
  .nsrm-services-grid,
  .nsrm-contact-section {
    grid-template-columns: 1fr;
  }

  .nsrm-service-card {
    grid-template-columns: 1fr;
  }

  .nsrm-contact-form__row.is-split {
    grid-template-columns: 1fr;
  }
}

.nsrm-services-section,
.nsrm-contact-section {
  max-width: 1380px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.nsrm-section-heading__eyebrow {
  display: none !important;
}

.nsrm-section-heading__intro {
  display: none !important;
}

.nsrm-section-heading__meta--compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.nsrm-chip,
.nsrm-contact-card__branch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.nsrm-chip svg,
.nsrm-contact-card__branch svg {
  width: 18px;
  height: 18px;
}

.nsrm-chip.is-gold {
  background: linear-gradient(135deg, #ffd86a, var(--nsrm-gold));
  color: #183153;
  border: 1px solid rgba(250, 181, 25, 0.45);
  box-shadow: 0 12px 28px rgba(250, 181, 25, 0.22);
}

.nsrm-chip.is-blue,
.nsrm-chip.is-link,
.nsrm-contact-card__branch {
  background: linear-gradient(135deg, #1f5f9e, var(--nsrm-blue));
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 30px rgba(12, 79, 138, 0.20);
}

.nsrm-chip:hover,
.nsrm-contact-card__branch:hover {
  transform: translateY(-2px);
}

.nsrm-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.nsrm-service-card {
  display: grid;
  grid-template-columns: minmax(220px, .92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,253,.98));
  border: 1px solid rgba(12, 79, 138, 0.08);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease;
}

.nsrm-service-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nsrm-blue), var(--nsrm-gold));
}

.nsrm-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.nsrm-service-card__media {
  min-height: 300px;
  background: linear-gradient(135deg, #eef4fb 0%, #dae6f6 100%);
}

.nsrm-service-card__media img,
.nsrm-service-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nsrm-service-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 30px 34px;
}

.nsrm-service-card__content h3 {
  margin: 0 0 14px;
  color: #202633;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-style: italic;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.nsrm-service-card__content p {
  margin: 0;
  color: #596579;
  font-size: 16px;
  line-height: 1.72;
}

.nsrm-service-card__footer,
.nsrm-service-card__content .nsrm-chip {
  display: none !important;
}

.nsrm-contact-section {
  display: grid;
  grid-template-columns: minmax(300px, .38fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  padding-bottom: 64px;
}

.nsrm-contact-card {
  background: linear-gradient(180deg, #183153, #243a58 68%, #2e3f5a 100%);
  color: #fff;
  border-radius: 30px;
  padding: 34px 32px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
  position: relative;
  overflow: hidden;
}

.nsrm-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--nsrm-blue), var(--nsrm-gold));
}

.nsrm-contact-card h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(26px, 4.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-style: italic;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.nsrm-contact-card__eyebrow,
.nsrm-contact-card__meta,
.nsrm-contact-card__pill {
  display: none !important;
}

.nsrm-contact-card p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.90);
  font-size: 16px;
  line-height: 1.72;
}

.nsrm-contact-card__data {
  display: grid;
  gap: 14px;
}

.nsrm-contact-card__data a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.nsrm-contact-card__branch {
  margin-top: 2px;
  width: fit-content;
  max-width: 100%;
}

.nsrm-contact-form-shell {
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f9fbfd);
  border: 1px solid rgba(12, 79, 138, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  padding: 32px;
}

.nsrm-contact-form {
  display: grid;
  gap: 18px;
}

.nsrm-contact-form__row.is-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nsrm-contact-form label {
  display: grid;
  gap: 8px;
}

.nsrm-contact-form label span {
  color: #536072;
  font-size: 14px;
  font-weight: 700;
}

.nsrm-contact-form input,
.nsrm-contact-form textarea {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(12, 79, 138, 0.18);
  background: #fff;
  padding: 14px 16px;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.nsrm-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.nsrm-contact-form input:focus,
.nsrm-contact-form textarea:focus {
  outline: none;
  border-color: rgba(12, 79, 138, 0.42);
  box-shadow: 0 0 0 4px rgba(12, 79, 138, 0.10);
}

.nsrm-contact-form__submit {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, #2f6ecc, var(--nsrm-blue));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(12, 79, 138, 0.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.nsrm-contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(12, 79, 138, 0.24);
}

@media (max-width: 1100px) {
  .nsrm-service-card {
    grid-template-columns: 1fr;
  }

  .nsrm-service-card__media {
    min-height: 240px;
  }

  .nsrm-contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nsrm-services-section,
  .nsrm-contact-section {
    padding: 0 16px;
    margin-top: 42px;
  }

  .nsrm-section-heading--center h2 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .nsrm-section-heading__meta--compact {
    gap: 10px;
  }

  .nsrm-chip,
  .nsrm-contact-card__branch {
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
  }

  .nsrm-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nsrm-service-card {
    border-radius: 22px;
  }

  .nsrm-service-card__content {
    padding: 24px 22px 28px;
  }

  .nsrm-service-card__content h3 {
    font-size: clamp(24px, 9vw, 34px);
  }

  .nsrm-contact-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .nsrm-contact-card h2 {
    font-size: clamp(24px, 11vw, 40px);
  }

  .nsrm-contact-form-shell {
    padding: 22px;
    border-radius: 24px;
  }

  .nsrm-contact-form__row.is-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.nsrm-section-heading__meta--compact {
  margin-top: 18px;
  gap: 12px;
}

.nsrm-chip,
.nsrm-chip.is-link,
.nsrm-chip.is-gold,
.nsrm-chip.is-blue {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.nsrm-chip svg {
  display: none !important;
}

.nsrm-chip.is-gold {
  background: linear-gradient(135deg, #ffe39a 0%, #ffc93a 100%);
  color: #17304f;
  border-color: rgba(250, 181, 25, 0.45);
  box-shadow: 0 14px 28px rgba(250, 181, 25, 0.22);
}

.nsrm-chip.is-blue,
.nsrm-chip.is-link {
  background: linear-gradient(135deg, #2a6fb2 0%, #0c4f8a 100%);
  color: #fff !important;
  border-color: rgba(12, 79, 138, 0.28);
}

.nsrm-service-card::after {
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(12,79,138,1) 0%, rgba(12,79,138,.82) 42%, rgba(250,181,25,1) 100%);
}

.nsrm-service-card__content {
  padding: 28px 28px 30px;
}

.nsrm-service-card__kicker {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .12em;
}

.nsrm-service-card__content h3 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.nsrm-service-card__content p {
  font-size: 15px;
  line-height: 1.7;
}

.nsrm-contact-section {
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 24px;
}

.nsrm-contact-card {
  padding: 28px 28px 30px;
}

.nsrm-contact-card h2 {
  margin: 0 0 16px;
  max-width: 9ch;
  font-size: clamp(22px, 3.1vw, 34px);
  line-height: 0.96;
  letter-spacing: -.04em;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}

.nsrm-contact-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
}

.nsrm-contact-card__data {
  gap: 10px;
}

.nsrm-contact-card__data a,
.nsrm-contact-card__branch-note {
  font-size: 15px;
  line-height: 1.45;
}

.nsrm-contact-card__branch,
.nsrm-contact-card__pill,
.nsrm-contact-card__eyebrow,
.nsrm-contact-card__meta {
  display: none !important;
}

.nsrm-contact-card__branch-note {
  display: block;
  color: rgba(255,255,255,.86);
}

.nsrm-contact-card__branch-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .nsrm-contact-section {
    grid-template-columns: 1fr;
  }

  .nsrm-contact-card h2 {
    max-width: 12ch;
  }
}

@media (max-width: 768px) {
  .nsrm-section-heading__meta--compact {
    gap: 10px;
  }

  .nsrm-chip,
  .nsrm-chip.is-link,
  .nsrm-chip.is-gold,
  .nsrm-chip.is-blue {
    width: auto;
    min-width: 0;
    padding: 12px 16px;
    font-size: 14px;
  }

  .nsrm-service-card__content {
    padding: 22px 20px 24px;
  }

  .nsrm-service-card__content h3 {
    font-size: clamp(24px, 7.8vw, 30px);
    line-height: 1.04;
  }

  .nsrm-contact-card {
    padding: 24px 20px 24px;
  }

  .nsrm-contact-card h2 {
    max-width: 100%;
    font-size: clamp(20px, 10vw, 30px);
    line-height: 0.98;
  }

  .nsrm-contact-card p,
  .nsrm-contact-card__data a,
  .nsrm-contact-card__branch-note {
    font-size: 14px;
  }
}

.nsrm-services-section .nsrm-section-heading__eyebrow,
.nsrm-services-section .nsrm-section-heading__intro,
.nsrm-services-section .nsrm-service-card__footer,
.nsrm-services-section .nsrm-service-card__content .nsrm-chip,
.nsrm-contact-section .nsrm-contact-card__eyebrow,
.nsrm-contact-section .nsrm-contact-card__meta,
.nsrm-contact-section .nsrm-contact-card__pill,
.nsrm-contact-section .nsrm-contact-card__branch,
.nsrm-contact-section .nsrm-contact-card__meta * {
  display: none !important;
}

.nsrm-services-section--v136 .nsrm-section-heading,
.nsrm-services-section .nsrm-section-heading {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.nsrm-services-section--v136 .nsrm-section-heading__meta--service-pills,
.nsrm-services-section .nsrm-section-heading__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.nsrm-services-section--v136 .nsrm-chip,
.nsrm-services-section .nsrm-chip {
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  border: 1px solid rgba(12,79,138,.14);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

.nsrm-services-section--v136 .nsrm-chip.is-gold,
.nsrm-services-section .nsrm-chip.is-gold {
  background: linear-gradient(135deg, #ffd86b 0%, #f7b50c 100%);
  color: #17304f;
  border-color: rgba(247, 181, 12, .45);
}

.nsrm-services-section--v136 .nsrm-chip.is-blue,
.nsrm-services-section--v136 .nsrm-chip.is-link,
.nsrm-services-section .nsrm-chip.is-blue,
.nsrm-services-section .nsrm-chip.is-link {
  background: linear-gradient(135deg, #236eb3 0%, #0c4f8a 100%);
  color: #fff !important;
  border-color: rgba(12, 79, 138, .28);
}

.nsrm-services-section--v136 .nsrm-chip svg,
.nsrm-services-section .nsrm-chip svg {
  display: none !important;
}

.nsrm-services-section--v136 .nsrm-service-card,
.nsrm-services-section .nsrm-service-card {
  overflow: hidden;
}

.nsrm-services-section--v136 .nsrm-service-card::after,
.nsrm-services-section .nsrm-service-card::after {
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(12,79,138,1) 0%, rgba(12,79,138,.82) 48%, rgba(250,181,25,1) 100%);
}

.nsrm-services-section--v136 .nsrm-service-card__content,
.nsrm-services-section .nsrm-service-card__content {
  padding: 28px 28px 32px;
}

.nsrm-services-section--v136 .nsrm-service-card__content h3,
.nsrm-services-section .nsrm-service-card__content h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.nsrm-services-section--v136 .nsrm-service-card__content p,
.nsrm-services-section .nsrm-service-card__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
}

.nsrm-contact-section--v136,
.nsrm-contact-section {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 28px;
}

.nsrm-contact-section--v136 .nsrm-contact-card,
.nsrm-contact-section .nsrm-contact-card {
  padding: 26px 28px 28px;
}

.nsrm-contact-section--v136 .nsrm-contact-card h2,
.nsrm-contact-section .nsrm-contact-card h2 {
  margin: 0 0 18px;
  max-width: 10.5ch;
  font-size: clamp(36px, 4vw, 62px);
  line-height: .94;
  letter-spacing: -.05em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}

.nsrm-contact-section--v136 .nsrm-contact-card p,
.nsrm-contact-section .nsrm-contact-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
}

.nsrm-contact-section--v136 .nsrm-contact-card__data,
.nsrm-contact-section .nsrm-contact-card__data {
  display: grid;
  gap: 10px;
}

.nsrm-contact-section--v136 .nsrm-contact-card__data a,
.nsrm-contact-section--v136 .nsrm-contact-card__branch-note,
.nsrm-contact-section .nsrm-contact-card__data a,
.nsrm-contact-section .nsrm-contact-card__branch-note {
  font-size: 14px;
  line-height: 1.45;
}

.nsrm-contact-section--v136 .nsrm-contact-card__branch-note,
.nsrm-contact-section .nsrm-contact-card__branch-note {
  display: block !important;
  color: rgba(255,255,255,.84);
}

.nsrm-contact-section--v136 .nsrm-contact-card__branch-note a,
.nsrm-contact-section .nsrm-contact-card__branch-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .nsrm-contact-section--v136,
  .nsrm-contact-section {
    grid-template-columns: 1fr;
  }

  .nsrm-contact-section--v136 .nsrm-contact-card h2,
  .nsrm-contact-section .nsrm-contact-card h2 {
    max-width: 12ch;
    font-size: clamp(32px, 6vw, 52px);
  }
}

@media (max-width: 768px) {
  .nsrm-services-section--v136 .nsrm-chip,
  .nsrm-services-section .nsrm-chip {
    padding: 12px 16px;
    font-size: 14px;
  }

  .nsrm-services-section--v136 .nsrm-service-card__content,
  .nsrm-services-section .nsrm-service-card__content {
    padding: 22px 20px 24px;
  }

  .nsrm-services-section--v136 .nsrm-service-card__content h3,
  .nsrm-services-section .nsrm-service-card__content h3 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .nsrm-contact-section--v136 .nsrm-contact-card,
  .nsrm-contact-section .nsrm-contact-card {
    padding: 22px 20px 24px;
  }

  .nsrm-contact-section--v136 .nsrm-contact-card h2,
  .nsrm-contact-section .nsrm-contact-card h2 {
    max-width: 100%;
    font-size: clamp(28px, 11vw, 42px);
  }
}

/* v2.5.4 - Checkout /pago UX/UI y cotización modal */
.woocommerce-checkout .site-main,
.woocommerce-checkout main.site-main,
.woocommerce-checkout .woocommerce{
  width:min(1180px,calc(100vw - 32px));
  margin-left:auto;
  margin-right:auto;
}

.woocommerce-checkout .entry-title,
.woocommerce-checkout h1.entry-title,
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout #order_review_heading{
  color:var(--nsrm-blue,#0c4f8a);
  letter-spacing:-.055em;
  line-height:.98;
}

.woocommerce-checkout h1.entry-title{
  font-size:clamp(38px,6vw,72px);
  margin:0 0 24px;
}

.woocommerce-checkout form.checkout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:26px;
  align-items:start;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields{
  background:#fff;
  border:1px solid rgba(12,79,138,.10);
  border-radius:24px;
  box-shadow:0 18px 48px rgba(7,31,52,.08);
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review{
  padding:26px;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields{
  padding:24px;
  margin:0 0 22px;
}

.woocommerce-checkout .woocommerce-shipping-fields{
  border-color:rgba(250,181,25,.34);
  background:linear-gradient(180deg,#fff 0%,#fffaf0 100%);
}

.woocommerce-checkout .woocommerce-shipping-fields h3::after{
  content:'Completa esta sección para coordinar despacho correctamente';
  display:block;
  margin-top:8px;
  color:#617086;
  font-size:14px;
  line-height:1.45;
  letter-spacing:0;
  font-weight:600;
}

.woocommerce-checkout .form-row label{
  color:#112a44;
  font-weight:700;
  margin-bottom:7px;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single{
  min-height:52px;
  border:1px solid rgba(14,41,72,.24);
  border-radius:12px;
  background:#fff;
  color:#111827;
  box-shadow:none;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .select2-container--focus .select2-selection--single{
  border-color:var(--nsrm-blue,#0c4f8a);
  box-shadow:0 0 0 4px rgba(12,79,138,.10);
  outline:none;
}

.woocommerce-checkout #order_review{
  position:sticky;
  top:calc(var(--nsrm-sticky-top,0px) + 24px);
}

.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order{
  width:100%;
  min-height:56px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--nsrm-gold,#fab519),#ffd766);
  color:#0f2744;
  font-weight:900;
  box-shadow:0 16px 34px rgba(250,181,25,.22);
}

.nsrm-cart-quote-modal.is-active{
  align-items:flex-start !important;
  overflow-y:auto;
  padding-top:clamp(18px,4vh,44px) !important;
  padding-bottom:clamp(18px,4vh,44px) !important;
}

.admin-bar .nsrm-cart-quote-modal.is-active{
  padding-top:calc(32px + clamp(18px,4vh,44px)) !important;
}

.nsrm-cart-quote-modal__dialog{
  margin:auto 0;
  max-height:calc(100vh - 56px) !important;
}

.admin-bar .nsrm-cart-quote-modal__dialog{
  max-height:calc(100vh - 96px) !important;
}

.nsrm-cart-quote-modal__header{
  padding-top:34px !important;
  padding-bottom:16px !important;
}

.nsrm-cart-quote-modal__header h3{
  overflow:visible !important;
  line-height:1.06 !important;
  padding-bottom:2px;
}

@media (max-width:900px){
  .woocommerce-checkout form.checkout{
    display:block;
  }
  .woocommerce-checkout #order_review{
    position:relative;
    top:auto;
    margin-top:22px;
  }
}

@media (max-width:600px){
  .woocommerce-checkout .site-main,
  .woocommerce-checkout main.site-main,
  .woocommerce-checkout .woocommerce{
    width:min(100%,calc(100vw - 20px));
  }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields{
    padding:18px;
    border-radius:18px;
  }
  .admin-bar .nsrm-cart-quote-modal.is-active{
    padding-top:calc(46px + 12px) !important;
  }
  .nsrm-cart-quote-modal__dialog,
  .admin-bar .nsrm-cart-quote-modal__dialog{
    max-height:calc(100vh - 74px) !important;
  }
}
