/* ===================================================================
   CariLead — Main Stylesheet
   Tema: Putih 85% · Abu-abu 10% · Hijau 5%
   Font: Sora (heading) + DM Sans (body)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --white:        #ffffff;
  --off-white:    #f7f8fa;
  --bg:           #f4f5f7;
  --surface:      #ffffff;
  --border:       #e4e7ec;
  --border-light: #f0f2f5;

  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --green:        #1a9e6e;
  --green-dark:   #137a54;
  --green-light:  #e8f7f1;
  --green-mid:    #d1f0e4;
  --green-glow:   rgba(26, 158, 110, 0.15);

  --blue:         #3b82f6;
  --blue-light:   #eff6ff;
  --orange:       #f97316;
  --orange-light: #fff7ed;
  --red:          #ef4444;
  --red-light:    #fef2f2;
  --teal:         #0ea5e9;
  --teal-light:   #f0f9ff;

  --text-primary:   #1a1f2e;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --text-on-green:  #ffffff;

  --shadow-xs:  0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);
  --shadow-green: 0 4px 14px rgba(26,158,110,.25);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --nav-height: 64px;
  --sidebar-w:  260px;
  --transition: 0.18s ease;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; font-weight: 700; line-height: 1.25; }

/* ─── Utility Classes ────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Loading Bar ────────────────────────────────────────────── */
#loading-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), #5ee7b8);
  width: 0; z-index: 9999; transition: width .3s ease;
  box-shadow: 0 0 8px var(--green-glow);
}
#loading-bar.active { animation: loadbar 1.4s ease infinite; }
@keyframes loadbar {
  0%   { width: 0%; }
  50%  { width: 75%; }
  100% { width: 95%; }
}
#loading-bar.done { width: 100%; transition: width .2s ease; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 16px;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar-brand img.logo { height: 36px; width: auto; }
.navbar-spacer { flex: 1; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }

.nav-quota {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-secondary);
  background: var(--gray-100); border-radius: var(--radius-full);
  padding: 5px 12px; gap: 12px;
}
.nav-quota .q-item { display: flex; align-items: center; gap: 5px; }
.nav-quota .q-item i { font-size: 12px; color: var(--green); }
.nav-quota .q-val { font-weight: 600; color: var(--text-primary); }
.nav-quota .q-sep { color: var(--gray-300); }

.nav-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-mid); border: 2px solid var(--green);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--green-dark);
  position: relative;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

.nav-user-menu {
  position: relative;
}
.nav-user-dropdown {
  position: absolute; right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 8px;
  min-width: 200px; box-shadow: var(--shadow-xl);
  display: none;
}
.nav-user-menu:hover .nav-user-dropdown,
.nav-user-menu.open .nav-user-dropdown { display: block; }
.nav-user-dropdown .user-info { padding: 8px 10px 12px; border-bottom: 1px solid var(--border-light); margin-bottom: 6px; }
.nav-user-dropdown .user-name { font-weight: 600; font-size: 14px; }
.nav-user-dropdown .user-email { font-size: 12px; color: var(--text-muted); }
.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-secondary);
  transition: background var(--transition);
  width: 100%; background: none; border: none; text-align: left;
}
.dropdown-item:hover { background: var(--gray-100); color: var(--text-primary); }
.dropdown-item.danger:hover { background: var(--red-light); color: var(--red); }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  border: none; transition: all var(--transition); cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,158,110,.35); }
.btn-primary:active { transform: translateY(0); }

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

.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--text-primary); }

.btn-google {
  background: #fff; color: var(--gray-700);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 15px; padding: 11px 22px;
}
.btn-google:hover { background: var(--gray-50); box-shadow: var(--shadow-md); }
.btn-google img { width: 18px; height: 18px; }

.btn-sm { padding: 6px 13px; font-size: 12px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ─── Form Controls ─────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.form-control {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text-primary);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.form-control::placeholder { color: var(--text-muted); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 32px;
}

/* Multi-select tag style */
.ms-container {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); padding: 5px 8px; min-height: 38px;
  cursor: pointer; transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.ms-container:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.ms-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ms-tag {
  background: var(--green-mid); color: var(--green-dark);
  font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: var(--radius-full); display: flex; align-items: center; gap: 4px;
}
.ms-tag .ms-remove { cursor: pointer; opacity: .6; }
.ms-tag .ms-remove:hover { opacity: 1; }
.ms-placeholder { font-size: 13px; color: var(--text-muted); padding: 2px 4px; }
.ms-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-height: 220px; overflow-y: auto; z-index: 500;
  display: none;
}
.ms-container.open .ms-dropdown { display: block; }
.ms-option {
  padding: 8px 12px; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: background var(--transition);
}
.ms-option:hover { background: var(--gray-50); }
.ms-option.selected { background: var(--green-light); color: var(--green-dark); }
.ms-option.selected::after { content: '✓'; margin-left: auto; font-weight: 700; color: var(--green); }

/* =====================================================================
   DASHBOARD LAYOUT (logged in)
   ===================================================================== */
.app-layout {
  display: flex; min-height: 100vh; padding-top: var(--nav-height);
}

/* Left sidebar nav */
.app-sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border-light);
  position: fixed; top: var(--nav-height); bottom: 0; left: 0;
  overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  transition: width var(--transition);
}
.app-sidebar::-webkit-scrollbar { width: 4px; }
.app-sidebar::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.sidebar-nav { padding: 16px 10px; flex: 1; }
.sidebar-section { margin-bottom: 6px; }
.sidebar-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted);
  padding: 6px 10px; margin-bottom: 2px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: all var(--transition);
  border: none; background: none; width: 100%; text-align: left;
}
.sidebar-item i { width: 18px; text-align: center; font-size: 14px; }
.sidebar-item:hover { background: var(--gray-100); color: var(--text-primary); }
.sidebar-item.active {
  background: var(--green-light); color: var(--green-dark); font-weight: 600;
}
.sidebar-item.active i { color: var(--green); }
.sidebar-item.disabled { opacity: .4; cursor: not-allowed; }
.sidebar-badge {
  margin-left: auto; background: var(--green); color: #fff;
  font-size: 10px; font-weight: 700; padding: 1px 6px;
  border-radius: var(--radius-full); min-width: 18px; text-align: center;
}
.sidebar-bottom { padding: 12px; border-top: 1px solid var(--border-light); }

/* Main content area */
.app-main {
  flex: 1; margin-left: var(--sidebar-w);
  min-height: calc(100vh - var(--nav-height));
  padding: 24px;
}

/* View panels */
.app-view { display: none; }
.app-view.active { display: block; }

/* ─── Search Panel ─────────────────────────────────────────── */
.search-panel {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm); 
}
.search-header {
  padding: 20px 24px 0;
  display: flex; align-items: center; gap: 12px;
}
.search-header h2 { font-size: 18px; }
.search-header p { font-size: 13px; color: var(--text-muted); }

.search-form-inner { padding: 20px 24px 24px; }
.search-main-row {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.search-main-row .form-control { flex: 1; font-size: 15px; padding: 11px 14px; }
.search-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.search-filters-full { grid-column: 1 / -1; }
.search-footer { display: flex; align-items: center; justify-content: space-between; }
.search-count { font-size: 13px; color: var(--text-muted); }

/* Results */
.results-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px; margin-top: 20px;
}
.results-empty {
  text-align: center; padding: 60px 24px;
  color: var(--text-muted); background: var(--white);
  border-radius: var(--radius-xl); border: 1px solid var(--border-light);
}
.results-empty i { font-size: 48px; color: var(--gray-200); margin-bottom: 16px; display: block; }
.results-empty h3 { font-size: 18px; color: var(--gray-400); margin-bottom: 6px; }

/* ─── Contact Card ─────────────────────────────────────────── */
.contact-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition); position: relative;
}
.contact-card:hover {
  box-shadow: var(--shadow-lg); border-color: var(--border);
  transform: translateY(-2px);
}
.card-header {
  padding: 14px 16px 10px;
  display: flex; align-items: flex-start; gap: 12px;
  border-bottom: 1px solid var(--border-light);
}
.card-cat-icon { width: 40px; height: 40px; border-radius: var(--radius); flex-shrink: 0; overflow: hidden; }
.card-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-title-block { flex: 1; min-width: 0; }
.card-name {
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--text-primary); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-type {
  font-size: 11px; color: var(--text-muted); margin-top: 2px;
  text-transform: uppercase; letter-spacing: .04em;
}
.card-verified-badge {
  background: var(--blue-light); color: var(--blue);
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: var(--radius-full); display: flex; align-items: center; gap: 3px;
  flex-shrink: 0;
}

.card-body { padding: 12px 16px; }
.card-desc {
  font-size: 12.5px; color: var(--text-secondary); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.card-products {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px;
}
.product-tag {
  font-size: 10px; background: var(--gray-100); color: var(--gray-600);
  padding: 2px 7px; border-radius: var(--radius-full);
}
.product-tag-more {
  font-size: 10px; color: var(--text-muted); padding: 2px 4px;
}

.card-location {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: 11.5px; color: var(--text-muted);
}
.card-location i { margin-top: 2px; font-size: 11px; color: var(--gray-300); }

.card-indicators {
  display: flex; gap: 6px; padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap; align-items: center;
}
.indicator {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; padding: 3px 8px; border-radius: var(--radius-full);
  font-weight: 500;
}
.ind-verified  { background: var(--blue-light);   color: var(--blue);   }
.ind-phone     { background: var(--orange-light);  color: var(--orange); }
.ind-email     { background: var(--teal-light);    color: var(--teal);   }
.ind-website   { background: var(--red-light);     color: var(--red);    }
.ind-whatsapp  { background: var(--green-light);   color: var(--green);  }

.card-footer {
  padding: 10px 16px;
  display: flex; gap: 8px; align-items: center;
}
.card-footer .btn { font-size: 12px; padding: 6px 12px; }
.btn-add-cart {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; padding: 6px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text-secondary);
  transition: all var(--transition); font-weight: 600; cursor: pointer;
}
.btn-add-cart:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.btn-add-cart.in-cart { border-color: var(--green); color: var(--green); background: var(--green-light); }

/* censored blur */
.censored-block {
  position: relative;
}
.censored-block.blurred::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 0%, var(--white) 70%);
  pointer-events: none;
}

/* Contact detail modal */
.contact-detail-data { display: flex; flex-direction: column; gap: 10px; }
.detail-row { display: flex; gap: 10px; align-items: flex-start; }
.detail-label { font-size: 12px; color: var(--text-muted); width: 90px; flex-shrink: 0; font-weight: 500; }
.detail-value { font-size: 13px; color: var(--text-primary); flex: 1; word-break: break-all; }
.detail-value.masked { color: var(--text-muted); letter-spacing: .1em; }
.detail-link { color: var(--green); text-decoration: underline; }

/* ─── Cart Panel ─────────────────────────────────────────────── */
.cart-panel {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
.cart-header {
  padding: 18px 20px; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-size: 16px; font-family: 'Sora', sans-serif; }
.cart-count-badge {
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: var(--radius-full);
}
.cart-body { padding: 12px; max-height: 400px; overflow-y: auto; }
.cart-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px; border-radius: var(--radius);
  transition: background var(--transition);
}
.cart-item:hover { background: var(--gray-50); }
.cart-item-name { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-city { font-size: 11px; color: var(--text-muted); }
.cart-item-remove {
  background: none; border: none; color: var(--gray-400);
  cursor: pointer; padding: 2px 4px; border-radius: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--red); }
.cart-empty { text-align: center; padding: 32px 16px; color: var(--text-muted); font-size: 13px; }
.cart-empty i { font-size: 32px; color: var(--gray-200); display: block; margin-bottom: 8px; }
.cart-footer { padding: 12px; border-top: 1px solid var(--border-light); display: flex; gap: 8px; }

/* ─── Topup Panel ─────────────────────────────────────────────── */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 24px; }
.pkg-card {
  border: 2px solid var(--border); border-radius: var(--radius-xl);
  padding: 22px; background: var(--white); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.pkg-card:hover { border-color: var(--green); box-shadow: var(--shadow-green); transform: translateY(-2px); }
.pkg-card.featured { border-color: var(--green); }
.pkg-badge {
  position: absolute; top: 14px; right: -20px;
  background: var(--green); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 28px; transform: rotate(35deg); transform-origin: right top;
}
.pkg-name { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pkg-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.pkg-price { font-size: 26px; font-weight: 800; font-family: 'Sora', sans-serif; color: var(--text-primary); margin-bottom: 14px; }
.pkg-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.pkg-features { list-style: none; margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.pkg-features li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-secondary); }
.pkg-features li i { color: var(--green); font-size: 12px; }

.tx-list { padding: 0 24px 24px; }
.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.tx-table td { padding: 10px; font-size: 13px; border-bottom: 1px solid var(--border-light); }
.tx-status { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-full); }
.tx-paid    { background: var(--green-light); color: var(--green-dark); }
.tx-pending { background: var(--orange-light); color: var(--orange); }
.tx-failed  { background: var(--red-light); color: var(--red); }

/* ─── Modal ──────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  backdrop-filter: blur(3px); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); width: 100%; max-width: 480px;
  transform: translateY(12px) scale(.97);
  transition: transform .2s ease;
}
.modal-backdrop.open .modal { transform: none; }
.modal-header {
  padding: 20px 22px 0; display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; }
.modal-close {
  background: var(--gray-100); border: none; width: 30px; height: 30px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); font-size: 16px;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--gray-200); color: var(--text-primary); }
.modal-body { padding: 16px 22px 22px; }
.modal-footer { padding: 0 22px 20px; display: flex; gap: 8px; justify-content: flex-end; }

/* ─── Alert ──────────────────────────────────────────────────── */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 13px; margin-bottom: 12px;
}
.alert i { margin-top: 1px; flex-shrink: 0; }
.alert-warning { background: var(--orange-light); color: #92400e; border: 1px solid #fed7aa; }
.alert-error   { background: var(--red-light);    color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: var(--green-light);  color: var(--green-dark); border: 1px solid var(--green-mid); }
.alert-info    { background: var(--blue-light);   color: #1e40af; border: 1px solid #bfdbfe; }

/* ─── Chat Widget ────────────────────────────────────────────── */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 1500;
}
.chat-toggle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(26,158,110,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
  transition: all var(--transition);
}
.chat-toggle:hover { background: var(--green-dark); transform: scale(1.05); }
.chat-box {
  position: absolute; bottom: 64px; right: 0;
  width: 340px; background: var(--white);
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  box-shadow: var(--shadow-xl); overflow: hidden;
  display: none; flex-direction: column;
  max-height: 480px;
}
.chat-box.open { display: flex; }
.chat-box-header {
  background: var(--green); color: #fff;
  padding: 14px 16px; display: flex; align-items: center; gap: 10px;
}
.chat-box-header .chat-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.chat-box-header .chat-info h4 { font-size: 14px; font-weight: 600; }
.chat-box-header .chat-info p { font-size: 11px; opacity: .8; }
.chat-close-btn {
  margin-left: auto; background: none; border: none;
  color: rgba(255,255,255,.8); cursor: pointer; font-size: 16px;
  transition: color var(--transition);
}
.chat-close-btn:hover { color: #fff; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }
.chat-bubble {
  max-width: 85%; padding: 9px 13px; border-radius: 14px;
  font-size: 13px; line-height: 1.5;
}
.chat-bubble.bot {
  background: var(--gray-100); color: var(--text-primary);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.chat-bubble.user {
  background: var(--green); color: #fff;
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-bubble.typing { opacity: .6; }
.chat-input-row {
  padding: 10px 12px; border-top: 1px solid var(--border-light);
  display: flex; gap: 8px; align-items: center;
}
.chat-input-row input {
  flex: 1; padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-full); font-size: 13px; outline: none;
  transition: border-color var(--transition);
}
.chat-input-row input:focus { border-color: var(--green); }
.chat-send-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; flex-shrink: 0;
  transition: background var(--transition);
}
.chat-send-btn:hover { background: var(--green-dark); }

/* ─── Toast ──────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 90px; right: 24px; z-index: 3000;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.toast {
  background: var(--gray-800); color: #fff;
  padding: 10px 16px; border-radius: var(--radius);
  font-size: 13px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px;
  animation: toast-in .2s ease; max-width: 300px;
}
.toast.success { background: var(--green); }
.toast.error   { background: var(--red); }
.toast.warning { background: var(--orange); }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =====================================================================
   LANDING PAGE (guest)
   ===================================================================== */
.landing-body { background: var(--white); }

/* Hero */
.hero {
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f0fdf8 0%, #ffffff 60%, #f7f8fa 100%);
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,158,110,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,158,110,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-light); color: var(--green-dark);
  font-size: 12px; font-weight: 700; padding: 5px 14px;
  border-radius: var(--radius-full); margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: .06em;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px); font-weight: 800;
  color: var(--text-primary); line-height: 1.15;
  max-width: 720px; margin: 0 auto 20px;
}
.hero h1 .accent { color: var(--green); }
.hero p {
  font-size: 17px; color: var(--text-secondary); max-width: 520px;
  margin: 0 auto 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center;
  flex-wrap: wrap; margin-top: 48px;
}
.stat-item { text-align: center; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 800; color: var(--green); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Section container */
.section { padding: 72px 24px; max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; background: var(--green-light); color: var(--green-dark);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 12px;
}
.section h2 { font-size: 34px; margin-bottom: 12px; }
.section p.lead { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 26px;
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); border-color: var(--green-mid); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--green); margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

/* How it works */
.steps-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; position: relative; }
.step-item { text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(26,158,110,.3);
}
.step-item h3 { font-size: 15px; margin-bottom: 6px; }
.step-item p { font-size: 13px; color: var(--text-secondary); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testi-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 24px;
  position: relative;
}
.testi-card::before {
  content: '"'; position: absolute; top: 14px; right: 20px;
  font-size: 60px; font-family: Georgia, serif; color: var(--green-mid);
  line-height: 1;
}
.testi-stars { color: #f59e0b; font-size: 13px; margin-bottom: 12px; }
.testi-text { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-mid); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: var(--green-dark); flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 11px; color: var(--text-muted); }

/* Partners */
.partners-strip {
  background: var(--gray-50); border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light); padding: 32px 24px;
}
.partners-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.partners-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 24px; }
.partners-logos { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; align-items: center; }
.partner-item {
  font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700;
  color: var(--gray-300); letter-spacing: -.02em; transition: color var(--transition);
}
.partner-item:hover { color: var(--gray-400); }

/* Preview contacts */
.preview-section { background: var(--gray-50); padding: 64px 24px; }
.preview-section .section-header { margin-bottom: 32px; }
.preview-grid { max-width: 1100px; margin: 0 auto; }
.preview-blur-wrap { position: relative; }
.preview-blur-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--gray-50));
  z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 24px; gap: 12px;
}
.preview-blur-overlay p { font-size: 14px; color: var(--text-secondary); text-align: center; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 80px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-section h2 { font-size: 36px; color: #fff; margin-bottom: 14px; position: relative; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 32px; position: relative; }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--gray-50); transform: translateY(-2px); }

/* Footer */
.footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 48px 24px 24px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; gap: 60px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { flex: 2; min-width: 220px; }
.footer-brand .footer-logo { height: 30px; filter: brightness(0) invert(1); opacity: .8; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 300px; }
.footer-col { flex: 1; min-width: 140px; }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 13px; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--gray-500); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gray-300); }
.footer-bottom { border-top: 1px solid #2d3748; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; }

/* ─── Misc ─────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border-light); margin: 20px 0; }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.gap-8 { gap: 32px; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .app-sidebar { transform: translateX(-100%); }
  .app-sidebar.open { transform: translateX(0); }
  .app-main { margin-left: 0; padding: 16px; }
  .search-filters { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .packages-grid { grid-template-columns: 1fr 1fr; }
  .chat-box { width: 300px; }
  .footer-top { gap: 32px; }
  .navbar { padding: 0 16px; }
}

/* =====================================================================
   CONTACT DETAIL — Tambahkan ke public/css/app.css
   (cari komentar "Contact detail modal" dan ganti/tambah setelahnya)
   ===================================================================== */

/* Loading state */
.detail-loading {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 48px 24px; color: var(--text-muted); font-size: 14px;
}
.detail-loading i { font-size: 20px; color: var(--green); }

/* Header kontak */
.detail-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}
.detail-header-top {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 8px; flex-wrap: wrap;
}
.detail-name {
  font-family: 'Sora', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--text-primary); line-height: 1.3; flex: 1;
}
.detail-description {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.65; margin-top: 8px;
}

/* Badge-badge */
.detail-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; padding: 3px 9px;
  border-radius: var(--radius-full); white-space: nowrap;
}
.badge-verified   { background: var(--blue-light);   color: var(--blue);        border: 1px solid #bfdbfe; }
.badge-unverified { background: var(--gray-100);     color: var(--gray-400);    border: 1px solid var(--border); }
.badge-class      { background: var(--orange-light); color: var(--orange);      border: 1px solid #fed7aa; }
.badge-category   { background: var(--teal-light);   color: var(--teal);        border: 1px solid #bae6fd; }
.badge-type       { background: var(--green-light);  color: var(--green-dark);  border: 1px solid var(--green-mid); }

.detail-meta-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}

/* Seksi */
.detail-section {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}
.detail-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.detail-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.detail-section-title i { font-size: 12px; color: var(--green); }

/* Alamat */
.detail-address {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.6;
}

/* Produk chips */
.detail-products {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.product-chip {
  background: var(--gray-100); color: var(--gray-700);
  font-size: 12px; padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.product-chip:hover { background: var(--green-light); color: var(--green-dark); border-color: var(--green-mid); }

/* Kontak grid */
.detail-contacts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
@media (max-width: 520px) {
  .detail-contacts { grid-template-columns: 1fr; }
}
.detail-contact-group {}
.detail-contact-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted);
  margin-bottom: 5px;
}
.contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-primary);
  padding: 3px 0;
}
.contact-item i { font-size: 13px; color: var(--gray-400); width: 16px; text-align: center; flex-shrink: 0; }
.contact-item.masked { color: var(--text-muted); letter-spacing: .08em; }
.contact-item.masked i { color: var(--gray-300); }
.contact-item.empty { color: var(--text-muted); font-style: italic; font-size: 12px; }
.contact-link {
  color: var(--green); text-decoration: none;
  transition: color var(--transition);
  word-break: break-all;
}
.contact-link:hover { color: var(--green-dark); text-decoration: underline; }
.contact-link.text-green { color: var(--green); }

/* Info usaha grid */
.detail-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
@media (max-width: 520px) {
  .detail-info-grid { grid-template-columns: 1fr; }
}
.info-row {
  display: flex; flex-direction: column; gap: 2px;
}
.info-row-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted);
}
.info-row-value {
  font-size: 13px; color: var(--text-primary); font-weight: 500;
}

/* Quota warning di detail */
.detail-quota-warn {
  margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
}
.detail-quota-warn i { margin-top: 1px; flex-shrink: 0; }

/* Modal lebar sedikit lebih besar untuk konten detail */
#modal-contact-detail .modal {
  max-width: 560px;
}
#modal-contact-detail .modal-body {
  padding: 14px 22px 22px;
  max-height: 70vh;
  overflow-y: auto;
}
#modal-contact-detail .modal-body::-webkit-scrollbar { width: 4px; }
#modal-contact-detail .modal-body::-webkit-scrollbar-thumb {
  background: var(--gray-200); border-radius: 2px;
}

/* =====================================================================
   CART CARDS — Tambahkan / ganti bagian "Cart Panel" di app.css
   Hapus CSS lama yang dimulai dari ".cart-panel {" sampai ".cart-footer {"
   Ganti dengan blok ini.
   ===================================================================== */

/* ─── Panel wrapper ──────────────────────────────────────────── */
.cart-panel {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cart-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  position: sticky; top: 0; z-index: 10;
}
.cart-header h3 { font-size: 16px; font-family: 'Sora', sans-serif; }
.cart-count-badge {
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: var(--radius-full);
}
.cart-body {
  padding: 12px;
  max-height: calc(100vh - 260px);
  overflow-y: auto;
}
.cart-body::-webkit-scrollbar { width: 5px; }
.cart-body::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

/* Empty state */
.cart-empty-state {
  text-align: center; padding: 56px 24px;
  color: var(--text-muted);
}
.cart-empty-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 28px; color: var(--gray-300);
}
.cart-empty-state h4 { font-size: 16px; color: var(--gray-400); margin-bottom: 6px; }
.cart-empty-state p  { font-size: 13px; color: var(--text-muted); max-width: 260px; margin: 0 auto; line-height: 1.6; }

/* Cart footer */
.cart-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border-light);
  display: flex; gap: 8px;
  background: var(--gray-50);
}

/* ─── Cart Card ──────────────────────────────────────────────── */
.cart-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cart-card:last-child { margin-bottom: 0; }
.cart-card:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.cart-card.expanded { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }

/* Card Header */
.cart-card-header {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}
.cart-card-header:hover { background: var(--gray-50); }
.cart-card.expanded .cart-card-header { background: var(--green-light); }

.cart-card-num {
  flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; background: var(--gray-200);
  font-size: 11px; font-weight: 700; color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.cart-card.expanded .cart-card-num { background: var(--green); color: #fff; }

.cart-card-main { flex: 1; min-width: 0; }
.cart-card-name {
  font-family: 'Sora', sans-serif;
  font-size: 13.5px; font-weight: 700;
  color: var(--text-primary); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-card-sub {
  font-size: 11.5px; color: var(--text-muted);
  margin-top: 2px; display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-card-sub i { font-size: 10px; }
.cart-card-badges {
  display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px;
}

/* Cart badges (lebih compact dari detail modal) */
.cc-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: var(--radius-full); white-space: nowrap;
}
.cc-verified { background: var(--blue-light);   color: var(--blue);       border: 1px solid #bfdbfe; }
.cc-class    { background: var(--orange-light); color: var(--orange);     border: 1px solid #fed7aa; }
.cc-cat      { background: var(--teal-light);   color: var(--teal);       border: 1px solid #bae6fd; }
.cc-type     { background: var(--green-light);  color: var(--green-dark); border: 1px solid var(--green-mid); }

/* Right side: indicators + actions */
.cart-card-right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 6px; flex-shrink: 0;
}
.cart-card-indicators { display: flex; gap: 4px; }
.cc-ind {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.cc-ind-phone { background: var(--orange-light); color: var(--orange); }
.cc-ind-email { background: var(--teal-light);   color: var(--teal);   }
.cc-ind-wa    { background: var(--green-light);  color: var(--green);  }
.cc-ind-web   { background: var(--blue-light);   color: var(--blue);   }

.cart-remove-btn {
  background: none; border: none;
  color: var(--gray-300); cursor: pointer;
  padding: 4px 5px; border-radius: var(--radius-sm);
  font-size: 12px; transition: color var(--transition), background var(--transition);
  line-height: 1;
}
.cart-remove-btn:hover { color: var(--red); background: var(--red-light); }

.cart-expand-icon {
  font-size: 11px; color: var(--text-muted);
  transition: transform var(--transition);
  display: flex; align-items: center;
}
.cart-card.expanded .cart-expand-icon { transform: rotate(180deg); color: var(--green-dark); }

/* Card Body (collapsed by default) */
.cart-card-body {
  display: none;
  padding: 0 14px 14px;
  border-top: 1px solid var(--border-light);
}
.cart-card.expanded .cart-card-body { display: block; padding-top: 12px; }

.cc-body-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .cc-body-grid { grid-template-columns: 1fr; }
}

/* Sections dalam body */
.cc-section {}
.cc-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted);
  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;
}
.cc-section-label i { color: var(--green); font-size: 11px; }

.cc-contact-row {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; padding: 3px 0;
  color: var(--text-primary);
}
.cc-contact-row i { font-size: 12px; color: var(--gray-400); width: 14px; text-align: center; flex-shrink: 0; }
.cc-link {
  color: var(--green); text-decoration: none;
  word-break: break-all; font-size: 12.5px;
  transition: color var(--transition);
}
.cc-link:hover { color: var(--green-dark); text-decoration: underline; }
.cc-masked { color: var(--text-muted); letter-spacing: .06em; font-size: 12px; }
.cc-none { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* Produk chips dalam cart */
.cc-products { display: flex; flex-wrap: wrap; gap: 4px; }
.cc-product-chip {
  background: var(--gray-100); color: var(--gray-600);
  font-size: 11px; padding: 3px 8px; border-radius: var(--radius-full);
  border: 1px solid var(--border);
}
.cc-product-more {
  font-size: 11px; color: var(--text-muted);
  padding: 3px 6px; font-style: italic;
}

/* Deskripsi */
.cc-desc {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Censored notice */
.cc-censored-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #92400e;
  background: var(--orange-light); border: 1px solid #fed7aa;
  border-radius: var(--radius); padding: 7px 10px;
  margin-bottom: 12px;
}
.cc-censored-note i { color: var(--orange); }