/* ================================================================
   WHOLESALECATALOGZ — CITY PAGES CSS
   File: catalog/view/stylesheet/textile-tools/city_pages.css
   Covers: hub page + child category page
================================================================ */

/* ── WRAPPER ── */
.cp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* ── SECTION LABEL ── */
.cp-sec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
  margin: 24px 0 10px;
}

/* ── HERO ── */
.cp-hero {
  background: linear-gradient(135deg, #111827 0%, #1a2340 100%);
  border-radius: 12px;
  padding: 36px 32px 30px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.cp-hero::after {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,146,42,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(200,146,42,.15);
  border: 1px solid rgba(200,146,42,.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #c8922a;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cp-hero-h1 {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cp-hero-h1 span { color: #c8922a; }
.cp-hero-intro {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin-bottom: 20px;
  line-height: 1.75;
}
.cp-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.cp-hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cp-stat { font-size: 12px; color: rgba(255,255,255,.5); }
.cp-stat strong { display: block; font-size: 13px; color: rgba(255,255,255,.9); margin-bottom: 1px; }

/* ── BUTTONS ── */
.cp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
  white-space: nowrap;
}
.cp-btn:hover { opacity: .88; }
.cp-btn-wa   { background: #25d366; color: #fff; }
.cp-btn-dark { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); }
.cp-btn-dark:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ── CITY LINKS ── */
.cp-city-links { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.cp-city-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #fff;
  border: 1px solid #e5e3de;
  border-radius: 20px;
  font-size: 12.5px;
  color: #444;
  text-decoration: none;
  transition: all .15s;
}
.cp-city-link:hover { background: #1a2340; color: #fff; border-color: #1a2340; }
.cp-city-link.active { background: #1a2340; color: #fff; border-color: #1a2340; font-weight: 600; }

/* ── TRUST ROW ── */
.cp-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.cp-trust-box {
  background: #fff;
  border: 1px solid #e5e3de;
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}
.cp-trust-box .t-icon { font-size: 22px; margin-bottom: 6px; }
.cp-trust-box .t-val  { font-size: 15px; font-weight: 700; color: #1a2340; margin-bottom: 2px; }
.cp-trust-box .t-lbl  { font-size: 11px; color: #888; line-height: 1.3; }

/* ── CATEGORY CARD GRID ── */
.cp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.cp-cat-card {
  background: #fff;
  border: 1px solid #e5e3de;
  border-radius: 10px;
  padding: 16px 14px 14px;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.cp-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: #c8922a;
  opacity: 0;
  transition: opacity .18s;
}
.cp-cat-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-3px); border-color: #c8922a; }
.cp-cat-card:hover::before { opacity: 1; }
.cp-cat-icon   { font-size: 26px; margin-bottom: 8px; display: block; }
.cp-cat-name   { font-size: 14px; font-weight: 600; color: #1a2340; margin-bottom: 3px; line-height: 1.3; }
.cp-cat-desc   { font-size: 12px; color: #888; line-height: 1.4; margin-bottom: 8px; }
.cp-cat-count  { display: inline-block; font-size: 11px; font-weight: 700; color: #c8922a; background: #faeeda; padding: 2px 8px; border-radius: 4px; }

/* ── PRODUCTS GRID ── */
.cp-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

/* ── DELIVERY STRIP ── */
.cp-delivery-strip {
  background: #e1f5ee;
  border: 1px solid #9fe1cb;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cp-del-icon { font-size: 28px; flex-shrink: 0; }
.cp-delivery-strip strong { display: block; font-size: 14px; color: #085041; margin-bottom: 4px; }
.cp-delivery-strip span   { font-size: 13px; color: #0f6e56; }

/* ── CONTENT BLOCK ── */
.cp-content-block {
  background: #fff;
  border: 1px solid #e5e3de;
  border-radius: 10px;
  padding: 24px 26px;
  margin-bottom: 20px;
}
.cp-content-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 12px;
  line-height: 1.35;
}
.cp-content-block h3 { font-size: 15px; font-weight: 600; color: #1a2340; margin: 16px 0 6px; }
.cp-content-block p  { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.cp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cp-market-cats { color: #888 !important; font-size: 12.5px !important; }

/* ── FAQs ── */
.cp-faq { margin-bottom: 28px; }
.cp-faq-item { border: 1px solid #e5e3de; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.cp-faq-q {
  width: 100%;
  background: #f7f6f3;
  border: none;
  padding: 14px 18px;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .15s;
}
.cp-faq-q:hover    { background: #eeecea; }
.cp-faq-q.open     { background: #1a2340; color: #fff; }
.cp-faq-chev       { font-size: 12px; transition: transform .25s; flex-shrink: 0; }
.cp-faq-q.open .cp-faq-chev { transform: rotate(180deg); }
.cp-faq-a          { display: none; padding: 14px 18px; font-size: 13.5px; color: #555; line-height: 1.75; border-top: 1px solid #e5e3de; background: #fff; }
.cp-faq-a.open     { display: block; }

/* ── CTA BLOCK ── */
.cp-cta {
  background: #1a2340;
  border-radius: 12px;
  padding: 30px 26px;
  text-align: center;
  margin-bottom: 20px;
}
.cp-cta h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cp-cta p  { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.cp-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.cp-cta-btn:hover { opacity: .88; }
.cp-cta-btn.c1 { background: #c8922a; color: #fff; }
.cp-cta-btn.c2 { background: #25d366; color: #fff; }
.cp-cta-btn.c3 { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); }

/* ── CATEGORY PAGE HEADER ── */
.cp-cat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cp-cat-header-left { display: flex; align-items: center; gap: 14px; }
.cp-cat-icon-lg     { font-size: 42px; flex-shrink: 0; }
.cp-cat-h1          { font-size: clamp(18px, 3vw, 24px); font-weight: 700; color: #1a2340; margin: 0 0 4px; }
.cp-cat-subdesc     { font-size: 13px; color: #777; margin: 0; }
.cp-cat-header-right { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── FILTER BAR ── */
.cp-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e3de;
  flex-wrap: wrap;
}
.cp-results-text { font-size: 13px; color: #777; }
.cp-filter-right { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-select {
  padding: 7px 10px;
  border: 1px solid #e5e3de;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}

/* ── PAGINATION ── */
.cp-pagination { margin: 20px 0; display: flex; justify-content: center; }

/* ── EMPTY STATE ── */
.cp-empty {
  text-align: center;
  padding: 48px 20px;
  background: #f7f6f3;
  border-radius: 10px;
  margin-bottom: 28px;
}
.cp-empty p { font-size: 15px; color: #888; margin-bottom: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .cp-hero { padding: 24px 18px 22px; }
  .cp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-products-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-two-col { grid-template-columns: 1fr; }
  .cp-trust-row { grid-template-columns: repeat(3, 1fr); }
  .cp-cat-header { flex-direction: column; }
}
@media (max-width: 480px) {
  .cp-trust-row { grid-template-columns: repeat(2, 1fr); }
  .cp-cat-grid  { grid-template-columns: 1fr 1fr; }
}
