/*
Theme Name: Tukang Club
Theme URI: https://tukang.club
Author: Tukang Club Team
Description: A platform for Malaysians to discover trusted handymen and tradespeople.
Version: 1.0.0
Text Domain: tukangcari
*/

/* =========================================
   TOKENS
   ========================================= */
:root {
  --orange:       #F97316;
  --orange-dark:  #EA580C;
  --purple:       #5B21B6;
  --purple-light: #A78BFA;
  --orange-light: #FFF7ED;
  --blue:         #3B82F6;
  --blue-dark:    #1D4ED8;
  --charcoal:     #1C1C1E;
  --grey-700:     #374151;
  --grey-500:     #6B7280;
  --grey-200:     #E5E7EB;
  --grey-100:     #F3F4F6;
  --white:        #FFFFFF;
  --green:        #22C55E;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.12);
  --font:         'Plus Jakarta Sans', sans-serif;
  --max-w:        1180px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Strip WordPress FSE/block wrapper constraints ─────────────────────────── */
html,
body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Kill the grey container / constrained layout box */
.wp-site-blocks { padding: 0 !important; margin: 0 !important; background: transparent !important; }
.is-layout-constrained { max-width: 100% !important; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.has-global-padding { padding: 0 !important; }
#page, .site, #content, #primary, .site-main, main {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 40px 0; }
.section--grey { background: var(--grey-100); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
.tc-heading-xl {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.tc-heading-lg {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}
.tc-heading-md {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.tc-body { font-size: 1rem; color: var(--grey-700); }
.tc-caption { font-size: .85rem; color: var(--grey-500); }
.tc-orange { color: var(--orange); }
.tc-white { color: var(--white); }
.text-center { text-align: center; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-secondary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--orange);
}
.btn-secondary:hover { background: var(--orange-light); }
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--grey-700); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* =========================================
   NAVBAR
   ========================================= */
.tc-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 0 20px;
}
.tc-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tc-nav__logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.tc-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  padding: 0 24px;
}
.tc-nav__links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: color .15s;
}
.tc-nav__links a:hover { color: var(--orange); }
.tc-nav__actions { display: flex; align-items: center; gap: 10px; }

/* =========================================
   HERO
   ========================================= */
.tc-hero {
  background: linear-gradient(135deg, #1C1C1E 0%, #2D2D30 60%, #1a2540 100%);
  color: var(--white);
  padding: 88px 20px 96px;
  position: relative;
  overflow: hidden;
}
.tc-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
  pointer-events: none;
}
.tc-hero__inner { max-width: var(--max-w); margin: 0 auto; }
.tc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--orange);
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tc-hero h1 { max-width: 640px; margin-bottom: 18px; }
.tc-hero p { font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 520px; margin-bottom: 36px; }
.tc-hero__search {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 620px;
  box-shadow: var(--shadow-lg);
}
.tc-hero__search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--charcoal);
}
.tc-hero__search select {
  border: none;
  border-left: 1px solid var(--grey-200);
  outline: none;
  padding: 0 16px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--grey-700);
  background: var(--white);
  cursor: pointer;
}
.tc-hero__search button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0 28px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.tc-hero__search button:hover { background: var(--orange-dark); }
.tc-hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.tc-hero__stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
}
.tc-hero__stat-lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

/* =========================================
   CATEGORY TILES
   ========================================= */
.tc-cats { }
.tc-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.tc-cat-tile {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 24px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tc-cat-tile:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 18px rgba(249,115,22,.12);
  transform: translateY(-2px);
}
.tc-cat-tile__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.tc-cat-tile__name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* =========================================
   TUKANG CARD
   ========================================= */
.tc-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.tc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tc-card--featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.08);
}
.tc-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tc-card__badge--ad {
  background: var(--blue);
}
.tc-card__header {
  padding: 20px 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tc-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--grey-200);
  flex-shrink: 0;
}
.tc-card__avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-light), var(--grey-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.tc-card__name { font-size: 1rem; font-weight: 700; }
.tc-card__title { font-size: .85rem; color: var(--grey-500); margin-top: 2px; }
.tc-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ECFDF5;
  color: var(--green);
  font-size: .72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  margin-top: 4px;
}
.tc-card__body { padding: 14px 20px; }
.tc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.tc-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--grey-500);
}
.tc-card__desc {
  font-size: .88rem;
  color: var(--grey-700);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tc-card__footer {
  padding: 12px 20px 18px;
  border-top: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tc-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  font-weight: 600;
}
.tc-stars { color: #FBBF24; }

/* =========================================
   SECTION HEADER
   ========================================= */
.tc-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.tc-section-header h2 { margin-bottom: 6px; }
.tc-section-header p { color: var(--grey-500); font-size: .93rem; }

/* =========================================
   SEARCH PAGE
   ========================================= */
.tc-search-bar {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.tc-search-bar input, .tc-search-bar select {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  color: var(--charcoal);
}
.tc-search-bar input { flex: 1; min-width: 180px; }
.tc-search-bar select { cursor: pointer; }
.tc-search-bar input:focus, .tc-search-bar select:focus { border-color: var(--orange); }
.tc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tc-filter-tag {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--grey-200);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  background: var(--white);
}
.tc-filter-tag:hover, .tc-filter-tag.active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange-dark);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.tc-steps { counter-reset: steps; }
.tc-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tc-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tc-step__title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.tc-step__desc { font-size: .88rem; color: var(--grey-500); }

/* =========================================
   PRICING CARD
   ========================================= */
.tc-pricing-card {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s, box-shadow .2s;
}
.tc-pricing-card--featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.07);
  position: relative;
  overflow: hidden;
}
.tc-pricing-card--featured::before {
  content: 'PALING POPULAR';
  position: absolute;
  top: 16px; right: -24px;
  background: var(--orange);
  color: var(--white);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 36px;
  transform: rotate(45deg);
}
.tc-pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 16px 0 4px;
}
.tc-pricing-price span { font-size: 1rem; font-weight: 500; color: var(--grey-500); }
.tc-pricing-features { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.tc-pricing-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.tc-pricing-feat .check { color: var(--green); font-weight: 700; }
.tc-pricing-feat .cross { color: var(--grey-500); }

/* =========================================
   TUKANG SIGNUP FORM
   ========================================= */
.tc-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.tc-form-wrap h2 { margin-bottom: 6px; }
.tc-form-wrap .sub { color: var(--grey-500); margin-bottom: 28px; }
.tc-field { margin-bottom: 20px; }
.tc-field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.tc-field label span { color: var(--orange); }
.tc-field input, .tc-field select, .tc-field textarea {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: .93rem;
  outline: none;
  color: var(--charcoal);
  transition: border-color .15s;
}
.tc-field input:focus, .tc-field select:focus, .tc-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.08);
}
.tc-field textarea { resize: vertical; min-height: 100px; }
.tc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tc-field-hint { font-size: .78rem; color: var(--grey-500); margin-top: 4px; }

/* =========================================
   PAYMENT BOX
   ========================================= */
.tc-payment-box {
  background: var(--orange-light);
  border: 1.5px solid rgba(249,115,22,.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
}
.tc-payment-box__left { }
.tc-payment-box__title { font-weight: 700; font-size: 1rem; }
.tc-payment-box__sub { font-size: .83rem; color: var(--grey-500); margin-top: 2px; }
.tc-payment-box__amount { font-size: 1.7rem; font-weight: 800; color: var(--orange); white-space: nowrap; }

/* =========================================
   FOOTER
   ========================================= */
.tc-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.65);
  padding: 56px 20px 28px;
}
.tc-footer__inner { max-width: var(--max-w); margin: 0 auto; }
.tc-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.tc-footer__brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.tc-footer__brand-name span { color: var(--orange); }
.tc-footer__brand p { font-size: .88rem; line-height: 1.65; }
.tc-footer__col h4 { color: var(--white); font-size: .88rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.tc-footer__col a { display: block; font-size: .85rem; margin-bottom: 8px; transition: color .15s; }
.tc-footer__col a:hover { color: var(--white); }
.tc-footer__bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.tc-footer__bottom a { color: rgba(255,255,255,.45); }
.tc-footer__bottom a:hover { color: var(--white); }

/* =========================================
   AD BANNER SLOTS
   ========================================= */
.tc-ad-slot {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
  color: var(--white);
}
.tc-ad-slot__label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .65;
  margin-bottom: 4px;
}
.tc-ad-slot__title { font-size: 1rem; font-weight: 700; }
.tc-ad-slot__sub { font-size: .82rem; opacity: .75; }

/* =========================================
   PROFILE PAGE
   ========================================= */
.tc-profile-hero {
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
  padding: 40px 20px;
}
.tc-profile-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.tc-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.tc-profile-name { font-size: 1.6rem; font-weight: 800; }
.tc-profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.tc-tag {
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}
.tc-tag--grey { background: var(--grey-200); color: var(--grey-700); }
.tc-profile-contact { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }

/* =========================================
   DASHBOARD (TUKANG PANEL)
   ========================================= */
.tc-dash { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.tc-dash__sidebar {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 20px;
  height: fit-content;
}
.tc-dash__sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: all .15s;
  margin-bottom: 2px;
}
.tc-dash__sidebar-menu a:hover, .tc-dash__sidebar-menu a.active {
  background: var(--orange-light);
  color: var(--orange-dark);
}
.tc-stat-mini {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 20px;
}
.tc-stat-mini__num { font-size: 1.8rem; font-weight: 800; color: var(--charcoal); }
.tc-stat-mini__lbl { font-size: .83rem; color: var(--grey-500); margin-top: 2px; }
.tc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}
.tc-status-badge--active { background: #ECFDF5; color: var(--green); }
.tc-status-badge--pending { background: #FFF7ED; color: var(--orange); }
.tc-status-badge--inactive { background: var(--grey-100); color: var(--grey-500); }

/* =========================================
   TOYYIBPAY REDIRECT
   ========================================= */
.tc-pay-redirect {
  text-align: center;
  padding: 60px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.tc-pay-redirect__icon { font-size: 3.5rem; margin-bottom: 16px; }
.tc-pay-redirect h2 { margin-bottom: 10px; }
.tc-pay-redirect p { color: var(--grey-500); margin-bottom: 28px; }
.tc-pay-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grey-100);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 24px;
}

/* =========================================
   NOTICE / ALERT
   ========================================= */
.tc-notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tc-notice--info { background: #EFF6FF; color: #1D4ED8; border-left: 3px solid var(--blue); }
.tc-notice--warn { background: #FFF7ED; color: var(--orange-dark); border-left: 3px solid var(--orange); }
.tc-notice--success { background: #ECFDF5; color: #15803D; border-left: 3px solid var(--green); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tc-footer__top { grid-template-columns: 1fr 1fr; }
  .tc-dash { grid-template-columns: 1fr; }
  .tc-dash__sidebar { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tc-nav__links { display: none; }
  .tc-hero { padding: 56px 20px 64px; }
  .tc-hero__search { flex-direction: column; border-radius: var(--radius-sm); }
  .tc-hero__search input, .tc-hero__search select { padding: 14px; }
  .tc-hero__search select { border-left: none; border-top: 1px solid var(--grey-200); }
  .tc-hero__search button { padding: 14px; }
  .tc-form-wrap { padding: 24px 18px; }
  .tc-field-row { grid-template-columns: 1fr; }
  .tc-footer__top { grid-template-columns: 1fr; }
  .tc-section-header { flex-direction: column; align-items: flex-start; }
  .tc-profile-hero__inner { flex-direction: column; }
}

/* =========================================
   VENDOR CARD v2 (.tc-vc)
   ========================================= */
.tc-vc {
    background: var(--white);
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-md);
    padding: 20px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: box-shadow .2s, transform .2s;
    gap: 8px;
    height: 100%;
}
.tc-vc:hover { box-shadow: 0 6px 24px rgba(0,0,0,.10); transform: translateY(-2px); }
.tc-vc--featured { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.07); }
.tc-vc__badge { position:absolute; top:10px; right:10px; background:var(--orange); color:#fff; font-size:.65rem; font-weight:800; padding:3px 8px; border-radius:99px; text-transform:uppercase; letter-spacing:.04em; }
.tc-vc__badge--ad { background: var(--blue); }
.tc-vc__photo-wrap { position:relative; margin-bottom:4px; flex-shrink:0; }
.tc-vc__photo { width:72px; height:72px; border-radius:50%; object-fit:cover; border:3px solid var(--grey-100); display:block; }
.tc-vc__photo--placeholder { width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg,var(--orange) 0%,#EA580C 100%); color:#fff; font-size:1.6rem; font-weight:800; display:flex; align-items:center; justify-content:center; border:3px solid var(--grey-100); }
.tc-vc__verified { position:absolute; bottom:0; right:0; width:20px; height:20px; border-radius:50%; font-size:.65rem; font-weight:800; display:flex; align-items:center; justify-content:center; border:2px solid var(--white); }
.tc-vc__verified--yes { background:var(--green); color:#fff; }
.tc-vc__verified--no  { background:#9CA3AF; color:#fff; }
.tc-vc__name { font-size:.95rem; font-weight:700; color:var(--charcoal); line-height:1.3; margin-top:2px; }
.tc-vc__specs { display:flex; align-items:center; justify-content:center; gap:5px; flex-wrap:wrap; }
.tc-vc__spec-icon { width:28px; height:28px; border-radius:7px; display:flex; align-items:center; justify-content:center; font-size:.95rem; cursor:default; }
.tc-vc__spec-more { font-size:.72rem; font-weight:700; color:var(--grey-500); padding:0 4px; }
.tc-vc__rating { display:flex; align-items:center; justify-content:center; gap:4px; font-size:.82rem; }
.tc-vc__stars { color:#FBBF24; font-size:.95rem; letter-spacing:1px; }
.tc-vc__rating-num { font-weight:700; color:var(--charcoal); }
.tc-vc__rating-count { color:var(--grey-500); }
.tc-vc__area { font-size:.78rem; color:var(--grey-500); }
.tc-vc__actions { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:auto; width:100%; padding-top:14px; border-top:1px solid var(--grey-100); }
.tc-vc__wa-btn { width:38px; height:38px; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; border:none; cursor:pointer; transition:background .15s, transform .15s; flex-shrink:0; text-decoration:none; }
.tc-vc__wa-btn:hover { background:#128C7E; transform:scale(1.08); }
.tc-vc__profile-btn { flex:1; text-align:center; padding:8px 12px; border-radius:var(--radius-sm); border:1.5px solid var(--grey-200); font-size:.82rem; font-weight:600; color:var(--charcoal); background:var(--white); transition:all .15s; text-decoration:none; display:block; }
.tc-vc__profile-btn:hover { border-color:var(--orange); color:var(--orange); background:var(--orange-light); }

/* WhatsApp login dialog */
.tc-wa-dialog { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:9990; align-items:center; justify-content:center; }
.tc-wa-dialog.open { display:flex; }
.tc-wa-dialog__box { background:#fff; border-radius:16px; padding:28px 26px 24px; max-width:320px; width:90%; text-align:center; position:relative; box-shadow:0 20px 60px rgba(0,0,0,.2); animation:popIn .2s ease; }
@keyframes popIn { from{opacity:0;transform:scale(.94)} to{opacity:1;transform:none} }
.tc-wa-dialog__close { position:absolute; top:12px; right:14px; background:none; border:none; font-size:1rem; cursor:pointer; color:var(--grey-500); line-height:1; }
.tc-wa-dialog__close:hover { color:var(--charcoal); }

/* ── Card icon buttons (WA + Gallery) ──────────────────────────────────────── */
.tc-vc__icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    flex-shrink: 0; text-decoration: none;
}
.tc-vc__icon-btn:hover { transform: scale(1.1); box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.tc-vc__icon-btn--wa      { background: #25D366; color: #fff; }
.tc-vc__icon-btn--wa:hover { background: #128C7E; }
.tc-vc__icon-btn--gallery  { background: #F3F4F6; color: #374151; border: 1.5px solid #E5E7EB; }
.tc-vc__icon-btn--gallery:hover { background: #E5E7EB; color: #1C1C1E; }

/* =========================================
   MOBILE RESPONSIVE — GLOBAL
   ========================================= */
html, body { overflow-x: hidden; }
img, video, embed, iframe, table { max-width: 100%; }

/* Nav burger */
.tc-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.tc-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all .2s;
}

/* Grid — 2 cols on mobile */
@media (max-width: 640px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .grid-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .grid-2 { grid-template-columns: 1fr !important; }
    .container { padding: 0 14px; }
    .section { padding: 28px 0; }
    /* How it works grid */
    [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    .fgrid { grid-template-columns: 1fr !important; }
    /* Hero */
    .tc-hero { padding: 22px 16px 28px; }
    .tc-hero h1 { font-size: 1.65rem !important; }
    .tc-hero-stats { display: none; }
    /* Cards */
    .tc-vc { padding: 14px 10px 12px; }
    .tc-vc__photo, .tc-vc__photo--placeholder { width: 52px; height: 52px; }
    .tc-vc__name { font-size: .8rem; }
    .tc-vc__area { font-size: .71rem; }
    .tc-vc__profile-btn { font-size: .74rem; padding: 6px 6px; }
    .tc-vc__icon-btn { width: 30px; height: 30px; }
    .tc-vc__icon-btn svg { width: 15px; height: 15px; }
    .tc-vc__actions { gap: 5px; }
    /* Filter chips */
    .sp-chip { font-size: .78rem; padding: 5px 10px; }
    /* Search bar */
    .tc-hero-search-row2 { flex-direction: column; align-items: stretch; }
    .tc-hero-search-row2 select { max-width: 100%; }
    .tc-hero-search-btn { width: 100%; justify-content: center; }
    /* Admin panels */
    #app-sidebar { width: 200px; min-width: 200px; }
    #app-content, #ac-main { padding: 16px !important; }
}

@media (max-width: 768px) {
    .tc-nav__burger { display: flex; }
    .tc-nav__links, .tc-nav__actions {
        display: none;
        flex-direction: column;
        gap: 6px;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        padding: 14px 16px;
        border-bottom: 1px solid var(--grey-200);
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
        z-index: 99;
    }
    .tc-nav__links.open, .tc-nav__actions.open { display: flex; }
    .tc-nav__inner { flex-wrap: wrap; position: relative; }
    .tc-nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .tc-nav__burger.open span:nth-child(2) { opacity: 0; }
    .tc-nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* Search page mobile */
@media (max-width: 640px) {
    .sp-filter-card { padding: 12px 14px; }
    .tc-search-bar { flex-direction: column; gap: 8px; }
    .tc-search-bar > * { width: 100%; max-width: 100%; min-width: 0; }
}

/* Admin center — no container boxing */
.ac-panel .ac-card { border: none !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin-bottom: 0 !important; }
.ac-panel .ac-card-hd { padding: 0 0 10px !important; border: none !important; background: transparent !important; }
.ac-panel .ac-card-bd { padding: 0 !important; }
.fgrid.ac-form-grid { gap: 12px; }

/* ── Filter bar selects — always enough room for dropdown arrow ─────────────── */
.sp-filter-card select,
#loc-state, #loc-area, #hero-state, #hero-area,
#sp-state, #sp-area {
    min-width: 180px;
    padding-right: 32px !important;
    text-overflow: ellipsis;
    appearance: auto;
}

/* ═══ PRO VENDOR CARD ═══════════════════════════════════════════════════════ */
.tc-vc--pro {
    border: 2px solid #F59E0B !important;
    box-shadow: 0 4px 16px rgba(245,158,11,.15) !important;
    position: relative;
}
.tc-vc__pro-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 99px;
    letter-spacing: .06em;
    z-index: 2;
}
.tc-vc__pro-label {
    font-size: .68rem;
    font-weight: 700;
    color: #D97706;
    letter-spacing: .03em;
    margin-top: -2px;
    margin-bottom: 4px;
}
