:root {
  --ns-ink: #202124;
  --ns-muted: #6f7681;
  --ns-line: #e7e9ee;
  --ns-soft: #f6f7fb;
  --ns-card: #ffffff;
  --ns-accent: #e8753d;
  --ns-accent-dark: #c95f2d;
  --ns-green: #1f7a5b;
  --ns-shadow: 0 18px 50px rgba(31, 34, 41, 0.08);
}

.shop-body {
  background: var(--ns-soft);
  color: var(--ns-ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.ns-topbar {
  background: #22252b;
  color: #f4f6f8;
  font-size: 0.84rem;
}

.ns-topbar-inner {
  max-width: 1240px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 0 24px;
}

.ns-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--ns-line);
  backdrop-filter: blur(14px);
}

.ns-search-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--ns-line);
}

.ns-search-strip .ns-header-search {
  width: min(620px, 60vw);
}

.ns-search-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ns-ink);
  font-weight: 800;
}

.ns-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ns-ink);
  font-size: 1.25rem;
  font-weight: 850;
}

.ns-logo i {
  color: var(--ns-accent);
  font-size: 1.55rem;
}

.ns-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ns-header-search {
  width: min(330px, 28vw);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--ns-line);
  border-radius: 999px;
  background: #f7f8fa;
}

.ns-header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.ns-nav a,
.ns-actions a,
.ns-link-button {
  color: #3b414a;
  font-weight: 700;
}

.ns-nav a:hover,
.ns-actions a:hover,
.ns-link-button:hover {
  color: var(--ns-accent);
}

.ns-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ns-actions form {
  margin: 0;
}

.ns-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ns-profile-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--ns-line);
  border-radius: 999px;
  background: #fff;
}

.ns-profile-chip img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 999px;
}

.ns-link-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.ns-join,
.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
}

.ns-join,
.ns-btn-primary {
  color: #fff !important;
  background: var(--ns-accent);
  border-color: var(--ns-accent);
}

.ns-join:hover,
.ns-btn-primary:hover {
  background: var(--ns-accent-dark);
  border-color: var(--ns-accent-dark);
}

.ns-btn-light {
  color: var(--ns-ink);
  background: #fff;
  border-color: var(--ns-line);
}

.ns-main {
  min-height: calc(100vh - 180px);
}

.ns-hero {
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 28px;
  margin: 28px auto 0;
  padding: 0 24px;
}

.ns-hero-copy {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(32, 33, 36, 0.88), rgba(32, 33, 36, 0.28)),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  overflow: hidden;
}

.ns-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--ns-accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ns-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
  font-weight: 900;
}

.ns-hero-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.ns-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ns-hero-search {
  max-width: 560px;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 7px 8px 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
}

.ns-hero-search i {
  color: var(--ns-accent);
  font-size: 1.15rem;
}

.ns-hero-search input {
  border: 0;
  outline: 0;
  background: transparent;
}

.ns-hero-search button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ns-accent);
  font-weight: 900;
}

.ns-hero-panel {
  display: grid;
  gap: 14px;
}

.ns-hero-product {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ns-line);
  box-shadow: var(--ns-shadow);
}

.ns-hero-product img {
  width: 130px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.ns-hero-product span,
.ns-product-info small,
.ns-product-info p {
  color: var(--ns-muted);
}

.ns-hero-product strong,
.ns-product-info strong {
  display: block;
  color: var(--ns-ink);
}

.ns-hero-product em {
  display: block;
  margin-top: 5px;
  color: var(--ns-accent);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 850;
}

.ns-section,
.ns-page-hero,
.ns-catalog,
.ns-detail {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.ns-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.ns-section-title h2,
.ns-page-hero h1,
.ns-filter h2,
.ns-detail-info h1 {
  margin: 0;
  font-weight: 900;
}

.ns-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ns-category-tile,
.ns-product-card,
.ns-filter,
.ns-catalog-toolbar,
.ns-variant-box {
  background: #fff;
  border: 1px solid var(--ns-line);
  border-radius: 16px;
  box-shadow: var(--ns-shadow);
}

.ns-category-tile {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: var(--ns-ink);
}

.ns-category-tile i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ns-accent);
  background: #fff0e8;
  font-size: 1.35rem;
}

.ns-category-tile span {
  color: var(--ns-muted);
}

.ns-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ns-product-card {
  overflow: hidden;
}

.ns-product-card a {
  display: grid;
  color: inherit;
}

.ns-product-image {
  position: relative;
  background: #eef1f5;
}

.ns-product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.ns-product-card:hover .ns-product-image img {
  transform: scale(1.035);
}

.ns-product-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--ns-green);
  font-size: 0.75rem;
  font-weight: 800;
}

.ns-product-info {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.ns-price-stack {
  display: inline-grid;
  gap: 2px;
  align-items: start;
}

.ns-price-stack del {
  color: var(--ns-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.ns-price-stack--detail {
  justify-items: end;
}

.ns-product-info em,
.ns-price-stack em {
  color: var(--ns-accent);
  font-style: normal;
  font-weight: 900;
}

.ns-page-hero {
  text-align: center;
}

.ns-page-hero p {
  max-width: 640px;
  margin: 10px auto 0;
  color: var(--ns-muted);
}

.ns-catalog {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
}

.ns-catalog-wide {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.ns-catalog-filterbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 260px auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--ns-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ns-shadow);
}

.ns-catalog-filterbar label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.ns-filter {
  height: fit-content;
  padding: 20px;
}

.ns-filter form {
  display: grid;
  gap: 14px;
}

.ns-filter label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.ns-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  color: var(--ns-muted);
}

.ns-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 34px;
}

.ns-detail-media > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--ns-shadow);
}

.ns-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.ns-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.ns-detail-info {
  padding-top: 18px;
}

.ns-detail-info p {
  color: var(--ns-muted);
}

.ns-variant-box {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
}

.ns-variant-box h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.ns-variant-picker {
  display: grid;
  gap: 16px;
}

.ns-variant-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ns-variant-select-grid label,
.ns-single-variant-select {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.ns-selected-variant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--ns-line);
  border-radius: 12px;
  background: #f8fafc;
}

.ns-selected-variant span {
  display: block;
  color: var(--ns-muted);
}

.ns-selected-variant em {
  color: var(--ns-accent);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 900;
}

.ns-add-to-cart-row {
  display: grid;
  grid-template-columns: 110px minmax(180px, auto);
  gap: 12px;
}

.ns-stock-info {
  color: var(--ns-muted);
  font-weight: 800;
}

.ns-quantity-warning {
  padding: 10px 12px;
  border: 1px solid #fecdca;
  border-radius: 10px;
  color: #b42318;
  background: #fef3f2;
  font-weight: 800;
}

.ns-variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 90px auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--ns-line);
  border-radius: 12px;
}

.ns-variant-row span {
  display: block;
  color: var(--ns-muted);
}

.ns-variant-row em {
  color: var(--ns-accent);
  font-style: normal;
  font-weight: 900;
}

.ns-footer {
  max-width: 1240px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 54px auto 0;
  padding: 24px;
  color: var(--ns-muted);
  border-top: 1px solid var(--ns-line);
}

.ns-footer div {
  display: flex;
  gap: 8px;
}

.ns-footer-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ns-footer-categories a,
.ns-footer > a {
  color: var(--ns-muted);
  font-weight: 800;
}

.ns-page-hero--compact {
  padding-top: 32px;
}

.ns-profile-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.ns-profile-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--ns-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ns-shadow);
}

.ns-profile-photo {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.ns-profile-photo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid #fff;
  box-shadow: var(--ns-shadow);
}

.ns-profile-photo label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.select2-container--default .select2-selection--single {
  min-height: 44px;
  border: 1px solid var(--ns-line);
  border-radius: 12px;
  background: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-left: 14px;
  padding-right: 38px;
  color: var(--ns-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  min-height: 42px;
  width: 36px;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--ns-accent);
  box-shadow: 0 0 0 3px rgba(34, 131, 122, 0.13);
}

.select2-dropdown {
  border: 1px solid var(--ns-line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.14);
  overflow: hidden;
}

.select2-search--dropdown {
  padding: 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  min-height: 40px;
  border: 1px solid var(--ns-line);
  border-radius: 10px;
  padding: 8px 11px;
}

.select2-results__option {
  padding: 10px 13px;
}

.ns-order-detail {
  display: grid;
  gap: 18px;
}

.ns-inline-link {
  color: var(--ns-accent);
  font-weight: 900;
}

.ns-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ns-order-card,
.ns-order-table-wrap {
  padding: 18px;
  border: 1px solid var(--ns-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.ns-order-lines,
.ns-total-lines {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ns-order-lines div,
.ns-total-lines div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.ns-order-lines dt,
.ns-total-lines dt {
  color: var(--ns-muted);
  font-weight: 800;
}

.ns-order-lines dd,
.ns-total-lines dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.ns-total-lines .discount dd {
  color: #15803d;
}

.ns-total-lines .grand {
  padding-top: 12px;
  border-top: 1px solid var(--ns-line);
}

.ns-total-lines .grand dd {
  color: var(--ns-accent);
  font-size: 1.25rem;
}

.ns-order-table {
  margin: 0;
}

.ns-order-table th {
  color: var(--ns-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.ns-order-table td,
.ns-order-table th {
  vertical-align: middle;
}

.ns-order-product {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.ns-order-product img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  background: #f2f4f7;
}

.ns-order-product strong,
.ns-order-product span {
  display: block;
}

.ns-order-product span {
  color: var(--ns-muted);
  font-size: 0.86rem;
}

.ns-catalog-layout {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  margin: 0 auto;
  padding: 0 24px;
}

.ns-filter-panel {
  align-self: start;
  position: sticky;
  top: 156px;
  padding: 16px;
  border: 1px solid var(--ns-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.05);
}

.ns-filter-block {
  display: grid;
  gap: 9px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ns-line);
}

.ns-filter-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.ns-filter-block strong {
  font-size: 0.92rem;
}

.ns-filter-block a {
  color: var(--ns-muted);
  font-weight: 800;
}

.ns-filter-block a.active {
  color: var(--ns-accent);
}

.ns-check-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ns-muted);
  font-weight: 800;
}

.ns-catalog-results {
  min-width: 0;
}

.ns-catalog-toolbar label {
  min-width: min(260px, 100%);
  display: grid;
  gap: 5px;
}

.ns-catalog-toolbar label span {
  color: var(--ns-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.ns-card-actions {
  padding: 0 16px 16px;
}

.ns-list-modal-trigger,
.ns-detail-list-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--ns-line);
  border-radius: 999px;
  color: var(--ns-accent);
  background: #fff;
  font-weight: 900;
}

.ns-list-modal-trigger:hover,
.ns-detail-list-button:hover {
  border-color: var(--ns-accent);
  color: #fff;
  background: var(--ns-accent);
}

.ns-detail-list-button {
  margin-bottom: 16px;
}

.ns-list-modal .modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.2);
}

.ns-list-modal .modal-header,
.ns-list-modal .modal-footer {
  border-color: var(--ns-line);
}

.ns-list-modal .modal-title {
  margin: 0;
  color: var(--ns-ink);
  font-weight: 900;
}

.ns-list-modal .modal-body {
  display: grid;
  gap: 14px;
}

.ns-modal-field {
  display: grid;
  gap: 8px;
}

.ns-modal-field span {
  color: var(--ns-muted);
  font-weight: 900;
}

.ns-list-modal small {
  display: block;
  margin-top: 10px;
  color: var(--ns-muted);
}

.ns-flash {
  max-width: 1240px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  color: #166534;
  background: #f0fdf4;
  font-weight: 800;
}

.ns-contact-shell,
.ns-list-page {
  max-width: 960px;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  padding: 0 24px;
}

.ns-section-title--compact {
  margin-bottom: 12px;
}

.ns-list-products {
  display: grid;
  gap: 10px;
}

.ns-list-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--ns-line);
  border-radius: 12px;
  background: #fff;
}

.ns-list-product-row a {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.ns-list-product-row img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  background: #f2f4f7;
}

.ns-list-product-row strong,
.ns-list-product-row em {
  display: block;
}

.ns-list-product-row em {
  color: var(--ns-accent);
  font-style: normal;
  font-weight: 900;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge--warning {
  color: #92400e;
  background: #fef3c7;
}

.status-badge--info {
  color: #075985;
  background: #e0f2fe;
}

.status-badge--purple {
  color: #6d28d9;
  background: #ede9fe;
}

.status-badge--primary {
  color: #155e75;
  background: #cffafe;
}

.status-badge--success {
  color: #166534;
  background: #dcfce7;
}

.status-badge--danger {
  color: #991b1b;
  background: #fee2e2;
}

.status-badge--muted {
  color: #475467;
  background: #eef2f6;
}

@media (max-width: 1100px) {
  .ns-hero,
  .ns-catalog,
  .ns-catalog-layout,
  .ns-detail {
    grid-template-columns: 1fr;
  }

  .ns-filter-panel {
    position: static;
  }

  .ns-product-grid,
  .ns-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ns-topbar-inner,
  .ns-nav {
    display: none;
  }

  .ns-search-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .ns-search-strip .ns-header-search {
    width: 100%;
  }

  .ns-header-search {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }

  .ns-header {
    min-height: auto;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .ns-actions {
    margin-left: auto;
  }

  .ns-hero-copy {
    min-height: 430px;
    padding: 34px;
  }

  .ns-hero-product,
  .ns-variant-row {
    grid-template-columns: 1fr;
  }

  .ns-hero-search,
  .ns-catalog-filterbar,
  .ns-profile-photo,
  .ns-order-grid,
  .ns-variant-select-grid,
  .ns-add-to-cart-row {
    grid-template-columns: 1fr;
  }

  .ns-hero-search {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 48px;
    gap: 8px;
    padding: 6px 7px 6px 14px;
  }

  .ns-hero-search button {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.9rem;
  }

  .ns-product-grid,
  .ns-category-grid {
    grid-template-columns: 1fr;
  }

  .ns-section-title,
  .ns-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.shop-body {
  background: #f5f7f4;
}

.ns-shop-top-row {
  position: sticky;
  top: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 520px) minmax(260px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 10px max(24px, calc((100vw - 1240px) / 2));
  background: #f4ebe4;
  border-bottom: 1px solid #eadcd1;
}

.ns-brand-area {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ns-brand-area .ns-logo {
  font-size: 1.08rem;
  font-weight: 780;
}

.ns-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5c625f;
  font-size: 0.9rem;
  font-weight: 500;
}

.ns-shop-top-row .ns-header-search {
  width: 100%;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.78);
  border-color: #dfd4cb;
}

.ns-shop-top-row .ns-actions {
  justify-content: flex-end;
}

.ns-shop-top-row .ns-actions a,
.ns-shop-top-row .ns-link-button,
.ns-category-row a,
.ns-category-row span {
  font-size: 0.92rem;
  font-weight: 500;
}

.ns-category-row {
  position: sticky;
  top: 70px;
  z-index: 44;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 46px;
  padding: 8px max(24px, calc((100vw - 1240px) / 2));
  background: #eaf3ee;
  border-bottom: 1px solid #dbe9e1;
}

.ns-category-row div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.ns-category-row a {
  color: #3f534b;
}

.ns-category-row span {
  color: #5a6a62;
  white-space: nowrap;
}

.ns-product-card {
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(31, 34, 41, 0.055);
}

.ns-product-image img {
  aspect-ratio: 4 / 3;
}

.ns-product-info {
  gap: 5px;
  padding: 12px 14px 10px;
}

.ns-product-info strong {
  font-size: 0.98rem;
  font-weight: 760;
}

.ns-product-info p {
  min-height: 38px;
  margin-bottom: 0;
  font-size: 0.88rem;
}

.ns-product-info em,
.ns-price-stack em {
  font-weight: 760;
}

.ns-card-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 14px 14px;
}

.ns-list-modal-trigger,
.ns-detail-list-button {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.86rem;
  font-weight: 500;
}

.ns-detail-list-button {
  margin-bottom: 0;
}

.ns-add-to-cart-row {
  grid-template-columns: 110px minmax(170px, auto) minmax(140px, auto);
  align-items: center;
}

@media (max-width: 980px) {
  .ns-shop-top-row {
    position: static;
    grid-template-columns: 1fr;
  }

  .ns-shop-top-row .ns-actions,
  .ns-category-row,
  .ns-category-row div {
    justify-content: flex-start;
  }

  .ns-category-row {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Warm pastel storefront theme */
:root {
  --ns-ink: #35281f;
  --ns-text: #35281f;
  --ns-muted: #78695d;
  --ns-line: #ead7bf;
  --ns-soft: #fff8e8;
  --ns-card: #fffdf8;
  --ns-accent: #d97a2b;
  --ns-accent-dark: #b95f1e;
  --ns-green: #4f8065;
  --ns-yellow: #ffe6a8;
  --ns-peach: #f8d4b6;
  --ns-shadow: 0 16px 38px rgba(106, 72, 40, 0.09);
}

.shop-body,
.ns-main {
  background: #fff8e8;
}

.ns-main {
  padding-bottom: 48px;
}

.ns-shop-top-row {
  background: #fff0cf;
  border-bottom-color: #efd6a9;
}

.ns-shop-top-row .ns-header-search {
  background: #fffaf0;
  border-color: #e8cfa8;
}

.ns-profile-chip,
.ns-btn-light {
  background: #fffaf0;
  border-color: #e6cda7;
}

.ns-category-row {
  background: #ffe4ac;
  border-bottom-color: #edcc8a;
}

.ns-category-row a {
  color: #6f482a;
}

.ns-category-row a:hover,
.ns-category-row span {
  color: #9a5524;
}

.ns-hero {
  padding-top: 6px;
}

.ns-hero-copy {
  border: 1px solid rgba(255, 224, 172, 0.4);
  box-shadow: 0 24px 60px rgba(96, 60, 34, 0.14);
}

.ns-hero-product {
  border-color: #ecd8bd;
  background: #fff9eb;
  box-shadow: 0 12px 28px rgba(106, 72, 40, 0.08);
}

.ns-hero-product:nth-child(2) {
  background: #fff1df;
}

.ns-hero-product:nth-child(3) {
  background: #f3f6df;
}

.ns-benefit-strip {
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px auto 0;
  padding: 0 24px;
}

.ns-benefit-strip > div {
  min-height: 104px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid #efd8b3;
  border-radius: 14px;
  background: #fff0cf;
}

.ns-benefit-strip > div:nth-child(2) {
  border-color: #e8cfb8;
  background: #fae2d0;
}

.ns-benefit-strip > div:nth-child(3) {
  border-color: #d8ddba;
  background: #edf0ce;
}

.ns-benefit-strip i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ns-accent);
  font-size: 1.3rem;
}

.ns-benefit-strip span,
.ns-benefit-strip strong,
.ns-benefit-strip small {
  display: block;
}

.ns-benefit-strip small {
  margin-top: 4px;
  color: var(--ns-muted);
}

.ns-section-title {
  padding-bottom: 12px;
  border-bottom: 1px solid #ecd8bd;
}

.ns-kicker {
  color: #c96623;
}

.ns-category-tile {
  border-color: #ecd6b6;
  background: #fff2d5;
  box-shadow: 0 10px 25px rgba(106, 72, 40, 0.06);
}

.ns-category-tile:nth-child(4n + 2) {
  background: #fbe4d0;
}

.ns-category-tile:nth-child(4n + 3) {
  background: #f1f2d8;
}

.ns-category-tile:nth-child(4n + 4) {
  background: #f7dfbd;
}

.ns-category-tile i {
  color: #b95f1e;
  background: rgba(255, 255, 255, 0.62);
}

.ns-product-card {
  border-color: #ead7bf;
  background: #fffdf8;
  box-shadow: 0 12px 28px rgba(106, 72, 40, 0.07);
}

.ns-product-card:hover {
  border-color: #dfa96f;
  box-shadow: 0 18px 38px rgba(106, 72, 40, 0.12);
}

.ns-product-image {
  background: #fff0d2;
}

.ns-product-image img {
  color: transparent;
}

.ns-card-actions {
  background: #fffdf8;
}

.ns-list-modal-trigger,
.ns-detail-list-button {
  border-color: #e2c39d;
  color: #b85f24;
  background: #fff8e8;
}

.ns-page-hero {
  padding-bottom: 32px;
  background: #ffefcf;
  box-shadow: 0 0 0 100vmax #ffefcf;
  clip-path: inset(0 -100vmax);
}

.ns-filter-panel,
.ns-filter,
.ns-catalog-toolbar,
.ns-catalog-filterbar,
.ns-variant-box,
.ns-order-card,
.ns-order-table-wrap,
.ns-profile-card,
.ns-contact-shell > *,
.ns-list-product-row {
  border-color: #ead7bf;
  background: #fffdf8;
  box-shadow: 0 12px 28px rgba(106, 72, 40, 0.06);
}

.ns-selected-variant {
  border-color: #ecd4b2;
  background: #fff3dd;
}

.ns-detail-media > img,
.ns-thumbs img {
  background: #fff0d2;
}

.ns-footer {
  padding-top: 28px;
  padding-bottom: 28px;
  border-color: #e7c999;
  border-radius: 16px 16px 0 0;
  background: #ffedc8;
}

.empty-state {
  border-color: #dcbb87;
  color: #765437;
  background: #fff1d7;
}

.cart-item,
.cart-summary,
.checkout-shell .admin-form {
  border-color: #ead7bf;
  background: #fffdf8;
  box-shadow: 0 12px 28px rgba(106, 72, 40, 0.06);
}

.cart-item img,
.ns-order-product img,
.ns-list-product-row img {
  background: #fff0d2;
}

.form-control,
.form-select {
  border-color: #e4cba9;
  background-color: #fffdf8;
}

.form-control:focus,
.form-select:focus {
  border-color: #d97a2b;
  box-shadow: 0 0 0 0.2rem rgba(217, 122, 43, 0.14);
}

@media (max-width: 760px) {
  .ns-benefit-strip {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .ns-shop-top-row {
    background: #fff0cf;
  }

  .ns-category-row {
    background: #ffe4ac;
  }

  .ns-page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
}
