/* ============================================================
   CUSTOM — Per-store overrides for Mirchi Indian Restaurant
   Loaded last so it wins over theme.css and style.css.
   ============================================================ */

/* The Mirchi wordmark is much squarer (872×511) than the template's
   default logo, so the shared 250px width would make the header
   tower. Scale it down in both header and footer. */
.brand img {
  width: 116px;
}

.foot-brand img {
  width: 128px;
}

@media (max-width: 900px) {
  .brand img {
    width: 96px;
  }

  /* style.css staggers the mobile nav links up to :nth-child(5); this nav
     has six, so the last one would pop in with no delay. */
  .site-nav.open a:nth-child(6) {
    transition-delay: 0.24s;
  }
}

/* The full-bleed hero sits on a photo, where the default red accent on
   the <em> reads weakly. Gold holds up against the imagery. */
.hero-full h1 em {
  color: var(--gold);
}

/* Rewards banner — a Mirchi-only strip that sits under the hero. */
.rewards-strip {
  background: var(--brand-2);
  color: #fff;
}

.rewards-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-block: 1rem;
  text-align: center;
}

.rewards-strip p {
  font-size: 0.98rem;
  margin: 0;
}

.rewards-strip strong {
  color: var(--gold);
}

/* Rewards page — points table and the embedded signup portal. Everything
   else on that page reuses the template's own sections. */
.points-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.points-table th,
.points-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.points-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.points-table tbody tr:last-child td {
  border-bottom: 0;
}

.points-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.table-scroll {
  overflow-x: auto;
}

.signup-embed {
  max-width: 45rem;
  margin: 2rem auto 0;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.signup-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 32.5rem;
}

/* Menu items that are variant parents list each option (e.g. catering
   packages priced per headcount) under the headline price. */
.menu-item--wide {
  grid-column: 1 / -1;
}

.item-variants {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.item-variants__title {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chili);
}

.item-variants ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.15rem 1.5rem;
  list-style: none;
}

.item-variants li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.item-variants li span:last-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* Blog index. Class names match blog.js's filter contract
   (.blog-filter-btn[data-filter], .blog-card[data-category], .show/.hide). */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.blog-filter-btn {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-filter-btn:hover {
  border-color: var(--chili);
  color: var(--chili);
}

.blog-filter-btn.active {
  background: var(--chili);
  border-color: var(--chili);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card.hide {
  display: none;
}

.blog-card.featured {
  grid-column: 1 / -1;
}

@media (min-width: 62rem) {
  .blog-card.featured {
    flex-direction: row;
  }

  .blog-card.featured .blog-card__img {
    flex: 0 0 45%;
  }
}

.blog-card__img {
  position: relative;
  min-height: 12rem;
}

.blog-card__img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.blog-card__category-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--chili);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chili);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
}

.blog-card.featured .blog-card__title {
  font-size: 1.6rem;
}

.blog-card__excerpt {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Long-form legal + article copy. */
.prose-page .wrap {
  max-width: 52rem;
}

.prose-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.25rem 0 0.75rem;
}

.prose-page h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose-page p,
.prose-page li {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

/* style.css resets list markers site-wide; long-form copy wants them back */
.prose-page ul,
.prose-page ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.prose-page ul {
  list-style: disc;
}

.prose-page ol {
  list-style: decimal;
}

.prose-page li::marker {
  color: var(--chili);
}

.prose-page a {
  color: var(--chili);
}

.prose-page blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--chili);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--chili-soft);
  color: var(--ink);
  line-height: 1.7;
}

/* Deals popup — carried over from the previous build. It used to live
   in assets/css/style.css, which this page no longer loads. */
.deals-popup {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 29, 26, 0.62);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: top 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.deals-popup .popup-content {
  position: relative;
  max-width: min(90vw, 34rem);
  border-radius: var(--r-lg);
  overflow: visible;
}

.deals-popup .popup-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.deals-popup .close-btn {
  position: absolute;
  top: -0.9rem;
  right: -0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.deals-popup .close-btn:hover {
  background: var(--chili);
  color: #fff;
}
