/* public/styles.css — MAE WANNEE GOLD brand styling */
:root {
  --gold-bright: #E9C446;
  --gold-deep: #D4A017;
  /* gold for TEXT on light backgrounds: --gold-deep is only 2.3:1 on --bg, this is
     5.1:1 on #FBFBFA and 4.8:1 on #F5F2EE. Keep --gold-deep for fills/borders. */
  --gold-text: #8A6500;
  --red-auspicious: #C62828;
  --cream: #FFF6E6;
  --white-soft: #F5F2EE;
  --bg: #FBFBFA;
  --surface: #FFFFFF;
  --text-dark: #1D1D1F;
  --text-secondary: #6E6E73;
  --border: rgba(0, 0, 0, 0.08);
  --font-heading: 'Playfair Display SC', serif;
  --font-body: 'Prompt', sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, .brand { font-family: var(--font-heading); font-weight: 400; letter-spacing: 0.01em; }

a { color: var(--gold-text); }

/* ── Reveal-on-scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Header ── */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 250, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.75rem;
}

/* Category bar: second row of the sticky top bar on catalog pages. */
.category-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 1.75rem 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--border);
}
.category-bar::-webkit-scrollbar { display: none; }
.category-bar a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border);
  border-radius: 980px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.92rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.category-bar a:hover { color: var(--text-dark); }
.category-bar a.active {
  background: var(--cream);
  border-color: var(--gold-deep);
  color: var(--gold-text);
  font-weight: 600;
}
@media (max-width: 720px) {
  .category-bar {
    padding: 0.4rem 1.1rem 0.5rem;
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  }
}
@media (min-width: 1200px) {
  .category-bar { justify-content: center; }
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-header .brand-mark { height: 48px; width: 48px; object-fit: contain; }
.site-header .brand { margin-right: auto; min-width: 0; }

/* TH | EN switch */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 980px;
  background: var(--surface);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 38px;
  padding: 0 0.7rem;
  border-radius: 980px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-switch a:hover { color: var(--text-dark); }
.lang-switch a.active { background: var(--text-dark); color: var(--surface); }

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: 980px;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.site-header nav a.active, .site-header nav a:hover { background: var(--white-soft); color: var(--text-dark); }

@media (max-width: 720px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.9rem 1.1rem;
  }
  .site-header .brand { grid-row: 1; grid-column: 1; margin-right: 0; }
  .lang-switch { grid-row: 1; grid-column: 2; }
  .site-header nav {
    grid-row: 2;
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  }
  .site-header nav::-webkit-scrollbar { display: none; }
}

main { max-width: 1120px; margin: 0 auto; padding: 0 1.75rem 5rem; }

/* ── Promo hero (full-bleed banner) ── */
.promo-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 7.5rem 1.5rem 6.5rem;
  text-align: center;
  color: var(--gold-bright);
  background:
    radial-gradient(60% 70% at 80% 0%, rgba(233, 196, 70, 0.28), transparent 60%),
    linear-gradient(160deg, rgba(58, 15, 15, 0.89) 0%, rgba(92, 20, 20, 0.91) 45%, rgba(42, 10, 10, 0.94) 100%),
    url('/shop-front.jpg');
  background-size: cover;
  background-position: center 65%;
  overflow: hidden;
}
.promo-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.promo-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
  color: var(--gold-bright);
}
.promo-branch {
  display: block;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 500;
}
.promo-services {
  color: rgba(233, 196, 70, 0.9);
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto 1rem;
}
.promo-hero > p {
  color: rgba(233, 196, 70, 0.75);
  font-size: 1.25rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn-promo {
  padding: 1rem 2.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.btn-promo:hover { transform: translateY(-2px); }
.btn-promo.primary { background: var(--gold-bright); color: #2A2118; }
.btn-promo:not(.primary):not(.ghost) {
  background: rgba(233, 196, 70, 0.12);
  color: var(--gold-bright);
  border: 1px solid rgba(233, 196, 70, 0.35);
}
.btn-promo.ghost { background: transparent; color: var(--gold-bright); border: 1px solid rgba(233, 196, 70, 0.45); }

/* ── Gold price signage board ── */
.signage {
  display: flex;
  flex-direction: column;
  max-width: 880px;
  margin: 2.5rem auto 0;
  background: var(--white-soft);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 20px 44px rgba(0, 0, 0, 0.06);
}
@media (min-width: 760px) {
  .signage { flex-direction: row; }
  .signage-rail { flex: 0 0 46%; }
  .signage-media { flex: 1 1 auto; }
}

.signage-rail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.25rem 2rem 2rem;
}
.signage-rail::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  width: min(900px, 160vw);
  height: 480px;
  transform: translateX(-50%);
  background:
    radial-gradient(32% 40% at 78% 22%, rgba(198, 40, 40, 0.5), transparent 68%),
    radial-gradient(40% 46% at 26% 38%, rgba(233, 196, 70, 0.6), transparent 70%),
    radial-gradient(45% 50% at 50% 60%, rgba(255, 246, 230, 0.65), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0% { transform: translateX(-52%) translateY(0) scale(1); }
  100% { transform: translateX(-48%) translateY(14px) scale(1.06); }
}
.signage-blob {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
  .signage-rail::before { animation: none; }
}

/* ── Rotating product/service photos ── */
.signage-media {
  position: relative;
  /* Phones: the panel sits under the price cards at full width. The service
     graphics are square infographics with small text, so give the panel a
     square shape (not a short 220px strip) so they show large and readable. */
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--cream), #FBEBC4);
}
@media (min-width: 760px) {
  /* Wide screens: the panel sits beside the price cards and takes their height. */
  .signage-media { aspect-ratio: auto; min-height: 0; }
}
.signage-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s var(--ease);
}
.signage-slide.on { opacity: 1; }
.signage-slide::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(0.85) saturate(1.15);
}
.signage-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.signage-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.signage-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.signage-dots i.on { opacity: 1; transform: scale(1.3); background: #ffffff; }

.signage-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.signage-brand img { height: 48px; width: 48px; object-fit: contain; }
.signage-brand-th { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; color: var(--gold-text); }
.signage-brand-en {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.signage-title { font-weight: 600; font-size: 1.15rem; color: var(--text-dark); margin-bottom: 1.25rem; }

.signage-pair { display: flex; flex-direction: column; gap: 0.9rem; }
.signage-card {
  position: relative;
  border-radius: 20px;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 3px 12px rgba(42, 33, 24, 0.1);
}
.signage-card.sell { background: var(--gold-deep); }
.signage-card.buy { background: var(--surface); }

.signage-card-label { font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.signage-card-sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.signage-card.sell .signage-card-label { color: #2A2118; }
.signage-card.sell .signage-card-sub { color: rgba(42, 33, 24, 0.66); }
.signage-card.buy .signage-card-label { color: var(--text-dark); }
.signage-card.buy .signage-card-sub { color: var(--text-secondary); }

.signage-num { position: relative; text-align: right; }
.signage-num-value {
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: color 0.6s ease;
}
.signage-card.sell .signage-num-value { color: #2A2118; }
.signage-card.buy .signage-num-value { color: var(--text-dark); }
.signage-num-unit { font-weight: 400; font-size: 0.72rem; margin-top: 2px; }
.signage-card.sell .signage-num-unit { color: rgba(42, 33, 24, 0.66); }
.signage-card.buy .signage-num-unit { color: var(--text-secondary); }

.signage-badge {
  position: absolute;
  right: 0;
  bottom: calc(100% + 4px);
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(42, 33, 24, 0.28);
  animation: signage-badge-rise 6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes signage-badge-rise {
  0% { opacity: 0; transform: translateY(14px) scale(0.7); }
  22% { opacity: 1; transform: translateY(0) scale(1.14); }
  34% { transform: translateY(0) scale(1); }
  72% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(1); }
}
.signage-ring {
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  border: 3px solid currentColor;
  pointer-events: none;
  animation: signage-ring-glow 1.6s ease-out forwards;
}
@keyframes signage-ring-glow {
  0% { opacity: 0.9; transform: scale(0.98); }
  70% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}

.signage-foot { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
/* price date/time (bold) above the live clock (small, labelled) — stacked so both
   fit a 375px screen and the clock can't be read as the price's own time */
.signage-foot-row { display: flex; flex-direction: column; gap: 0.15rem; }
#signageDate { font-weight: 600; font-size: 0.92rem; color: var(--text-dark); }

.signage-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  align-self: stretch;
  width: 100%;
}
.signage-pill.up { background: rgba(46, 125, 50, 0.13); color: #2E7D32; }
.signage-pill.down { background: rgba(198, 40, 40, 0.12); color: var(--red-auspicious); }
.signage-pill.flat { background: var(--border); color: var(--text-secondary); }
.signage-pill-arrow { font-size: 0.85rem; }
.signage-pill-label { font-weight: 500; font-size: 0.78rem; opacity: 0.8; }
.signage-pill-value { font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; }

.signage-clock { font-weight: 500; font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--text-secondary); }

.signage-info { padding-top: 0.6rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--text-secondary); }
.signage-info-src { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.signage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6E7B52;
  animation: signage-blink 2.4s ease-in-out infinite;
}
/* feed down: steady dot, no pulsing */
.signage-dot.off { background: var(--gold-deep); animation: none; }
@keyframes signage-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.signage.is-stale .signage-card.buy .signage-num-value { color: var(--text-secondary); }
.signage.is-stale .signage-card.sell .signage-num-value { color: rgba(42, 33, 24, 0.66); }

/* ── Gold price (full page) ──
   #gold-price-full lives directly inside .gold-price-page (see
   renderTemplates.js) — it's the content, not a second nested card, so it
   only needs to fill the page card's width, not box itself again. */
.gold-price-page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin: 1rem auto;
  max-width: 1080px;
}
#gold-price-full { width: 100%; }

.price-groups { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 760px) {
  .price-groups { flex-direction: row; gap: 3rem; }
  .price-group { flex: 1 1 0; min-width: 0; }
}
.price-group-title { font-weight: 600; font-size: 1.05rem; color: var(--text-dark); margin-bottom: 1rem; }

/* Ornament prices can carry decimals (e.g. 67,325.56) — the card needs
   real breathing room (not just a shrinking number) so the label and
   the number never feel jammed together at in-between viewport widths. */
.price-groups .signage-card {
  padding: 1.75rem 2rem;
  gap: 1.25rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}
.price-groups .signage-num { min-width: 0; }
.price-groups .signage-num-value {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  white-space: nowrap;
}

.price-stale { color: var(--red-auspicious); font-weight: 500; margin: 0 0 0.75rem; }
.price-source, .price-updated { font-size: 0.82rem; color: var(--text-secondary); margin: 0.5rem 0 0; text-align: center; }

.price-change-pill {
  align-self: stretch;
  width: 100%;
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.75rem;
  gap: 0.75rem;
}
.price-change-pill .signage-pill-arrow { font-size: 1.3rem; }
.price-change-pill .signage-pill-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  opacity: 1;
}
.price-change-pill .signage-pill-value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ── Intraday history table (Aurora-style) ── */
.history-wrap { margin-top: 2.5rem; }
.history-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 1rem; color: var(--text-dark); text-align: center; }
.history-table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.history-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; white-space: nowrap; }
.history-table th, .history-table td { padding: 0.55rem 0.9rem; text-align: right; }
.history-table th:first-child, .history-table td:first-child,
.history-table th:nth-child(2), .history-table td:nth-child(2) { text-align: left; }
.history-table thead th {
  background: var(--white-soft);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border);
}
.history-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--white-soft); }
.history-table tbody tr:first-child td { font-weight: 600; color: var(--text-dark); background: rgba(233, 196, 70, 0.08); }
.history-table td { font-variant-numeric: tabular-nums; }
.history-change.up { color: #2E7D32; }
.history-change.down { color: var(--red-auspicious); }
.history-change.flat { color: var(--text-secondary); }

.gold-price-page h1 { text-align: center; font-size: 2rem; margin-bottom: 2rem; color: var(--text-dark); }

/* ── Category scroll (Apple Store style row) ── */
.category-scroll-wrap { margin: 3rem 0 2.5rem; }
.category-scroll-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 1.1rem; color: var(--text-dark); }
.category-scroll {
  display: flex;
  gap: 2.25rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.75rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 140px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: transform 0.3s var(--ease);
}
.category-chip:hover { transform: translateY(-3px); }
.category-chip img, .category-chip-fallback {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white-soft);
  border: 1px solid var(--border);
}

/* ── Filters ── */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 2rem; }
.filters button {
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 980px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.filters button.active { background: var(--text-dark); border-color: var(--text-dark); color: var(--surface); }

/* ── Catalog grid (browse only — no buy chrome on the card) ── */
h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 3rem 0 0.5rem; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.5rem;
}
.catalog-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
.catalog-card a { position: relative; display: block; }
.catalog-card img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.catalog-card figcaption { padding: 0.9rem; font-size: 0.92rem; color: var(--text-dark); }

/* ── Contact bar (end of every category page) ── */
.contact-bar {
  margin: 3rem 0 0;
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--white-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-bar p { margin: 0 0 1.1rem; font-size: 1.1rem; font-weight: 600; color: var(--text-dark); }
.contact-bar-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.contact-bar .btn-promo { padding: 0.85rem 1.9rem; font-size: 1rem; border: 0; }
.contact-bar .btn-promo.contact-call { background: var(--gold-bright); color: #2A2118; }
.contact-bar .btn-promo.contact-line { background: #2A2118; color: var(--gold-bright); }

/* ── 404 ── */
.not-found { text-align: center; padding: 3rem 0 4rem; }
.not-found p { color: var(--text-secondary); }

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 14, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.lightbox-overlay.open { display: flex; animation: lightbox-fade 0.3s var(--ease); }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  max-width: 92vw;
}
.lightbox-image { max-width: 92vw; max-height: 68vh; border-radius: 8px; }
.lightbox-caption { color: var(--cream); font-size: 0.95rem; text-align: center; }
.lightbox-caption[hidden], .lightbox-btn[hidden] { display: none; }
.lightbox-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-bright);
  border: 1px solid rgba(233, 196, 70, 0.55);
}
.lightbox-btn.lightbox-line { background: var(--gold-bright); color: #2A2118; border-color: var(--gold-bright); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(233, 196, 70, 0.4);
  background: rgba(233, 196, 70, 0.12);
  color: var(--gold-bright);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease);
}
.lightbox-nav:hover { background: rgba(233, 196, 70, 0.22); }
.lightbox-nav[hidden] { display: none; }
.lightbox-nav.prev { left: 5vw; }
.lightbox-nav.next { right: 5vw; }
.lightbox-count {
  position: absolute;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(20, 18, 14, 0.6);
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 500;
}
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-nav.prev { left: 2vw; }
  .lightbox-nav.next { right: 2vw; }
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--white-soft);
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.site-footer p { margin: 0.3rem 0; }
