/*
Theme Name:  Assam Directory
Theme URI:   https://assamdirectory.com
Author:      Assam Directory
Author URI:  https://assamdirectory.com
Description: A clean, high-performance directory theme replicating YellowPages.com architecture — built for AssamDirectory.com.
Version:     1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.1
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: assam-directory
Tags: directory, listings, business, custom-colors, custom-logo, responsive-layout
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  --yp-brand:          #d6001c;   /* YP red */
  --yp-brand-dark:     #a8001a;
  --yp-brand-light:    #ffe5e8;
  --yp-gold:           #f5a623;   /* star gold */
  --yp-text-primary:   #1a1a1a;
  --yp-text-secondary: #555;
  --yp-text-muted:     #888;
  --yp-surface:        #fff;
  --yp-bg:             #f8f8f8;
  --yp-border:         #e2e2e2;
  --yp-border-dark:    #ccc;
  --yp-radius:         6px;
  --yp-radius-lg:      10px;
  --yp-shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --yp-shadow-md:      0 4px 12px rgba(0,0,0,.12);
  --yp-header-h:       70px;
  --yp-font:           'Inter', 'Helvetica Neue', Arial, sans-serif;
  --yp-max-w:          1320px;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--yp-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--yp-text-primary);
  background: var(--yp-bg);
  min-height: 100vh;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--yp-brand); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--yp-brand-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════════════ */
.yp-container {
  width: 100%;
  max-width: var(--yp-max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.yp-row {
  display: flex;
  gap: 24px;
}
.yp-col-main   { flex: 1 1 0; min-width: 0; }
.yp-col-sidebar { flex: 0 0 320px; width: 320px; }

.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.yp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yp-brand);
  height: var(--yp-header-h);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.yp-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.yp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
  text-decoration: none;
}
.yp-logo:hover { text-decoration: none; color: #fff; }
.yp-logo__icon {
  width: 38px;
  height: 38px;
  background: #fff;
  color: var(--yp-brand);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

/* ── Search Bar ─────────────────────────────────── */
.yp-search-bar {
  flex: 1;
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  height: 46px;
}
.yp-search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  border-right: 1px solid var(--yp-border);
}
.yp-search-field:last-of-type { border-right: none; }
.yp-search-field__icon {
  position: absolute;
  left: 12px;
  color: var(--yp-brand);
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}
.yp-search-field input {
  width: 100%;
  padding: 0 12px 0 38px;
  height: 46px;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--yp-text-primary);
  background: transparent;
}
.yp-search-field input::placeholder { color: var(--yp-text-muted); }
.yp-search-btn {
  padding: 0 22px;
  background: var(--yp-brand-dark);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  height: 46px;
  white-space: nowrap;
  transition: background .15s;
}
.yp-search-btn:hover { background: #800014; }

/* ── Autosuggest Dropdown ─────────────────────── */
.yp-autocomplete {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--yp-border-dark);
  border-radius: 0 0 var(--yp-radius) var(--yp-radius);
  box-shadow: var(--yp-shadow-md);
  z-index: 200;
  max-height: 260px;
  overflow-y: auto;
  display: none;
}
.yp-autocomplete.is-open { display: block; }
.yp-autocomplete__item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--yp-border);
}
.yp-autocomplete__item:last-child { border-bottom: none; }
.yp-autocomplete__item:hover, .yp-autocomplete__item.is-active {
  background: var(--yp-brand-light);
  color: var(--yp-brand);
}
.yp-autocomplete__item strong { font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════════════════ */
.yp-breadcrumbs {
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--yp-text-muted);
}
.yp-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.yp-breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.yp-breadcrumbs li + li::before { content: '›'; color: #bbb; }
.yp-breadcrumbs a { color: var(--yp-text-secondary); }
.yp-breadcrumbs a:hover { color: var(--yp-brand); }
.yp-breadcrumbs [aria-current="page"] span { color: var(--yp-text-primary); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   STAR RATING DISPLAY
═══════════════════════════════════════════════════════════════ */
.yp-stars { display: inline-flex; gap: 1px; line-height: 1; }
.yp-stars--sm .yp-star { font-size: 14px; }
.yp-stars--lg .yp-star { font-size: 20px; }
.yp-star--full, .yp-star--half { color: var(--yp-gold); }
.yp-star--empty { color: #ddd; }

/* ═══════════════════════════════════════════════════════════════
   LISTING CARDS (Archive/Search Results)
═══════════════════════════════════════════════════════════════ */
.yp-listing-card {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius-lg);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--yp-shadow-sm);
  transition: box-shadow .2s, border-color .2s;
  display: flex;
  gap: 16px;
}
.yp-listing-card:hover {
  box-shadow: var(--yp-shadow-md);
  border-color: #c8c8c8;
}
.yp-listing-card__thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: var(--yp-radius);
  overflow: hidden;
  background: var(--yp-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yp-brand);
  font-size: 28px;
}
.yp-listing-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yp-listing-card__body { flex: 1; min-width: 0; }
.yp-listing-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--yp-brand);
  line-height: 1.3;
  margin-bottom: 4px;
}
.yp-listing-card__title:hover { text-decoration: underline; }
.yp-listing-card__rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.yp-listing-card__review-count {
  font-size: 12.5px;
  color: var(--yp-text-muted);
}
.yp-listing-card__review-count a { color: var(--yp-brand); }
.yp-listing-card__phone {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--yp-text-primary);
  margin-bottom: 4px;
}
.yp-listing-card__address {
  font-size: 13px;
  color: var(--yp-text-secondary);
  margin-bottom: 8px;
}
.yp-listing-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.yp-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: var(--yp-bg);
  border: 1px solid var(--yp-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--yp-text-secondary);
  font-weight: 500;
}
.yp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--yp-radius);
  border: 1.5px solid;
  transition: background .15s, color .15s;
  text-decoration: none;
  white-space: nowrap;
}
.yp-btn--primary {
  background: var(--yp-brand);
  border-color: var(--yp-brand);
  color: #fff;
}
.yp-btn--primary:hover { background: var(--yp-brand-dark); border-color: var(--yp-brand-dark); color: #fff; }
.yp-btn--outline {
  background: transparent;
  border-color: var(--yp-border-dark);
  color: var(--yp-text-primary);
}
.yp-btn--outline:hover { border-color: var(--yp-brand); color: var(--yp-brand); }
.yp-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--yp-brand);
  padding-left: 0;
  padding-right: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE PAGE LAYOUT
═══════════════════════════════════════════════════════════════ */
.yp-archive-wrap {
  padding: 16px 0 40px;
}
.yp-archive-header {
  margin-bottom: 16px;
}
.yp-archive-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--yp-text-primary);
}
.yp-archive-count {
  font-size: 13.5px;
  color: var(--yp-text-muted);
  margin-top: 2px;
}

/* ── Filter sidebar ─────────────────────────── */
.yp-filter-panel {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius-lg);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.yp-filter-panel__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--yp-text-muted);
  margin-bottom: 12px;
}
.yp-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
  cursor: pointer;
}
.yp-filter-option input[type="checkbox"] { accent-color: var(--yp-brand); }
.yp-filter-option label { cursor: pointer; }

/* ── Map container (right column) ─────────── */
.yp-map-sticky {
  position: sticky;
  top: calc(var(--yp-header-h) + 16px);
  height: calc(100vh - var(--yp-header-h) - 40px);
  min-height: 400px;
  border-radius: var(--yp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--yp-border);
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yp-text-muted);
  font-size: 14px;
}
.yp-map-placeholder { text-align: center; }
.yp-map-placeholder svg { margin: 0 auto 8px; opacity: .4; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE LISTING PAGE
═══════════════════════════════════════════════════════════════ */
.yp-single-hero {
  background: var(--yp-surface);
  border-bottom: 1px solid var(--yp-border);
  padding: 24px 0 20px;
}
.yp-single-hero__inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.yp-single-hero__logo {
  width: 100px;
  height: 100px;
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius-lg);
  overflow: hidden;
  background: var(--yp-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--yp-brand);
}
.yp-single-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.yp-single-hero__info { flex: 1; min-width: 0; }
.yp-single-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--yp-text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}
.yp-single-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.yp-single-avg { font-size: 20px; font-weight: 700; color: var(--yp-text-primary); }
.yp-single-review-link { font-size: 13px; color: var(--yp-brand); }
.yp-single-meta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--yp-text-secondary);
  margin-bottom: 14px;
}
.yp-single-meta-row span { display: flex; align-items: center; gap: 5px; }
.yp-single-hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ── Single body layout ─────────────────────── */
.yp-single-body {
  padding: 24px 0 60px;
}

/* ── Sections ──────────────────────────────── */
.yp-section {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius-lg);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.yp-section__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yp-border);
}

/* ── Hours Table ─────────────────────────── */
.yp-hours-table { width: 100%; }
.yp-hours-table tr td { padding: 5px 0; font-size: 14px; }
.yp-hours-table td:first-child { font-weight: 600; width: 110px; }
.yp-hours-table td.closed { color: var(--yp-text-muted); }

/* ── Gallery ─────────────────────────────── */
.yp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.yp-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--yp-radius);
  cursor: pointer;
  position: relative;
}
.yp-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.yp-gallery-item:hover img { transform: scale(1.05); }
.yp-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .2s;
}
.yp-gallery-item:hover::after { background: rgba(0,0,0,.15); }

/* ── Lightbox ─────────────────────────────── */
.yp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.yp-lightbox.is-open { opacity: 1; pointer-events: all; }
.yp-lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.yp-lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--yp-radius); }
.yp-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
}
.yp-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 12px 16px;
  border-radius: var(--yp-radius);
  transition: background .15s;
}
.yp-lightbox__nav:hover { background: rgba(255,255,255,.3); }
.yp-lightbox__prev { left: -56px; }
.yp-lightbox__next { right: -56px; }

/* ── Rating Distribution Bars ─────────────── */
.yp-rating-summary { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.yp-rating-big { text-align: center; }
.yp-rating-big__num { font-size: 48px; font-weight: 800; line-height: 1; color: var(--yp-text-primary); }
.yp-rating-big__label { font-size: 12px; color: var(--yp-text-muted); margin-top: 4px; }
.yp-rating-bars { flex: 1; }
.yp-rating-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.yp-rating-bar-row__label { font-size: 13px; width: 38px; text-align: right; }
.yp-rating-bar-row__track {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}
.yp-rating-bar-row__fill {
  height: 100%;
  background: var(--yp-gold);
  border-radius: 999px;
  transition: width .4s ease;
}
.yp-rating-bar-row__count { font-size: 12px; color: var(--yp-text-muted); width: 22px; }

/* ── Review Cards ─────────────────────────── */
.yp-review {
  padding: 16px 0;
  border-bottom: 1px solid var(--yp-border);
}
.yp-review:last-child { border-bottom: none; }
.yp-review__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.yp-review__avatar {
  width: 36px;
  height: 36px;
  background: var(--yp-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.yp-review__meta { display: flex; flex-direction: column; gap: 1px; }
.yp-review__author { font-weight: 600; font-size: 14px; }
.yp-review__date { font-size: 12px; color: var(--yp-text-muted); }
.yp-review__stars { margin-left: auto; }
.yp-review__content { font-size: 14px; color: var(--yp-text-secondary); line-height: 1.6; }

/* ── Write Review Form ─────────────────────── */
.yp-review-form { }
.yp-star-picker {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.yp-star-picker__star {
  font-size: 30px;
  color: #ddd;
  cursor: pointer;
  transition: color .12s, transform .1s;
  line-height: 1;
  user-select: none;
}
.yp-star-picker__star.is-lit { color: var(--yp-gold); }
.yp-star-picker__star:hover { transform: scale(1.15); }
.yp-form-group { margin-bottom: 14px; }
.yp-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.yp-form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--yp-border-dark);
  border-radius: var(--yp-radius);
  font-size: 14px;
  color: var(--yp-text-primary);
  background: #fff;
  transition: border-color .15s;
}
.yp-form-control:focus { outline: none; border-color: var(--yp-brand); }
textarea.yp-form-control { min-height: 110px; resize: vertical; }
.yp-review-feedback { font-size: 13.5px; padding: 10px 14px; border-radius: var(--yp-radius); margin-bottom: 12px; display: none; }
.yp-review-feedback.is-success { background: #e6f9ee; color: #1a7f3c; border: 1px solid #b6e8c7; display: block; }
.yp-review-feedback.is-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; display: block; }

/* ── Sidebar Card ─────────────────────────── */
.yp-sidebar-card {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
}
.yp-sidebar-card__head {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--yp-border);
  color: var(--yp-text-muted);
}
.yp-sidebar-card__body { padding: 14px 16px; }

/* Business Details List */
.yp-detail-list { }
.yp-detail-list__item {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--yp-border);
  font-size: 13.5px;
}
.yp-detail-list__item:last-child { border-bottom: none; }
.yp-detail-list__icon { color: var(--yp-brand); font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.yp-detail-list__label { font-weight: 600; margin-bottom: 1px; font-size: 12px; color: var(--yp-text-muted); }
.yp-detail-list__value { word-break: break-word; }

/* People Also Viewed */
.yp-also-viewed__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--yp-border);
}
.yp-also-viewed__item:last-child { border-bottom: none; }
.yp-also-viewed__num { font-size: 18px; font-weight: 800; color: var(--yp-brand); width: 22px; flex-shrink: 0; }
.yp-also-viewed__name { font-size: 13.5px; font-weight: 600; color: var(--yp-brand); }
.yp-also-viewed__name:hover { text-decoration: underline; }
.yp-also-viewed__sub { font-size: 12px; color: var(--yp-text-muted); }

/* ── Map Embed Placeholder ─────────────────── */
.yp-map-embed {
  background: #e8eaed;
  border-radius: var(--yp-radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yp-text-muted);
  font-size: 13px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}
.yp-map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE
═══════════════════════════════════════════════════════════════ */
.yp-hero {
  background: linear-gradient(135deg, var(--yp-brand) 0%, #ff2d47 100%);
  padding: 64px 0 72px;
  text-align: center;
}
.yp-hero__headline {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.yp-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 28px;
}
.yp-hero .yp-search-bar { max-width: 700px; margin: 0 auto; }

/* ── Category Grid ─────────────────────────── */
.yp-cat-grid-section {
  padding: 44px 0 56px;
}
.yp-cat-grid-section__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--yp-text-primary);
}
.yp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.yp-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius-lg);
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.yp-cat-card:hover {
  box-shadow: var(--yp-shadow-md);
  border-color: var(--yp-brand);
  transform: translateY(-2px);
  text-decoration: none;
}
.yp-cat-card__icon {
  width: 52px;
  height: 52px;
  background: var(--yp-brand-light);
  color: var(--yp-brand);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.yp-cat-card__label { font-size: 13px; font-weight: 600; color: var(--yp-text-primary); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.yp-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 36px 0 28px;
  font-size: 13px;
}
.yp-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.yp-footer__brand { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.yp-footer__tagline { font-size: 13px; }
.yp-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.yp-footer__links a { color: #aaa; }
.yp-footer__links a:hover { color: #fff; }
.yp-footer__copy { width: 100%; text-align: center; padding-top: 20px; border-top: 1px solid #333; margin-top: 20px; }

/* ═══════════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════════ */
.yp-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 20px 0;
  flex-wrap: wrap;
}
.yp-pagination a,
.yp-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--yp-border-dark);
  border-radius: var(--yp-radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--yp-text-primary);
  text-decoration: none;
  transition: background .15s;
}
.yp-pagination a:hover { background: var(--yp-brand-light); border-color: var(--yp-brand); color: var(--yp-brand); }
.yp-pagination .current { background: var(--yp-brand); border-color: var(--yp-brand); color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .yp-col-sidebar { flex: 0 0 260px; width: 260px; }
}
@media (max-width: 768px) {
  .yp-header { height: auto; padding: 10px 0; }
  .yp-header__inner { flex-direction: column; gap: 10px; }
  .yp-search-bar { flex-direction: column; height: auto; border-radius: var(--yp-radius); }
  .yp-search-field { border-right: none; border-bottom: 1px solid var(--yp-border); }
  .yp-search-field:last-of-type { border-bottom: none; }
  .yp-search-field input { height: 44px; }
  .yp-search-btn { height: 44px; border-radius: 0 0 var(--yp-radius) var(--yp-radius); }
  .yp-row { flex-direction: column; }
  .yp-col-sidebar { flex: unset; width: 100%; }
  .yp-map-sticky { position: static; height: 300px; }
  .yp-single-hero__inner { flex-direction: column; }
  .yp-hero { padding: 40px 0 48px; }
  .yp-hero__headline { font-size: 26px; }
  .yp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .yp-listing-card { flex-direction: column; }
  .yp-listing-card__thumb { width: 100%; height: 160px; }
  .yp-lightbox__prev { left: 0; }
  .yp-lightbox__next { right: 0; }
}
@media (max-width: 480px) {
  .yp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .yp-single-title { font-size: 20px; }
}

/* ─── Print ──────────────────────────────────── */
@media print {
  .yp-header, .yp-footer, .yp-map-sticky, .yp-map-embed, .yp-review-form { display: none !important; }
}
