/* ChipPC Where to Buy — UX layer (map + Zoho shortcode untouched) */

.partner-section {
  --wtb-navy: #003678;
  --wtb-cyan: #70D4FF;
  --wtb-green: #A6CE39;
  --wtb-bg: #f5f5f7;
  --wtb-ink: #1d1d1f;
  --wtb-muted: #6e6e73;
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  padding-top: 0 !important;
  padding-bottom: 40px !important;
  margin-top: 0 !important;
}

/* Fixed header is ~110px and out of flow — use only that clearance (was 120px + H2) */
.page-id-191 .services__details.section-padding,
.page-id-191 .services__details,
body.page-id-191 .section-padding {
  padding-top: 100px !important;
  padding-bottom: 40px !important;
}

/* Kill extra air inside containers */
.page-id-191 .services__details > .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-id-191 .partner-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hide duplicate page H2 above the Zoho block */
.page-id-191 .services__details > .container > .d-flex,
.page-id-191 .services__details > .container > .d-flex.justify-content-between {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

.page-id-191 .elementor-widget-theme-page-title,
.page-id-191 .elementor-page-title,
.page-id-191 .page-header,
.page-id-191 .breadcrumb,
.page-id-191 .breadcrumbs {
  display: none !important;
}
.page-id-191 #content,
.page-id-191 .site-main,
.page-id-191 .content-area,
.page-id-191 .elementor-191 {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-id-191 .e-con-inner {
  padding-top: 0 !important;
}
.partner-section h2 {
  display: none !important;
}

/* Hero sits just under header clearance */
.chippc-wtb-hero {
  margin: 0 0 16px;
  padding: 20px 22px 18px;
  background: #003678;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 54, 120, 0.22);
}
.chippc-wtb-hero .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003678;
  background: #A6CE39;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.chippc-wtb-hero h1 {
  color: #fff !important;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.chippc-wtb-hero p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 14px;
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.5;
}
.chippc-wtb-hero .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chippc-wtb-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 980px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none !important;
}
.chippc-wtb-hero .btn-primary {
  background: #A6CE39;
  color: #003678 !important;
}
.chippc-wtb-hero .btn-secondary {
  background: transparent;
  color: #70D4FF !important;
  border: 1px solid rgba(112, 212, 255, 0.45);
}
.chippc-wtb-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

/* Country picker */
.partner-section .country-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px !important;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
}
.partner-section .country-picker label {
  font-weight: 800;
  color: #1d1d1f;
  margin: 0;
}
.partner-section #countrySelect {
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d2d2d7;
  font-size: 0.95rem;
  background: #f5f5f7;
}

/* Keep map interactive styles intact — only spacing */
.partner-section .map-part {
  margin-bottom: 28px;
  border-radius: 20px;
  overflow: hidden;
}

/* Filters + listing shell */
.partner-section .resellers-sidebar {
  background: #fff !important;
  border: 1px solid #e5e5ea !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}
.partner-section .resellers-sidebar h4 {
  color: #003678 !important;
  font-weight: 900 !important;
}
.partner-section .resellers-header h3 {
  color: #1d1d1f !important;
  font-weight: 900 !important;
}

/* Cards */
.partner-section .resellers-grid .card {
  border: 1px solid #e5e5ea !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.partner-section .resellers-grid .card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0, 54, 120, 0.12) !important;
}
.partner-section .resellers-grid .card-logo-container {
  background: #f5f5f7 !important;
}
.partner-section .resellers-grid .card-body h5,
.partner-section .resellers-grid .card-body .card-title {
  color: #003678 !important;
  font-weight: 900 !important;
}

/* Status chips if present as text */
.partner-section .badge-soft,
.partner-section .status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 980px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Empty state enrichment */
.chippc-wtb-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.chippc-wtb-empty h3 {
  color: #003678 !important;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 10px;
}
.chippc-wtb-empty p {
  color: #6e6e73;
  margin: 0 auto 20px;
  max-width: 42ch;
}
.chippc-wtb-empty .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.chippc-wtb-empty .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 980px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none !important;
}
.chippc-wtb-empty .btn-primary {
  background: #003678;
  color: #fff !important;
}
.chippc-wtb-empty .btn-secondary {
  background: #f5f5f7;
  color: #003678 !important;
  border: 1px solid #d2d2d7;
}
.chippc-wtb-empty .back-link {
  color: #0066cc;
  font-weight: 700;
  text-decoration: none;
}
.chippc-wtb-empty .back-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .chippc-wtb-hero {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .partner-section .country-picker {
    flex-direction: column;
    align-items: stretch;
  }
  .partner-section #countrySelect {
    width: 100%;
    min-width: 0;
  }
}
