/**
 * Trymzo Home Page Production Stylesheet
 * Native UI/UX - Pixel-accurate to provided mobile mockup
 * Brand Colors: Primary Blue (#4361ee, #0047ff), Accent Orange (#ff6b00), Accent Green (#10b981)
 */

:root {
  --tz-home-primary: var(--primary, #4361ee);
  --tz-home-btn-blue: #0047ff;
  --tz-home-orange: #ff6b00;
  --tz-home-green: #10b981;
  --tz-home-amber: #f59e0b;
  --tz-home-text-dark: #0f172a;
  --tz-home-text-body: #334155;
  --tz-home-text-muted: #64748b;
  --tz-home-border: #edf2f7;
}

/* Override container padding for edge-to-edge native mobile app feel */
.home-main-override {
  padding-left: 10px !important;
  padding-right: 10px !important;
  padding-top: 6px !important;
  /* Account for fixed bottom-nav (60px) + safe area so last section stays visible */
  padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  max-width: 100% !important;
}

@media (min-width: 768px) {
  .home-main-override {
    max-width: 1120px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 14px !important;
  }
}

.tz-home-wrapper {
  width: 100%;
  margin: 0 auto;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--tz-home-text-body);
}

/* ==============================================================================
   0. TOP LOCATION SELECTOR STRIP (Native Mobile App Bar)
   ============================================================================== */
.tz-top-location-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 10px 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: opacity 0.15s ease;
}

.tz-top-location-strip:active {
  opacity: 0.8;
}

.tz-top-location-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.tz-location-pin-wrap {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent, #ff6b00);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tz-location-ping {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #ff6b00);
  box-shadow: 0 0 0 2px #ffffff;
}

.tz-location-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tz-location-heading-row {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.tz-location-current-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tz-home-text-dark, #0f172a);
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tz-location-chevron {
  font-size: 0.65rem;
  color: var(--tz-home-text-muted, #64748b);
  transition: transform 0.2s ease;
}

.tz-location-sub-row {
  line-height: 1.2;
  margin-top: 1px;
}

.tz-location-address-hint {
  font-size: 0.7rem;
  color: var(--tz-home-text-muted, #64748b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.tz-top-location-right {
  flex-shrink: 0;
  margin-left: 8px;
}

.tz-location-gps-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(67, 97, 238, 0.08);
  color: var(--primary, #4361ee);
  border: 1px solid rgba(67, 97, 238, 0.18);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, background 0.12s ease;
}

.tz-location-gps-badge:active {
  transform: scale(0.94);
  background: rgba(67, 97, 238, 0.16);
}

/* 1. HERO BANNER */
.tz-hero-card {
  position: relative;
  background: linear-gradient(135deg, #071530 0%, #0c2049 45%, #142e6a 100%);
  border-radius: 20px;
  overflow: hidden;
  padding: 16px 14px 16px;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(7, 21, 48, 0.15);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 185px;
}

@media (min-width: 768px) {
  .tz-hero-card {
    padding: 26px 28px 24px;
    border-radius: 24px;
    min-height: 220px;
  }
}

/* Hero Barber Photo Overlay */
.tz-hero-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  background-size: cover;
  background-position: center right;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.tz-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero Badge */
.tz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.1px;
}

.tz-hero-badge i {
  color: #fbbf24;
  font-size: 0.72rem;
}

/* Hero Headline */
.tz-hero-title {
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  max-width: 65%;
}

@media (min-width: 480px) {
  .tz-hero-title {
    font-size: 1.5rem;
    max-width: 60%;
  }
}

@media (min-width: 768px) {
  .tz-hero-title {
    font-size: 2.1rem;
    max-width: 65%;
  }
}

.tz-hero-title .highlight-orange {
  color: var(--tz-home-orange);
  display: block;
}

/* Hero Features Row */
.tz-hero-features {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tz-hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tz-hero-feature-item i {
  color: #60a5fa;
  font-size: 0.7rem;
}

.tz-hero-bullet {
  opacity: 0.5;
  font-size: 0.6rem;
}

/* Floating Search Bar */
.tz-hero-search-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
}

.tz-hero-search-form {
  background: #ffffff;
  border-radius: 50px;
  height: 44px;
  padding: 0 6px 0 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.tz-hero-search-icon {
  color: #64748b;
  font-size: 0.92rem;
  margin-right: 8px;
  flex-shrink: 0;
}

.tz-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.8rem;
  color: #1e293b;
  font-weight: 500;
  min-width: 0;
}

.tz-hero-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.tz-hero-filter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
}


/* 2. CATEGORY SERVICE GRID / CAROUSEL */
.tz-category-section {
  margin-bottom: 16px;
  width: 100%;
}

.tz-category-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 2px 0 6px;
}

@media (min-width: 420px) {
  .tz-category-track {
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .tz-category-track {
    gap: 12px;
  }
}

@media (max-width: 339px) {
  .tz-category-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 2px 2px 6px;
  }

  .tz-category-track::-webkit-scrollbar {
    display: none;
  }
}

.tz-category-card {
  width: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 8px 3px 7px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 480px) {
  .tz-category-card {
    padding: 12px 6px 10px;
    border-radius: 16px;
  }
}

@media (min-width: 768px) {
  .tz-category-card {
    padding: 16px 8px 14px;
    border-radius: 18px;
  }
}

@media (max-width: 339px) {
  .tz-category-card {
    flex: 0 0 68px;
    width: 68px;
    min-width: 68px;
  }
}

.tz-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(67, 97, 238, 0.08);
  text-decoration: none;
}

/* Direct clean icon without rounded circle box */
.tz-category-icon-box {
  width: 100%;
  max-width: 38px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  background: transparent !important;
}

.tz-category-icon-box svg {
  width: clamp(22px, 4.5vw, 30px);
  height: clamp(22px, 4.5vw, 30px);
}

.tz-category-name {
  font-size: clamp(0.68rem, 1.8vw, 0.84rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tz-category-shops {
  font-size: clamp(0.54rem, 1.35vw, 0.7rem);
  font-weight: 600;
  color: var(--tz-home-primary);
  line-height: 1.1;
  letter-spacing: -0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}



/* 3. PROMOTIONAL MARKETING CAROUSEL (3 AUTO-SLIDING SLIDES) */
.tz-promo-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 18px;
}

.tz-promo-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.tz-promo-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.tz-promo-slide .tz-promo-card {
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.tz-promo-card {
  position: relative;
  background: linear-gradient(135deg, #eef4ff 0%, #f4f8ff 55%, #e9f2fe 100%);
  border: 1px solid #dce8fa;
  border-radius: 18px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  margin-bottom: 0;
}

.tz-promo-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tz-promo-gift-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .tz-promo-gift-img {
    width: 86px;
    height: 86px;
  }
}

.tz-promo-center {
  flex: 1;
  min-width: 0;
}

.tz-promo-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 3px;
}

.tz-promo-heading {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--tz-home-text-dark);
  line-height: 1.2;
  margin-bottom: 1px;
}

.tz-promo-heading .amount-orange {
  color: var(--tz-home-orange);
}

.tz-promo-subtext {
  font-size: 0.74rem;
  color: var(--tz-home-text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.tz-promo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tz-home-btn-blue);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 71, 255, 0.25);
  transition: background 0.2s;
}

.tz-promo-cta-btn:hover {
  background: #0037cc;
  color: #ffffff;
  text-decoration: none;
}

.tz-promo-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tz-cashback-orb {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--tz-home-btn-blue);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 71, 255, 0.28);
}

@media (min-width: 768px) {
  .tz-cashback-orb {
    width: 78px;
    height: 78px;
  }
}

.tz-orb-amount {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.tz-orb-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.tz-orb-ring {
  position: absolute;
  inset: -6px;
  border: 2px dashed rgba(0, 71, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

/* Card variants with subtle gradient & border accents */
.tz-promo-card--referral {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbf5 55%, #fef3c7 100%);
  border-color: #fed7aa;
}

.tz-promo-card--discount {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #e0f2fe 100%);
  border-color: #bfdbfe;
}

/* Badge variants */
.tz-promo-badge--orange {
  background: #ffedd5;
  color: var(--accent);
}

.tz-promo-badge--blue {
  background: #dbeafe;
  color: var(--primary);
}

/* CTA button variants */
.tz-promo-cta-btn--orange {
  background: var(--accent);
  box-shadow: 0 3px 10px rgba(255, 107, 0, 0.28);
}

.tz-promo-cta-btn--orange:hover {
  background: #e05e00;
  color: #ffffff;
}

/* Orb variants */
.tz-cashback-orb--orange {
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.32);
}

.tz-orb-ring--orange {
  border-color: rgba(255, 107, 0, 0.4);
}

.tz-cashback-orb--blue {
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.3);
}

.tz-orb-ring--blue {
  border-color: rgba(67, 97, 238, 0.4);
}

/* Pagination Dots */
.tz-promo-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.tz-promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tz-promo-dot:hover {
  background: #94a3b8;
}

.tz-promo-dot.active {
  width: 24px;
  background: var(--primary);
  box-shadow: 0 2px 6px rgba(67, 97, 238, 0.35);
}


/* 4. NEARBY SALONS SECTION */
.tz-nearby-section {
  margin-bottom: 20px;
}

.tz-nearby-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tz-nearby-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tz-home-text-dark);
  line-height: 1.2;
  margin-bottom: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tz-nearby-title .sparkle-icon {
  color: var(--tz-home-primary);
  font-size: 0.88rem;
}

.tz-nearby-subtitle {
  font-size: 0.74rem;
  color: var(--tz-home-text-muted);
  font-weight: 500;
  margin-bottom: 0;
}

.tz-map-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #4361ee;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.28);
  transition: all 0.2s ease;
}

.tz-map-view-btn:hover {
  background: #3b50d6;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.4);
  transform: scale(1.03);
}

.tz-map-view-btn:active {
  transform: scale(0.97);
}

/* Salons Carousel Track */
.tz-salons-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 10px;
}

.tz-salons-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 992px) {
  .tz-salons-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .tz-salons-track {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Salon Card */
.tz-salon-card {
  flex: 0 0 270px;
  max-width: 270px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e8eef6;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tz-salon-card:active {
  transform: scale(0.985);
}

@media (hover: hover) {
  .tz-salon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  }
}

@media (min-width: 992px) {
  .tz-salon-card {
    flex: auto;
    max-width: none;
  }
}

/* Salon Image */
.tz-salon-image-wrapper {
  position: relative;
  width: 100%;
  height: 148px;
  background: #f1f5f9;
  overflow: hidden;
}

.tz-salon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .tz-salon-card:hover .tz-salon-img {
    transform: scale(1.04);
  }
}

.tz-badge-open {
  position: absolute;
  top: 9px;
  left: 9px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  z-index: 2;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.tz-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
}

.tz-fav-btn.active {
  background: #ef4444;
  color: #ffffff;
}

.tz-badge-rating {
  position: absolute;
  bottom: 9px;
  left: 9px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.tz-badge-rating i {
  color: #fbbf24;
  font-size: 0.65rem;
}

.tz-badge-wait {
  position: absolute;
  bottom: 9px;
  right: 9px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ea580c;
  border: 1px solid rgba(251, 146, 60, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  z-index: 2;
}

.tz-badge-wait--zero {
  color: var(--success, #10b981);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(236, 253, 245, 0.95);
}

/* Card Body */
.tz-salon-body {
  padding: 11px 13px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tz-salon-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.tz-salon-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.1px;
}

.tz-verified-badge {
  color: var(--tz-home-primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.tz-salon-services {
  font-size: 0.72rem;
  color: var(--tz-home-text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.tz-salon-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #475569;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tz-salon-location i {
  color: #ef4444;
  font-size: 0.68rem;
}

.tz-salon-booked {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--tz-home-text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.tz-salon-booked i {
  color: #64748b;
  font-size: 0.68rem;
}

/* Card Bottom Action Bar */
.tz-salon-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tz-salon-price-box {
  display: flex;
  flex-direction: column;
}

.tz-price-amount {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.tz-price-subtext {
  font-size: 0.63rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 1px;
}

.tz-book-btn {
  background: linear-gradient(135deg, #4361ee 0%, #3b4fd6 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3);
  letter-spacing: 0.1px;
}

.tz-book-btn:hover {
  background: linear-gradient(135deg, #3b50d6 0%, #3040b8 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.42);
  transform: scale(1.03);
}

.tz-book-btn:active {
  transform: scale(0.97);
}


/* 5. WHY CHOOSE TRYMZO TRUST BAR */
.tz-trust-bar {
  background: linear-gradient(180deg, #f8faff 0%, #f1f5fd 100%);
  border: 1px solid #e2eaf8;
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 71, 255, 0.03);
}

.tz-trust-title-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.tz-trust-title-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.tz-trust-title-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0047ff;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.tz-trust-title-main .q-mark {
  color: #ff6b00;
}

/* Subtle vertical divider */
.tz-trust-divider {
  width: 1px;
  height: 38px;
  background: #dbe4f3;
  flex-shrink: 0;
  margin: 0 2px;
}

.tz-trust-pillars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 6px;
}

.tz-trust-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  flex: 1;
}

.tz-trust-pillar-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tz-trust-pillar-icon svg {
  width: 24px;
  height: 24px;
}

.tz-trust-pillar-text {
  font-size: 0.65rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .tz-trust-bar {
    padding: 12px 10px;
    gap: 8px;
  }

  .tz-trust-divider {
    margin: 0 1px;
  }

  .tz-trust-pillar-text {
    font-size: 0.6rem;
  }

  .tz-trust-title-main {
    font-size: 1rem;
  }
}

/* ==========================================================================
   POPULAR SERVICES SECTION (Swiggy / Zomato Food Menu Style)
   ========================================================================== */
.tz-services-section {
  margin-bottom: 24px;
  width: 100%;
}

.tz-services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tz-services-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--tz-home-text-dark);
  line-height: 1.2;
  margin-bottom: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tz-services-subtitle {
  font-size: 0.74rem;
  color: var(--tz-home-text-muted);
  font-weight: 500;
  margin-bottom: 0;
}

/* Category Filter Tabs (Pill Style) */
.tz-services-filter-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 14px;
  padding: 2px 2px 4px;
}

.tz-services-filter-track::-webkit-scrollbar {
  display: none;
}

.tz-service-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tz-service-tab-btn:hover {
  border-color: #cbd5e1;
  color: #1e293b;
}

.tz-service-tab-btn.active {
  background: var(--tz-home-btn-blue);
  color: #ffffff;
  border-color: var(--tz-home-btn-blue);
  box-shadow: 0 3px 10px rgba(0, 71, 255, 0.22);
}

/* Services Grid / List */
.tz-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .tz-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .tz-service-card {
    padding: 14px 14px 14px 16px;
    gap: 12px;
  }

  .tz-service-right {
    width: 96px;
    height: 96px;
  }

  .tz-service-thumbnail {
    width: 96px;
    height: 84px;
    border-radius: 14px;
  }

  .tz-service-add-btn {
    font-size: 0.74rem;
    padding: 4px 16px;
    gap: 4px;
  }
}


/* Individual Swiggy-Style Card */
.tz-service-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 12px 10px 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.tz-service-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(67, 97, 238, 0.06);
}

/* Left Content Column */
.tz-service-left {
  flex: 1;
  min-width: 0;
}

.tz-service-badges-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.tz-service-bestseller-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.tz-service-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
}

.tz-service-rating-badge i {
  color: #f59e0b;
  font-size: 0.65rem;
}

.tz-service-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tz-service-pricing-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.tz-service-price {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}

.tz-service-original-price {
  font-size: 0.76rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.tz-service-duration {
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.tz-service-duration i {
  color: #64748b;
  font-size: 0.65rem;
}

.tz-service-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.tz-service-provider {
  font-size: 0.68rem;
  color: #2563eb;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Right Visual & Action Column */
.tz-service-right {
  position: relative;
  width: 80px;
  height: 88px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.tz-service-thumbnail {
  width: 80px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f5f9;
}

/* Signature Swiggy/Zomato Overlapping White Pill ADD Button */
.tz-service-add-btn {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  background: #ffffff;
  color: var(--tz-home-btn-blue);
  border: 1.5px solid #dbeafe;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 50px;
  padding: 3px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
  width: max-content;
}

.tz-service-add-btn:hover {
  background: var(--tz-home-btn-blue);
  color: #ffffff;
  border-color: var(--tz-home-btn-blue);
  box-shadow: 0 4px 14px rgba(0, 71, 255, 0.25);
  transform: translateX(-50%) scale(1.08);
  text-decoration: none;
}

.tz-service-add-btn:active {
  transform: translateX(-50%) scale(0.95);
}

/* ==========================================================================
   6. BRAND FOOTER SLOGAN (Industry Standard Native Aesthetic)
   ========================================================================== */
.tz-brand-footer {
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 12px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.tz-footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 220px;
  margin-bottom: 10px;
}

.tz-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.tz-flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  line-height: 0;
}

.tz-flag-svg {
  display: block;
  border-radius: 2px;
}

.tz-slogan-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tz-slogan-primary {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tz-heart-pulse {
  color: #ef4444;
  font-size: 0.86rem;
  display: inline-block;
  animation: tzHeartPulse 1.8s ease-in-out infinite;
}

@keyframes tzHeartPulse {

  0%,
  100% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.22);
  }

  30% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.15);
  }

  60% {
    transform: scale(1);
  }
}

.tz-slogan-chips-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tz-slogan-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5fd;
  border: 1px solid #e2eaf8;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: -0.1px;
}

.tz-chip-heart {
  color: #ef4444;
  font-size: 0.7rem;
}

.tz-slogan-dot {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: bold;
}

.tz-slogan-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  color: #94a3b8;
  margin: 0;
  letter-spacing: 0.2px;
}

/* ── Desktop / Tablet scale-up ── */
@media (min-width: 768px) {
  .tz-brand-footer {
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 20px 24px;
  }

  .tz-footer-divider {
    max-width: 380px;
    gap: 16px;
    margin-bottom: 14px;
  }

  .tz-flag-badge {
    padding: 3px;
  }

  .tz-flag-svg {
    width: 36px;
    height: 24px;
  }

  .tz-slogan-content {
    gap: 12px;
  }

  .tz-slogan-primary {
    font-size: 1.05rem;
    gap: 7px;
  }

  .tz-heart-pulse {
    font-size: 1.05rem;
  }

  .tz-slogan-chips-wrap {
    gap: 14px;
  }

  .tz-slogan-pill {
    font-size: 0.92rem;
    padding: 7px 20px;
    gap: 7px;
  }

  .tz-chip-heart {
    font-size: 0.82rem;
  }

  .tz-slogan-tagline {
    font-size: 0.82rem;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 360px) {
  .tz-slogan-primary {
    font-size: 0.78rem;
  }

  .tz-slogan-pill {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .tz-slogan-tagline {
    font-size: 0.62rem;
  }
}

/* ==============================================================================
   3.5 "BOOK AGAIN" QUICK RE-ORDER STRIP (Repeat Customer Retention - Native Mobile UI)
   ============================================================================== */
.tz-book-again-section {
  margin-bottom: 16px;
  width: 100%;
}

.tz-book-again-header {
  margin-bottom: 8px;
  padding: 0 2px;
}

.tz-book-again-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tz-book-again-icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(67, 97, 238, 0.1);
  color: var(--primary, #4361ee);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.tz-book-again-text-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tz-book-again-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tz-home-text-dark, #0f172a);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.tz-book-again-subtitle {
  font-size: 0.7rem;
  color: var(--tz-home-text-muted, #64748b);
  margin: 1px 0 0 0;
  line-height: 1.2;
}

.tz-book-again-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 6px 2px;
  scrollbar-width: none;
  scroll-padding-left: 2px;
}

.tz-book-again-track::-webkit-scrollbar {
  display: none;
}

.tz-rebook-card {
  flex: 0 0 min(330px, calc(100vw - 28px));
  max-width: 350px;
  scroll-snap-align: start;
  background: var(--bg-card, #ffffff);
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.tz-rebook-card:hover {
  border-color: rgba(67, 97, 238, 0.25);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.08);
}

.tz-rebook-card:active {
  transform: scale(0.985);
  background: #fafbfd;
}

.tz-rebook-card-left {
  flex-shrink: 0;
}

.tz-rebook-avatar-wrapper {
  position: relative;
  width: 46px;
  height: 46px;
}

.tz-rebook-avatar {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #f1f5f9;
}

.tz-rebook-rating {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #fef3c7;
  color: #b45309;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  line-height: 1.3;
}

.tz-rebook-card-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tz-rebook-shop-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--tz-home-text-dark, #0f172a);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.tz-rebook-shop-name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tz-rebook-services {
  display: flex;
  align-items: center;
  line-height: 1;
}

.tz-rebook-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tz-rebook-cut-icon {
  color: var(--primary, #4361ee);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.tz-rebook-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.tz-rebook-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tz-home-text-dark, #0f172a);
  letter-spacing: -0.2px;
}

.tz-rebook-queue-badge {
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.3;
}

.tz-rebook-queue-badge--zero {
  background: #f0fdf4;
  color: #15803d;
}

.tz-rebook-card-right {
  flex-shrink: 0;
}

.tz-rebook-cta-btn {
  background: var(--primary, #4361ee);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 6px 11px;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(67, 97, 238, 0.22);
  transition: transform 0.12s ease, background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.tz-rebook-cta-btn:active {
  transform: scale(0.95);
  background: var(--primary-hover, #3751d4);
}

@media (max-width: 360px) {
  .tz-rebook-card {
    padding: 9px 10px;
    gap: 8px;
  }

  .tz-rebook-avatar-wrapper {
    width: 42px;
    height: 42px;
  }

  .tz-rebook-shop-name {
    font-size: 0.8rem;
  }

  .tz-rebook-cta-btn {
    padding: 5px 9px;
    font-size: 0.7rem;
  }
}