/* =====================================================================
   nd_watch.css — New Design: Watch / Recipe Detail Page
   Loaded via common_header when $page === 'watch'
   CSS vars from new_design.css: --cream, --burgundy, --gold, --text, etc.
   ===================================================================== */

/* ── DOSHA BAR ── */
.nd-dosha-bar {
  background: var(--cream2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .75rem 5%;
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}
.nd-dosha-bar-label {
  font-size: .62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.nd-dosha-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  padding: .3rem .75rem;
  transition: border-color .2s, color .2s;
  text-decoration: none;
  font-family: var(--sans);
}
.nd-dosha-chip:hover { border-color: var(--gold); color: var(--burgundy); }
.nd-dosha-chip.take-quiz { margin-left: auto; border-color: var(--gold); color: var(--burgundy); }
@media(max-width:600px) { .nd-dosha-chip.take-quiz { margin-left: 0; } }

/* ── WATCH PAGE LAYOUT ── */
.nd-watch-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  min-height: 60vh;
}

/* ── MAIN CONTENT ── */
.nd-watch-main {
  padding: 3% 4% 5% 5%;
  border-right: 1px solid var(--border);
}

/* ── BREADCRUMB ── */
.nd-watch-bc {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.nd-watch-bc a,
.nd-watch-bc span {
  font-size: .6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.nd-watch-bc a:hover  { color: var(--burgundy); }
.nd-watch-bc .bc-sep  { color: var(--border); }
.nd-watch-bc .bc-cur  { color: var(--burgundy); }

/* ── RECIPE HEADER ── */
.nd-recipe-hdr    { margin-bottom: 1.5rem; }
.nd-recipe-metas  { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.nd-meta-tag {
  background: var(--cream2);
  border: 1px solid var(--border);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: .28rem .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--sans);
}
.nd-meta-tag.mt-veg  { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.nd-meta-tag.mt-nveg { background: #fef2f2; border-color: #fecaca; color: #dc2626; }
.nd-meta-tag.mt-gold { background: #fefce8; border-color: var(--gold); color: #78530a; }

.nd-recipe-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: .65rem;
}
.nd-recipe-title em { color: var(--burgundy); font-style: italic; }
.nd-recipe-subtitle {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.8;
  letter-spacing: .2px;
  max-width: 620px;
}

/* ── STATS ROW ── */
.nd-rstats {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 1.5rem 0 2rem;
}
.nd-rstat {
  background: var(--white);
  padding: .85rem 1.2rem;
  text-align: center;
  flex: 1;
  min-width: 85px;
}
.nd-rstat-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--burgundy);
  display: block;
  line-height: 1.2;
}
.nd-rstat-label {
  font-size: .58rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .15rem;
  display: block;
}

/* ── VIDEO PLAYER ── */
.nd-video-wrap {
  position: relative;
  width: 100%;
  background: var(--text);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow: hidden;
}
.nd-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2a1010, #5a2a2a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  position: relative;
}
.nd-video-placeholder .nd-yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  display: block;
  max-width: none;
}
.nd-play-btn {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s;
  cursor: pointer;
  position: relative;
  z-index: 2;
  color: #fff;
  line-height: 1;
}
.nd-play-btn:hover { background: var(--burgundy); border-color: var(--burgundy); }
.nd-video-label {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}
.nd-channel-lbl {
  font-size: .68rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.nd-video-stats-bar {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: .5rem;
  z-index: 3;
}
.nd-vstat {
  background: rgba(28,10,10,.75);
  color: var(--cream);
  font-size: .63rem;
  font-weight: 700;
  padding: .25rem .6rem;
  letter-spacing: .5px;
  font-family: var(--sans);
}
.nd-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* ── RELATED VIDEOS ── */
.nd-rv-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.nd-rv-title em { color: var(--burgundy); font-style: italic; }
.nd-rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1rem;
}
.nd-rv-card {
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  display: block;
}
.nd-rv-card:hover { box-shadow: 0 8px 24px rgba(28,10,10,.1); transform: translateY(-2px); }
.nd-rv-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--cream2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.nd-rv-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.nd-rv-info { padding: .6rem .7rem .8rem; }
.nd-rv-name {
  font-family: var(--serif);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .25rem;
}
.nd-rv-ch   { font-size: .6rem; letter-spacing: 1px; color: var(--muted); }
.nd-rv-meta { font-size: .58rem; color: var(--muted); margin-top: .2rem; }

/* ── SIDEBAR ── */
.nd-watch-sidebar {
  padding: 2.5rem 2rem 3rem 2.2rem;
  background: var(--cream);
}

/* ─ Find Recipe Box ─ */
.nd-find-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.nd-find-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.nd-find-row { margin-bottom: .85rem; }
.nd-find-label {
  font-size: .58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .4rem;
  display: block;
}
.nd-find-opts { display: flex; gap: .4rem; flex-wrap: wrap; }
.nd-fchip {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted);
  padding: .32rem .72rem;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--cream2);
  transition: background .2s, color .2s, border-color .2s;
  user-select: none;
}
.nd-fchip:hover,
.nd-fchip.active { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.nd-find-go {
  background: var(--burgundy);
  color: var(--cream);
  border: none;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .75rem;
  width: 100%;
  cursor: pointer;
  margin-top: 1rem;
  transition: background .2s;
}
.nd-find-go:hover { background: var(--burgundy-dk); }

/* ─ Nutrition Box ─ */
.nd-nutr-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.nd-nutr-eyebrow {
  font-size: .58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .25rem;
}
.nd-nutr-head {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.nd-nutr-sec {
  font-size: .58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: .6rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
  display: block;
}
.nd-nutr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
}
.nd-nutr-row:last-of-type { border-bottom: none; }
.nd-nutr-name { font-size: .78rem; color: var(--muted); }
.nd-nutr-val  { font-family: var(--serif); font-size: .95rem; font-weight: 700; color: var(--burgundy); }
/* Progress bars */
.nd-bar-block { margin: 1.2rem 0 .4rem; }
.nd-bar-meta  { display: flex; justify-content: space-between; font-size: .6rem; color: var(--muted); margin-bottom: .3rem; }
.nd-bar       { height: 4px; background: var(--cream2); border-radius: 2px; overflow: hidden; }
.nd-bar-fill  { height: 100%; background: var(--burgundy); border-radius: 2px; transition: width .6s ease; }
.nd-nutr-micro { margin-top: 1rem; }

/* ─ Ingredients & Facts Box ─ */
.nd-info-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.nd-ib-eyebrow {
  font-size: .58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .25rem;
}
.nd-ib-head {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.nd-ib-sec {
  font-size: .58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: .85rem 0 .5rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
  display: block;
}
.nd-ing-tags, .nd-trend-tags, .nd-kfc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.nd-ing-tag {
  background: var(--cream2);
  border: 1px solid var(--border);
  font-size: .68rem;
  color: var(--muted);
  padding: .26rem .62rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.nd-ing-tag:hover { background: var(--cream3); color: var(--burgundy); border-color: var(--gold); }
.nd-ttag { font-size: .67rem; color: var(--burgundy); font-weight: 700; cursor: pointer; }
.nd-ttag:hover { text-decoration: underline; }
.nd-kfc {
  background: var(--cream2);
  border: 1px solid var(--border);
  font-size: .63rem;
  font-weight: 700;
  color: var(--muted);
  padding: .26rem .62rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nd-kfc:hover { background: var(--cream3); color: var(--burgundy); }
.nd-dyk {
  background: var(--cream2);
  border-left: 3px solid var(--gold);
  padding: .85rem 1rem;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: .6rem;
}

/* ─ Body Type Guide Box ─ */
.nd-dosha-guide {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}
.nd-dg-desc { font-size: .78rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.nd-dg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem .75rem;
  background: var(--cream2);
  border: 1px solid var(--border);
  font-size: .75rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: .4rem;
  transition: background .2s, border-color .2s;
}
.nd-dg-row:last-child { margin-bottom: 0; }
.nd-dg-row:hover     { background: var(--cream3); border-color: var(--gold); }
.nd-dg-row .dg-arr   { color: var(--burgundy); }

/* ─ Share Box ─ */
.nd-share-box { background: var(--text); padding: 1.4rem; }
.nd-share-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
.nd-share-btns { display: flex; flex-direction: column; gap: .45rem; }
.nd-share-btn {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .68rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cream);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  background: transparent;
  font-family: var(--sans);
  text-decoration: none;
  width: 100%;
}
.nd-share-btn:hover { background: rgba(201,169,110,.12); border-color: var(--gold); }

/* ── RELATED RECIPES (BOTTOM) ── */
.nd-related-sec {
  padding: 4% 5%;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.nd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.nd-rr-card {
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow .25s, transform .25s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.nd-rr-card:hover { box-shadow: 0 10px 30px rgba(28,10,10,.1); transform: translateY(-3px); color: inherit; }
.nd-rr-img {
  aspect-ratio: 4 / 3;
  background: var(--cream2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.nd-rr-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  display: block;
}
.nd-rr-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--burgundy);
  color: var(--cream);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .22rem .55rem;
}
.nd-rr-dot {
  position: absolute;
  top: 10px; right: 10px;
  width: 16px; height: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nd-rr-dot.veg  { border: 1.5px solid var(--veg); }
.nd-rr-dot.nveg { border: 1.5px solid var(--nveg); }
.nd-rr-dot.veg::after  { content:''; width:6px; height:6px; background:var(--veg);  border-radius:50%; }
.nd-rr-dot.nveg::after { content:''; width:6px; height:6px; background:var(--nveg); border-radius:50%; }
.nd-rr-body  { padding: .9rem; }
.nd-rr-region {
  font-size: .56rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .3rem;
}
.nd-rr-name { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: .45rem; }
.nd-rr-ings { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .55rem; }
.nd-rr-ing  { background: var(--cream2); font-size: .56rem; padding: .14rem .46rem; color: var(--muted); border: 1px solid var(--border); }
.nd-rr-foot { display: flex; justify-content: flex-end; padding-top: .55rem; border-top: 1px solid var(--border); }
.nd-rr-btn  { background: var(--burgundy); color: var(--cream); border: none; font-family: var(--sans); font-size: .56rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: .26rem .75rem; cursor: pointer; }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .nd-watch-wrap            { grid-template-columns: 1fr; }
  .nd-watch-sidebar         { border-top: 1px solid var(--border); padding: 3rem 5%; }
  .nd-watch-main            { border-right: none; padding: 4% 5%; }
  .nd-rv-grid               { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:768px) {
  .nd-rv-grid               { grid-template-columns: repeat(2, 1fr); }
  .nd-rstats .nd-rstat      { min-width: calc(50% - 1px); }
  .nd-related-grid          { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:480px) {
  .nd-rv-grid               { grid-template-columns: 1fr 1fr; }
  .nd-related-grid          { grid-template-columns: 1fr 1fr; }
}
