/* ============================================================
   Junk Crew Estimator (JCE) â Namespaced Styles v5
   Premium light theme + teal gradient header + polished cards
   All classes prefixed with jce- to avoid WordPress conflicts
   ============================================================ */

@import url(\'https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap\');
@import url(\'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap\');

/* ---- Variables ---- */
#jce-app {
  --jce-teal: #1a9e8f;
  --jce-teal-light: #40e0d0;
  --jce-teal-dark: #137a6e;
  --jce-teal-glow: rgba(26, 158, 143, 0.12);
  --jce-orange: #fd8b00;
  --jce-orange-dark: #d07400;
  --jce-orange-glow: rgba(253, 139, 0, 0.15);
  --jce-bg: #f0f2f5;
  --jce-white: #ffffff;
  --jce-card: #ffffff;
  --jce-card-border: #e2e5ea;
  --jce-text: #1a1a2e;
  --jce-text-secondary: #5f6368;
  --jce-text-muted: #9aa0a6;
  --jce-surface-light: #f7f8fa;
  --jce-surface-hover: #eef0f3;
  --jce-green: #34a853;
  --jce-error: #d93025;
  --jce-radius: 14px;
  --jce-radius-lg: 18px;
  --jce-radius-sm: 10px;
  --jce-shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --jce-shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --jce-shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --jce-font-headline: \'Space Grotesk\', system-ui, sans-serif;
  --jce-font-body: \'Manrope\', system-ui, sans-serif;
}

/* ---- Base ---- */
#jce-app {
  box-sizing: border-box;
  font-family: var(--jce-font-body);
  background: var(--jce-bg);
  color: var(--jce-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#jce-app *, #jce-app *::before, #jce-app *::after {
  box-sizing: border-box;
  margin: 0;
}

/* ============================================================
   HEADER BANNER â Full-width teal gradient
   ============================================================ */
.jce-header-banner {
  background: linear-gradient(135deg, #0d5c54 0%, #1a9e8f 45%, #40e0d0 100%);
  padding: 36px 32px 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
/* Decorative orbs */
.jce-header-banner::before {
  content: \'\';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.jce-header-banner::after {
  content: \'\';
  position: absolute;
  left: 20%;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.jce-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.jce-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.jce-brand-icon {
  font-variation-settings: \'FILL\' 1;
  color: #fff;
  font-size: 44px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}
.jce-brand-text { display: flex; flex-direction: column; }
.jce-brand h1 {
  font-family: var(--jce-font-headline);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.jce-brand h1 span {
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.jce-header-sub {
  font-family: var(--jce-font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.jce-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.jce-header-actions .jce-btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.jce-header-actions .jce-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

/* ============================================================
   BODY WRAP
   ============================================================ */
.jce-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 32px 40px;
}

/* ---- Buttons ---- */
.jce-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--jce-card-border);
  background: var(--jce-white);
  color: var(--jce-text);
  border-radius: var(--jce-radius-sm);
  padding: 10px 18px;
  cursor: pointer;
  font-family: var(--jce-font-headline);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: var(--jce-shadow-sm);
}
.jce-btn:hover { background: var(--jce-surface-hover); box-shadow: var(--jce-shadow-md); }
.jce-btn:active { transform: scale(0.97); box-shadow: none; }
.jce-btn-primary {
  background: var(--jce-orange);
  border-color: var(--jce-orange-dark);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 12px var(--jce-orange-glow);
}
.jce-btn-primary:hover { filter: brightness(1.08); background: var(--jce-orange); box-shadow: 0 4px 20px var(--jce-orange-glow); }
.jce-btn-book {
  background: linear-gradient(135deg, #fd8b00 0%, #f07800 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 28px;
  letter-spacing: 0.08em;
  width: 100%;
  justify-content: center;
  border-radius: var(--jce-radius);
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--jce-orange-glow);
}
.jce-btn-book:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(253, 139, 0, 0.3); }
.jce-btn-book:active { transform: translateY(0) scale(0.98); }
.jce-btn-icon {
  padding: 10px;
  min-width: 40px;
  justify-content: center;
}
.jce-btn .material-symbols-outlined { font-size: 18px; }

/* ---- Main Grid ---- */
.jce-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* ---- Category Tabs (inside header banner) ---- */
.jce-tabs-wrap {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 0 0;
  z-index: 1;
}
.jce-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.jce-tabs::-webkit-scrollbar { display: none; }
.jce-tabs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, background 0.2s;
  padding: 0;
}
.jce-tabs-arrow:hover { background: rgba(255,255,255,0.35); }
.jce-tabs-arrow .material-symbols-outlined { font-size: 20px; }
.jce-tabs-arrow-left { left: -4px; opacity: 0; }
.jce-tabs-arrow-right { right: -4px; opacity: 1; }
.jce-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 16px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-family: var(--jce-font-headline);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.jce-tab:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.3); }
.jce-tab.jce-active {
  background: #fff;
  color: var(--jce-teal-dark);
  border-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.jce-tab .material-symbols-outlined { font-size: 22px; }
.jce-tab-count {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}
.jce-active .jce-tab-count { background: var(--jce-teal-glow); color: var(--jce-teal-dark); }

/* ---- Items Grid ---- */
.jce-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ============================================================
   PRODUCT CARDS â Polished white cards with left accent
   ============================================================ */
.jce-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: var(--jce-white);
  border: 1px solid var(--jce-card-border);
  border-radius: var(--jce-radius);
  padding: 12px 10px 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: var(--jce-shadow-sm);
  position: relative;
}
.jce-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.jce-product:active { transform: translateY(0); }
.jce-product.jce-has-qty {
  background: #f4faf9;
  box-shadow: 0 2px 12px rgba(26, 158, 143, 0.08);
  border-color: rgba(26, 158, 143, 0.18);
}
.jce-product.jce-has-qty:hover {
  box-shadow: 0 8px 24px rgba(26, 158, 143, 0.12);
}
.jce-product-icon {
  font-size: 30px;
  line-height: 1;
  height: 34px;
  display: flex;
  align-items: center;
}
.jce-product-name {
  font-family: var(--jce-font-headline);
  font-weight: 700;
  font-size: 13px;
  color: var(--jce-text);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.3;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Stepper ---- */
.jce-stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--jce-surface-light);
  border: 1px solid var(--jce-card-border);
  padding: 3px;
  border-radius: 999px;
  align-self: center;
}
.jce-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--jce-white);
  color: var(--jce-text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-family: var(--jce-font-body);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.jce-stepper button:hover { background: var(--jce-teal); color: #fff; box-shadow: 0 2px 8px var(--jce-teal-glow); }
.jce-stepper button:active { transform: scale(0.88); }
.jce-stepper input {
  width: 40px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  background: transparent;
  border: none;
  color: var(--jce-text);
  outline: none;
  font-family: var(--jce-font-headline);
}

/* ---- Pulse animation ---- */
@keyframes jce-pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 158, 143, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(26, 158, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 158, 143, 0); }
}
.jce-product.jce-just-added { animation: jce-pulse 0.5s ease-out; }

/* ============================================================
   SIDEBAR â Polished white cards
   ============================================================ */
.jce-sidebar {
  position: sticky;
  top: 20px;
}

/* ---- Unified Estimate Card ---- */
.jce-estimate-card {
  border-radius: var(--jce-radius-lg);
  overflow: hidden;
  box-shadow: var(--jce-shadow-lg);
  background: #2a2a2a;
}

/* ---- Truck Box â top section of estimate card ---- */
.jce-truck-box {
  padding: 12px 24px 10px;
}
.jce-truck-svg { width: 100%; height: auto; display: block; }
.jce-truck-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding-bottom: 0;
}
.jce-bar {
  flex: 1; height: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.jce-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--jce-teal-dark), var(--jce-teal-light));
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 999px;
}
.jce-legend-right {
  font-family: var(--jce-font-headline);
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.jce-legend-right .jce-pct { color: var(--jce-teal-light); }

/* ---- Cart â body section of estimate card ---- */
.jce-cart {
  padding: 10px 24px 16px;
  display: flex;
  flex-direction: column;
}
.jce-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.jce-cart-header h3 {
  font-family: var(--jce-font-headline);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.jce-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--jce-font-headline);
  color: #fff;
  background: linear-gradient(135deg, var(--jce-teal) 0%, var(--jce-teal-light) 100%);
  box-shadow: 0 2px 8px var(--jce-teal-glow);
}
.jce-cart-scroll {
  overflow: auto;
  max-height: 30vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.jce-cart-scroll::-webkit-scrollbar { width: 4px; }
.jce-cart-scroll::-webkit-scrollbar-track { background: transparent; }
.jce-cart-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }

/* ---- Line Items Table ---- */
.jce-table { width: 100%; border-collapse: collapse; }
.jce-table th, .jce-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  font-family: var(--jce-font-body);
  color: rgba(255,255,255,0.85);
}
.jce-table thead th {
  text-align: left;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 12px;
}
.jce-right { text-align: right; }
.jce-empty-cart {
  text-align: center;
  padding: 40px 16px;
  color: rgba(255,255,255,0.35);
  font-size: 14px;
}
.jce-empty-cart .material-symbols-outlined {
  font-size: 48px; display: block; margin-bottom: 12px; opacity: 0.2;
}

/* ---- Summary Totals (fixed below scroll) ---- */
.jce-cart-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px 24px;
  background: #232323;
}
.jce-cart-summary {
  padding-top: 0;
  margin-top: 0;
}
.jce-sum-line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-family: var(--jce-font-body);
}
.jce-sum-total {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid var(--jce-teal);
  padding-top: 14px;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: var(--jce-font-headline);
}

/* ---- Discount row ---- */
.jce-discount-row { color: var(--jce-green) !important; }

/* ---- Promo Code ---- */
.jce-promo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-family: var(--jce-font-body);
  font-size: 13px;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.15s;
}
.jce-promo-toggle:hover { color: var(--jce-teal); }
.jce-promo-toggle .material-symbols-outlined { font-size: 16px; }
.jce-promo-row {
  display: none; gap: 8px; margin-top: 10px;
}
.jce-promo-row.jce-show { display: flex; }
.jce-promo-row input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 11px 14px;
  border-radius: var(--jce-radius-sm);
  font-family: var(--jce-font-headline);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  outline: none;
}
.jce-promo-row input:focus { border-color: var(--jce-teal); box-shadow: 0 0 0 3px var(--jce-teal-glow); }
.jce-promo-row .jce-btn { padding: 11px 16px; }
.jce-promo-applied {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #e8f7f4 0%, #d4f0eb 100%);
  border: 1px solid #b5e3db;
  border-radius: var(--jce-radius-sm);
  margin-top: 10px;
  font-size: 13px;
  color: var(--jce-teal-dark);
  font-weight: 600;
}
.jce-promo-applied .material-symbols-outlined { font-size: 18px; color: var(--jce-green); }
.jce-promo-remove {
  margin-left: auto; background: none; border: none;
  color: var(--jce-text-muted); cursor: pointer; font-size: 16px; padding: 2px; display: flex;
}
.jce-promo-remove:hover { color: var(--jce-error); }

/* ---- Book Section ---- */
.jce-book-section { margin-top: 12px; }

/* ---- Time Slots ---- */
.jce-timeslots { display: flex; gap: 10px; flex-wrap: wrap; }
.jce-timeslot {
  flex: 1; min-width: 100px;
  padding: 16px 14px;
  background: var(--jce-white);
  border: 2px solid var(--jce-card-border);
  border-radius: var(--jce-radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: var(--jce-font-headline);
  box-shadow: var(--jce-shadow-sm);
}
.jce-timeslot:hover { border-color: var(--jce-teal-light); background: #f0faf8; box-shadow: var(--jce-shadow-md); }
.jce-timeslot.jce-active {
  border-color: var(--jce-teal);
  background: linear-gradient(135deg, #e8f7f4 0%, #d4f0eb 100%);
  box-shadow: 0 4px 16px var(--jce-teal-glow);
}
.jce-timeslot-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--jce-text); text-transform: uppercase; margin-bottom: 3px;
}
.jce-timeslot-time {
  display: block; font-size: 11px; color: var(--jce-text-secondary); font-family: var(--jce-font-body);
}

/* ---- Mobile Sticky Bar ---- */
.jce-mobile-bar {
  display: none;
  position: sticky; bottom: 0; z-index: 40;
  background: var(--jce-white);
  border-top: 3px solid var(--jce-teal);
  padding: 16px 20px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
}
.jce-mobile-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.jce-mobile-bar-info { display: flex; flex-direction: column; gap: 2px; }
.jce-mobile-bar-fill {
  font-size: 11px; color: var(--jce-text-muted);
  font-family: var(--jce-font-headline); text-transform: uppercase; font-weight: 600;
}
.jce-mobile-bar-total {
  font-size: 26px; font-weight: 800; color: var(--jce-text);
  font-family: var(--jce-font-headline);
}
.jce-mobile-bar .jce-btn-book { width: auto; padding: 16px 30px; font-size: 14px; }

/* ============================================================
   MODALS â Premium feel
   ============================================================ */
.jce-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  z-index: 9999;
}
.jce-modal.jce-show { display: flex; }
.jce-modal-card {
  width: min(640px, 94vw);
  max-height: 90vh;
  background: var(--jce-white);
  border: 1px solid var(--jce-card-border);
  border-radius: var(--jce-radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 64px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.jce-show .jce-modal-card { transform: translateY(0); }
.jce-modal-card.jce-modal-wide { width: min(960px, 96vw); }
.jce-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #0d5c54 0%, #1a9e8f 100%);
  padding: 20px 24px;
  gap: 12px;
}
.jce-modal-title {
  font-family: var(--jce-font-headline);
  font-size: 18px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.02em; margin: 0;
}
.jce-modal-head-actions { display: flex; gap: 8px; align-items: center; }
.jce-modal-head-actions .jce-btn {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: #fff;
}
.jce-modal-head-actions .jce-btn:hover { background: rgba(255,255,255,0.22); }
.jce-modal-head-actions .jce-btn-primary {
  background: var(--jce-orange); border-color: var(--jce-orange-dark); color: #fff;
}
.jce-modal-close {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: none; background: rgba(255,255,255,0.1); cursor: pointer; color: #fff; border-radius: 50%;
  transition: background 0.15s;
}
.jce-modal-close:hover { background: rgba(255,255,255,0.22); }
.jce-modal-close .material-symbols-outlined { font-size: 22px; }
.jce-modal-body {
  padding: 28px;
  overflow-y: auto; flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--jce-card-border) transparent;
}
.jce-modal-body::-webkit-scrollbar { width: 6px; }
.jce-modal-body::-webkit-scrollbar-track { background: transparent; }
.jce-modal-body::-webkit-scrollbar-thumb { background: var(--jce-card-border); border-radius: 999px; }

/* ---- Booking Form ---- */
.jce-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jce-form-group { display: flex; flex-direction: column; gap: 7px; }
.jce-form-group.jce-full-width { grid-column: 1 / -1; }
.jce-form-label {
  font-family: var(--jce-font-headline);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--jce-text-secondary);
}
.jce-form-input, .jce-form-textarea, .jce-form-select {
  background: var(--jce-surface-light);
  border: 1.5px solid var(--jce-card-border);
  color: var(--jce-text);
  padding: 13px 16px;
  border-radius: var(--jce-radius-sm);
  font-family: var(--jce-font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.jce-form-input:focus, .jce-form-textarea:focus, .jce-form-select:focus {
  border-color: var(--jce-teal); box-shadow: 0 0 0 4px var(--jce-teal-glow);
}
.jce-form-input.jce-input-error { border-color: var(--jce-error); }
.jce-form-textarea { resize: vertical; min-height: 80px; }
.jce-form-footer { margin-top: 28px; display: flex; gap: 12px; justify-content: flex-end; }

/* ---- Booking Summary ---- */
.jce-booking-summary {
  background: var(--jce-surface-light);
  border: 1px solid var(--jce-card-border);
  border-radius: var(--jce-radius);
  padding: 20px;
  margin-bottom: 28px;
}
.jce-booking-summary h4 {
  font-family: var(--jce-font-headline);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--jce-text-secondary);
  margin: 0 0 14px 0;
}
.jce-booking-summary-row {
  display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px;
}
.jce-booking-summary-row.jce-booking-total {
  border-top: 2px solid var(--jce-teal);
  margin-top: 10px; padding-top: 12px;
  font-weight: 700; font-size: 18px;
}

/* ---- Confirmation ---- */
.jce-confirmation { text-align: center; padding: 56px 24px; }
.jce-confirmation .material-symbols-outlined {
  font-size: 80px; color: var(--jce-green);
  font-variation-settings: \'FILL\' 1;
  display: block; margin-bottom: 20px;
}
.jce-confirmation h3 {
  font-family: var(--jce-font-headline);
  font-size: 28px; font-weight: 700; color: var(--jce-text);
  text-transform: uppercase; margin: 0 0 12px 0;
}
.jce-confirmation p { color: var(--jce-text-secondary); font-size: 15px; max-width: 420px; margin: 0 auto; line-height: 1.7; }

/* ---- Setup ---- */
.jce-setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jce-setup-box {
  background: var(--jce-surface-light);
  border: 1px solid var(--jce-card-border);
  border-radius: var(--jce-radius);
  padding: 20px;
}
.jce-setup-box.jce-full-width { grid-column: 1 / -1; }
.jce-setup-box h4 {
  font-family: var(--jce-font-headline);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--jce-text); margin: 0 0 16px 0;
}
.jce-setup-box small { display: block; margin-top: 14px; color: var(--jce-text-muted); font-size: 12px; }
.jce-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jce-field-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jce-field-row label { font-size: 13px; color: var(--jce-text-secondary); white-space: nowrap; }
.jce-field-row input {
  width: 120px;
  background: var(--jce-white);
  border: 1px solid var(--jce-card-border);
  color: var(--jce-text);
  padding: 9px 12px;
  border-radius: var(--jce-radius-sm);
  outline: none; text-align: right;
  font-family: var(--jce-font-body); font-size: 14px;
}
.jce-field-row input:focus { border-color: var(--jce-teal); box-shadow: 0 0 0 3px var(--jce-teal-glow); }

/* ---- Photo Upload ---- */
.jce-photo-zone {
  border: 2px dashed var(--jce-card-border);
  border-radius: var(--jce-radius);
  padding: 28px; text-align: center;
  cursor: pointer; transition: all 0.2s; position: relative;
  background: var(--jce-surface-light);
}
.jce-photo-zone:hover { border-color: var(--jce-teal); background: #f0faf8; }
.jce-photo-zone input[type=\"file\"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.jce-photo-zone .material-symbols-outlined { font-size: 40px; color: var(--jce-text-muted); display: block; margin-bottom: 10px; }
.jce-photo-zone-text { font-size: 13px; color: var(--jce-text-muted); }
.jce-photo-zone-text strong { color: var(--jce-teal); }
.jce-photo-previews { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.jce-photo-thumb {
  position: relative; width: 80px; height: 80px;
  border-radius: var(--jce-radius-sm); overflow: hidden; border: 2px solid var(--jce-card-border);
  box-shadow: var(--jce-shadow-sm);
}
.jce-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jce-photo-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.65); border: none; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; transition: background 0.15s;
}
.jce-photo-remove:hover { background: rgba(217,48,37,0.8); }

/* ---- Toast ---- */
.jce-toast {
  position: fixed; bottom: 90px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, var(--jce-teal-dark), var(--jce-teal));
  color: #fff;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--jce-font-headline); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.04em;
  z-index: 10000; opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 6px 24px rgba(26,158,143,0.35);
}
.jce-toast.jce-toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Cart row animation ---- */
@keyframes jce-slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.jce-cart-scroll tbody tr { animation: jce-slideIn 0.25s ease-out; }

/* ---- Truck bounce ---- */
@keyframes jce-fillBounce {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(1.04); }
  100% { transform: scaleY(1); }
}
.jce-truck-svg { transform-origin: bottom center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .jce-grid { grid-template-columns: 1fr; }
  .jce-sidebar {
    position: static;
  }
  .jce-items { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .jce-header-banner { padding: 28px 20px 24px; }
  .jce-brand h1 { font-size: 24px; }
  .jce-brand-icon { font-size: 36px; }
  .jce-wrap { padding: 20px 16px 32px; }
  .jce-header-inner { flex-wrap: wrap; gap: 12px; }
  .jce-tabs { margin-bottom: 18px; }
  .jce-items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .jce-product { padding: 18px 16px 14px; }
  .jce-product-icon { font-size: 28px; height: 34px; }
  .jce-product-name { font-size: 12px; min-height: 28px; }
  .jce-stepper button { width: 30px; height: 30px; font-size: 16px; }
  .jce-stepper input { width: 34px; font-size: 14px; }
  .jce-sidebar { grid-template-columns: 1fr; }
  .jce-mobile-bar { display: block; }
  .jce-cart .jce-book-section { display: none; }
  .jce-form-grid { grid-template-columns: 1fr; }
  .jce-setup-grid { grid-template-columns: 1fr; }
  .jce-fields { grid-template-columns: 1fr; }
  .jce-timeslots { flex-direction: column; }
  .jce-modal-card { border-radius: 18px 18px 0 0; align-self: flex-end; max-height: 92vh; }
}

@media (max-width: 400px) {
  .jce-header-banner { padding: 22px 16px; }
  .jce-wrap { padding: 14px 12px 28px; }
  .jce-items { gap: 8px; }
  .jce-tab { padding: 8px 12px; font-size: 11px; }
}

/* ============================================================
   Feature 1: Item Size Labels
   ============================================================ */
.jce-product-size {
  font-family: var(--jce-font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--jce-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* ============================================================
   Feature 2: Price Preview Tooltip on + Button Hover
   ============================================================ */
.jce-stepper button[data-d=\"1\"] {
  position: relative;
}
.jce-stepper button[data-d=\"1\"][data-price-preview]::after {
  content: attr(data-price-preview);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: var(--jce-teal-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--jce-font-headline);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.jce-stepper button[data-d=\"1\"][data-price-preview]:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ============================================================
   Feature 3: Dark Mode
   ============================================================ */
#jce-app.jce-dark {
  --jce-bg: #131313;
  --jce-card: #1e1e1e;
  --jce-card-border: #2a2a2a;
  --jce-text: #f0f0f0;
  --jce-text-secondary: #a0a0a0;
  --jce-text-muted: #666;
  --jce-surface-light: #1a1a1a;
  --jce-surface-hover: #252525;
  --jce-white: #1e1e1e;
  --jce-shadow-sm: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.3);
  --jce-shadow-md: 0 4px 16px rgba(0,0,0,0.25), 0 1px 4px rgba(0,0,0,0.2);
  --jce-shadow-lg: 0 12px 40px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
}
#jce-app.jce-dark .jce-product.jce-has-qty {
  background: #1a2a28;
  border-color: rgba(26, 158, 143, 0.25);
}
#jce-app.jce-dark .jce-timeslot:hover {
  background: #1a2a28;
}
#jce-app.jce-dark .jce-timeslot.jce-active {
  background: linear-gradient(135deg, #1a2a28 0%, #152622 100%);
}
#jce-app.jce-dark .jce-promo-applied {
  background: linear-gradient(135deg, #1a2a28 0%, #152622 100%);
  border-color: rgba(26, 158, 143, 0.3);
  color: var(--jce-teal-light);
}
#jce-app.jce-dark .jce-photo-zone:hover {
  background: #1a2a28;
}
#jce-app.jce-dark .jce-booking-summary {
  background: var(--jce-surface-light);
  border-color: var(--jce-card-border);
}

/* ============================================================
   Feature 4: Wizard Progress Bar
   ============================================================ */
.jce-wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  padding: 0 20px;
}
.jce-wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 70px;
}
.jce-wizard-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jce-font-headline);
  font-weight: 700;
  font-size: 14px;
  background: var(--jce-surface-light);
  border: 2px solid var(--jce-card-border);
  color: var(--jce-text-muted);
  transition: all 0.3s ease;
}
.jce-wizard-step.jce-active .jce-wizard-num {
  background: var(--jce-teal);
  border-color: var(--jce-teal);
  color: #fff;
  box-shadow: 0 2px 10px var(--jce-teal-glow);
}
.jce-wizard-label {
  font-family: var(--jce-font-headline);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jce-text-muted);
  transition: color 0.3s ease;
}
.jce-wizard-step.jce-active .jce-wizard-label {
  color: var(--jce-teal);
}
.jce-wizard-connector {
  flex: 1;
  height: 2px;
  background: var(--jce-card-border);
  margin: 0 8px;
  margin-bottom: 22px;
  transition: background 0.3s ease;
}
.jce-wizard-connector.jce-active {
  background: var(--jce-teal);
}
.jce-wizard-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--jce-card-border);
}

/* ============================================================
   Feature 5: Mobile Bottom Sheet
   ============================================================ */
.jce-mobile-bar-info {
  cursor: pointer;
}
.jce-mobile-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.jce-mobile-sheet-overlay.jce-show {
  opacity: 1;
}
.jce-mobile-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 51;
  background: #2a2a2a;
  border-radius: 20px 20px 0 0;
  max-height: 75vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.3);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.jce-mobile-sheet.jce-show {
  transform: translateY(0);
}
.jce-sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  margin: 12px auto 8px;
  cursor: grab;
}
.jce-sheet-content {
  padding: 8px 20px 24px;
}
.jce-sheet-truck {
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}
.jce-sheet-table {
  margin-bottom: 16px;
}
.jce-sheet-table th,
.jce-sheet-table td {
  color: rgba(255,255,255,0.85);
}
.jce-sheet-table thead th {
  color: rgba(255,255,255,0.4);
}
.jce-sheet-totals {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}
.jce-sheet-totals .jce-sum-line {
  color: rgba(255,255,255,0.5);
}
.jce-sheet-totals .jce-sum-total {
  color: #fff;
}

/* ============================================================
   Feature: Drag-to-Reorder Cart Items
   ============================================================ */
.jce-drag-col { width: 24px; }
.jce-drag-handle {
  cursor: grab;
  padding: 8px 4px !important;
  width: 24px;
  opacity: 0.5;
  transition: opacity 0.15s;
  user-select: none;
}
.jce-drag-handle:hover { opacity: 1; }
.jce-drag-handle:active { cursor: grabbing; }
.jce-drag-handle svg { display: block; }
.jce-table tbody tr[draggable] { transition: opacity 0.2s, background 0.15s; }
.jce-table tbody tr.jce-dragging {
  opacity: 0.35;
  background: rgba(26, 158, 143, 0.08);
}
.jce-table tbody tr.jce-drag-over {
  border-top: 2px solid var(--jce-teal-light) !important;
  background: rgba(26, 158, 143, 0.06);
}

/* ============================================================
   Feature: Animated Truck Junk Boxes
   ============================================================ */
@keyframes jce-junkBoxIn {
  0% { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: translateX(0); }
}
.jce-junk-box-new {
  animation: jce-junkBoxIn 0.35s ease-out both;
}

/* ============================================================
   Feature: Service Area Map
   ============================================================ */
.jce-service-area {
  margin-top: 10px;
}
.jce-service-area-note {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--jce-text-muted);
  font-family: var(--jce-font-body);
  margin: 0;
  padding: 8px 0 4px;
  line-height: 1.4;
}
.jce-service-area-map {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--jce-radius-sm);
  margin-top: 8px;
  border: 1px solid var(--jce-card-border);
  box-shadow: var(--jce-shadow-sm);
}

/* ============================================================
   Feature: SVG Category Icons on Product Cards
   ============================================================ */
.jce-product-icon svg {
  display: block;
  width: 36px;
  height: 36px;
}
