/* ==========================================================================
   נץ שליחויות — Pricing Redesign
   Apple-grade design for ALL pricing displays site-wide
   - Price preview cards (city pages)
   - Pricing page
   - Service cards
   - All static pricing tables
   ========================================================================== */

/* ============ PRICE PREVIEW CARD (city pages) ============ */
/* Old structure: .price-preview-card > .ppc-row > .ppc-label + .ppc-price > strong */
.price-preview-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg) !important;
  padding: 0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 12px 32px rgba(15, 46, 99,.08) !important;
  max-width: 580px !important;
  margin: 24px auto !important;
  overflow: hidden;
  font-family: 'Heebo', sans-serif;
}

/* Header strip on top of card */
.price-preview-card::before {
  content: "💰 מחירון מסירות משפטיות";
  display: block;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0F2E63 0%, #1B4FA8 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.price-preview-card .ppc-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  transition: background 200ms !important;
  position: relative;
}
.price-preview-card .ppc-row:last-of-type {
  border-bottom: 0 !important;
}
.price-preview-card .ppc-row:hover {
  background: #f8fafc !important;
}

/* Highlight middle row (popular tier) */
.price-preview-card .ppc-row:nth-of-type(2) {
  background: linear-gradient(135deg, #fff8f3 0%, #ffffff 100%) !important;
  border-inline-start: 4px solid #FF8334 !important;
  position: relative;
}
.price-preview-card .ppc-row:nth-of-type(2)::after {
  content: "מומלץ";
  position: absolute;
  top: -10px;
  inset-inline-end: 16px;
  background: #FF8334;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.price-preview-card .ppc-label {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.price-preview-card .ppc-price {
  font-size: 14px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
}

.price-preview-card .ppc-price strong {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #0F2E63 !important;
  letter-spacing: -0.02em !important;
  font-feature-settings: "tnum" !important;
}

/* The middle row gets larger price */
.price-preview-card .ppc-row:nth-of-type(2) .ppc-price strong {
  font-size: 28px !important;
  color: #FF8334 !important;
}

.price-preview-card .ppc-note {
  display: block !important;
  padding: 14px 20px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

@media (max-width: 540px) {
  .price-preview-card .ppc-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px;
    padding: 16px 18px !important;
  }
  .price-preview-card .ppc-price strong {
    font-size: 28px !important;
  }
  .price-preview-card .ppc-row:nth-of-type(2) .ppc-price strong {
    font-size: 32px !important;
  }
}

/* ============ HERO STATS (bottom of hero) ============ */
.hero-stats,
.netz-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius) !important;
  padding: 18px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04) !important;
  max-width: 720px !important;
  margin: 24px auto !important;
}
.hero-stat {
  text-align: center !important;
  padding: 8px !important;
  border-inline-end: 1px solid #f1f5f9 !important;
}
.hero-stat:last-child { border-inline-end: 0 !important; }
.hero-stat-n {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0F2E63 !important;
  letter-spacing: -0.02em !important;
  font-feature-settings: "tnum" !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
}
.hero-stat-l {
  font-size: 12px !important;
  color: #64748b !important;
  font-weight: 600 !important;
}
@media (max-width: 540px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ============ SERVICE CARDS — pricing strip ============ */
/* On homepage and service pages */
.svc-price {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  padding: 8px 14px !important;
  background: linear-gradient(135deg, #DCE7FA 0%, #ffffff 100%) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-full) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  margin-bottom: 14px !important;
  transition: all 200ms !important;
}
.svc-price b,
.svc-price strong {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #0F2E63 !important;
  letter-spacing: -0.02em !important;
  font-feature-settings: "tnum" !important;
}
.svc-card:hover .svc-price {
  background: linear-gradient(135deg, #fff8f3 0%, #ffffff 100%) !important;
  border-color: #FF8334 !important;
}
.svc-card:hover .svc-price b,
.svc-card:hover .svc-price strong {
  color: #FF8334 !important;
}

/* ============ SVC GRID PRICE BOXES (city service grid) ============ */
.svc-grid .svc-item .svc-price {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0F2E63 !important;
  margin-top: 8px !important;
  font-feature-settings: "tnum" !important;
}

.svc-grid .svc-item.u-border-orange .svc-price {
  color: #FF8334 !important;
}
.svc-grid .svc-item.u-border-red .svc-price,
.svc-grid .svc-item .svc-price.u-text-red {
  color: #dc2626 !important;
}

/* Pickup price box (city pages) */
.u-pickup-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 16px 20px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
  border: 1.5px dashed #cbd5e1 !important;
  border-radius: var(--radius) !important;
  margin-top: 16px !important;
}
.u-pickup-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 2px !important;
}
.u-pickup-price {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0F2E63 !important;
  font-feature-settings: "tnum" !important;
  white-space: nowrap;
}

/* ============ PRICING PAGE — table/cards ============ */
.pricing-table,
.pricing-grid {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  border: 1px solid #e2e8f0;
}

table.pricing-table th,
.pricing-grid .ph {
  background: #0F2E63 !important;
  color: #ffffff !important;
  padding: 14px 18px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-align: right !important;
}

table.pricing-table td {
  padding: 14px 18px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 14px !important;
}
table.pricing-table tr:last-child td {
  border-bottom: 0 !important;
}
table.pricing-table tr:hover {
  background: #f8fafc !important;
}
table.pricing-table .price,
table.pricing-table td.price {
  font-weight: 900 !important;
  color: #0F2E63 !important;
  font-size: 18px !important;
  font-feature-settings: "tnum" !important;
}

/* ============ PRICE PILLS / CHIPS ============ */
.price-chip,
.chip-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 12px;
  background: #DCE7FA;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #0F2E63;
  font-feature-settings: "tnum";
}
.price-chip strong,
.chip-price strong {
  font-size: 15px;
  font-weight: 900;
}

/* ============ PRICE NOTE / DISCLAIMER ============ */
.price-disclaimer,
.ppc-note,
.calc-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: #fef3c7;
  border-inline-start: 3px solid #FF8334;
  border-radius: var(--radius);
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
  margin-top: 12px;
}
.price-disclaimer::before {
  content: "ℹ️";
  flex-shrink: 0;
  font-size: 16px;
}

/* ============ HOMEPAGE TRUST/STATS ROW (4 numbers) ============ */
.stats-bar .stat-num,
.netz-stats-num {
  font-size: 44px !important;
  font-weight: 900 !important;
  color: #0F2E63 !important;
  letter-spacing: -0.04em !important;
  font-feature-settings: "tnum" !important;
  line-height: 1 !important;
}
.stats-bar .stat-num .star,
.stats-bar .stat-num .plus {
  color: #FF8334 !important;
  margin-inline-start: 4px;
}

/* ============ TRUST BADGES INLINE (city pages) ============ */
.trust-badges-inline {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: center !important;
  padding: 16px !important;
  margin: 18px auto !important;
}
.trust-badges-inline .tb-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 10px 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-full) !important;
  font-size: 14px !important;
  color: #334155 !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
  transition: all 200ms !important;
}
.trust-badges-inline .tb-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.08) !important;
}
.trust-badges-inline .tb-item strong {
  color: #0F2E63 !important;
  font-weight: 800 !important;
  font-feature-settings: "tnum" !important;
  font-size: 15px !important;
}
.trust-badges-inline .tb-stars {
  color: #FF8334 !important;
  letter-spacing: 1px !important;
  font-size: 13px !important;
}

/* ============ COURT LIST + CITY LINKS (visual polish) ============ */
.courts-list .court-item,
.city-link {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 8px 14px;
  transition: all 200ms;
  font-size: 14px;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
}
a.city-link:hover,
.courts-list .court-item:hover {
  background: #DCE7FA;
  border-color: #0F2E63;
  color: #0F2E63 !important;
}
.city-link.more,
.city-link.u-region-btn {
  background: #0F2E63 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-color: #0F2E63 !important;
}

/* ============ "החל מ-" PRICE TAGS in service pages ============ */
.svc-price-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #FF8334;
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  font-feature-settings: "tnum";
  box-shadow: 0 2px 6px rgba(255, 131, 52,.3);
}

/* ============ MOBILE OPTIMIZATIONS ============ */
@media (max-width: 720px) {
  .price-preview-card { margin: 16px 12px !important; }
  .svc-price { padding: 6px 12px !important; font-size: 12px !important; }
  .svc-price b, .svc-price strong { font-size: 16px !important; }
}
