/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ─── Design Tokens ─── */
:root {
  --bg-primary: #F0FDFA;
  --bg-secondary: #FFFFFF;
  --bg-dark: #000000;
  --bg-dark-secondary: #111111;
  --text-primary: #0D2527;
  --text-secondary: #3D5759;
  --text-light: #F0FDFA;
  --text-muted: #789A9C;
  --accent-primary: #0D9488;
  --accent-primary-hover: #0F766E;
  --accent-secondary: #06B6D4;
  --accent-gradient: linear-gradient(135deg, #0D9488 0%, #14B8A6 50%, #06B6D4 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(13,148,136,0.08) 0%, rgba(6,182,212,0.06) 100%);
  --border-color: #CCEBE7;
  --border-color-dark: #222222;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 10px rgba(13,148,136,0.04);
  --shadow-md: 0 8px 30px rgba(13,148,136,0.06);
  --shadow-lg: 0 20px 60px rgba(13,148,136,0.1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  background: linear-gradient(135deg, #F0FDFA 0%, #E6FFFA 50%, #F3FDFB 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  overflow: hidden;      /* NO SCROLL */
  height: 100vh;
  width: 100vw;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
a { color: inherit; text-decoration: none; }

/* ─── Fixed Header — E-commerce Style ─── */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(13,148,136,0.1);
  z-index: 100;
  display: flex;
  align-items: center;
}
.app-header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-text {
  font-style: normal;
  white-space: nowrap;
}
.logo-text em {
  font-style: normal;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transform: translateY(3px);
}

/* Search Bar */
.header-search {
  flex: 1;
  position: relative;
  max-width: 480px;
}
.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  border: 1.5px solid var(--border-color);
  border-radius: 100px;
  background: var(--bg-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text-primary);
  transition: all 0.25s;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(13,148,136,0.12);
}
.search-input::placeholder { color: var(--text-muted); }

/* Search Dropdown */
.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  max-height: 260px;
  overflow-y: auto;
}
.search-results.open { display: block; }
.search-result-item {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-color);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-secondary); }
.search-result-item .sr-name { font-weight: 600; }
.search-result-item .sr-price { color: var(--accent-primary); font-weight: 700; font-size: 0.8rem; }
.search-result-item .sr-cat { font-size: 0.7rem; color: var(--text-muted); }
.search-no-result {
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Header Right Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}
.header-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.header-icon-btn svg {
  width: 18px; height: 18px;
  color: var(--text-secondary);
}
.header-icon-btn:hover {
  border-color: var(--accent-primary);
  background: rgba(13,148,136,0.1);
  transform: scale(1.05);
}
.header-icon-btn:hover svg { color: var(--accent-primary); }

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--accent-secondary);
  color: var(--text-light);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
  transition: transform 0.2s;
}
.cart-badge.bump {
  animation: cartBump 0.3s ease;
}
@keyframes cartBump {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

/* ─── App Container (between header and bottom nav) ─── */
.app-container {
  position: fixed;
  top: 56px; left: 0; right: 0; bottom: 56px;
  overflow: hidden;
}

/* ─── Bottom Navigation Bar ─── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-top: 1px solid rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 -2px 20px rgba(13,148,136,0.06);
}
.bottom-nav-inner {
  max-width: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 1.2rem;
  transition: all 0.2s;
  position: relative;
}
.bottom-nav-item svg {
  width: 22px; height: 22px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.bottom-nav-item span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.bottom-nav-item.active svg { color: var(--accent-primary); }
.bottom-nav-item.active span { color: var(--accent-primary); }
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 0 0 3px 3px;
}
.bottom-nav-item:hover svg { color: var(--accent-primary); }
.bottom-nav-item:hover span { color: var(--accent-primary); }

/* ─── Step Panels ─── */
.step {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.step.active {
  display: block;
  z-index: 10;
}
.step-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ─── Step Header ─── */
.step-header {
  text-align: center;
  margin-bottom: 2rem;
}
.step-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  background: var(--accent-gradient);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}
.step-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ─── Category Grid (Step 1) ─── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  width: 100%;
}
.cat-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  aspect-ratio: auto;
  min-height: 180px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: inherit;
}
.cat-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(13,148,136,0.2);
}
.cat-card:hover::before {
  opacity: 0.06;
}
.cat-card:active {
  transform: scale(0.96);
}
.cat-icon {
  width: 80px; height: 80px;
  background: var(--accent-gradient-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  border: 2px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}
.cat-card:hover .cat-icon {
  background: var(--accent-gradient);
  color: var(--text-light);
  border-color: transparent;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(13,148,136,0.3);
}
.cat-icon svg {
  width: 42px;
  height: 42px;
}
.cat-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* ─── Sewing Machine Cutout Adapters ─── */
.sewing-machine-cutout {
  stroke: var(--bg-secondary);
  fill: none;
  transition: stroke 0.3s ease;
}
.cat-card:hover .sewing-machine-cutout {
  stroke: var(--bg-secondary);
}
.sewing-machine-cutout-fill {
  fill: var(--bg-secondary);
  stroke: none;
  transition: fill 0.3s ease;
}
.cat-card:hover .sewing-machine-cutout-fill {
  fill: var(--bg-secondary);
}
.cat-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.cat-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* ─── Scrollable Landing Step ─── */
.step-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.step-section {
  padding: 3rem 0;
}
.step-inner-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Quick Book Banner ─── */
.quick-book-banner {
  background: var(--accent-gradient);
  color: var(--text-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 12px 40px rgba(13,148,136,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.quick-book-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.quick-book-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(13,148,136,0.3);
}
.qb-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.qb-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qb-icon svg {
  width: 24px; height: 24px;
  color: white;
}
.qb-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--text-light);
}
.qb-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.qb-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.75rem 1.75rem;
  position: relative;
  z-index: 1;
  background: white !important;
  color: var(--accent-primary) !important;
  font-weight: 700;
  border: none;
}
.qb-btn:hover {
  background: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Dark Section */
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* ─── Process Grid ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.process-card {
  background: var(--bg-dark-secondary);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.process-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13,148,136,0.2);
}
.process-num {
  width: 40px; height: 40px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.process-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
}
.process-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Testimonials ─── */
.testimonial-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-text {
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.testimonial-author {
  display: flex;
  flex-direction: column;
}
.testimonial-author strong {
  font-size: 0.85rem;
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ─── Step 2: Split layout ─── */
.step-body-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ─── Form Controls ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.8rem;
}
.custom-select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s;
}
.custom-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.3s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

/* Quantity */
.quantity-input {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.qty-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--accent-primary); background: rgba(13,148,136,0.08); }
.qty-val {
  font-size: 1.1rem;
  font-weight: 700;
  width: 24px;
  text-align: center;
}

/* Add-on Checks */
.addon-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.addon-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.addon-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}
.addon-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.addon-label em {
  font-style: normal;
  color: var(--accent-primary);
  font-weight: 600;
}

/* Price Display Card */
.step-price-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-display {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.price-display::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-gradient);
}
.price-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}
.price-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  transition: transform 0.2s;
}
.price-note {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ─── Step Actions ─── */
.step-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem auto 0;
  max-width: 450px;
  width: 100%;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  flex: 1;
}
.btn-accent {
  background: var(--accent-gradient);
  color: var(--text-light);
  border: none;
  box-shadow: 0 4px 15px rgba(13,148,136,0.3);
  animation: accentPulse 3.5s infinite ease-in-out;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13,148,136,0.5);
  filter: brightness(1.15);
}
@keyframes accentPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(13,148,136,0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(6,182,212,0.55), 0 0 0 4px rgba(13,148,136,0.2);
  }
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-color);
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

/* ─── Booking Form Grid (Step 3) ─── */
.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.booking-form-grid .full-span {
  grid-column: span 2;
}

/* Booking Summary Bar */
.booking-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.85rem;
}
.book-summary-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Receipt (Step 4) ─── */
.receipt-icon-anim {
  width: 60px; height: 60px;
  background: var(--accent-gradient-subtle);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: popBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes popBounce {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.receipt-grid {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: left;
  margin-top: 1.5rem;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.receipt-row span { color: var(--text-secondary); }
.receipt-row strong { color: var(--text-primary); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .cat-card { min-height: 150px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .app-header-inner { padding: 0 0.75rem; gap: 0.5rem; }
  .logo-text { display: none; }
  .header-search { max-width: none; }
  .search-input { font-size: 0.78rem; padding: 0.5rem 0.75rem 0.5rem 2.2rem; }
  .search-icon { left: 0.7rem; }
  .header-icon-btn { width: 34px; height: 34px; }
  .header-icon-btn svg { width: 16px; height: 16px; }
  .quick-book-banner { flex-direction: column; text-align: center; padding: 1.25rem; gap: 1rem; }
  .qb-content { flex-direction: column; gap: 0.75rem; }
  .qb-icon { width: 40px; height: 40px; }
  .qb-icon svg { width: 20px; height: 20px; }
  .qb-text h3 { font-size: 1.1rem; }
  .qb-btn { width: 100%; }
  .step-inner { padding: 1rem; }
  .step-inner-wide { padding: 0 1rem; }
  .step-section { padding: 2rem 0; }
  .step-header { margin-bottom: 1.25rem; }
  .step-title { font-size: 1.8rem; }
  .step-desc { font-size: 0.8rem; }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
  .cat-card {
    padding: 1rem 0.5rem;
    min-height: 120px;
    gap: 0.4rem;
    border-radius: var(--radius-lg);
  }
  .cat-icon { width: 62px; height: 62px; }
  .cat-icon svg, .cat-img { width: 32px; height: 32px; }
  .cat-name { font-size: 0.95rem; }
  .cat-sub { font-size: 0.6rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .process-card { padding: 1rem; }
  .testimonial-list { grid-template-columns: 1fr; }
  .step-body-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .price-display { padding: 1.25rem 1rem; }
  .price-amount { font-size: 2.2rem; }
  .booking-form-grid { grid-template-columns: 1fr; }
  .booking-form-grid .full-span { grid-column: span 1; }
  .step-actions { flex-direction: column; }
}

@media (max-width: 380px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-card { min-height: 130px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ─── Translucent Background Logo Watermark ─── */
.logo-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-watermark img {
  width: 480px;
  height: auto;
  max-width: 85vw;
}

/* ─── Quick Book Notice Alert ─── */
.quick-book-notice {
  background: rgba(13,148,136,0.06);
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  font-weight: 500;
  line-height: 1.4;
}

/* ─── Measurement Method Radio Options ─── */
.measurement-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.measurement-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.measurement-option input[type="radio"] {
  accent-color: var(--accent-primary);
  cursor: pointer;
}

/* ─── Bookings and Timeline Styles ─── */
.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.booking-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(13,148,136,0.08);
  padding-bottom: 0.75rem;
}

.booking-card-id {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.booking-card-details {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking-card-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.booking-card-addon-tag {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

/* ─── Horizontal Tracking Timeline ─── */
.booking-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 1rem;
  padding: 0;
  width: 100%;
}

.booking-timeline::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.timeline-progress-bar {
  position: absolute;
  top: 11px;
  left: 12px;
  height: 2px;
  background: var(--accent-gradient);
  z-index: 2;
  transition: width 0.4s ease;
}

.timeline-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  min-width: 0;
}

.timeline-circle {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #94A3B8;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin: 0 auto;
}

.timeline-node.active .timeline-circle {
  border-color: var(--accent-primary);
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(13,148,136,0.3);
}

.timeline-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94A3B8;
  margin-top: 6px;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
  width: 100%;
  padding: 0 2px;
}

.timeline-node.active .timeline-label {
  color: var(--accent-primary);
}

@media (max-width: 600px) {
  .booking-timeline::before, .timeline-progress-bar {
    top: 9px;
    left: 10px;
    right: 10px;
  }
  .timeline-circle {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    font-size: 0.58rem;
    border-width: 1.5px;
  }
  .timeline-label {
    font-size: 0.52rem;
    margin-top: 4px;
    line-height: 1.15;
    padding: 0 1px;
  }
}

/* Status Badges */
.badge-pending { background: #FEF3C7; color: #D97706; }
.badge-assigned { background: #DBEAFE; color: #2563EB; }
.badge-progress { background: #E0F2FE; color: #0284C7; }
.badge-stitched { background: #D1FAE5; color: #059669; }
.badge-delivery { background: #F3E8FF; color: #9333EA; }
.badge-delivered { background: #E2E8F0; color: #475569; }

/* Pull To Refresh Indicator */
#ptr-indicator {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  z-index: 2000;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
  opacity: 0;
}
#ptr-indicator.visible {
  opacity: 1;
}
#ptr-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
}
#ptr-spinner.spinning {
  animation: ptrSpin 0.7s linear infinite;
}
@keyframes ptrSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ─── Location Detector Button ─── */
.btn-location-detect {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-tertiary, #F1F5F9);
  color: var(--accent-primary, #0D9488);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-location-detect:hover {
  background: var(--accent-primary, #0D9488);
  color: #FFFFFF;
}

.btn-location-detect:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spin-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}


