/* ── HomeTick Category Pages — Shared Styles ── */

:root {
  --ht-blue:       #213e97;
  --ht-green:      #13a538;
  --ht-gradient:   linear-gradient(135deg, #213e97 0%, #13a538 100%);
  --ht-bg:         #ffffff;
  --ht-blue-light: #eef1fb;
  --ht-border:     #e5e9f5;
  --ht-text-dark:  #1a1a2e;
  --ht-text-mid:   #6b7280;
}

/* ── Breadcrumb ── */
.cat-breadcrumb {
  background: #f5f7ff;
  padding: 10px 20px;
  font-size: 11px;
  color: var(--ht-text-mid);
  border-bottom: 1px solid var(--ht-border);
}
.cat-breadcrumb a {
  color: var(--ht-blue);
  text-decoration: none;
}
.cat-breadcrumb a:hover { text-decoration: underline; }
.cat-breadcrumb span { margin: 0 5px; opacity: .5; }

/* ── Hero ── */
.cat-hero {
  background: var(--ht-gradient);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
}
.cat-hero-inner { position: relative; z-index: 1; }
.cat-hero-icon {
  font-size: 36px;
  color: rgba(255,255,255,0.25);
  display: block;
  margin-bottom: 8px;
}
.cat-hero h1 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.25;
}
.cat-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

/* ── Main Layout ── */
.cat-main {
  max-width: 960px;
  margin: 0 auto;
}
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  padding: 24px 20px 40px;
  background: #fff;
  align-items: start;
}

/* ── Blog Content ── */
.blog { min-width: 0; }
.blog h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 30px 0 12px;
}
.blog h2:first-child { margin-top: 0; }
.blog h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 22px 0 8px;
}
.blog p {
  font-size: 16px;
  color: #374151;
  line-height: 1.9;
  margin-bottom: 14px;
}
.blog ul {
  margin: 8px 0 16px 24px;
}
.blog ul li {
  font-size: 16px;
  color: #374151;
  line-height: 1.9;
  margin-bottom: 8px;
}
.blog-divider {
  height: 1px;
  background: var(--ht-border);
  margin: 20px 0;
  border: none;
}
.related-links {
  font-size: 12px;
  color: var(--ht-text-mid);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--ht-border);
}
.related-links a {
  color: var(--ht-blue);
  text-decoration: none;
  font-weight: 500;
}
.related-links a:hover { text-decoration: underline; }

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}

/* Book Now card */
.side-book {
  background: var(--ht-gradient);
  border-radius: 12px;
  padding: 16px;
}
.side-book-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.side-book-sub {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-bottom: 16px;
}
.sb-btn {
  width: 100%;
  background: #ffffff;
  color: var(--ht-blue);
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
}
.sb-btn:hover { opacity: .92; }

/* Trust card */
.side-trust {
  background: #f5f7ff;
  border: 1px solid var(--ht-border);
  border-radius: 10px;
  padding: 14px;
}
.side-trust-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--ht-text-dark);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 10px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 8px;
}
.trust-item:last-child { margin-bottom: 0; }
.trust-check {
  color: var(--ht-green);
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}
.trust-item span {
  font-size: 13px;
  color: var(--ht-text-mid);
  line-height: 1.5;
}

/* ── Popup ── */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.popup-overlay.active { display: flex; }
.popup-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  margin: 0 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.popup-head {
  background: var(--ht-gradient);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.popup-head h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.popup-close {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
}
.popup-body { padding: 16px; }
.popup-field { margin-bottom: 14px; }
.popup-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ht-text-dark);
  margin-bottom: 6px;
}
.loc-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  padding: 0 12px;
  background: #f9fafb;
}
.loc-field i {
  color: var(--ht-blue);
  font-size: 13px;
  flex-shrink: 0;
}
.loc-field input {
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 13px;
  color: var(--ht-text-dark);
  width: 100%;
  outline: none;
  font-family: inherit;
}
.loc-field input::placeholder { color: #adb5bd; }
.popup-field {
  position: relative;
}
.popup-location-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 3;
  display: block;
  overflow: auto;
  max-height: 190px;
  background: #fff;
  border: 1px solid var(--ht-border);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(33,62,151,0.14);
}
.popup-location-suggestions:empty {
  display: none;
}
.popup-location-suggestion {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: transparent;
  padding: 10px 12px;
  color: var(--ht-text-dark);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.popup-location-suggestion:last-child {
  border-bottom: 0;
}
.popup-location-suggestion:hover {
  background: #f1f7ff;
  color: var(--ht-blue);
}
.svc-select {
  width: 100%;
  border: 1px solid var(--ht-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ht-text-dark);
  background: #f9fafb;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}
.svc-select:focus { border-color: var(--ht-blue); }
.popup-btn {
  width: 100%;
  background: var(--ht-gradient);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  font-family: inherit;
  transition: opacity .15s;
}
.popup-btn:hover { opacity: .92; }
.popup-note {
  font-size: 11px;
  color: var(--ht-text-mid);
  text-align: center;
  margin-top: 10px;
}

/* ── Floating Buttons ── */
.ht-float-btns {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.ht-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform .15s;
}
.ht-float-btn:hover { transform: scale(1.08); }
.ht-float-btn.whatsapp { background: #25d366; }
.ht-float-btn.call { background: #213e97; }
.ht-float-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .sidebar {
    position: static;
    order: -1;
  }
  .cat-hero {
    height: 140px;
    padding: 20px 16px;
  }
  .cat-hero h1 { font-size: 18px; }
  .cat-hero-icon { font-size: 28px; }
}
