/* ============================================================
   Royal Wedding Events – Wedding Services
   Wedding-themed, responsive, zero-dependency stylesheet
   ============================================================ */

:root {
  --maroon: #6d1a2d;
  --maroon-dark: #4c0f1e;
  --rose: #b83250;
  --rose-light: #fbe3e8;
  --gold: #c9a227;
  --gold-light: #f7ecd0;
  --cream: #fdf7ee;
  --ink: #3b2530;
  --ink-soft: #7c6370;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(109, 26, 45, 0.08);
  --shadow-md: 0 10px 24px rgba(109, 26, 45, 0.14);
  --shadow-lg: 0 18px 40px rgba(109, 26, 45, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --font-serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --font-sans: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, #fdeaea 0%, transparent 60%),
    radial-gradient(1000px 500px at -10% 20%, #fbf3dd 0%, transparent 55%),
    var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ------------------------------------------------------- topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 24px;
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon) 55%, var(--rose));
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* Centered welcome chip shown while logged in. */
.welcome-user {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 16px;
  white-space: nowrap;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.welcome-user[hidden] { display: none; }
@media (max-width: 760px) {
  .welcome-user {
    position: static;
    transform: none;
    order: 3;
    flex: 1 1 100%;
    text-align: center;
    max-width: none;
  }
}

.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-size: 26px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.3px; }
.brand-text small { font-size: 11.5px; opacity: 0.85; letter-spacing: 1.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav[hidden] { display: none; }
.nav a {
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav a:hover { background: rgba(255, 255, 255, 0.16); text-decoration: none; }
.nav a.active { background: #fff; color: var(--maroon); }

.nav-logout {
  margin-left: 6px;
  padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-logout:hover { background: #fff; color: var(--maroon); }

/* ------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  flex: 1;
}

.hero {
  text-align: center;
  padding: 34px 16px 28px;
  margin-bottom: 28px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 8px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 46px);
  margin: 0 0 10px;
  color: var(--maroon);
  line-height: 1.15;
}
.hero h1 .amp { color: var(--gold); font-style: italic; }
.hero p { color: var(--ink-soft); font-size: 16px; max-width: 620px; margin: 0 auto; }

.section-title {
  font-family: var(--font-serif);
  color: var(--maroon);
  font-size: 26px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-sub { color: var(--ink-soft); margin: 0 0 22px; font-size: 14.5px; }

/* ------------------------------------------------------- cards */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.grid-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 64px;
  transition: transform 0.3s ease;
  border-radius: 0;
}
.tile .tile-emoji { transition: transform 0.3s ease; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)); }
.card:hover .tile .tile-emoji { transform: scale(1.18) rotate(-4deg); }

/* real photos layered over the emoji tiles (emoji stays as fallback) */
.tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card:hover .tile .tile-img { transform: scale(1.08); }
.mini-tile { position: relative; overflow: hidden; }
.mini-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* South Indian wedding palette: marigold, temple gold, silk, peacock, jasmine */
.tone-1 { background: linear-gradient(135deg, #ffe7bd, #f2a63b); } /* marigold */
.tone-2 { background: linear-gradient(135deg, #fdf0b8, #e0b93c); } /* temple gold */
.tone-3 { background: linear-gradient(135deg, #ffd9d3, #e2594f); } /* temple red */
.tone-4 { background: linear-gradient(135deg, #d8f0d2, #67b96f); } /* silk green */
.tone-5 { background: linear-gradient(135deg, #d3e9ff, #58a7e8); } /* peacock blue */
.tone-6 { background: linear-gradient(135deg, #ffd7ea, #e8639e); } /* kanjivaram magenta */
.tone-7 { background: linear-gradient(135deg, #fdf3e3, #e9cd9e); } /* jasmine ivory */
.tone-8 { background: linear-gradient(135deg, #ffe0c2, #f09a4a); } /* deepam amber */

.tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--maroon);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
}

.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: 18.5px;
  color: var(--maroon);
  line-height: 1.25;
}
.card-body p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; flex: 1; }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }

.count-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--maroon);
  background: var(--rose-light);
  border-radius: 999px;
  padding: 5px 11px;
}
.count-chip.positive { background: var(--gold-light); color: #7a5b00; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-view {
  background: linear-gradient(120deg, var(--maroon), var(--rose));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-view:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border: 1.5px solid #d9b3bd;
  color: var(--rose);
}
.btn-outline:hover { background: var(--rose-light); border-color: var(--rose); }

.btn-block { width: 100%; }

/* interested toggle */
.btn-interest {
  border: 1.5px solid #e2b6c0;
  background: var(--white);
  color: var(--rose);
}
.btn-interest:hover { background: var(--rose-light); border-color: var(--rose); transform: translateY(-1px); }
.btn-interest.active {
  background: linear-gradient(120deg, var(--rose), var(--maroon));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-interest.active:hover { box-shadow: var(--shadow-md); }

/* ------------------------------------------------------- detail */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rose);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
}
.back-link:hover { text-decoration: none; color: var(--maroon); }

.detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.detail-head .tile { border-radius: var(--radius); width: 96px; aspect-ratio: 1; font-size: 44px; flex: none; }
.detail-head h1 { font-family: var(--font-serif); margin: 0; color: var(--maroon); font-size: 32px; }
.detail-head p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14.5px; max-width: 640px; }
.detail-count { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--maroon); }
.detail-count span { color: var(--gold); }

.item-card .card-body { padding: 14px; }
.item-card .tile { aspect-ratio: 4 / 3; font-size: 52px; }
.item-card h4 { font-family: var(--font-serif); margin: 0; font-size: 16.5px; color: var(--maroon); }
.item-card .item-desc { font-size: 12.5px; }
.item-category {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #8a6a00;
  background: var(--gold-light);
  border-radius: 999px;
  padding: 3px 9px;
}
.cat-section { margin-top: 34px; }
.cat-section:first-of-type { margin-top: 26px; }
.cat-title {
  font-family: var(--font-serif);
  color: var(--maroon);
  font-size: 21px;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-light);
}
/* ------------------------------------------------------- auth */
.auth-wrap {
  display: grid;
  place-items: center;
  padding: 30px 0;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-top: 5px solid var(--gold);
}
.auth-head {
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon) 60%, var(--rose));
  color: #fff;
  text-align: center;
  padding: 26px 20px 20px;
}
.auth-head .ring { font-size: 40px; }
.auth-head h1 { font-family: var(--font-serif); margin: 8px 0 4px; font-size: 24px; }
.auth-head p { margin: 0; opacity: 0.85; font-size: 13.5px; }
.auth-body { padding: 24px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--maroon); margin-bottom: 5px; }
.field input {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #e5cfd5;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fffdf9;
}
.field input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(184, 50, 80, 0.12); }

.auth-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.auth-error {
  background: #fdecec;
  color: #a31621;
  border: 1px solid #f3c1c6;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
}

.demo-hint {
  margin-top: 16px;
  background: var(--gold-light);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: #6b5200;
  text-align: center;
}
.demo-hint code { font-weight: 700; background: #fff; padding: 1px 6px; border-radius: 5px; }

/* ------------------------------------------------------- interested page */
.interest-group { margin-bottom: 34px; }
.interest-group h2 {
  font-family: var(--font-serif);
  color: var(--maroon);
  font-size: 21px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.interest-group h2 .mini-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
}

.summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--maroon-dark), var(--rose));
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}
.summary-bar strong { font-size: 17px; }
.summary-bar .total-chip { background: #fff; color: var(--maroon); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 14px; }
.summary-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn-danger {
  background: #fff;
  color: var(--rose);
  border: 1px solid var(--rose);
}
.btn-danger:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-danger:disabled { opacity: 0.6; cursor: wait; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.empty-state .big { font-size: 56px; }
.empty-state h2 { font-family: var(--font-serif); color: var(--maroon); margin: 14px 0 6px; }
.empty-state p { color: var(--ink-soft); margin: 0 0 20px; }

/* ----------------------------------------- home interested preview */
.interest-preview {
  margin-top: 48px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.interest-thumbs { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.interest-thumbs .mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 78px;
  text-align: center;
  color: var(--ink);
}
.interest-thumbs .mini:hover { text-decoration: none; }
.interest-thumbs .mini-tile {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.interest-thumbs .mini:hover .mini-tile { transform: scale(1.1); }
.interest-thumbs .mini small { font-size: 10.5px; color: var(--ink-soft); line-height: 1.25; }

/* ------------------------------------------------------- profile */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.profile-card, .vendor-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.profile-card h2, .vendor-card h2 {
  font-family: var(--font-serif);
  color: var(--maroon);
  margin: 0 0 16px;
  font-size: 21px;
}
.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-card-head h2 { margin-bottom: 16px; }
.btn-edit {
  background: var(--gold-light);
  border: 1px solid #e6c96b;
  color: #7a5b00;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.btn-edit:hover { background: #f3e2b3; transform: translateY(-1px); }
.edit-actions { display: flex; gap: 10px; margin-top: 4px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #eed9de; font-size: 14.5px; }
.info-row:last-child { border-bottom: none; }
.info-row .k { color: var(--ink-soft); font-weight: 600; }
.info-row .v { font-weight: 700; color: var(--ink); text-align: right; }

.vendor-card { border-top: 5px solid var(--gold); }
.vendor-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.vendor-head .monogram {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8a6a00);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.vendor-head h2 { margin: 0; }
.vendor-head .tagline { color: var(--ink-soft); font-size: 13px; margin: 2px 0 0; }
.vendor-tag { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 14px; }
.vendor-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}
.vendor-services span {
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon);
  background: var(--rose-light);
  border-radius: 999px;
  padding: 4px 10px;
}
.vendor-contact p { margin: 6px 0; font-size: 14.5px; color: var(--ink); }

/* ------------------------------------------------------- toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--maroon-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------- footer */
.site-footer {
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon) 60%, var(--rose));
  color: #f6e7ea;
  padding: 34px 24px 18px;
  margin-top: 20px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.footer-brand { font-family: var(--font-serif); font-size: 18px; margin: 0 0 6px; color: #fff; }
.footer-about { font-size: 13.5px; line-height: 1.6; opacity: 0.9; margin: 0; max-width: 320px; }
.footer-services { font-size: 13.5px; line-height: 1.8; opacity: 0.95; }
.footer-contact p { margin: 7px 0; font-size: 14.5px; }
.footer-copy {
  text-align: center;
  font-size: 12.5px;
  opacity: 0.75;
  margin: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
}

/* ------------------------------------------------------- manage */
.manage-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin-bottom: 24px;
}
.manage-card h3 {
  font-family: var(--font-serif);
  color: var(--maroon);
  margin: 0 0 14px;
  font-size: 19px;
}
.manage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px 14px;
}
.manage-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #e5cfd5;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--font-sans);
  resize: vertical;
  background: #fffdf9;
}
.manage-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(184, 50, 80, 0.12);
}
.manage-sub {
  font-family: var(--font-serif);
  color: var(--maroon);
  font-size: 20px;
  margin: 6px 0 14px;
}
.manage-list { display: flex; flex-direction: column; gap: 12px; }
.manage-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  flex-wrap: wrap;
}
.manage-row .tile {
  width: 84px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  font-size: 30px;
  flex: none;
}
.manage-row-body { flex: 1; min-width: 160px; }
.manage-row-body strong { font-family: var(--font-serif); color: var(--maroon); font-size: 16px; }
.manage-row-body p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.manage-row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.manage-actions { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.manage-edit { flex-basis: 100%; }
.manage-edit summary { cursor: pointer; }
.manage-edit .manage-form {
  margin-top: 12px;
  background: #fffaf4;
  border-radius: var(--radius-sm);
  padding: 14px;
  border-top: 1px dashed #eed9de;
}
.empty-inline { color: var(--ink-soft); font-size: 14px; }

/* ------------------------------------------------------- enquiries */
.enquiry-list { display: flex; flex-direction: column; gap: 14px; }
.enquiry-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}
.enquiry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.enquiry-person h3 { font-family: var(--font-serif); color: var(--maroon); font-size: 17px; margin: 0; }
.enquiry-person p { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.enquiry-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.enquiry-ref { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .3px; }
.enquiry-date { font-size: 12px; color: var(--ink-soft); }
.enquiry-items { display: flex; flex-direction: column; gap: 8px; }
.enquiry-group {
  background: #fffaf4;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.enquiry-group h4 { margin: 0 0 4px; font-size: 13px; color: var(--maroon); }
.enquiry-group ul { margin: 0; padding-left: 0; list-style: none; }
.enquiry-group li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); margin: 4px 0; }
.enquiry-group li .mini-tile {
  position: relative;
  width: 38px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1.2;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.enquiry-group li em { color: var(--rose); font-style: normal; font-weight: 700; }

/* ------------------------------------------------------- profile history */
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-card {
  background: var(--white);
  border: 1px solid #f0e0c3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
}
.history-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 16px;
}
.history-head:hover { background: #fffaf4; }
.history-ref { font-weight: 800; color: var(--maroon); font-size: 14.5px; }
.history-when { font-size: 12.5px; color: var(--ink-soft); }
.history-head .count-chip { margin-left: auto; }
.history-body {
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed #eed9de;
}

.enquiry-comments {
  margin-top: 12px;
  border-top: 1px dashed #eed9de;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.enquiry-comment {
  background: var(--rose-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
}
.enquiry-comment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
}
.enquiry-comment-head strong { color: var(--maroon); font-size: 13px; }
.enquiry-comment-head em { font-style: normal; color: var(--gold); font-weight: 700; }
.enquiry-comment-head small { color: var(--ink-soft); font-size: 11px; }
.enquiry-comment p { margin: 0; color: var(--ink); line-height: 1.45; white-space: pre-wrap; }
.enquiry-comment-form {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.enquiry-comment-form textarea {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 13.5px;
  border: 1.5px solid #e6cdd3;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  resize: vertical;
  min-height: 44px;
}
.enquiry-comment-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(184, 50, 80, 0.12);
}

.enquiry-note {
  margin-top: 12px;
  background: #fdf6ec;
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.enquiry-note strong { color: var(--maroon); font-size: 13px; }
.enquiry-note p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink); line-height: 1.55; white-space: pre-wrap; }

.confirm-note {
  margin-top: 18px;
  background: var(--white);
  border: 1px solid #f0e0c3;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.confirm-note label { display: block; font-weight: 700; color: var(--maroon); margin-bottom: 8px; font-size: 14px; }
.confirm-note label small { font-weight: 400; color: var(--ink-soft); }
.confirm-note textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1.5px solid #e6cdd3;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  resize: vertical;
}
.confirm-note textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(184, 50, 80, 0.12);
}
.confirm-note p { margin: 8px 0 0; font-size: 12px; color: var(--ink-soft); }

/* ------------------------------------------------------- enquiry wizard */
.wizard { max-width: 560px; margin: 0 auto; padding: 10px 0 40px; }
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.wiz-dots { display: flex; gap: 8px; }
.wiz-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--rose-light);
  color: var(--rose);
  border: 1.5px solid #e2b6c0;
}
.wiz-dot.active { background: linear-gradient(120deg, var(--maroon), var(--rose)); color: #fff; border-color: transparent; }
.wizard-step-label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); letter-spacing: .5px; }
.wizard-title {
  font-family: var(--font-serif);
  color: var(--maroon);
  font-size: 34px;
  margin: 0 0 6px;
}
.wizard-sub { color: var(--ink-soft); font-size: 15px; margin: 0 0 26px; }
.wizard-step-title { font-size: 17px; color: var(--ink); margin: 0 0 18px; }
.wizard-hint { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-soft); }
.wizard-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.wizard-actions .total-chip { margin-right: auto; }
.wizard-details { max-width: 100%; }
.wiz-svc-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.wiz-svc-chip {
  background: #fffaf4;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wiz-svc-name { font-weight: 700; color: var(--maroon); font-size: 14px; }
.wiz-svc-name em { font-style: normal; color: var(--gold); font-weight: 700; }
.wiz-svc-chip small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }


/* confirmation shown right after an enquiry is sent to the vendor */
.confirm-success { padding: 56px 24px; }
.confirm-success .big { font-size: 64px; }
.confirm-ref { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .3px; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.success-contact {
  max-width: 440px;
  margin: 18px auto 0;
  text-align: left;
  border-top: 4px solid var(--gold);
}
.success-socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------- responsive */
@media (max-width: 640px) {
  .topbar { padding: 10px 14px; }
  .nav { width: 100%; justify-content: center; gap: 2px; }
  .nav a { padding: 7px 10px; font-size: 13px; }
  .container { padding: 18px 14px 40px; }
  .grid-services { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .grid-items { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .tile { font-size: 48px; }
  .detail-head h1 { font-size: 24px; }
  .detail-head .tile { width: 76px; font-size: 34px; }
  .btn { padding: 9px 14px; font-size: 13px; }
}
