/* Category page hero — compact neumorphic panel (shared by Bhuj + Mundra)
   Layout:  breadcrumb
            [puck] Title · in City            [count] [free]
            [ inset search ........... ]      [offer] [offer]
   Everything sits on one soft raised panel; controls are inset, chips are raised. */

html body.page-category .cat-hero {
  --nu-bg: #eceff6;
  --nu-hi: #ffffff;
  --nu-lo: #cfd6e4;
  --nu-ink: #2f3750;
  --nu-mute: #7a849c;
  --nu-accent: #d6316f;
  --nu-out: 8px 8px 18px var(--nu-lo), -8px -8px 18px var(--nu-hi);
  --nu-out-sm: 4px 4px 9px var(--nu-lo), -4px -4px 9px var(--nu-hi);
  --nu-in: inset 4px 4px 9px var(--nu-lo), inset -4px -4px 9px var(--nu-hi);

  background: var(--nu-bg) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 26px !important;
  box-shadow: var(--nu-out) !important;
  margin: 16px auto 8px !important;
  width: min(1040px, calc(100% - 28px));
  padding: 16px 22px 20px !important;
  color: var(--nu-ink) !important;
  overflow: visible !important;
}
html body.page-category .cat-hero-pattern { display: none !important; }

/* grid: content children + offers share one grid */
html body.page-category .cat-hero-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "crumb  crumb"
    "title  meta"
    "search offers";
  gap: 12px 20px !important;
  align-items: center !important;
  max-width: none !important;
  padding: 0 !important;
}
html body.page-category .cat-hero-content { display: contents !important; }
html body.page-category .cat-breadcrumb { grid-area: crumb; margin: 0 !important; font-size: .78rem; }
html body.page-category .cat-hero-title-row { grid-area: title; margin: 0 !important; gap: 14px !important; align-items: center !important; }
html body.page-category .cat-hero-meta { grid-area: meta; margin: 0 !important; justify-self: end; display: flex; gap: 10px; flex-wrap: wrap; }
html body.page-category .cat-search-wrap { grid-area: search; margin: 0 !important; max-width: none !important; }
html body.page-category .hero-offers { grid-area: offers; justify-self: end; }

/* breadcrumb */
html body.page-category .crumb-link,
html body.page-category .crumb-current,
html body.page-category .crumb-sep { color: var(--nu-mute) !important; font-weight: 600 !important; }
html body.page-category .crumb-current { color: var(--nu-ink) !important; }

/* icon puck: pressed-in disc */
html body.page-category .cat-hero-icon-stamp {
  width: 58px !important; height: 58px !important;
  border-radius: 50% !important;
  background: var(--nu-bg) !important;
  border: 0 !important;
  box-shadow: var(--nu-in) !important;
  display: grid; place-items: center;
  transform: none !important;
  flex-shrink: 0;
}
html body.page-category .cat-hero-icon-stamp::after { display: none !important; }
html body.page-category .stamp-icon { background: none !important; border: 0 !important; box-shadow: none !important; display: grid; place-items: center; }
html body.page-category .stamp-icon img { width: 32px !important; height: 32px !important; }

/* title */
html body.page-category .cat-hero-h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem) !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  color: var(--nu-ink) !important;
  text-transform: none !important;
  letter-spacing: -.01em !important;
  text-shadow: 1px 1px 1px var(--nu-hi) !important;
}
html body.page-category .cat-hero-name { color: var(--nu-ink) !important; }
html body.page-category .cat-hero-city-mark {
  display: inline-block;
  margin-left: 8px !important;
  padding: 3px 11px !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--nu-accent) !important;
  background: var(--nu-bg) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: var(--nu-out-sm) !important;
  transform: none !important;
}
html body.page-category .cat-hero-gu { margin: 2px 0 0 !important; color: var(--nu-mute) !important; font-size: .85rem !important; }

/* meta chips: raised */
html body.page-category .cat-count-pill,
html body.page-category .cat-meta-free {
  background: var(--nu-bg) !important;
  color: var(--nu-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: var(--nu-out-sm) !important;
  padding: 7px 14px !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
}
html body.page-category .cat-meta-free { color: #1f9d6b !important; }

/* search: inset field */
html body.page-category .cat-search-wrap,
html body.page-category .cat-search-field { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
html body.page-category .cat-search-field {
  display: flex; align-items: center; gap: 10px;
  background: var(--nu-bg) !important;
  border-radius: 16px !important;
  box-shadow: var(--nu-in) !important;
  padding: 0 14px !important;
}
html body.page-category .cat-search-input {
  flex: 1; min-width: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  height: 44px;
  font-size: .95rem !important;
  color: var(--nu-ink) !important;
  font-weight: 600 !important;
}
html body.page-category .cat-search-ico { color: var(--nu-mute) !important; }
html body.page-category .cat-search-clear {
  background: var(--nu-bg) !important; color: var(--nu-ink) !important;
  border: 0 !important; border-radius: 50% !important; box-shadow: var(--nu-out-sm) !important;
  width: 28px; height: 28px;
}
html body.page-category .cat-search-field:focus-within { box-shadow: var(--nu-in), 0 0 0 2px rgba(214, 49, 111, .35) !important; }

/* offers: two small raised chips in one row */
html body.page-category .hero-offers {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
html body.page-category .hero-offers .offer-row {
  background: var(--nu-bg) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: var(--nu-out-sm) !important;
  padding: 8px 14px !important;
  gap: 6px !important;
  display: flex; align-items: baseline; flex-wrap: nowrap;
  white-space: nowrap;
  transition: box-shadow .15s ease;
}
html body.page-category .hero-offers .offer-row:hover { box-shadow: var(--nu-in) !important; }
html body.page-category .offer-row .offer-name { font-size: .78rem !important; font-weight: 700 !important; color: var(--nu-ink) !important; -webkit-text-fill-color: var(--nu-ink) !important; }
html body.page-category .offer-row .offer-sep { display: none !important; }
html body.page-category .offer-row .offer-price { font-size: 1rem !important; font-weight: 800 !important; color: var(--nu-accent) !important; -webkit-text-fill-color: var(--nu-accent) !important; }
html body.page-category .offer-row .offer-price::before { content: "₹"; font-size: .8em; margin-right: 1px; }

/* search suggestions dropdown */
html body.page-category .cs-results {
  background: var(--nu-bg) !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: var(--nu-out) !important;
}

/* tablet / phone: stack */
@media (max-width: 860px) {
  html body.page-category .cat-hero-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "crumb" "title" "meta" "search" "offers";
  }
  html body.page-category .cat-hero-meta, html body.page-category .hero-offers { justify-self: start; }
}
@media (max-width: 560px) {
  html body.page-category .cat-hero { padding: 14px 14px 16px !important; border-radius: 22px !important; margin-top: 10px !important; }
  html body.page-category .cat-hero-icon-stamp { width: 48px !important; height: 48px !important; }
  html body.page-category .stamp-icon img { width: 28px !important; height: 28px !important; }
  html body.page-category .hero-offers { width: 100%; }
  html body.page-category .hero-offers .offer-row { flex: 1; justify-content: space-between; padding: 8px 10px !important; }
}
@media (max-width: 560px) {
  html body.page-category .hero-offers { flex-wrap: wrap !important; }
  html body.page-category .hero-offers .offer-row { min-width: 0; white-space: normal; flex-wrap: wrap; }
}

/* ── "Tap to open" → highlighted call-to-action pill ── */
html body.page-category .provider-list > li.pcard:not(.is-zoom)::after {
  content: 'Tap to open  →' !important;
  right: 14px !important;
  bottom: 10px !important;
  padding: 5px 12px !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .03em !important;
  line-height: 1.2 !important;
  color: #fff !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, #ff5a8f, #d6316f) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 10px rgba(214, 49, 111, .35) !important;
  animation: tap-nudge 2.4s ease-in-out infinite;
  transition: transform .15s ease;
}
html body.page-category .provider-list > li.pcard:not(.is-zoom):hover::after { transform: translateX(4px) scale(1.05); animation-play-state: paused; }
@keyframes tap-nudge {
  0%, 70%, 100% { transform: translateX(0); box-shadow: 0 4px 10px rgba(214, 49, 111, .35); }
  80% { transform: translateX(5px); box-shadow: 0 6px 16px rgba(214, 49, 111, .55); }
  90% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { html body.page-category .provider-list > li.pcard:not(.is-zoom)::after { animation: none; } }

/* ── Gujarati text: bigger + deep indigo (distinct from the English dark ink) ── */
html body.page-category .cat-hero-gu {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #1b2a8a !important;
  line-height: 1.3 !important;
}
html body #category-list.search-mode .hp-cat-gu,
html body .nb-hit-gu {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #1b2a8a !important;
  opacity: 1 !important;
}
html body .nb-hit:hover .nb-hit-gu { color: #0f1a5c !important; }
html body.page-category .cat-hero-gu { opacity: 1 !important; -webkit-text-fill-color: #1b2a8a !important; text-shadow: none !important; }
