/* ==========================================================================
   FOTO'TA — Refined Luxury Editorial & Modern Marketplace Design System
   Palette sampled directly from the FOTOTA Photography Brand Identity:
   - Warm Ivory Paper:     #FDF8F2
   - Soft Parchment:       #F4ECE2
   - Deep Royal Burgundy:  #430A1D
   - Burgundy Noir:        #280510
   - Champagne Rose-Gold:  #D5A27B / #EBC8AA / #A9724B
   Typography:
   - Display Editorial:    Playfair Display (Hero & major section headlines ONLY)
   - Modern UI & Data:     Plus Jakarta Sans (Crisp UI headings, cards, prices, tables)
   ========================================================================== */

:root {
  --bg-ivory: #FDF8F2;
  --bg-ivory-2: #F5EDE3;
  --bg-ivory-3: #EBE0D2;
  --bg-white: #FFFFFF;

  --burgundy: #430A1D;
  --burgundy-dark: #280510;
  --burgundy-mid: #5E142C;
  --burgundy-soft: rgba(67, 10, 29, 0.065);

  --gold: #CFA07A;
  --gold-light: #EED0B5;
  --gold-deep: #A66E46;
  --gold-gradient: linear-gradient(135deg, #F3D5B8 0%, #D5A27B 50%, #B0784F 100%);
  --burgundy-gradient: linear-gradient(135deg, #520F25 0%, #430A1D 52%, #24040F 100%);

  --text-main: #230711;
  --text-secondary: #563943;
  --text-muted: #7C616B;
  --text-on-dark: #FBF6F0;
  --text-on-dark-muted: #DFC6B4;

  --border-warm: #E7DACD;
  --border-gold: rgba(207, 160, 122, 0.45);

  --success: #186A45;
  --success-bg: #E8F6EF;
  --warning: #9A580D;
  --warning-bg: #FEF4E6;
  --danger: #9B1C2E;
  --danger-bg: #FDECEF;
  --info: #264B73;
  --info-bg: #ECF3FA;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 3px rgba(67, 10, 29, 0.05);
  --shadow-sm: 0 4px 14px rgba(67, 10, 29, 0.06);
  --shadow-md: 0 14px 36px rgba(67, 10, 29, 0.10);
  --shadow-lg: 0 28px 64px rgba(36, 4, 15, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.24s var(--ease-out);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-main);
  background-color: var(--bg-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.app-root {
  flex: 1;
  animation: viewFadeIn 0.36s var(--ease-out);
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hidden {
  display: none !important;
}

/* ---------- Crisp SVG Icon Helper ---------- */
.svg-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -0.18em;
  flex-shrink: 0;
}

.svg-icon-lg {
  width: 22px;
  height: 22px;
}

.svg-icon-sm {
  width: 14px;
  height: 14px;
}

/* ---------- Refined Typography System ---------- */
/* Modern geometric sans for UI headings; Playfair Display reserved for editorial display titles */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--burgundy);
}

.font-display,
.hero-title,
.section-title,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.eyebrow-light {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  color: var(--burgundy);
}

.section-title-light {
  color: var(--text-on-dark);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 600px;
  margin-top: 10px;
  line-height: 1.65;
}

.gold-italic {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scroll Reveal Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--bg-ivory);
  border-color: var(--burgundy);
  box-shadow: 0 6px 18px rgba(67, 10, 29, 0.2);
}

.btn-primary:hover {
  background: var(--burgundy-mid);
  border-color: var(--burgundy-mid);
  transform: translateY(-1.5px);
  box-shadow: 0 12px 26px rgba(67, 10, 29, 0.28);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--burgundy-dark);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(176, 120, 79, 0.34);
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1.5px);
  box-shadow: 0 14px 30px rgba(176, 120, 79, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: rgba(67, 10, 29, 0.25);
}

.btn-outline:hover {
  background: var(--burgundy-soft);
  border-color: var(--burgundy);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: rgba(253, 248, 242, 0.06);
  color: var(--bg-ivory);
  border-color: rgba(238, 208, 181, 0.42);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(238, 208, 181, 0.16);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-soft {
  background: var(--bg-ivory-2);
  color: var(--burgundy);
  border-color: var(--border-warm);
}

.btn-soft:hover {
  background: var(--bg-ivory-3);
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: rgba(155, 28, 46, 0.25);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.btn-success {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

.btn-success:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-warm);
  background: var(--bg-white);
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.icon-btn:hover {
  border-color: var(--gold);
  background: var(--bg-ivory-2);
  transform: translateY(-1px);
}

.badge-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--gold-light);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-ivory);
}

/* ---------- Adaptive Glass Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 248, 242, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 218, 205, 0.85);
  transition: box-shadow var(--transition), background var(--transition), height var(--transition);
}

.site-header.scrolled {
  background: rgba(253, 248, 242, 0.96);
  box-shadow: 0 8px 30px rgba(67, 10, 29, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
  transition: height var(--transition);
}

.site-header.scrolled .header-inner {
  height: 64px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

.site-header.scrolled .brand-logo {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--burgundy);
  background: var(--burgundy-soft);
}

.nav-link.active {
  color: var(--burgundy);
  font-weight: 700;
  background: rgba(207, 160, 122, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-warm);
  background: var(--bg-white);
  cursor: pointer;
  transition: all var(--transition);
}

.user-chip:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-xs);
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-chip-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--burgundy);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-mini-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(207, 160, 122, 0.25);
  color: var(--burgundy);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
}

/* ---------- Dynamic Editorial Hero Section ---------- */
.hero-section {
  position: relative;
  background: var(--burgundy-gradient);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 64px 0 84px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
  opacity: 0.45;
  animation: orbDrift 12s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(238, 208, 181, 0.35), transparent 70%);
}

.hero-orb-2 {
  width: 480px;
  height: 480px;
  bottom: -180px;
  right: -100px;
  background: radial-gradient(circle, rgba(207, 160, 122, 0.32), transparent 70%);
  animation-delay: -5s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28px, -18px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-logo-mark {
  height: 62px;
  width: auto;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  color: var(--bg-ivory);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 15.5px;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin-bottom: 24px;
  line-height: 1.68;
}

/* Interactive Hero Quick Search Bar */
.hero-search-bar {
  background: rgba(253, 248, 242, 0.97);
  border: 1px solid rgba(238, 208, 181, 0.55);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 22px 50px rgba(15, 2, 7, 0.38);
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
}

.hero-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--bg-ivory-2);
  color: var(--burgundy);
}

.hero-search-field input,
.hero-search-field select {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(238, 208, 181, 0.2);
}

.hero-stat-num {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold-light);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

/* Dynamic Hero Visual Collage */
.hero-visual-wrap {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(238, 208, 181, 0.35);
  box-shadow: 0 32px 72px rgba(12, 2, 6, 0.55);
  background: var(--burgundy-dark);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.hero-frame:hover img {
  transform: scale(1.03);
}

.hero-top-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(40, 5, 16, 0.78);
  backdrop-filter: blur(12px);
  color: var(--bg-ivory);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(238, 208, 181, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-float-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  right: 24px;
  background: rgba(253, 248, 242, 0.96);
  backdrop-filter: blur(16px);
  color: var(--text-main);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: floatGentle 6s ease-in-out infinite alternate;
}

@keyframes floatGentle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-5px); }
}

.hero-float-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--burgundy);
}

.hero-float-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ---------- Trust Marquee / Highlight Strip ---------- */
.trust-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-warm);
  padding: 18px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--burgundy-soft);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  color: var(--burgundy);
  font-size: 13.5px;
}

/* ---------- Sections & Layout Blocks ---------- */
.section {
  padding: 76px 0;
}

.section-sm {
  padding: 44px 0;
}

.section-parchment {
  background: var(--bg-ivory-2);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--burgundy-gradient);
  color: var(--text-on-dark);
  padding: 44px 0 38px;
  border-bottom: 2px solid rgba(207, 160, 122, 0.35);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  color: var(--bg-ivory);
}

.page-hero p {
  color: var(--text-on-dark-muted);
  margin: 8px 0 0;
  max-width: 660px;
  font-size: 14.5px;
}

/* ---------- Interactive Category Pills ---------- */
.pill-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-pill-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-warm);
  background: var(--bg-white);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill-btn:hover {
  border-color: var(--gold);
  color: var(--burgundy);
  transform: translateY(-1px);
}

.filter-pill-btn.active {
  background: var(--burgundy);
  color: var(--bg-ivory);
  border-color: var(--burgundy);
  box-shadow: 0 6px 16px rgba(67, 10, 29, 0.18);
}

/* ---------- Cards & Grids ---------- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.card-pad {
  padding: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- Service Marketplace Card ---------- */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-thumb {
  position: relative;
  aspect-ratio: 4 / 2.85;
  overflow: hidden;
  background: var(--burgundy-dark);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.service-card:hover .service-thumb img {
  transform: scale(1.06);
}

.service-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 5, 16, 0.12) 0%, transparent 45%, rgba(40, 5, 16, 0.42) 100%);
  pointer-events: none;
}

.service-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.badge-photographer {
  background: rgba(67, 10, 29, 0.88);
  color: var(--gold-light);
  border: 1px solid rgba(238, 208, 181, 0.35);
}

.badge-studio {
  background: rgba(253, 248, 242, 0.94);
  color: var(--burgundy);
  border: 1px solid var(--border-gold);
}

.verified-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  background: rgba(24, 106, 69, 0.92);
  color: #fff;
  backdrop-filter: blur(6px);
}

.service-thumb-cta {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(253, 248, 242, 0.94);
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.service-card:hover .service-thumb-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-partner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 6px;
}

.service-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.service-card:hover .service-title {
  color: var(--burgundy-mid);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--bg-ivory-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-tag {
  font-weight: 800;
  font-size: 17px;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.price-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Interactive Live Combo Simulator (Home) ---------- */
.commission-box {
  position: relative;
  overflow: hidden;
  background: var(--burgundy-gradient);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: 38px;
  border: 1px solid rgba(238, 208, 181, 0.3);
  box-shadow: var(--shadow-lg);
}

.sim-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(238, 208, 181, 0.22);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(12px);
}

.sim-select {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid rgba(238, 208, 181, 0.35);
  background: rgba(40, 5, 16, 0.72);
  color: var(--bg-ivory);
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
}

.sim-select:focus {
  border-color: var(--gold-light);
}

.split-bar-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  display: flex;
  margin: 12px 0 8px;
}

.split-bar-track-light {
  background: var(--bg-ivory-2);
}

.split-bar-mitra {
  width: 80%;
  background: linear-gradient(90deg, #34D399, #10B981);
  transition: width 0.4s var(--ease-out);
}

.split-bar-platform {
  width: 20%;
  background: var(--gold-gradient);
  transition: width 0.4s var(--ease-out);
}

/* ---------- Checkout Stepper ---------- */
.checkout-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}

.step-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.step-chip.done {
  border-color: rgba(24, 106, 69, 0.3);
  color: var(--success);
  background: var(--success-bg);
}

.step-chip.active {
  border-color: var(--burgundy);
  color: var(--burgundy);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-ivory-2);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.step-chip.done .step-num {
  background: var(--success);
  color: #fff;
}

.step-chip.active .step-num {
  background: var(--burgundy);
  color: var(--gold-light);
}

/* ---------- Status Pills & Badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pill-success { background: var(--success-bg); color: var(--success); }
.pill-warning { background: var(--warning-bg); color: var(--warning); }
.pill-danger { background: var(--danger-bg); color: var(--danger); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-burgundy { background: var(--burgundy-soft); color: var(--burgundy); }
.pill-gold { background: rgba(207, 160, 122, 0.24); color: var(--burgundy); }

.gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(238, 208, 181, 0.13);
  color: var(--gold-light);
  border: 1px solid rgba(238, 208, 181, 0.28);
}

/* ---------- Filter Bar & Forms ---------- */
.filter-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--border-warm);
  background: var(--bg-ivory);
  color: var(--text-main);
  font-size: 14px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--burgundy);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(67, 10, 29, 0.09);
}

textarea.form-control {
  min-height: 92px;
  resize: vertical;
}

/* ---------- Detail Page & Slot Picker ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: start;
}

.gallery-main {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  aspect-ratio: 16 / 10;
  background: var(--burgundy-dark);
  box-shadow: var(--shadow-sm);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--burgundy-dark);
  transition: border-color var(--transition), transform var(--transition);
}

.gallery-thumb-btn:hover {
  transform: translateY(-2px);
}

.gallery-thumb-btn.active {
  border-color: var(--burgundy);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-booking-box {
  position: sticky;
  top: 86px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.slot-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-warm);
  background: var(--bg-ivory);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--gold-deep);
  background: var(--bg-white);
  transform: translateY(-1px);
}

.slot-btn.selected {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--bg-ivory);
  box-shadow: 0 6px 14px rgba(67, 10, 29, 0.2);
}

.slot-btn.selected .slot-sub {
  color: var(--gold-light);
}

.slot-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bg-ivory-2);
  text-decoration: line-through;
}

.slot-date {
  font-weight: 700;
  font-size: 13px;
  display: block;
}

.slot-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ---------- Tables ---------- */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.data-table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  background: var(--bg-ivory-2);
  border-bottom: 1.5px solid var(--border-warm);
}

.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--bg-ivory-2);
  vertical-align: top;
}

.data-table tr:hover td {
  background: rgba(253, 248, 242, 0.8);
}

.data-table-dark th {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  border-bottom-color: rgba(238, 208, 181, 0.2);
}

.data-table-dark td {
  border-bottom-color: rgba(238, 208, 181, 0.14);
  color: var(--text-on-dark);
}

.data-table-dark tr:hover td {
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Tabs ---------- */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1.5px solid var(--border-warm);
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover {
  background: var(--bg-ivory-2);
  color: var(--burgundy);
}

.tab-btn.active {
  background: var(--burgundy);
  color: var(--bg-ivory);
  box-shadow: 0 6px 14px rgba(67, 10, 29, 0.16);
}

/* ---------- KPI Stat Cards ---------- */
.kpi-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.kpi-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.kpi-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi-value {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--burgundy);
  margin-top: 8px;
  line-height: 1.15;
}

.kpi-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- Floating Integrated Booking Bar ---------- */
.floating-cart-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 840px);
  z-index: 70;
  background: rgba(67, 10, 29, 0.96);
  backdrop-filter: blur(16px);
  color: var(--bg-ivory);
  border: 1.5px solid rgba(238, 208, 181, 0.45);
  border-radius: var(--radius-pill);
  padding: 12px 18px 12px 22px;
  box-shadow: 0 24px 55px rgba(36, 4, 15, 0.42);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: cartSlideUp 0.3s var(--ease-out);
}

@keyframes cartSlideUp {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cart-bar-count {
  background: var(--gold-gradient);
  color: var(--burgundy-dark);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* ---------- Modals, Drawers & Toasts ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 4, 11, 0.62);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-white);
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  animation: modalPop 0.25s var(--ease-out);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-ivory-2);
}

.notif-drawer {
  position: fixed;
  top: 76px;
  right: 20px;
  width: min(92vw, 390px);
  max-height: 75vh;
  overflow-y: auto;
  z-index: 90;
  background: var(--bg-white);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.notif-item {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--bg-ivory-2);
  margin-bottom: 10px;
  background: var(--bg-ivory);
}

.notif-item.unread {
  border-left: 3.5px solid var(--burgundy);
  background: #FFF9F3;
}

.toast-root {
  position: fixed;
  top: 84px;
  right: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.toast {
  background: var(--burgundy);
  color: var(--bg-ivory);
  border: 1px solid rgba(238, 208, 181, 0.42);
  border-radius: 12px;
  padding: 13px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 500;
  animation: toastIn 0.26s var(--ease-out);
}

.toast-success { border-left: 4px solid #4ADE80; }
.toast-error { border-left: 4px solid #FB7185; }
.toast-info { border-left: 4px solid var(--gold-light); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- Auth Layout & Quick Demo Switcher ---------- */
.auth-wrap {
  max-width: 980px;
  margin: 44px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.auth-brand-panel {
  background: var(--burgundy-gradient);
  color: var(--text-on-dark);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-form-panel {
  padding: 38px 34px;
}

.demo-card-btn {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(238, 208, 181, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--bg-ivory);
  cursor: pointer;
  margin-bottom: 8px;
  transition: all var(--transition);
}

.demo-card-btn:hover {
  background: rgba(238, 208, 181, 0.16);
  border-color: var(--gold-light);
  transform: translateX(3px);
}

/* ---------- Timeline ---------- */
.timeline {
  border-left: 2px solid var(--border-gold);
  padding-left: 16px;
  margin: 12px 0;
}

.timeline-step {
  position: relative;
  margin-bottom: 12px;
  font-size: 13px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2px solid var(--gold-light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--burgundy-dark);
  color: var(--text-on-dark);
  border-top: 2px solid rgba(207, 160, 122, 0.36);
  margin-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 58px 0 42px;
}

.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
  margin: 0 0 18px;
  max-width: 360px;
  line-height: 1.65;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 9px;
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
}

.footer-col a {
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-reset-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-light);
  cursor: pointer;
  text-decoration: underline;
  font-size: 13.5px;
}

.footer-bottom {
  border-top: 1px solid rgba(238, 208, 181, 0.15);
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--text-on-dark-muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Empty / Forbidden States ---------- */
.state-box {
  text-align: center;
  padding: 52px 24px;
  background: var(--bg-white);
  border: 1px dashed var(--border-gold);
  border-radius: 20px;
}

.state-box-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--burgundy-soft);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

/* ---------- Utilities ---------- */
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.flex-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.divider { height: 1px; background: var(--border-warm); margin: 20px 0; }

/* ---------- Mobile Slide-Down Drawer & Bottom Navigation ---------- */
.mobile-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu-btn span {
  transition: transform 0.22s var(--ease-out), opacity 0.18s ease;
}

.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(253, 248, 242, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1.5px solid var(--border-gold);
  box-shadow: 0 22px 48px rgba(40, 5, 16, 0.18);
  padding: 16px 20px 22px;
  z-index: 58;
  animation: drawerDrop 0.24s var(--ease-out);
}

@keyframes drawerDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--burgundy);
  background: transparent;
  transition: background var(--transition);
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  background: rgba(207, 160, 122, 0.22);
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 65;
  background: rgba(253, 248, 242, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-warm);
  box-shadow: 0 -8px 28px rgba(40, 5, 16, 0.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.mbn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.mbn-item.active {
  color: var(--burgundy);
  background: rgba(207, 160, 122, 0.2);
  font-weight: 700;
}

.mbn-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Equal-height cards & clean checkout item layout */
.grid-3 > .card,
.grid-2 > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.grid-3 > .card > .btn,
.grid-3 > .card > a.btn {
  margin-top: auto;
  align-self: flex-start;
}

.checkout-item-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-warm);
}

.checkout-item-card.slot-conflict {
  border-color: var(--danger);
}

.checkout-item-thumb {
  width: 96px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ---------- Shopee-Style Shopping Cart ---------- */
.cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  margin-bottom: 16px;
}

.cart-check-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--burgundy);
  cursor: pointer;
  user-select: none;
}

.cart-checkbox {
  width: 19px;
  height: 19px;
  accent-color: var(--burgundy);
  cursor: pointer;
  flex-shrink: 0;
}

.cart-store-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.cart-store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  background: var(--bg-ivory-2);
  border-bottom: 1px solid var(--border-warm);
}

.cart-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--bg-ivory-2);
  transition: background var(--transition);
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-row.is-selected {
  background: rgba(253, 248, 242, 0.72);
}

.cart-row-thumb {
  width: 92px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-row-body {
  flex: 1;
  min-width: 0;
}

/* ---------- Partner Storefront, Portfolio Gallery & Package Cards ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  background: var(--burgundy-dark);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.portfolio-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-tile:hover img {
  transform: scale(1.06);
}

.portfolio-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 4, 12, 0.88) 100%);
  color: var(--bg-ivory);
}

.portfolio-caption strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.portfolio-caption span {
  display: block;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  margin-top: 2px;
}

.package-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.package-features li svg {
  color: var(--success);
  margin-top: 2px;
}

.biz-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 16px 0;
}

.biz-mini-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-warm);
}

.feature-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.feature-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-ivory-2);
  color: var(--text-secondary);
}

/* ---------- Visual Landing Page: Editorial Lookbook, 4-Step Journey & Testimonials ---------- */
.lookbook-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
}

.lookbook-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  background: var(--burgundy-dark);
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.lookbook-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.lookbook-tile-tall {
  grid-row: span 2;
}

.lookbook-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.lookbook-tile:hover img {
  transform: scale(1.06);
}

.lookbook-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 42px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 4, 12, 0.88) 100%);
  color: var(--bg-ivory);
}

.lookbook-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.lookbook-overlay h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--bg-ivory);
  line-height: 1.2;
}

.lookbook-overlay p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--text-on-dark-muted);
}

/* 4-Step Visual Journey */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.journey-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.journey-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.journey-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.journey-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.journey-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.58;
}

/* Editorial Testimonials */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.testimonial-quote {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin: 12px 0 18px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--bg-ivory-2);
}

/* Grand Visual Closing Banner */
.closing-banner {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--burgundy-gradient);
  color: var(--text-on-dark);
  padding: 54px 44px;
  border: 1px solid rgba(238, 208, 181, 0.35);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.closing-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(238, 208, 181, 0.2), transparent 60%);
  pointer-events: none;
}

/* Clean Edge-to-Edge Lightbox Image */
.lightbox-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--bg-ivory-2);
  border: 1px solid var(--border-warm);
}

.lightbox-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: cover;
  display: block;
}

.portfolio-meta-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--gold-light);
  opacity: 0.92;
}

/* ---------- Interactive Payment Gateway Modal (QRIS & Virtual Account) ---------- */
.pay-amount-banner {
  background: var(--burgundy-gradient);
  color: var(--text-on-dark);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pay-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(238, 208, 181, 0.16);
  border: 1px solid rgba(238, 208, 181, 0.35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.qris-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.qris-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border-warm);
}

.qris-brand-pill {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--burgundy);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1.5px solid var(--burgundy);
}

.qris-svg-frame {
  width: 196px;
  height: 196px;
  margin: 0 auto 12px;
  padding: 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-warm);
}

.va-box {
  background: var(--bg-ivory);
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.va-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0 12px;
}

.va-number {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}

.pay-tnc-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-ivory-2);
  border: 1px solid var(--border-warm);
  margin-bottom: 14px;
  font-size: 13px;
}

.pay-tnc-box label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--text-secondary);
}

.gw-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--info-bg);
  color: var(--info);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.gw-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(38, 75, 115, 0.25);
  border-top-color: var(--info);
  border-radius: 50%;
  animation: spinGw 0.85s linear infinite;
  flex-shrink: 0;
}

@keyframes spinGw {
  to { transform: rotate(360deg); }
}

.gw-sandbox-box {
  border: 1.5px dashed rgba(67, 10, 29, 0.28);
  border-radius: 14px;
  padding: 14px;
  background: #FFFBF6;
  margin-top: 14px;
}

.gw-sandbox-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .lookbook-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .lookbook-tile {
    aspect-ratio: 4 / 3;
  }
  .lookbook-tile-tall {
    grid-row: span 1;
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lookbook-bento {
    grid-template-columns: 1fr;
  }
  .lookbook-tile-tall {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .closing-banner {
    padding: 34px 20px;
    border-radius: 20px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .cart-row {
    padding: 14px;
    gap: 10px;
  }
  .cart-row-thumb {
    width: 74px;
    height: 64px;
  }
}

/* ---------- Responsive (Tablet & Mobile-First Dynamic Polish) ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .detail-layout,
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .sticky-booking-box {
    position: static;
  }
  .hero-search-bar {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3, .grid-4, .checkout-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-float-card {
    position: static;
    margin-top: 14px;
    animation: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    padding-bottom: 72px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 62px;
    gap: 10px;
  }

  .brand-logo {
    height: 36px;
  }

  .main-nav {
    display: none !important;
  }

  .mobile-only-hide {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .mobile-bottom-nav {
    display: grid;
  }

  .section {
    padding: 44px 0;
  }

  .section-sm {
    padding: 28px 0;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .page-hero {
    padding: 28px 0 26px;
  }

  .page-hero h1 {
    font-size: 1.7rem;
  }

  .hero-section {
    padding: 32px 0 42px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-logo-mark {
    height: 44px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .hero-search-bar {
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 16px;
    gap: 8px;
  }

  .hero-search-bar .btn {
    width: 100%;
    padding: 12px 18px;
  }

  .hero-stats {
    gap: 10px;
    padding-top: 16px;
  }

  .hero-stat-num {
    font-size: 1.35rem;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .hero-float-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .hero-float-card .btn {
    width: 100%;
  }

  .trust-strip {
    padding: 14px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trust-item {
    font-size: 12px;
    gap: 8px;
  }

  .trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  /* Swipeable Horizontal Pills & Tabs on Mobile */
  .pill-filter-row,
  .tabs-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .pill-filter-row::-webkit-scrollbar,
  .tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-pill-btn,
  .tab-btn {
    flex-shrink: 0;
  }

  .commission-box {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .sim-panel {
    padding: 14px;
  }

  .card-pad {
    padding: 18px 16px;
  }

  .grid-2, .grid-3, .filter-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .kpi-card {
    padding: 14px;
  }

  .kpi-value {
    font-size: 20px;
  }

  .checkout-stepper {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }

  .step-chip {
    padding: 9px 10px;
    font-size: 11.5px;
    gap: 7px;
  }

  .checkout-item-card {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .checkout-item-thumb {
    width: 100%;
    height: 150px;
  }

  .slot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* Auth page on mobile: show Login/Register form FIRST */
  .auth-wrap {
    margin: 18px auto;
    border-radius: 18px;
  }

  .auth-form-panel {
    order: -1;
    padding: 24px 18px;
  }

  .auth-brand-panel {
    padding: 24px 18px;
  }

  /* Position Floating Cart Bar neatly ABOVE Mobile Bottom Nav */
  .floating-cart-bar {
    bottom: 72px;
    width: calc(100% - 24px);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
  }

  .floating-cart-bar .flex-row {
    width: 100%;
  }

  .floating-cart-bar .btn {
    flex: 1;
  }

  .notif-drawer {
    top: 66px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .toast-root {
    top: 70px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .site-footer {
    margin-top: 44px;
  }

  .footer-grid {
    padding: 36px 0 28px;
    gap: 24px;
  }
}
