/* NC Home Market 2.6.13 — Desktop alignment with the homepage (1620px / 72px gutters).
   Scoped to content shells; mobile/tablet remain unchanged. */
@media (min-width: 1025px) {
  body.ncsm-theme .ncsm-container,
  body.ncsm-theme .ncsm-shop-archive .ncsm-shop-shell,
  body.ncsm-theme .ncsm-woo-system-page .ncsm-system-shell,
  body.ncsm-theme.woocommerce-checkout .ncsm-classic-transaction .ncsm-system-shell,
  body.ncsm-theme .ncsm-single-product-page .ncsm-single-product-shell,
  body.ncsm-theme .ncsm-transaction-page .ncsm-transaction-shell {
    width: min(1620px, calc(100% - 72px)) !important;
    max-width: 1620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.ncsm-theme .ncsm-page-elementor .ncsm-entry-content > .elementor > .elementor-section.elementor-section-boxed > .elementor-container,
  body.ncsm-theme .ncsm-page-elementor .ncsm-entry-content > .elementor > .e-con-boxed > .e-con-inner {
    max-width: 1620px;
  }
}
/* Breadcrumb is part of the archive hero, not a detached strip. */
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-hero.ncsm-compact-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-hero .ncsm-shop-breadcrumb {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  line-height: 1.35 !important;
}
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-hero .woocommerce-breadcrumb {
  margin: 0 !important;
  font-size: 11px;
  line-height: 1.35 !important;
}
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-hero h1 {
  line-height: 1.25 !important;
}
@media (max-width: 767px) {
  body.ncsm-theme .ncsm-shop-archive .ncsm-shop-hero.ncsm-compact-hero {gap: 8px;}
  body.ncsm-theme .ncsm-shop-archive .ncsm-shop-hero .woocommerce-breadcrumb {font-size: 10px;}
}

/* 2.6.14: Force a true vertical stack inside archive hero.
   Earlier theme rules set align-items:center!important, overriding v2.6.13. */
body.ncsm-theme.woocommerce .ncsm-shop-archive header.ncsm-shop-hero.ncsm-compact-hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  gap: 7px !important;
}
body.ncsm-theme.woocommerce .ncsm-shop-archive header.ncsm-shop-hero.ncsm-compact-hero > div {
  display: block;
  width: 100%;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.ncsm-theme.woocommerce .ncsm-shop-archive header.ncsm-shop-hero.ncsm-compact-hero h1 {
  text-align: left !important;
  margin: 0 !important;
}

/* 2.6.15 — Explicit separation between breadcrumb and archive title.
   The archive uses its own .ncsm-shop-breadcrumb wrapper, so styling
   .woocommerce-products-header does not affect this template. */
body.ncsm-theme.woocommerce .ncsm-shop-archive header.ncsm-shop-hero.ncsm-compact-hero > .ncsm-shop-breadcrumb {
  margin: 0 !important;
}
body.ncsm-theme.woocommerce .ncsm-shop-archive header.ncsm-shop-hero.ncsm-compact-hero > .ncsm-shop-breadcrumb + div {
  margin-top: 11px !important;
}
@media (max-width: 767px) {
  body.ncsm-theme.woocommerce .ncsm-shop-archive header.ncsm-shop-hero.ncsm-compact-hero > .ncsm-shop-breadcrumb + div {
    margin-top: 8px !important;
  }
}
