/* ===========================================================================
   No1 Princess — Menu page ("Our-Menu", Figma node 295-1435)
   Loads AFTER home.css, which provides the design tokens + shared components
   (header, drawer, marquee, gallery, contact, footer).
   =========================================================================== */

/* ---- Hero strip: "OUR MENU" over a dark bagels photo (Figma 1512x400) ---- */
.np-menuhero {
  position: relative;
  height: clamp(280px, 26.5vw, 400px);
  background: var(--c-dark);
  overflow: hidden;
}
.np-menuhero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.np-menuhero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.45) 100%);
}
.np-menuhero__title {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  margin: 0;
  padding-top: 60px; /* clear the overlaid 116px nav */
  font-family: var(--font-display); font-weight: 400; color: var(--c-white);
  font-size: clamp(54px, 8.5vw, 128px); line-height: 1;
  letter-spacing: -0.1em; text-transform: uppercase; text-align: center;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}

/* ---- Menu list section -------------------------------------------------- */
.np-menusec {
  background: var(--c-cream);
  color: var(--c-dark);
  padding-block: clamp(34px, 4vw, 56px) clamp(56px, 8vw, 104px);
}
.np-menusec__inner {
  width: 100%;
  max-width: 1512px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Category tab bar ---------------------------------------------------- */
.np-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.np-tabs__filter {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  background: var(--c-white);
  border: 1px solid var(--c-beige);
  color: var(--c-dark);
}
.np-tabs__filter svg { width: 22px; height: 22px; }
.np-tab {
  display: inline-flex; align-items: center;
  height: 50px; padding: 0 18px;
  background: var(--c-white);
  border: 1px solid var(--c-beige);
  color: #000;
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(13px, 1.05vw, 16px); letter-spacing: 0;
  text-transform: uppercase; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.np-tab:hover,
.np-tab.is-active {
  background: var(--c-dark);
  color: var(--c-cream);
  border-color: var(--c-dark);
}

/* ---- A category block --------------------------------------------------- */
.np-cat { margin-top: clamp(36px, 4vw, 56px); scroll-margin-top: 130px; }
.np-cat:first-of-type { margin-top: 0; }
.np-cat__title {
  font-family: var(--font-display); font-weight: 400;
  margin: 0 0 clamp(14px, 1.6vw, 18px);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1; letter-spacing: -0.1em; text-transform: uppercase;
}
.np-cat__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* ---- A single menu item ------------------------------------------------- */
.np-mitem {
  display: flex; align-items: center; gap: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-beige);
  border-radius: 12px;
  padding: 24px;
  min-height: 168px;
}
.np-mitem__text { flex: 1 1 auto; min-width: 0; }
.np-mitem__name {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 400;
  margin: 0;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1; letter-spacing: -0.1em; text-transform: uppercase;
}
.np-mitem__new {
  flex: none;
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border: 1.5px solid var(--c-dark); border-radius: 50%;
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: -0.06em; text-transform: uppercase; line-height: 1;
}
.np-mitem__desc {
  margin: 10px 0 0;
  font-family: var(--font-body); font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.4; color: var(--c-ink); opacity: .82;
}
.np-mitem__price {
  display: block; margin-top: 12px;
  font-family: var(--font-display); font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.1em; color: var(--c-dark);
}
.np-mitem__thumb {
  flex: none;
  width: 120px; height: 120px;
  border-radius: 6px; object-fit: cover;
  border: 1px solid var(--c-beige);
  background: #f1ece3;
}

/* ===========================================================================
   CONTACT  (Got a question? There's an answer.)
   =========================================================================== */
.np-contact { background: var(--c-dark); color: var(--c-cream); padding-block: clamp(64px, 9vw, 120px); }
.np-contact__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 68px); }
.np-contact__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.04em; margin: 0; text-transform: uppercase; }
.np-contact__sub { margin: 18px 0 0; color: rgba(246, 244, 241, .8); font-size: clamp(15px, 1.1vw, 20px); line-height: 1.5; }
.np-contact__form { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 5vw, 70px); }
.np-field { position: relative; border-bottom: 1px solid rgba(246, 244, 241, .22); padding: 24px 0 12px; }
.np-field--full { grid-column: 1 / -1; }
.np-field input, .np-field select, .np-field textarea {
  width: 100%; background: transparent; border: none; outline: none; resize: none;
  color: var(--c-cream); font-family: var(--font-body); font-size: 16px; padding: 0;
}
.np-field select { appearance: none; cursor: pointer; }
.np-field input::placeholder, .np-field textarea::placeholder { color: rgba(246, 244, 241, .62); }
.np-field__chev { position: absolute; right: 4px; top: 24px; color: rgba(246, 244, 241, .6); pointer-events: none; }
.np-contact__submit { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 44px; }
.np-contact__btn {
  font-family: var(--font-body); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-cream); border: 1.5px solid rgba(246, 244, 241, .8); border-radius: 4px; padding: 16px 34px; background: transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.np-contact__btn:hover { background: var(--c-cream); color: var(--c-dark); border-color: var(--c-cream); }
@media (max-width: 640px) {
  .np-contact__form { grid-template-columns: 1fr; }
}

/* 

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 860px) {
  .np-cat__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .np-mitem { padding: 18px; min-height: 0; gap: 12px; }
  .np-mitem__thumb { width: 88px; height: 88px; }
  .np-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .np-tab, .np-tabs__filter { flex: none; }
}
