/* prinPopesti header & footer v2 */
.ppl-header, .ppl-footer, .ppl-backdrop {
  --ink: #16181d;
  --muted: #5d6470;
  --line: #ebe6dc;
  --bg-alt: #faf7f1;
  --accent: #f5a000;
  --accent-ink: #1a1300;
  --accent-soft: #fff4dc;
  --accent-text: #a86b00;
}
.ppl-header *, .ppl-footer * { box-sizing: border-box; }
.ppl-header ul, .ppl-footer ul { list-style: none; margin: 0; padding: 0; }
.ppl-header a, .ppl-footer a { text-decoration: none; }
.ppl-header p, .ppl-footer p { margin: 0; }
.ppl-header button { font: inherit; margin: 0; box-shadow: none; text-transform: none; letter-spacing: normal; }

.ppl-skip { position: absolute; left: 12px; top: -60px; z-index: 10010; background: var(--ink, #16181d); color: #fff !important; padding: 10px 16px; border-radius: 8px; }
.ppl-skip:focus { top: 12px; }
#ppl-content { display: block; height: 0; outline: 0; }

/* Bar */
.ppl-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
@media (min-width: 1100px) { @supports (backdrop-filter: blur(8px)) { .ppl-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); } } }
.admin-bar .ppl-header { top: 32px; }
.ppl-bar { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 24px; }
.ppl-logo { flex: none; display: flex; }
.ppl-logo img { width: 150px; height: auto; display: block; }

.ppl-nav { flex: 1; }
.ppl-menu { display: flex; align-items: center; gap: 2px; }
.ppl-item { position: relative; }
.ppl-has-mega { position: static; }
.ppl-header .ppl-top { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: var(--ink) !important; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .15s; }
.ppl-top:hover, .ppl-top[aria-expanded="true"] { background: var(--bg-alt); }
.ppl-top svg { transition: transform .2s; color: var(--muted); }
.ppl-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.ppl-item.is-current > .ppl-top { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 10px 10px 0 0; }

.ppl-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ppl-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.ppl-icon-btn:hover { background: var(--bg-alt); }
.ppl-account { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 10px; color: var(--ink) !important; font-weight: 600; white-space: nowrap; }
.ppl-account:hover { background: var(--bg-alt); }
.ppl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s; }
.ppl-btn:hover { background: #ffb21f; }
.ppl-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink) !important; font-weight: 600; }
.ppl-burger { display: none; }

/* Panels (desktop) */
.ppl-panel { display: none; }
.ppl-top[aria-expanded="true"] + .ppl-panel { display: block; }
.ppl-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(22,24,29,.10); }
.ppl-mega-grid { max-width: 1240px; margin: 0 auto; padding: 28px 20px 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 32px; }
.ppl-group { padding-bottom: 18px; }
.ppl-group-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); margin-bottom: 8px !important; }
.ppl-group a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink) !important; font-size: 15px; }
.ppl-group a:hover { background: var(--accent-soft); }
.ppl-cat { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.ppl-cat .pph-ic { flex: none; width: 18px; height: 18px; color: #c98a00; transition: color .15s, transform .15s; }
.ppl-group a:hover .pph-ic { color: var(--accent-text); transform: scale(1.12); }
.ppl-n { font-size: 12px; color: var(--muted); background: var(--bg-alt); border-radius: 999px; padding: 1px 8px; align-self: center; }
.ppl-mega-foot { max-width: 1240px; margin: 0 auto; padding: 14px 20px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; border-top: 1px solid var(--line); }
.ppl-mega-foot a { color: var(--muted) !important; font-weight: 600; }
.ppl-mega-foot a:hover { color: var(--ink) !important; }
.ppl-mega-foot .ppl-strong { color: var(--accent-text) !important; display: inline-flex; align-items: center; gap: 6px; }
.ppl-sep { width: 1px; height: 18px; background: var(--line); }

.ppl-drop { position: absolute; top: calc(100% + 8px); left: 0; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(22,24,29,.12); padding: 8px; }
.ppl-drop-sm { width: 300px; }
.ppl-drop a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink) !important; }
.ppl-drop a:hover { background: var(--bg-alt); }
.ppl-drop strong { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.ppl-drop strong svg { color: var(--muted); }
.ppl-drop small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.ppl-drop .ppl-u { display: flex; align-items: center; gap: 12px; }
.ppl-u-ic { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); transition: background .15s, color .15s; }
.ppl-u:hover .ppl-u-ic { background: var(--accent); color: var(--accent-ink); }
.ppl-u-t { min-width: 0; }
.ppl-u-live .ppl-u-ic { background: #dcf5f0; color: #17806f; }
.ppl-u-live:hover .ppl-u-ic { background: #1e9e8a; color: #fff; }
.ppl-pulse { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #1db954; border: 2px solid #fff; }
.ppl-pulse::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: #1db954; animation: ppl-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ppl-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.ppl-drop .ppl-live { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #0f7a3d; background: #dcf7e6; padding: 1px 6px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .ppl-pulse::after { animation: none; } }

/* Search bar */
.ppl-searchbar { border-top: 1px solid var(--line); background: #fff; }
.ppl-searchbar[hidden] { display: none; }
.ppl-searchbar form { max-width: 760px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.ppl-header input[type="search"] { flex: 1; min-width: 0; height: 46px; margin: 0; padding: 0 14px !important; border: 1px solid var(--line) !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; font-size: 16px; color: var(--ink); }
.ppl-header input[type="search"]:focus { border-color: var(--accent) !important; outline: 0; box-shadow: 0 0 0 3px rgba(245,160,0,.2) !important; }

/* Mobile-only parts hidden on desktop */
.ppl-nav-head, .ppl-nav-search, .ppl-nav-foot { display: none; }
.ppl-backdrop { position: fixed; inset: 0; background: rgba(22,24,29,.45); z-index: 10000; }
.ppl-backdrop[hidden] { display: none; }

.ppl-header a:focus-visible, .ppl-header button:focus-visible, .ppl-footer a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Align theme pages with the header/footer content width (1200px) */
@media (min-width: 1260px) { .ppl-on .container { width: 1230px; } }
.ppl-on .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1220px; }
@media (min-width: 1100px) { .ppl-on .ppa-wrap { max-width: 1240px; } }

/* MyListing leaves room for its fixed header; ours is in the flow */
.ppl-on .c27-main-header, .ppl-on .i-nav-overlay { display: none !important; }
.ppl-on .pph-hero { padding-top: 56px; }

/* Drawer */
@media (max-width: 1099px) {
  .ppl-bar { height: 60px; gap: 4px; padding: 0 8px; display: grid; grid-template-columns: 1fr auto 1fr; }
  .ppl-logo { justify-self: center; }
  .ppl-logo img { width: 132px; }
  .ppl-burger { display: inline-flex; justify-self: start; }
  .ppl-actions { justify-self: end; gap: 2px; }
  .ppl-account { width: 42px; padding: 0; justify-content: center; }
  .ppl-account span, .ppl-cta { display: none; }
  .ppl-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(400px, 90vw); z-index: 10001; background: #fff; overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column; }
  .ppl-nav-open .ppl-nav { display: flex; animation: ppl-slide .22s ease-out; box-shadow: 0 0 0 100vmax rgba(22,24,29,.45); }
  @keyframes ppl-slide { from { transform: translateX(-100%); } to { transform: none; } }
  .ppl-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 6px 20px; }
  .ppl-nav-title { font-weight: 700; font-size: 17px; }
  .ppl-nav-search { display: flex; align-items: center; gap: 8px; margin: 6px 16px 10px; color: var(--muted); position: relative; }
  .ppl-nav-search svg { position: absolute; left: 13px; }
  .ppl-nav-search input[type="search"] { padding-left: 40px !important; }
  .ppl-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 0 8px; }
  .ppl-item { border-bottom: 1px solid var(--line); }
  .ppl-header .ppl-top { width: 100%; justify-content: space-between; height: 54px; font-size: 16px; padding: 0 12px; }
  .ppl-item.is-current > .ppl-top { box-shadow: inset 3px 0 0 var(--accent); border-radius: 0; }
  .ppl-mega, .ppl-drop { position: static; width: auto; box-shadow: none; border: 0; border-radius: 0; padding: 0 4px 12px; }
  .ppl-mega-grid { grid-template-columns: minmax(0, 1fr); padding: 0 8px; gap: 0; }
  .ppl-group { padding: 6px 0 10px; }
  .ppl-group a { padding: 9px 8px; }
  .ppl-mega-foot { padding: 10px 8px 4px; border-top: 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .ppl-sep { display: none; }
  .ppl-nav-foot { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px 28px; margin-top: auto; }
  .ppl-btn-block { width: 100%; height: 48px; }
  .ppl-nav-open, .ppl-nav-open body { overflow: hidden; }
  .ppl-nav-open .ppl-header { z-index: 10001; }
  .ppl-header { background: #fff; }
}
@media (max-width: 340px) {
  .ppl-logo img { width: 112px; }
}

/* Footer */
.ppl-footer { position: relative; overflow: hidden; color: #eadccb; font-size: 15px; line-height: 1.6; margin-top: 0;
  background:
    radial-gradient(520px 320px at 8% 0%, rgba(255,196,77,.22), transparent 70%),
    radial-gradient(420px 300px at 92% 18%, rgba(255,170,40,.16), transparent 70%),
    radial-gradient(600px 360px at 60% 115%, rgba(255,214,120,.14), transparent 70%),
    linear-gradient(160deg, #4f3524 0%, #3f2a1c 45%, #2f1f14 100%); }
.ppl-footer > * { position: relative; }
.ppl-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ppl-f-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 40px; padding: 64px 0 40px; }
.ppl-f-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; }
.ppl-f-logo img { display: block; width: 140px; height: auto; }
.ppl-footer .ppl-f-brand p { margin-top: 16px !important; color: #e3d2bd !important; max-width: 340px; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.ppl-f-contact { margin-top: 16px !important; }
.ppl-f-contact li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.ppl-f-contact svg { color: #ffc24d; flex: none; }
.ppl-footer a { color: #fbf3e8 !important; }
.ppl-footer a:hover { color: #fff !important; text-decoration: underline !important; }
.ppl-f-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border: 1px solid rgba(255,230,190,.3); background: rgba(255,255,255,.06); border-radius: 999px; font-weight: 600; transition: background .15s, border-color .15s; }
.ppl-f-social:hover { text-decoration: none !important; border-color: #ffc24d; background: rgba(255,194,77,.14); }
.ppl-footer .ppl-f-h { color: #ffd27a !important; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px !important; }
.ppl-f-col li { padding: 4px 0; }
.ppl-f-col a { color: #eadccb !important; display: inline-block; transition: color .15s, transform .15s; }
.ppl-f-col a:hover { transform: translateX(3px); }
.ppl-f-more { color: #ffc24d !important; font-weight: 600; }
.ppl-f-bottom { border-top: 1px solid rgba(255,230,190,.18); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: #cdb9a2; }
.ppl-f-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ppl-f-bottom a { color: #eadccb !important; }

@media (max-width: 1099px) {
  .ppl-f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 48px; }
  .ppl-f-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ppl-wrap { padding: 0 16px; }
  .ppl-f-grid { gap: 28px 16px; }
  .ppl-f-col li { padding: 6px 0; }
  .ppl-f-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .ppl-nav, .ppl-top svg { transition: none !important; animation: none !important; }
}
.ppl-footer .ppl-f-bottom p, .ppl-footer .ppl-f-bottom li { color: #cdb9a2 !important; }

/* Explore: results without locations get the full width instead of an empty map */
.ppl-nomap .finder-map, .ppl-nomap .expand-map-btn, .ppl-nomap .show-map { display: none !important; }
.ppl-nomap .finder-listings { right: 0 !important; width: auto !important; }
.ppl-nomap .results-view.grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; height: auto !important; }
.ppl-nomap .results-view.grid::before, .ppl-nomap .results-view.grid::after { display: none; }
.ppl-nomap .results-view.grid > .grid-item { width: auto !important; float: none !important; position: static !important; transform: none !important; }
