/*
 * Navarasam — the /onam campaign landing page.
 * Layered on premium-storefront.css; nothing here restyles the shared theme.
 */

.navarasam {
  --nv-accent: #2e9e63;
  --nv-sunk: #f5f3f0;
  --nv-line: #e7e4df;
}

/* --- Stage ---------------------------------------------------------------- */

.nv-stage {
  position: relative;
  padding-top: clamp(1.2rem, 3vw, 2.6rem);
}
.nv-stage::before {
  position: absolute;
  z-index: 0;
  inset: auto 0 0 0;
  height: 58%;
  background: var(--nv-sunk);
  content: "";
}
.nv-stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 25rem);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.nv-eyebrow {
  margin: 0 0 .8rem;
  color: var(--nv-accent);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: color .5s ease;
}
.navarasam h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: .98;
}
.nv-sub {
  max-width: 34ch;
  margin: 1rem 0 0;
  color: var(--premium-copy, #62636f);
  font-size: .92rem;
  line-height: 1.7;
}
.nv-cta { margin-top: 1.4rem; }

/* The face. Cursor hints that it is looking at you. */
.nv-face {
  position: relative;
  cursor: crosshair;
  filter: drop-shadow(0 24px 46px rgba(120, 20, 40, .2));
}
.nv-face #kface {
  display: block;
  width: 100%;
  height: auto;
}
/* Tweened in Chromium and Firefox; Safari snaps between shapes instead. */
.nv-face #browL,
.nv-face #browR,
.nv-face #mouth { transition: d .45s cubic-bezier(.2, .75, .2, 1); }
.nv-face .pupil { transition: transform .13s linear; }
.nv-face .lid { transition: transform .38s cubic-bezier(.2, .75, .2, 1); }
.nv-face.is-blinking .lid {
  transform: translateY(38px) !important;
  transition: transform .07s linear;
}

/* --- Mood rail ------------------------------------------------------------ */

.nv-rail-wrap {
  position: relative;
  z-index: 2;
  padding-block: 1.2rem 2rem;
  background: var(--nv-sunk);
}
.nv-rail {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .4rem;
  scrollbar-width: thin;
}
.nv-rasa {
  flex: 0 0 auto;
  min-width: 7.2rem;
  padding: .62rem .9rem;
  border: 1px solid var(--nv-line);
  border-radius: .7rem;
  background: #fff;
  color: var(--premium-ink, #202027);
  font-family: var(--premium-body, "Manrope", sans-serif);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.nv-rasa:hover {
  transform: translateY(-3px);
  box-shadow: var(--premium-shadow, 0 18px 55px rgba(34, 28, 45, .09));
}
.nv-rasa-ml {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
}
.nv-rasa-en {
  display: block;
  margin-top: .18rem;
  color: var(--premium-copy, #62636f);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nv-rasa[aria-selected="true"] {
  border-color: var(--nv-accent);
  box-shadow: inset 0 0 0 2px var(--nv-accent);
}
.nv-rasa[aria-selected="true"] .nv-rasa-en { color: var(--nv-accent); }

.nv-hint {
  margin: .9rem 0 0;
  color: var(--premium-copy, #62636f);
  font-size: .7rem;
}
.nv-hint b { color: var(--premium-ink, #202027); }

/* --- Product panel -------------------------------------------------------- */

.nv-panel { padding-block: clamp(2rem, 4vw, 3rem); }
.nv-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
.nv-panel-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

.nv-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.3rem .9rem;
}
.nv-card { display: flex; flex-direction: column; text-decoration: none; }
.nv-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: .75rem;
  background: var(--nv-sunk);
}
.nv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.nv-card:hover .nv-card-media img { transform: scale(1.045); }
.nv-flag {
  position: absolute;
  top: .5rem;
  left: .5rem;
  padding: .22rem .44rem;
  border-radius: .3rem;
  background: var(--nv-accent);
  color: #fff;
  font-size: .53rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nv-card-body { padding-top: .6rem; }
.nv-card-kicker {
  color: var(--nv-accent);
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.nv-card-body h3 {
  margin: .26rem 0 .2rem;
  font-family: var(--premium-body, "Manrope", sans-serif);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.nv-price {
  font-size: .76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.nv-price del {
  margin-left: .28rem;
  color: var(--premium-copy, #62636f);
  font-size: .66rem;
  font-weight: 400;
}
.nv-empty {
  margin: 0;
  padding: 2rem 0;
  color: var(--premium-copy, #62636f);
  font-size: .85rem;
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1120px) {
  .nv-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .nv-stage-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .nv-face { order: -1; width: min(100%, 19rem); margin-inline: auto; }
  .navarasam h1 { max-width: none; }
}
@media (max-width: 620px) {
  .nv-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .nv-face #browL,
  .nv-face #browR,
  .nv-face #mouth,
  .nv-face .pupil,
  .nv-face .lid,
  .nv-rasa,
  .nv-card-media img { transition: none; }
}
