@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700&family=Instrument+Sans:wght@400;500;600;700&display=swap");

/* =====================================================================
   10xOneCard — Card layer, layout A "Clean light"  [v2: layout fixes]
   Loads AFTER card.css. Design only: no PHP, queries or JS logic changed.
   Every accent shade comes from the customer's theme color (--accent).
   Scope prefix  body[class*="page-"]  keeps it to card pages and
   out-ranks the inline <style> blocks inside templates and partials.
   ===================================================================== */

/* ── 1. TOKENS ─────────────────────────────────────────────────────── */
body[class*="page-"] {
  --p-accent: var(--accent, #0f766e);
  --p-accent-ink: color-mix(in oklab, var(--p-accent) 72%, #0b0c0f);
  --p-accent-soft: color-mix(in oklab, var(--p-accent) 10%, #ffffff);
  --p-accent-line: color-mix(in oklab, var(--p-accent) 28%, transparent);

  --p-bg: #f3f4f6;
  --p-surface: #ffffff;
  --p-surface-2: #f6f7f8;
  --p-ink: #111318;
  --p-ink-2: #4b5160;
  --p-ink-3: #7a808c;
  --p-line: #eceef1;
  --p-wa: #16a34a;
  --p-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 0 0 1px rgba(16, 24, 40, 0.03);
  --p-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --p-head: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --p-sans: "Instrument Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* layout scale: one place that sets spacing for every section */
  --p-edge: 16px;
  --p-sec-r: 22px;
  --p-sec-p: 20px;
  --p-sec-gap: 14px;
  --p-head-gap: 12px;
  --p-head-mb: 16px;

  /* floating UI geometry (dock + enquiry button) */
  --p-fab: 56px;
  --p-fab-gap: 14px;
  --p-dock-h: 66px;
  --p-dock-gap: 12px;
  --p-safe: env(safe-area-inset-bottom, 0px);
  --p-badge-h: 0px;
  --p-panel-h: 0px;
  --p-fab-zone: 0px;

  font-family: var(--p-sans);
  background: var(--p-bg);
  color: var(--p-ink);
  -webkit-font-smoothing: antialiased;
}

body[class*="page-"].p-has-fab { --p-fab-zone: calc(var(--p-fab) + var(--p-fab-gap)); }

/* no sideways scroll at any width */
body[class*="page-"] { overflow-x: clip; }
body[class*="page-"] .page-wrap {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  padding: 0 var(--p-edge) 28px;
}
body[class*="page-"] .page-wrap img { max-width: 100%; }
body[class*="page-"] :is(.brand-name, .brand-sub, .welcome-text, .abt-text-inner, .ct2-card-name, .ct2-card-desc, .wcu-name, .wcu-desc, .cnt-addr-val, .rvw-card-body, .pill) {
  overflow-wrap: break-word;
  min-width: 0;
}

body[class*="page-"] a:focus-visible,
body[class*="page-"] button:focus-visible,
body[class*="page-"] [role="button"]:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 3px;
}

/* ── 2. PROFILE BLOCK (no outer card frame) ───────────────────────── */
body[class*="page-"] .flip-scene {
  margin: 0 -16px 18px;
}
body[class*="page-"] .main-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
body[class*="page-"] .flip-back {
  border-radius: 0 0 30px 30px;
}

/* cover */
body[class*="page-"] .hero {
  height: 240px;
  border-radius: 0 0 30px 30px;
  background: var(--p-accent-soft);
}
body[class*="page-"] .hero-gallery {
  height: 100%;
}
body[class*="page-"] .hero-img {
  transition: opacity 1s var(--p-ease);
}
body[class*="page-"] .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 35%);
}
body[class*="page-"] .hero-gold-bar {
  display: none;
}

/* glass chips on the cover */
body[class*="page-"] .tap-flip,
body[class*="page-"] .open-badge {
  top: 16px;
  height: 36px;
  padding: 0 14px;
  gap: 7px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.3);
  color: var(--p-ink);
  font-family: var(--p-sans);
  font-size: 0.8rem;
  font-weight: 600;
}
body[class*="page-"] .tap-flip { right: 16px; }
body[class*="page-"] .open-badge { left: 16px; }
body[class*="page-"] .open-dot {
  background: var(--p-wa);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: none;
}
body[class*="page-"] .open-badge.closed .open-dot {
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

/* logo: centered rounded square overlapping the cover */
body[class*="page-"] .logo-social-row {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  margin: -54px 0 0;
}
body[class*="page-"] .logo-circle-wrap {
  width: 108px;
  height: 108px;
}
body[class*="page-"] .logo-circle-wrap::before,
body[class*="page-"] .logo-circle-wrap::after {
  display: none;
}
body[class*="page-"] .logo-circle {
  width: 108px;
  height: 108px;
  border-radius: 32px;
  justify-content: center;
  background: var(--p-accent-ink);
  border: 5px solid var(--p-bg);
  box-shadow: 0 14px 30px -14px color-mix(in oklab, var(--p-accent-ink) 70%, transparent);
}
body[class*="page-"] .logo-circle:has(img) {
  background: var(--p-surface);
}
body[class*="page-"] .logo-initials {
  font-family: var(--p-head);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
body[class*="page-"] .social-icons {
  justify-content: center;
  padding-bottom: 0;
}
body[class*="page-"] .soc-icon {
  width: 38px;
  height: 38px;
}

/* name, title, tags */
body[class*="page-"] .profile-info {
  padding: 14px 20px 0;
  text-align: center;
}
body[class*="page-"] .brand-name {
  font-family: var(--p-head);
  font-size: clamp(1.65rem, 7vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--p-ink);
  margin: 0 0 6px;
  text-wrap: balance;
}
body[class*="page-"] .brand-sub {
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--p-ink-2);
  margin-bottom: 12px;
}
body[class*="page-"] .tag-row {
  justify-content: center;
  gap: 6px;
  margin-bottom: 0;
}
body[class*="page-"] .pill {
  padding: 6px 12px;
  border: 0;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--p-ink-2);
}
body[class*="page-"] .pill i {
  color: var(--p-accent-ink);
}

/* ── 3. ACTIONS: icon tiles + one strong button ───────────────────── */
body[class*="page-"] .btn-grid {
  /* --p-n = tiles per row. 1-3 tiles -> 3, 4 -> 4, 5-6 -> 3, 7+ -> 4.
     card-premium.js sets data-tiles; without JS the default is 4.
     Rows are centred, so 2, 3 or 4 tiles always sit on the middle axis. */
  --p-n: 4;
  --p-gx: 10px;
  --p-tw: min(108px, calc((100% - (var(--p-n) - 1) * var(--p-gx)) / var(--p-n) - 0.5px));
  display: flex;
  flex-direction: row; /* card-buttons.php sets column */
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 14px var(--p-gx);
  margin-top: 22px;
  text-align: center;
}
body[class*="page-"] .btn-grid:is([data-tiles="1"], [data-tiles="2"], [data-tiles="3"], [data-tiles="5"], [data-tiles="6"]) {
  --p-n: 3;
}
body[class*="page-"] .btn-grid .btn-row {
  display: contents;
}

/* every button starts as a tile: icon box + label underneath */
body[class*="page-"] .btn-grid .btn {
  flex: 0 0 var(--p-tw);
  min-width: 0;
  width: auto !important;
  height: auto;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--p-ink-2);
  overflow: visible;
  font-family: var(--p-sans);
}
body[class*="page-"] .btn-grid .btn:hover,
body[class*="page-"] .btn-grid .btn:active {
  transform: none;
  box-shadow: none;
  filter: none;
}
body[class*="page-"] .btn-grid .btn .ico-pill,
body[class*="page-"] .btn-grid .btn .solid-ico {
  width: 100%;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-surface);
  color: var(--p-accent-ink);
  font-size: 20px;
  box-shadow: var(--p-shadow);
  transition: transform 0.2s var(--p-ease), box-shadow 0.2s ease;
}
body[class*="page-"] .btn-grid .btn:hover .ico-pill,
body[class*="page-"] .btn-grid .btn:hover .solid-ico {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -12px rgba(16, 24, 40, 0.35), 0 0 0 1px var(--p-accent-line);
}
body[class*="page-"] .btn-grid .btn:active .ico-pill,
body[class*="page-"] .btn-grid .btn:active .solid-ico {
  transform: scale(0.95);
}
body[class*="page-"] .btn-grid .btn-wa-green .solid-ico {
  color: var(--p-wa);
}
body[class*="page-"] .btn-grid .btn .btn-label,
body[class*="page-"] .btn-grid .btn .solid-label {
  display: block;
  max-width: 100%;
  min-height: 2.5em; /* two lines reserved so every tile is the same height */
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.25;
  text-wrap: balance;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--p-ink-2);
}
body[class*="page-"] .btn-grid .btn .ripple,
body[class*="page-"] .btn-grid .btn-solid::after,
body[class*="page-"] .btn-grid .btn-pulse::before,
body[class*="page-"] .btn-grid .btn-payment .spark {
  display: none;
}

/* primary actions become full-width bars below the tiles */
body[class*="page-"] .btn-grid :is(.btn-book, .btn-payment, .btn-pdf, .btn-custom) {
  order: 1;
  flex: 0 0 100%;
  width: 100% !important;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  height: 54px;
  border-radius: 16px;
  background: var(--p-ink);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(17, 19, 24, 0.7);
}
body[class*="page-"] .btn-grid :is(.btn-book, .btn-payment, .btn-pdf, .btn-custom) .solid-ico {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  color: inherit;
  font-size: 17px;
}
body[class*="page-"] .btn-grid :is(.btn-book, .btn-payment, .btn-pdf, .btn-custom) .solid-label {
  min-height: 0;
  font-size: 0.97rem;
  color: inherit;
}
body[class*="page-"] .btn-grid :is(.btn-book, .btn-payment, .btn-pdf, .btn-custom):hover {
  filter: brightness(1.15);
}
body[class*="page-"] .btn-grid :is(.btn-book, .btn-payment, .btn-pdf, .btn-custom):hover .solid-ico {
  transform: none;
  box-shadow: none;
}
/* download is secondary: outlined */
body[class*="page-"] .btn-grid .btn-pdf {
  background: var(--p-surface);
  color: var(--p-ink);
  box-shadow: inset 0 0 0 1px #d9dce1;
}
body[class*="page-"] .btn-grid .btn-pdf:hover {
  filter: none;
  box-shadow: inset 0 0 0 1px var(--p-ink);
}

/* ── 4. SECTIONS ──────────────────────────────────────────────────── */
/* every section card shares the same width, radius, padding and gap */
body[class*="page-"] :is(.section-card, .ct2-section, .cat-section-wrap) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  background: var(--p-surface);
  border: 0;
  border-radius: var(--p-sec-r);
  padding: var(--p-sec-p);
  margin: 0 0 var(--p-sec-gap);
  box-shadow: var(--p-shadow);
}
/* section headers: same icon box, gap and spacing in every partial */
body[class*="page-"] :is(.abt-head, .wcu-head, .glx-head, .rvw-head, .cnt-head, .flu-head, .ct2-head, .bsvc-head) {
  display: flex;
  align-items: center;
  gap: var(--p-head-gap);
  margin: 0 0 var(--p-head-mb);
}
body[class*="page-"] :is(.abt-ico, .wcu-head-ico, .glx-head-ico, .rvw-head-ico, .cnt-head-ico, .flu-ico, .ct2-head-ico, .bsvc-head-ico) {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
body[class*="page-"] :is(.abt-eyebrow, .wcu-eyebrow, .glx-eyebrow, .rvw-eyebrow, .cnt-eyebrow, .flu-eyebrow) { margin-bottom: 1px; }
body[class*="page-"] :is(.ct2-head-info) { flex: 1; min-width: 0; }
body[class*="page-"] :is(.glx-count, .ct2-head-count) { margin-left: auto; flex-shrink: 0; }
/* grids never push the card wider than the screen */
body[class*="page-"] :is(.ct2-grid, .wcu-grid, .flu-grid, .cnt-quick, .glx-mosaic) > * { min-width: 0; }
body[class*="page-"] .sec-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--p-accent-ink);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 2px;
}
body[class*="page-"] .sec-title-inline {
  font-family: var(--p-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--p-ink);
}
body[class*="page-"] .welcome-text {
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--p-ink-2);
}
body[class*="page-"] .card-chip {
  background: var(--p-accent-soft);
  border: 0;
  color: var(--p-accent-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* stats strip */
body[class*="page-"] .stats-row {
  gap: 0;
  background: var(--p-surface-2);
  border: 0;
  border-radius: 18px;
  padding: 16px 0;
  box-shadow: none;
}
body[class*="page-"] .page-wrap > .stats-row {
  background: var(--p-surface);
  border-radius: 22px;
  box-shadow: var(--p-shadow);
}
body[class*="page-"] .stat-box {
  background: transparent;
  padding: 0 6px;
  border-right: 1px solid var(--p-line);
}
body[class*="page-"] .stat-box:last-child { border-right: 0; }
body[class*="page-"] .stat-num {
  font-family: var(--p-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p-ink);
  font-variant-numeric: tabular-nums;
}
body[class*="page-"] .stat-suffix { color: var(--p-ink); font-size: 1.1rem; }
body[class*="page-"] .stat-label { font-size: 0.76rem; font-weight: 500; color: var(--p-ink-3); }

/* services (business template .bsvc-*): horizontal carousel */
body[class*="page-"] .bsvc-head { margin-bottom: 14px; }
body[class*="page-"] .bsvc-head-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
  box-shadow: none;
}
body[class*="page-"] .bsvc-head-title {
  font-family: var(--p-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--p-ink);
}
body[class*="page-"] .bsvc-head-sub { font-size: 0.8rem; color: var(--p-ink-3); }
body[class*="page-"] .bsvc-grid {
  display: flex;
  gap: 12px;
  margin: 0 -20px;
  padding: 0 20px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  scrollbar-width: none;
}
body[class*="page-"] .bsvc-grid::-webkit-scrollbar { display: none; }
body[class*="page-"] .bsvc-grid .bsvc-card,
body[class*="page-"] .bsvc-grid .bsvc-card:last-child {
  flex: 0 0 min(230px, 78%);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--p-surface-2);
  scroll-snap-align: start;
  grid-column: auto;
}
body[class*="page-"] .bsvc-grid .bsvc-card:hover {
  transform: none;
  box-shadow: none;
  border: 0;
}
body[class*="page-"] .bsvc-grid .bsvc-img,
body[class*="page-"] .bsvc-grid .bsvc-card:last-child .bsvc-img {
  width: 100%;
  height: 128px;
  aspect-ratio: auto;
  border-radius: 0;
  background: var(--p-accent-soft);
}
body[class*="page-"] .bsvc-img-ico { color: var(--p-accent-ink); opacity: 0.5; }
body[class*="page-"] .bsvc-body { padding: 12px 14px 14px; }
body[class*="page-"] .bsvc-name { font-size: 0.95rem; font-weight: 600; color: var(--p-ink); }
body[class*="page-"] .bsvc-desc { font-size: 0.82rem; line-height: 1.45; color: var(--p-ink-2); margin: 3px 0 10px; }
body[class*="page-"] .bsvc-enq {
  padding: 0;
  background: none;
  color: var(--p-wa);
  font-size: 0.84rem;
  font-weight: 600;
}
body[class*="page-"] .bsvc-enq:hover { background: none; text-decoration: underline; }
body[class*="page-"] :is(.bsvc-cta, .view-gal-btn, .rev-out) {
  padding: 13px;
  margin-top: 14px;
  border-radius: 14px;
  border: 0;
  background: var(--p-surface-2);
  color: var(--p-ink);
  font-size: 0.9rem;
  font-weight: 600;
}
body[class*="page-"] :is(.bsvc-cta, .view-gal-btn, .rev-out):hover {
  background: var(--p-line);
  color: var(--p-ink);
}

/* business: services list, skills, save vCard */
body[class*="page-"] .svc-row { border-bottom-color: var(--p-line); }
body[class*="page-"] .svc-icon { background: var(--p-accent-soft); color: var(--p-accent-ink); border-radius: 11px; }
body[class*="page-"] .svc-name { font-size: 0.95rem; font-weight: 600; }
body[class*="page-"] .svc-desc { font-size: 0.84rem; color: var(--p-ink-2); }
body[class*="page-"] .svc-price { font-size: 0.88rem; color: var(--p-ink); }
body[class*="page-"] .skill-pill {
  border: 0;
  background: var(--p-surface-2);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--p-ink-2);
}
body[class*="page-"] .save-vcard {
  border-radius: 16px;
  background: var(--p-ink);
  font-size: 0.97rem;
  font-weight: 600;
}
body[class*="page-"] .save-vcard .gold { color: #fff; }

/* why us */
body[class*="page-"] .why-row { border-bottom-color: var(--p-line); padding: 13px 0; gap: 14px; }
body[class*="page-"] .why-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
}
body[class*="page-"] .why-ttl { font-size: 0.95rem; font-weight: 600; }
body[class*="page-"] .why-sub { font-size: 0.86rem; line-height: 1.5; color: var(--p-ink-2); }

/* gallery */
body[class*="page-"] .gal-mosaic { height: 220px; gap: 6px; }
body[class*="page-"] .gal-strip { gap: 6px; }
body[class*="page-"] .gi,
body[class*="page-"] .gs { border-radius: 14px; }

/* reviews */
body[class*="page-"] .rating-num {
  font-family: var(--p-head);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
body[class*="page-"] .rating-stars-col { margin-left: 14px; }
body[class*="page-"] .rev-based { font-size: 0.8rem; color: var(--p-ink-3); }
body[class*="page-"] .rev-view-all { font-size: 0.84rem; font-weight: 600; color: var(--p-accent-ink); }
body[class*="page-"] .rev-card {
  padding: 14px;
  margin-bottom: 10px;
  border: 0;
  border-radius: 14px;
  background: var(--p-surface-2);
}
body[class*="page-"] .rev-av { width: 36px; height: 36px; font-size: 0.85rem; }
body[class*="page-"] .rev-name { font-size: 0.92rem; font-weight: 600; }
body[class*="page-"] .rev-meta { font-size: 0.78rem; color: var(--p-ink-3); }
body[class*="page-"] .rev-body { font-size: 0.9rem; line-height: 1.55; color: var(--p-ink-2); }
body[class*="page-"] .rev-write {
  padding: 13px;
  border-radius: 14px;
  background: var(--p-ink);
  font-family: var(--p-sans);
  font-size: 0.92rem;
  font-weight: 600;
}
body[class*="page-"] .rev-write:hover { background: var(--p-ink); filter: brightness(1.15); }

/* instagram banner */
body[class*="page-"] .ig-banner {
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 22px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
}
body[class*="page-"] .ig-banner:hover { opacity: 1; box-shadow: var(--p-shadow), 0 0 0 1px var(--p-accent-line); }
body[class*="page-"] .ig-logo { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--p-shadow); }
body[class*="page-"] .ig-text h4 { font-size: 0.95rem; font-weight: 600; color: var(--p-ink); }
body[class*="page-"] .ig-text p { font-size: 0.82rem; color: var(--p-ink-3); }
body[class*="page-"] .ig-ico { background: var(--p-accent-soft); color: var(--p-accent-ink); }

/* contact list */
body[class*="page-"] .c-item { border-bottom-color: var(--p-line); padding: 13px 0; gap: 14px; }
body[class*="page-"] .c-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--p-accent-soft);
  color: var(--p-accent-ink);
}
body[class*="page-"] .c-lbl {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--p-ink-3);
  text-transform: none;
  letter-spacing: 0;
}
body[class*="page-"] .c-val { font-size: 0.93rem; font-weight: 500; color: var(--p-ink); }
body[class*="page-"] .c-sub { font-size: 0.82rem; color: var(--p-ink-3); }
body[class*="page-"] .c-btn {
  padding: 7px 13px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}
body[class*="page-"] .cb-g { background: var(--p-ink); }
body[class*="page-"] .cb-r { background: var(--p-ink); }
body[class*="page-"] .map-box {
  height: 130px;
  border: 0;
  border-radius: 14px;
  background: var(--p-surface-2);
  color: var(--p-ink-2);
}
body[class*="page-"] .map-box:hover { background: var(--p-accent-soft); }
body[class*="page-"] .h-row { font-size: 0.88rem; }
body[class*="page-"] .h-day { color: var(--p-ink-2); }
body[class*="page-"] .h-time { font-weight: 600; color: var(--p-ink); }
body[class*="page-"] .h-closed { color: #c2410c; }

/* "Get in touch" block. card.css has an unclosed comment just above
   .git-header, so that rule is dropped by browsers; restored here. */
body[class*="page-"] .git-header {
  background: var(--p-surface);
  padding: 20px 20px 4px;
  border-radius: 22px 22px 0 0;
  margin-bottom: 0;
}
body[class*="page-"] .git-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--p-accent-ink);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 2px;
}
body[class*="page-"] .git-title {
  font-family: var(--p-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--p-ink);
}
body[class*="page-"] .git-quick-row { background: var(--p-surface); padding: 14px 20px 0; gap: 10px; }
body[class*="page-"] .git-quick-btn { padding: 0; gap: 8px; border-radius: 0; }
body[class*="page-"] .git-quick-icon {
  width: 100%;
  height: 58px;
  border-radius: 18px;
  background: var(--p-surface-2) !important;
  color: var(--p-accent-ink) !important;
}
body[class*="page-"] .git-whatsapp .git-quick-icon { color: var(--p-wa) !important; }
body[class*="page-"] .git-quick-label { font-size: 0.8rem; font-weight: 600; color: var(--p-ink-2); }
body[class*="page-"] .git-quick-val { font-size: 0.72rem; color: var(--p-ink-3); }
body[class*="page-"] .git-cards { background: var(--p-surface); padding: 14px 20px 20px; border-radius: 0 0 22px 22px; }
body[class*="page-"] .git-info-card { border: 0; border-radius: 14px; background: var(--p-surface-2); padding: 14px; }
body[class*="page-"] .git-card-icon { width: 36px; height: 36px; border-radius: 11px; background: var(--p-accent-soft); color: var(--p-accent-ink); }
body[class*="page-"] .git-card-label { font-size: 0.76rem; font-weight: 500; color: var(--p-ink-3); text-transform: none; letter-spacing: 0; }
body[class*="page-"] .git-card-val { font-size: 0.92rem; color: var(--p-ink); }
body[class*="page-"] .git-card-action { font-size: 0.84rem; font-weight: 600; color: var(--p-accent-ink); }
body[class*="page-"] .git-day { font-size: 0.88rem; color: var(--p-ink-2); }

/* menu template */
body[class*="page-"] .menu-home-header { padding: 6px 4px 14px; }
body[class*="page-"] .menu-home-title {
  font-family: var(--p-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p-ink);
}
body[class*="page-"] .menu-home-sub { font-size: 0.88rem; color: var(--p-ink-3); }
body[class*="page-"] .menu-home-count { font-size: 0.8rem; color: var(--p-ink-3); }
body[class*="page-"] .cat-grid { gap: 12px; }
body[class*="page-"] .cat-card { border-radius: 20px; background: var(--p-accent-ink); }
body[class*="page-"] .cat-card.no-img { background: var(--p-accent-ink); }
body[class*="page-"] .cat-card__name { font-size: 0.98rem; font-weight: 600; }
body[class*="page-"] .cat-card__desc { font-size: 0.76rem; }
body[class*="page-"] .cat-card__btn { font-size: 0.76rem; font-weight: 600; }
body[class*="page-"] .cat-card__count { font-size: 0.72rem; }
body[class*="page-"] :is(.view-full-menu-btn, .view-cat-btn) {
  border-radius: 16px;
  background: var(--p-ink);
  box-shadow: 0 10px 22px -14px rgba(17, 19, 24, 0.7);
}
body[class*="page-"] :is(.view-full-menu-btn, .view-cat-btn):hover { background: var(--p-ink); filter: brightness(1.15); }
body[class*="page-"] .vfm-label { font-size: 0.95rem; font-weight: 600; }
body[class*="page-"] .vfm-sub { font-size: 0.78rem; }

/* catalogue template */
body[class*="page-"] .product-grid { gap: 12px; }
body[class*="page-"] .product-card {
  border: 0;
  border-radius: 18px;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
}
body[class*="page-"] .product-card:hover { transform: translateY(-2px); }
body[class*="page-"] .product-name { font-size: 0.92rem; font-weight: 600; }
body[class*="page-"] .product-price { font-size: 1rem; font-weight: 700; }
body[class*="page-"] .product-mrp { font-size: 0.8rem; }
body[class*="page-"] .product-off { font-size: 0.78rem; color: var(--p-wa); }
body[class*="page-"] .product-cta {
  padding: 10px;
  border-radius: 12px;
  background: var(--p-surface-2);
  color: var(--p-wa);
  font-size: 0.84rem;
  font-weight: 600;
}

/* promo banner */
body[class*="page-"] .promo-banner {
  background: var(--p-ink);
  font-size: 0.86rem;
  font-weight: 500;
}
body[class*="page-"] .promo-banner::before { display: none; }
body[class*="page-"] .promo-banner-text strong { color: #fff; font-weight: 700; }

/* footer */
body[class*="page-"] footer {
  background: transparent;
  border-top: 0 !important;
  /* room for the enquiry button + free badge so the last section is never covered */
  padding: 10px var(--p-edge) calc(30px + var(--p-fab-zone) + var(--p-safe) + var(--p-badge-h));
}
body[class*="page-"] .fc { font-size: 0.8rem; color: var(--p-ink-3); }
body[class*="page-"] .fc strong { color: var(--p-ink-2); }
body[class*="page-"] .fp { font-size: 0.76rem; color: var(--p-ink-3); }
body[class*="page-"] .fp a { color: var(--p-ink-2); }
body.p-has-dock[class*="page-"] footer {
  /* ...plus the bottom bar when it is present */
  padding-bottom: calc(var(--p-dock-gap) + var(--p-dock-h) + var(--p-fab-zone) + 24px + var(--p-safe) + var(--p-badge-h));
}

/* lightbox */
body[class*="page-"] #lb {
  background: rgba(10, 11, 14, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body[class*="page-"] #lb.open { animation: pFade 0.25s ease both; }
body[class*="page-"] #lb.open #lb-img { animation: pZoom 0.35s var(--p-ease) both; }
body[class*="page-"] #lb-img { border-radius: 14px; }
@keyframes pFade { from { opacity: 0; } }
@keyframes pZoom { from { opacity: 0; transform: scale(0.95); } }

/* ── 5. QUICK-ACTION BAR (built by card-premium.js) ───────────────── */
.p-dock {
  position: fixed;
  left: 50%;
  bottom: calc(var(--p-dock-gap) + var(--p-safe) + var(--p-badge-h));
  z-index: 900;
  width: min(408px, calc(100% - 24px));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 6px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 16px 40px -14px rgba(16, 24, 40, 0.35), 0 0 0 1px rgba(16, 24, 40, 0.06);
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}
.p-dock.is-visible { transform: translate(-50%, 0); opacity: 1; }
/* hidden while the enquiry sheet is open */
body.p-lead-open .p-dock { transform: translate(-50%, 150%); opacity: 0; pointer-events: none; }
.p-dock button { min-width: 0; }
.p-dock button span { white-space: nowrap; }

/* Enquiry button (#leadToggleBtn, footer.php): same right margin as the page
   content, always above the bottom bar, never over its 4th item. The !important
   flags beat the inline position styles in footer.php. */
body[class*="page-"] #leadToggleBtn {
  left: auto !important;
  right: max(var(--p-edge), calc(50% - 220px + var(--p-edge))) !important;
  bottom: calc(var(--p-edge) + var(--p-safe) + var(--p-badge-h)) !important;
  width: var(--p-fab) !important;
  height: var(--p-fab) !important;
  transition: bottom 0.45s var(--p-ease), transform 0.2s, box-shadow 0.2s !important;
}
body.p-dock-on[class*="page-"] #leadToggleBtn {
  bottom: calc(var(--p-dock-gap) + var(--p-dock-h) + var(--p-fab-gap) + var(--p-safe) + var(--p-badge-h)) !important;
}
/* while the sheet is open the button rides on top of it (no overlap with the form) */
body.p-lead-open[class*="page-"] #leadToggleBtn {
  bottom: calc(var(--p-panel-h) + var(--p-fab-gap)) !important;
}
.p-dock button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #30343c;
  font: 600 0.72rem/1 var(--p-sans, sans-serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 54px;
  border-radius: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}
.p-dock button i { font-size: 17px; color: var(--p-accent-ink, #111); }
.p-dock button:hover { background: rgba(16, 24, 40, 0.05); }
.p-dock button:active { transform: scale(0.95); }
.p-dock button.is-primary { background: #111318; color: #fff; }
.p-dock button.is-primary i { color: #fff; }
.p-dock button:focus-visible { outline: 2px solid var(--p-accent, #111); outline-offset: 2px; }

/* ── 6. OPENING SEQUENCE ──────────────────────────────────────────── */
.p-js:not(.p-play) body[class*="page-"] .flip-scene { opacity: 0; }
.p-play body[class*="page-"] .flip-scene { animation: pFade 0.6s ease both; }
.p-play body[class*="page-"] .hero-img.active { animation: pSettle 1.4s var(--p-ease) both; }
.p-play body[class*="page-"] .logo-circle-wrap { animation: pPop 0.6s 0.15s var(--p-ease) both; }
.p-play body[class*="page-"] .brand-name { animation: pRise 0.6s 0.25s var(--p-ease) both; }
.p-play body[class*="page-"] .brand-sub { animation: pRise 0.6s 0.32s var(--p-ease) both; }
.p-play body[class*="page-"] .tag-row { animation: pRise 0.6s 0.38s var(--p-ease) both; }
.p-play body[class*="page-"] .btn-grid { animation: pRise 0.6s 0.46s var(--p-ease) both; }
@keyframes pSettle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes pPop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes pRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── 7. RESPONSIVE + MOTION PREFERENCES ───────────────────────────── */
@media (max-width: 360px) {
  body[class*="page-"] .btn-grid { --p-gx: 8px; row-gap: 12px; }
  body[class*="page-"] .btn-grid .btn .btn-label,
  body[class*="page-"] .btn-grid .btn .solid-label { font-size: 0.74rem; }
}
@media (min-width: 720px) {
  body[class*="page-"] .page-wrap { padding-top: 32px; }
  body[class*="page-"] .flip-scene { margin: 0 0 18px; }
  body[class*="page-"] .hero { border-radius: 30px; }
  body[class*="page-"] .flip-back { border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  body[class*="page-"] *,
  body[class*="page-"] *::before,
  body[class*="page-"] *::after,
  .p-dock,
  body[class*="page-"] #leadToggleBtn {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
