/* Natural Squeeze — Project Styles */

:root {
  --ns-ink: #1b2f2a;
  --ns-forest: #1f5c48;
  --ns-mint: #3e9b73;
  --ns-lime: #c4f28c;
  --ns-soft: #edf8ef;
  --ns-paper: #fcfbf8;
  --ns-card: #ffffff;
  --ns-border: #d6eadc;
  --ns-shadow-soft: 0 10px 24px rgba(20, 42, 33, 0.08);
  --ns-shadow: 0 12px 28px rgba(20, 42, 33, 0.12);
  --ns-shadow-lg: 0 22px 44px rgba(20, 42, 33, 0.16);
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ns-header-h, 72px) + 50px);
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ns-ink);
  font-size: 1.01rem;
  line-height: 1.55;
  background: radial-gradient(circle at 0% 0%, #f5fff6 0, #fbfffc 42%, #ffffff 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Fraunces", serif;
  letter-spacing: -0.01em;
}

a {
  color: var(--ns-forest);
}

/* ---- Alerts ---- */
.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* ---- Announcement bar ---- */
.ns-announce {
  background: var(--ns-ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 0;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.ns-announce-msg {
  color: rgba(255, 255, 255, 0.9);
}

.ns-announce-sep {
  color: rgba(255, 255, 255, 0.3);
}

.ns-announce-save {
  color: var(--ns-lime);
  font-weight: 700;
}

.ns-announce-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #7c2d12;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Promo email capture bar ---- */
.ns-promo-bar {
  background: linear-gradient(90deg, #edf8ef 0%, #f6faef 100%);
  border-bottom: 1px solid #d3e7d6;
  padding: 0.72rem 0;
  position: relative;
}

.ns-promo-bar.is-hidden {
  display: none;
}

.ns-promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ns-promo-bar-msg {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ns-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ns-promo-bar-msg i {
  color: var(--ns-forest);
  font-size: 1.05rem;
}

.ns-promo-bar-form {
  display: flex;
  gap: 0;
}

.ns-promo-bar-input {
  padding: 0.55rem 0.9rem;
  border: 1px solid #c8e6c9;
  border-right: none;
  border-radius: 0.4rem 0 0 0.4rem;
  background: #fff;
  font-size: 0.92rem;
  color: var(--ns-ink);
  outline: none;
  width: 210px;
}

.ns-promo-bar-input::placeholder {
  color: #aaa;
}

.ns-promo-bar-input:focus {
  border-color: var(--ns-forest);
}

.ns-promo-bar-btn {
  padding: 0.55rem 1.05rem;
  border: none;
  border-radius: 0 0.4rem 0.4rem 0;
  background: var(--ns-forest);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.ns-promo-bar-btn:hover {
  background: #174a38;
}

.ns-promo-bar-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #777;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.ns-promo-bar-close:hover {
  color: var(--ns-ink);
}

/* Promo bar — revealed state (replaces form inline) */
.ns-promo-bar-revealed {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--ns-ink);
}

.ns-promo-bar-revealed strong {
  font-family: "Fraunces", serif;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  color: var(--ns-forest);
  background: #fff;
  padding: 0.2rem 0.6rem;
  border: 1.5px dashed var(--ns-forest);
  border-radius: 0.3rem;
}

.ns-promo-bar-revealed .ns-promo-bar-copy {
  background: none;
  border: none;
  color: var(--ns-forest);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ns-promo-bar-revealed .ns-promo-bar-copy:hover {
  color: #174a38;
}

/* ---- Header ---- */
.ns-header {
  background: rgba(250, 249, 247, 0.94);
  border-bottom: 1px solid #e8e4de;
  z-index: 1030;
  padding: 0;
  backdrop-filter: saturate(140%) blur(14px);
}

.ns-header > .container {
  max-width: 1280px;
  padding-left: 28px;
  padding-right: 28px;
}

.ns-header-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 2.2rem;
  min-height: 86px;
}

/* Logo group */
.ns-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.ns-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ns-forest);
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ns-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ns-wordmark {
  font-family: "Fraunces", serif;
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--ns-ink);
  letter-spacing: -0.03em;
}

.ns-logo-group:hover .ns-wordmark {
  color: var(--ns-forest);
}

.ns-tagline {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

/* Desktop nav links */
.ns-header-nav {
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.ns-header-nav a {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ns-ink);
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  position: relative;
}

.ns-header-nav a:hover {
  background: rgba(31, 92, 72, 0.07);
  color: var(--ns-forest);
}

.ns-header-nav a:focus-visible {
  outline: 2px solid var(--ns-forest);
  outline-offset: 2px;
  border-radius: 0.45rem;
}

/* Thin divider between primary + secondary nav */
.ns-nav-divider {
  width: 1px;
  height: 1.1rem;
  background: #d0ccc6;
  margin: 0 0.35rem;
}

/* Right side */
.ns-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Cart button — chip style */
.ns-header-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ns-ink);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid #d0ccc6;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 14px rgba(20, 42, 33, 0.06);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  height: 48px;
}

.ns-header-cart i {
  font-size: 1.15rem;
}

.ns-header-cart:hover {
  background: rgba(31, 92, 72, 0.06);
  border-color: var(--ns-forest);
  color: var(--ns-forest);
}

.ns-header-cart:focus-visible {
  outline: 2px solid var(--ns-forest);
  outline-offset: 2px;
}

.ns-cart-label {
  /* visible by default, can hide on small screens */
}

.ns-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--ns-forest);
  color: #fff;
  border-radius: 999px;
  padding: 0 0.35rem;
  line-height: 1;
}

/* Store open/closed status indicator */
.ns-store-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  line-height: 1;
}

.ns-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ns-store-open {
  color: #1a6b42;
  background: rgba(62, 155, 115, 0.1);
}

.ns-store-open .ns-status-dot {
  background: #2ecc71;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25);
}

.ns-store-closed {
  color: #8c5a3c;
  background: rgba(180, 100, 50, 0.08);
}

.ns-store-closed .ns-status-dot {
  background: #c0392b;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.2);
}

/* Hamburger toggle */
.ns-header-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ns-ink);
  padding: 0.25rem 0.35rem;
  line-height: 1;
  cursor: pointer;
}

.ns-header-toggle:focus-visible {
  outline: 2px solid var(--ns-forest);
  outline-offset: 2px;
  border-radius: 0.3rem;
}

/* Mobile nav */
.ns-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0 0.75rem;
  border-top: 1px solid #e8e4de;
  margin-top: 0.5rem;
}

.ns-mobile-nav a {
  display: block;
  padding: 0.95rem 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ns-ink);
  text-decoration: none;
  border-bottom: 1px solid #f0ede8;
}

.ns-mobile-nav a:last-child {
  border-bottom: none;
}

.ns-mobile-nav a:hover {
  color: var(--ns-forest);
}

/* ---- Sticky bottom cart bar (mobile) ---- */
.ns-sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--ns-ink);
  padding: 0.65rem 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.ns-sticky-cart-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ns-sticky-cart-count {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  font-weight: 600;
}

.ns-sticky-cart-total {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.ns-sticky-cart-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 0.85rem;
  font-size: 0.98rem;
  white-space: nowrap;
}

/* Mobile header adjustments */
@media (max-width: 1199.98px) {
  .ns-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
  }

  .ns-header > .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 575.98px) {
  .ns-announce {
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }

  .ns-promo-bar {
    padding: 0.45rem 0;
  }

  .ns-promo-bar-inner {
    gap: 0.4rem;
  }

  .ns-promo-bar-msg {
    font-size: 0.84rem;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .ns-promo-bar-form {
    width: 100%;
    max-width: 280px;
  }

  .ns-promo-bar-input {
    flex: 1;
    min-width: 0;
    width: auto;
  }

  .ns-promo-bar-close {
    right: 6px;
    top: 8px;
    transform: none;
  }

  .ns-promo-bar-revealed {
    font-size: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ns-header-row {
    min-height: 60px;
  }

  .ns-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .ns-wordmark {
    font-size: 1.18rem;
  }

  .ns-tagline {
    font-size: 0.63rem;
  }

  .ns-header-cart {
    padding: 0.45rem 0.68rem;
    height: 42px;
    font-size: 0.94rem;
  }

  .ns-cart-label {
    display: none;
  }
}

/* ---- Hero ---- */
.ns-hero {
  background:
    radial-gradient(120% 160% at 100% -20%, rgba(196, 242, 140, 0.38), transparent 55%),
    linear-gradient(140deg, #1a4938 0, #2e7f5f 52%, #2b684f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ns-hero .display-4 {
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 10.5ch;
}

.ns-hero .lead {
  font-size: clamp(1.08rem, 1.45vw, 1.26rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.ns-hero .btn-lg {
  min-height: 56px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

.ns-hero-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.48rem 0.9rem;
}

.ns-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 600;
}

.ns-meta-chip.open {
  background: #daf6e7;
  border-color: #daf6e7;
  color: #145a3e;
}

.ns-meta-chip.closed {
  background: #fce8e8;
  border-color: #fce8e8;
  color: #7b2f2f;
}

.ns-hero-panel {
  background: #fff;
  color: var(--ns-ink);
  border-radius: 1.35rem;
  padding: 1.45rem 1.55rem;
  border: 1px solid rgba(31, 92, 72, 0.08);
  box-shadow: var(--ns-shadow-lg);
}

.ns-hero-panel h5 {
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #356553;
}

.ns-hero-panel p {
  font-size: 1.08rem;
  font-weight: 700;
}

.ns-hero-panel .small {
  font-size: 0.92rem;
  color: #597068 !important;
}

.ns-hero-panel .list-group-item {
  border: 0;
  border-bottom: 1px solid #ebf4ed;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.ns-hero-panel .list-group-item:last-child {
  border-bottom: 0;
}

.ns-hero-logo-wrap {
  max-width: 540px;
  padding: 0.5rem 0.7rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(14, 34, 27, 0.24);
}

.ns-hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Cards ---- */
.ns-soft-bg {
  background:
    linear-gradient(180deg, rgba(237, 248, 239, 0.9), rgba(245, 252, 247, 0.95)),
    radial-gradient(circle at 88% 10%, rgba(196, 242, 140, 0.35), transparent 35%);
}

/* ---- Customer Favorites Section ---- */
.ns-popular-section {
  background: #f7f5f0;
  padding: 3.75rem 0;
}

.ns-popular-heading {
  font-family: 'Fraunces', serif;
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--ns-ink);
  letter-spacing: -0.03em;
  margin-bottom: 1.9rem;
}

.ns-popular-subtitle {
  font-size: 1rem;
  color: #5f6f69;
  max-width: 34rem;
}

.ns-section-link-btn {
  min-height: 48px;
  padding-inline: 1.15rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
}

.ns-popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* Card */
.ns-popular-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e6e1d9;
  box-shadow: var(--ns-shadow-soft);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ns-popular-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ns-shadow-lg);
}

/* Image */
.ns-popular-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.ns-popular-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-popular-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #d8f3dc, #c0ebd2);
  color: var(--ns-mint);
  font-size: 2rem;
}

/* Body */
.ns-popular-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.12rem 1.15rem 1.15rem;
}

.ns-popular-title {
  font-family: 'Fraunces', serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ns-ink);
  line-height: 1.25;
  margin: 0;
  min-height: 2.5em;
}

/* Footer pinned to bottom */
.ns-popular-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.6rem;
}

.ns-popular-from {
  font-size: 0.92rem;
  color: #697972;
  font-weight: 600;
}

.ns-popular-price {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ns-ink);
}

.ns-feature-card {
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(31, 92, 72, 0.09);
  box-shadow: var(--ns-shadow-soft);
}

.ns-feature-card h5 {
  font-size: 1.28rem;
  margin-bottom: 0.45rem;
}

.ns-feature-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #5b6b65 !important;
}

.ns-feature-card i {
  color: var(--ns-forest);
}

/* ---- Category slide transition ---- */
.ns-category-group {
  animation: ns-slide-in 0.3s ease-out both;
}

.ns-category-group:nth-child(2) { animation-delay: 0.05s; }
.ns-category-group:nth-child(3) { animation-delay: 0.1s; }
.ns-category-group:nth-child(4) { animation-delay: 0.15s; }
.ns-category-group:nth-child(5) { animation-delay: 0.2s; }

@keyframes ns-slide-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-category-group {
    animation: none;
  }
}

.ns-section-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ns-border);
}

.ns-section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d7c75;
}

.ns-section-heading {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ns-ink);
  letter-spacing: -0.03em;
}

.ns-section-group {
  scroll-margin-top: calc(var(--ns-header-h, 72px) + 72px);
}

.ns-section-subgroup + .ns-section-subgroup {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(21, 54, 41, 0.08);
}

.ns-delivery-promo {
  background: linear-gradient(135deg, #fff8dd 0%, #eef9e8 100%);
  border: 1px solid #d9e6bf;
  border-radius: 1.2rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 24px rgba(31, 92, 72, 0.08);
}

.ns-delivery-promo--compact {
  padding: 0.9rem 1rem;
}

.ns-delivery-promo-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  background: #1f5c48;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ns-delivery-promo-title {
  font-family: 'Fraunces', serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ns-ink);
  margin-bottom: 0.2rem;
}

.ns-delivery-promo-copy {
  font-size: 0.98rem;
  color: #41554d;
  line-height: 1.45;
}

/* ---- Item Cards (horizontal, UberEats-style) ---- */
.ns-item-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e7dfd4;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 42, 33, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  height: 100%;
}

.ns-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 42, 33, 0.12);
}

.ns-item-info {
  flex: 1;
  padding: 1.08rem 1.18rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ns-item-name {
  font-family: 'Fraunces', serif;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ns-ink);
  margin-bottom: 0.25rem;
}

.ns-item-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ns-forest);
  margin-bottom: 0.45rem;
}

.ns-item-desc {
  font-size: 0.94rem;
  color: #5f6b66;
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-item-img-wrap {
  position: relative;
  flex: 0 0 188px;
  width: 188px;
  min-height: 148px;
}

.ns-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-item-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #e8f5ec, #d8f1de);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-item-img-placeholder i {
  font-size: 2rem;
  color: #8ec5a4;
}

.ns-item-add-btn {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(20, 42, 33, 0.08);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #111;
  cursor: pointer;
  transition: transform 0.1s;
}

.ns-item-add-btn:hover {
  transform: scale(1.1);
}

.ns-item-add-btn:active {
  transform: scale(0.95);
}

/* ---- Category Tabs ---- */
.ns-category-tabs {
  white-space: nowrap;
}

.ns-category-heading {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6d7c75;
  line-height: 1.2;
}

.ns-category-tabs .nav-link {
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  color: var(--ns-forest);
}

.ns-category-tabs .nav-link:not(.active) {
  background: #f4fbf5;
  border-color: #d8ecde;
}

.ns-category-tabs .nav-link.active {
  background: var(--ns-forest) !important;
}

/* ---- Social Proof Bar ---- */
.ns-proof-bar {
  background: #faf6f0;
  border-bottom: 1px solid #ede8e0;
  padding: 0.72rem 0;
}

.ns-proof-badge {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ns-ink);
  letter-spacing: 0.01em;
}

.ns-proof-badge i {
  color: #f5a623;
  margin-right: 0.2rem;
}

.ns-proof-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ns-forest);
  text-decoration: none;
  border: 1px solid var(--ns-forest);
  border-radius: 2rem;
  padding: 0.25rem 0.85rem;
  transition: background 0.15s, color 0.15s;
}

.ns-proof-link:hover {
  background: var(--ns-forest);
  color: #fff;
}

.ns-proof-sep {
  color: #ccc;
  font-size: 0.82rem;
}

.ns-proof-quotes {
  font-size: 0.9rem;
  color: #65726d;
  font-style: italic;
  display: flex;
  gap: 0.6rem;
}

.ns-proof-quotes span {
  white-space: nowrap;
}

/* ---- Customer Reviews ---- */
.ns-reviews-section {
  padding: 2rem 0 1.5rem;
}

.ns-reviews-heading {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ns-ink);
}

.ns-reviews-source {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
}

.ns-review-card {
  border: 1px solid #e8e8e8;
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  background: #fff;
  height: 100%;
}

.ns-review-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ns-ink);
}

.ns-review-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.ns-review-stars {
  color: #f5a623;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.ns-review-stars .ns-star-empty {
  color: #ddd;
}

.ns-review-date {
  font-size: 0.75rem;
  color: #aaa;
}

.ns-review-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ns-ink);
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 0.35rem;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
  align-self: flex-start;
}

.ns-review-quote {
  font-size: 0.92rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .ns-reviews-section .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .ns-reviews-section .row::-webkit-scrollbar {
    display: none;
  }
  .ns-reviews-section .col-md-4 {
    flex: 0 0 280px;
    max-width: 280px;
  }
  .ns-reviews-heading {
    font-size: 1.15rem;
  }
}

/* ---- Menu Sidebar Categories ---- */
.ns-menu-sidebar-col {
  position: sticky;
  top: calc(var(--ns-header-h, 72px) + 16px);
  align-self: flex-start;
}

.ns-menu-sidebar {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.ns-sidebar-heading {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6d7c75;
  margin-bottom: 0.6rem;
  padding-left: 0.85rem;
}

.ns-category-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ns-category-list .nav-link {
  border-radius: 0.95rem;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  color: #556762;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ns-category-list .nav-link:hover {
  color: var(--ns-ink);
  background: #f4f7f4;
}

.ns-category-list .nav-link.active {
  background: linear-gradient(135deg, #1f5c48 0%, #2c7d5d 100%) !important;
  border-color: rgba(31, 92, 72, 0.12);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(31, 92, 72, 0.18);
}

.ns-cart-page {
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 242, 140, 0.16), transparent 32%),
    linear-gradient(180deg, #faf7f2 0%, #fbfaf7 36%, #ffffff 100%);
}

.ns-cart-shell {
  max-width: 780px !important;
}

.ns-cart-title {
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ns-ink);
}

.ns-cart-page .list-group {
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: var(--ns-shadow-soft);
}

.ns-cart-page .list-group-item {
  padding: 1.15rem 1.2rem;
}

.ns-cart-item h6 {
  font-size: 1.12rem;
  margin-bottom: 0.35rem !important;
}

.ns-cart-item .badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 0.56rem;
}

.ns-cart-empty-copy {
  font-size: 1.04rem;
}

.ns-cart-summary {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--ns-shadow);
}

.ns-cart-summary .card-body {
  padding: 1.35rem 1.4rem;
}

.ns-cart-summary .btn {
  min-height: 54px;
  border-radius: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
}

.ns-cart-continue {
  color: var(--ns-forest) !important;
  font-size: 1rem;
  font-weight: 700;
}

.ns-section-label {
  display: none;
}

/* ---- Modal (compact configurator) ---- */
.ns-item-modal-dialog {
  max-width: min(94vw, 780px);
  margin: 1.5rem auto;
}

.ns-modal-shell {
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.ns-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  background-color: #fff;
  border-radius: 50%;
  padding: 0.55rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0.85;
}

.ns-modal-close:hover { opacity: 1; }

/* Two-column layout */
.ns-modal-layout {
  display: flex;
  max-height: 88vh;
}

/* Left rail: image + info */
.ns-modal-rail {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  flex-direction: column;
  background: #f6f6f6;
}

.ns-modal-img-wrap {
  flex: 1;
  min-height: 180px;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ns-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ns-modal-img-fade 0.25s ease-out;
}

@keyframes ns-modal-img-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ns-modal-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(160deg, #e8f5ec, #d8f1de);
}

.ns-modal-img-placeholder i {
  font-size: 3.5rem;
  color: #8ec5a4;
}

.ns-modal-rail-info {
  flex: none;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.ns-modal-title {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ns-ink);
  margin-bottom: 0.25rem;
}

.ns-modal-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.4rem;
}

.ns-modal-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.45;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Config panel */
.ns-modal-config {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#item-modal-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ns-modal-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Step pills */
.ns-modal-steps {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0.75rem;
  flex-wrap: wrap;
}

.ns-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: #f0f0f0;
  color: #777;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ns-step-pill:hover { background: #e8e8e8; }

.ns-step-pill.active {
  background: var(--ns-soft);
  color: var(--ns-ink);
  border-color: var(--ns-mint);
}

.ns-step-pill.completed {
  background: var(--ns-soft);
  color: var(--ns-mint);
}

.ns-step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-step-pill.active .ns-step-num { background: var(--ns-ink); }
.ns-step-pill.completed .ns-step-num { background: var(--ns-mint); }

/* Collapsible config sections */
.ns-cfg-section {
  border-top: 1px solid #f0f0f0;
}

.ns-cfg-section:first-child { border-top: none; }

.ns-cfg-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s;
}

.ns-cfg-toggle:hover { background: #fafafa; }

.ns-cfg-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ns-cfg-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ns-ink);
  margin: 0;
}

.ns-cfg-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ns-cfg-badge.required {
  background: #fff3e0;
  color: #e65100;
}

.ns-cfg-badge.optional {
  background: #f0f0f0;
  color: #888;
}

.ns-cfg-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ns-cfg-summary {
  font-size: 0.82rem;
  color: var(--ns-mint);
  font-weight: 600;
}

.ns-cfg-chevron {
  font-size: 0.75rem;
  color: #999;
  transition: transform 0.2s ease;
}

.ns-cfg-section.open .ns-cfg-chevron {
  transform: rotate(180deg);
}

/* Section body collapse */
.ns-cfg-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.ns-cfg-section.open .ns-cfg-body {
  max-height: 600px;
}

.ns-cfg-body-inner {
  padding: 0 1.25rem 1rem;
}

/* Card-style size selector */
.ns-size-cards {
  display: flex;
  gap: 0.65rem;
}

.ns-size-card {
  flex: 1;
  border: 2px solid #e8e8e8;
  border-radius: 0.75rem;
  padding: 0.85rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
}

.ns-size-card:hover { border-color: #ccc; }

.ns-size-card.selected {
  border-color: var(--ns-ink);
  background: var(--ns-soft);
}

.ns-size-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ns-ink);
  margin-bottom: 0.2rem;
}

.ns-size-card-price {
  font-size: 0.82rem;
  color: #666;
}

.ns-size-card.selected .ns-size-card-price { color: var(--ns-ink); }

/* Option rows (modifiers) */
.ns-modal-option-list {
  display: flex;
  flex-direction: column;
}

.ns-modal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  gap: 0.75rem;
}

.ns-modal-option:last-child { border-bottom: none; }

.ns-modal-option-info { flex: 1; min-width: 0; }

.ns-modal-option-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ns-ink);
}

.ns-modal-option-price {
  font-size: 0.82rem;
  color: #888;
  margin-top: 0.05rem;
}

.ns-modal-option-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  background: #fff;
}

.ns-modal-option-check.radio { border-radius: 50%; }

.ns-modal-option.selected .ns-modal-option-check {
  border-color: var(--ns-ink);
  background: var(--ns-ink);
  color: #fff;
}

.ns-modal-option.selected .ns-modal-option-check::after {
  content: "✓";
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

/* Footer: qty + CTA (always visible, never scrolls) */
.ns-modal-footer {
  flex: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ns-modal-qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  overflow: hidden;
}

.ns-qty-btn {
  width: 40px;
  height: 42px;
  border: none;
  background: #f8f8f8;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s;
}

.ns-qty-btn:hover { background: #eee; }
.ns-qty-btn:active { background: #ddd; }

.ns-qty-value {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ns-ink);
  user-select: none;
}

.ns-modal-add-btn {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 0.5rem;
  background: var(--ns-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.ns-modal-add-btn:hover { background: #0d1f1a; }
.ns-modal-add-btn:active { background: #000; }
.ns-modal-add-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Simple layout: no config steps (single variation, no modifiers) */
.ns-modal-simple {
  flex-direction: column;
  max-height: none;
}

.ns-modal-simple .ns-modal-rail {
  flex: none;
  max-width: 100%;
}

.ns-modal-simple .ns-modal-img-wrap {
  max-height: 320px;
}

.ns-modal-simple .ns-modal-config {
  flex: none;
}

.ns-modal-simple .ns-modal-scroll {
  display: none;
}

/* Mobile modal: full screen, single column */
@media (max-width: 575.98px) {
  .ns-item-modal-dialog {
    max-width: 100vw;
    margin: 0;
    min-height: 100dvh;
  }

  .ns-modal-shell {
    border-radius: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .ns-modal-shell .modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .ns-modal-layout {
    flex-direction: column;
    flex: 1;
    max-height: none;
    height: 100%;
  }

  .ns-modal-rail {
    flex: none;
    max-width: 100%;
  }

  .ns-modal-img-wrap {
    height: 220px;
    min-height: 0;
    flex: none;
  }

  .ns-modal-rail-info { padding: 1rem; }
  .ns-modal-title { font-size: 1.2rem; }

  .ns-modal-config {
    flex: 1;
    min-height: 0;
  }

  .ns-modal-steps { padding: 0.75rem 1rem 0.5rem; }
  .ns-cfg-toggle { padding: 0.85rem 1rem; }
  .ns-cfg-body-inner { padding: 0 1rem 1rem; }

  .ns-size-cards {
    flex-direction: column;
    gap: 0.5rem;
  }

  .ns-size-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.85rem 1rem;
  }

  .ns-modal-footer {
    padding: 0.85rem 1rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .ns-modal-add-btn {
    height: 52px;
    font-size: 1.05rem;
  }
}

/* ---- Apple Pay ---- */
.ns-apple-pay-btn {
  -webkit-appearance: -apple-pay-button;
  -apple-pay-button-type: plain;
  -apple-pay-button-style: black;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.ns-pay-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  font-size: 0.78rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ns-pay-divider::before,
.ns-pay-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

/* ---- Footer ---- */
.ns-footer {
  color: rgba(255, 255, 255, 0.7);
}

/* Newsletter section — warm light background */
.ns-footer-newsletter {
  background: #f5f1eb;
  padding: 3rem 0;
}

.ns-newsletter-inner {
  max-width: 680px;
}

.ns-newsletter-headline {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ns-ink);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.ns-newsletter-sub {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 1.25rem;
}

.ns-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
}

.ns-newsletter-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid #d6d0c8;
  border-right: none;
  border-radius: 0.45rem 0 0 0.45rem;
  background: #fff;
  color: var(--ns-ink);
  font-size: 0.88rem;
  outline: none;
}

.ns-newsletter-input::placeholder {
  color: #aaa;
}

.ns-newsletter-input:focus {
  border-color: var(--ns-forest);
}

.ns-newsletter-btn {
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 0 0.45rem 0.45rem 0;
  background: var(--ns-forest);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.ns-newsletter-btn:hover {
  background: #174a38;
}

/* Promo code reveal */
.ns-promo-reveal {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.75rem;
  border: 2px dashed var(--ns-forest);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.ns-promo-code {
  padding: 0.7rem 1.25rem;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ns-forest);
  user-select: all;
}

.ns-promo-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  height: 100%;
  border: none;
  border-left: 1px solid #ddd;
  background: #f7f5f0;
  color: var(--ns-ink);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  align-self: stretch;
}

.ns-promo-copy-btn:hover {
  background: var(--ns-forest);
  color: #fff;
}

.ns-promo-copy-btn.copied {
  background: var(--ns-forest);
  color: #fff;
}

.ns-promo-hint {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
}

.ns-promo-hint a {
  color: var(--ns-forest);
  font-weight: 600;
  text-decoration: none;
}

.ns-promo-hint a:hover {
  text-decoration: underline;
}

/* Main footer body */
.ns-footer-main {
  background: var(--ns-ink);
  padding: 3rem 0 2rem;
}

/* Brand block */
.ns-footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ns-footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ns-forest);
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ns-footer-brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.ns-footer-brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.ns-footer-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.ns-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ns-footer-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

/* Footer headings */
.ns-footer-heading {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

/* Link lists */
.ns-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ns-footer-links li {
  margin-bottom: 0.5rem;
}

.ns-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s;
}

.ns-footer-links a:hover {
  color: #fff;
}

/* Visit column */
.ns-footer-visit {
  font-size: 0.94rem;
}

.ns-footer-address {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.ns-footer-address strong {
  color: #fff;
}

.ns-footer-today {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.ns-footer-today strong {
  color: #fff;
}

.ns-open-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  margin-right: 0.1rem;
  vertical-align: middle;
}

.ns-footer-visit-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.ns-footer-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.ns-footer-sep {
  color: rgba(255, 255, 255, 0.3);
}

.ns-footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.ns-footer-link:hover {
  color: #fff;
}

/* Bottom bar */
.ns-footer-bottom {
  background: #141f1b;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.ns-footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ns-footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.ns-footer-legal a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.ns-footer-legal .ns-footer-sep {
  font-size: 0.65rem;
}

/* Mobile footer */
@media (max-width: 767.98px) {
  .ns-newsletter-headline {
    font-size: 1.35rem;
  }

  .ns-newsletter-form {
    max-width: 100%;
  }

  .ns-footer-main .row > [class*="col-"] {
    text-align: center;
  }

  .ns-footer-brand-header {
    justify-content: center;
  }

  .ns-footer-badges {
    justify-content: center;
  }

  .ns-footer-visit-links {
    justify-content: center;
  }

  .ns-footer-social {
    justify-content: center;
  }

  .ns-footer-bottom .d-flex {
    justify-content: center !important;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }

  .ns-footer-legal {
    justify-content: center;
  }
}

/* ---- Location Page ---- */
.ns-location-card {
  border-radius: 1rem;
}

/* ---- Cart / Toast ---- */
#cart-toast {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-radius: 0.75rem;
}

#card-container {
  min-height: 90px;
}

/* ---- Existing controls ---- */
.btn-check:checked + .btn-outline-success {
  background-color: var(--ns-forest);
  border-color: var(--ns-forest);
  color: #fff;
}

.btn-check:checked + .btn-outline-secondary {
  background-color: var(--ns-mint);
  border-color: var(--ns-mint);
  color: #fff;
}

.list-group-item {
  border-left: none;
  border-right: none;
}

.list-group-item:first-child {
  border-top: none;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  /* Make the menu row a block container so the sidebar can sticky-scroll
     against the full row height instead of its own flex line. */
  #full-menu .row {
    display: block;
  }

  .ns-menu-sidebar {
    padding: 0.35rem 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    margin-bottom: 0;
  }

  .ns-sidebar-heading {
    display: none;
  }

  .ns-menu-sidebar-col {
    position: sticky;
    top: var(--ns-header-h, 72px);
    z-index: 1015;
    background: #fff;
    border-bottom: 1px solid var(--ns-border);
    margin-top: 0;
    margin-bottom: 0.5rem;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .ns-category-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    padding-bottom: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }

  .ns-category-list::-webkit-scrollbar {
    display: none;
  }

  .ns-category-list .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    min-height: 54px;
    padding: 0.88rem 1.3rem;
    font-size: 0.97rem;
    font-weight: 700;
    background: transparent !important;
    box-shadow: none;
  }

  .ns-category-list .nav-link.active {
    border: none;
    border-bottom: 3px solid var(--ns-ink);
    background: transparent !important;
    color: var(--ns-ink);
    box-shadow: none;
  }

  .ns-item-img-wrap {
    flex: 0 0 158px;
    width: 158px;
    min-height: 136px;
  }
}

@media (max-width: 575.98px) {
  .ns-item-info {
    padding: 0.75rem 0.85rem;
  }

  .ns-item-name {
    font-size: 1.02rem;
  }

  .ns-item-price {
    font-size: 0.92rem;
  }

  .ns-item-desc {
    font-size: 0.86rem;
    -webkit-line-clamp: 2;
  }

  .ns-item-img-wrap {
    flex: 0 0 138px;
    width: 138px;
    min-height: 124px;
  }

  /* Hero section mobile spacing */
  .ns-hero {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .ns-hero .display-4 {
    font-size: 2.18rem;
    max-width: 12ch;
  }

  .ns-hero .lead {
    font-size: 1.04rem;
  }

  .ns-popular-heading {
    font-size: 1.78rem;
  }

  .ns-section-heading {
    font-size: 1.72rem;
  }

  /* Checkout/Cart page width override */
  section .container[style*="max-width"] {
    max-width: 100% !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Search bar sizing */
  .ns-search-input {
    font-size: 1.02rem;
    height: 3.05rem;
  }
}

/* ---- Cart mobile touch targets ---- */
@media (max-width: 767.98px) {
  .ns-cart-controls .btn {
    min-width: 40px;
    min-height: 40px;
    padding: 0.4rem 0.55rem;
    font-size: 1rem;
  }

  .ns-cart-controls .fw-semibold {
    min-width: 1.5rem;
    text-align: center;
  }

  .ns-cart-item {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .ns-cart-item .text-end {
    align-self: flex-end;
  }
}

/* ---- Safe-area insets for notched phones ---- */
@supports (padding: env(safe-area-inset-top)) {
  .ns-header {
    padding-top: env(safe-area-inset-top);
  }

  .ns-footer-bottom {
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
  }

  .ns-scroll-top {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}

/* ---- Touch-friendly interactions ---- */
@media (hover: none) and (pointer: coarse) {
  .ns-popular-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .ns-popular-card:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  .ns-item-card:hover {
    box-shadow: none;
  }

  .ns-item-card:active {
    background: #f8f8f8;
    transition: background 0.1s ease;
  }
}

/* ---- Menu Search Filter ---- */
.ns-search-bar {
  max-width: 100%;
}

.ns-search-input {
  padding-left: 2.8rem;
  padding-right: 3.2rem;
  border-radius: 999px;
  border: 2px solid var(--ns-border);
  background: linear-gradient(135deg, #f4fbf6, #edf8ef);
  font-size: 1.08rem;
  font-weight: 600;
  height: 3.35rem;
  box-shadow: 0 3px 12px rgba(19, 53, 40, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ns-search-input:focus {
  border-color: var(--ns-mint);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(62, 155, 115, 0.15), 0 4px 14px rgba(19, 53, 40, 0.1);
}

.ns-search-input::placeholder {
  color: #6b9e82;
  font-weight: 500;
}

.ns-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ns-mint);
  font-size: 1.1rem;
  pointer-events: none;
}

.ns-search-kbd {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #8aad98;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ns-border);
  border-radius: 0.35rem;
  padding: 0.1rem 0.45rem;
  line-height: 1.4;
  pointer-events: none;
}

.ns-search-input:focus ~ .ns-search-kbd {
  display: none !important;
}

.ns-search-clear {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  opacity: 0.5;
}

.ns-search-clear:hover {
  opacity: 0.9;
}

/* ---- Scroll to Top ---- */
.ns-scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1040;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ns-forest);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(19, 53, 40, 0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  cursor: pointer;
}

/* Push scroll-top above sticky cart bar on mobile */
@media (max-width: 991.98px) {
  body:has(.ns-sticky-cart) {
    padding-bottom: 4.5rem;
  }
  body:has(.ns-sticky-cart) .ns-scroll-top {
    bottom: 5.5rem;
  }
}

.ns-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ns-scroll-top:hover {
  background: var(--ns-mint);
  box-shadow: 0 6px 18px rgba(19, 53, 40, 0.3);
}
