/* Partner With Us, partner dashboard, Directory and partner pages.
   White glassmorphism, softly rounded inputs, thin gold line icons with gentle motion. */

.glass {
  background: rgba(255, 255, 255, .78);
  border: 1px solid #fff;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(41, 32, 10, .07), inset 0 0 0 1px rgba(201, 162, 77, .14);
}
.page-partner main, .page-directory main {
  background:
    radial-gradient(900px 420px at 85% -80px, rgba(255, 233, 152, .35), transparent 70%),
    radial-gradient(700px 380px at -10% 30%, rgba(220, 185, 95, .12), transparent 70%),
    #fdfcf9;
}
.pt-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font: 600 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #a8802f; }
.pt-kicker .badge-pill { letter-spacing: 0; text-transform: none; gap: 4px; }
.pt-kicker .badge-pill .icon { width: 1em; height: 1em; }
.pt-gap { margin-top: 56px; }
.pt-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--muted); text-decoration: none; font-size: .92rem; }
.pt-back:hover { color: var(--ink); }
.pt-back .icon { transition: transform .25s; }
.pt-back:hover .icon { transform: translateX(-3px); }
.pt-head { padding-bottom: 20px; }

/* Entrance motion */
.reveal-up { opacity: 0; transform: translateY(14px); animation: ptUp .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.reveal-up:nth-child(2) { animation-delay: .08s; } .reveal-up:nth-child(3) { animation-delay: .16s; }
.reveal-up:nth-child(4) { animation-delay: .24s; } .reveal-up:nth-child(5) { animation-delay: .32s; }
.reveal-up:nth-child(n+6) { animation-delay: .38s; }
@keyframes ptUp { to { opacity: 1; transform: none; } }
.ui-ic { animation: icPop .6s cubic-bezier(.3, 1.6, .5, 1) both; }

/* ---------- Invitation ---------- */
.pt-hero { padding: 48px 0 24px; }
.pt-hero-grid { display: grid; gap: 36px; align-items: center; }
.pt-hero .page-title { font-size: clamp(2rem, 5.4vw, 3rem); }
@media (min-width: 900px) { .pt-hero { padding: 72px 0 40px; } .pt-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.pt-hero-card { padding: 16px; overflow: hidden; }
.pt-mini-map { position: relative; height: 190px; border-radius: 14px; overflow: hidden;
  background:
    linear-gradient(115deg, transparent 46%, rgba(255,255,255,.9) 46.5%, rgba(255,255,255,.9) 49%, transparent 49.5%),
    linear-gradient(25deg, transparent 60%, rgba(255,255,255,.85) 60.5%, rgba(255,255,255,.85) 62.5%, transparent 63%),
    radial-gradient(120px 80px at 20% 75%, #d9ead2, transparent 70%),
    radial-gradient(140px 90px at 80% 20%, #dfeccf, transparent 70%),
    #f1ede4; }
.pt-mini-pin { position: absolute; width: 30px; height: 30px; color: #8a6420; animation: pinBob 3s ease-in-out infinite; }
.pt-mini-pin .icon { width: 30px; height: 30px; fill: rgba(255, 233, 152, .85); }
.pt-mini-pin.p1 { left: 22%; top: 22%; } .pt-mini-pin.p2 { left: 62%; top: 40%; animation-delay: .6s; } .pt-mini-pin.p3 { left: 40%; top: 58%; animation-delay: 1.2s; }
.pt-mini-you { position: absolute; left: 48%; top: 38%; width: 14px; height: 14px; border-radius: 50%; background: #3b82f6; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(59,130,246,.4); animation: youPulse 2.4s ease-out infinite; }
@keyframes pinBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes youPulse { 0% { box-shadow: 0 0 0 0 rgba(59,130,246,.45); } 80%, 100% { box-shadow: 0 0 0 18px rgba(59,130,246,0); } }
.pt-mini-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.pt-mini-list li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid rgba(201,162,77,.22); }
.pt-mini-list .ui-ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #fbf3df; }
.pt-mini-list b { display: block; font-size: .92rem; color: var(--ink); }
.pt-mini-list small { color: var(--muted); font-size: .8rem; }
.pt-mini-list em { font-style: normal; font-weight: 600; font-size: .86rem; color: var(--accent-dark); white-space: nowrap; }

.pt-section { padding-top: 32px; }
.pt-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pt-cats li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; font-weight: 500; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.pt-cats li:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(185,140,63,.16), inset 0 0 0 1px rgba(201,162,77,.3); }
.pt-cats .ui-ic { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: #fbf3df; }
.pt-cats li:hover .ui-ic { animation: icFloat 1.6s ease-in-out infinite; }
.pt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 620px) { .pt-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pt-steps { grid-template-columns: repeat(4, 1fr); } }
.pt-steps li { position: relative; padding: 26px 22px 22px; }
.pt-steps h3 { display: flex; align-items: center; gap: 8px; font: 600 1.15rem/1.3 var(--serif); margin: 6px 0 8px; }
.pt-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.pt-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink);
  font: 600 1.05rem/1 var(--serif); box-shadow: 0 8px 20px rgba(185,140,63,.28), inset 0 1px 0 rgba(255,255,255,.7); }
.pt-cta { display: grid; gap: 8px; margin-top: 56px; padding: 28px; }
.pt-cta .section-title { margin-bottom: 6px; font-size: clamp(1.35rem, 3.4vw, 1.8rem); }
.pt-cta p { margin: 0; }
.pt-cta .actions { margin-top: 12px; }
@media (min-width: 900px) { .pt-cta { grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 32px 36px; } .pt-cta .actions { margin: 0; } }

/* ---------- Forms ---------- */
.pt-form { gap: 20px; }
.pt-block { margin: 0; padding: 22px 20px 24px; display: grid; gap: 16px; min-width: 0; }
@media (min-width: 640px) { .pt-block { padding: 26px 28px 28px; } }
.pt-block legend { float: left; width: 100%; display: flex; align-items: center; gap: 8px; padding: 0; margin: 0 0 4px; font: 600 1.12rem/1.3 var(--serif); color: var(--ink); }
.pt-block legend + * { clear: both; }
.pt-block legend .muted { font: 400 .85rem var(--sans); }
.pt-label { font-weight: 500; font-size: .92rem; color: var(--ink); }
.pt-form .field input[type=text], .pt-form .field input[type=email], .pt-form .field input[type=search], .pt-form .field textarea, .pt-form .field select,
.pt-search input, .pt-peso input {
  min-height: 48px; padding: 12px 14px; border: 1.5px solid rgba(201,162,77,.25); border-radius: 12px; background: rgba(255,255,255,.9);
  transition: border-color .15s, background-color .15s, box-shadow .15s; font: 400 1rem/1.4 var(--sans); color: var(--ink); width: 100%;
}
.pt-form .field input:focus, .pt-form .field textarea:focus, .pt-search input:focus, .pt-peso input:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(214,177,90,.18); }
.pt-form .field [aria-invalid="true"] { border-color: var(--error); }
.pt-flash { animation: ptFlash 1.2s ease; }
@keyframes ptFlash { 0% { background: #fff6d6; border-color: #dcb95f; } 100% { background: rgba(255,255,255,.9); } }

.pt-choice-row, .pt-cat-pick { display: grid; gap: 10px; }
@media (min-width: 560px) { .pt-choice-row { grid-template-columns: 1fr 1fr; } .pt-cat-pick { grid-template-columns: 1fr 1fr; } }
.pt-choice { position: relative; cursor: pointer; }
.pt-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pt-choice > span { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; height: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.9); border: 1.5px solid rgba(201,162,77,.25); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pt-choice .ui-ic { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fbf3df; }
.pt-choice b { font-weight: 600; color: var(--ink); font-size: .95rem; }
.pt-choice small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.pt-choice-sm > span { grid-template-columns: 34px 1fr; padding: 10px 12px; }
.pt-choice-sm .ui-ic { grid-row: auto; width: 34px; height: 34px; padding: 7px; }
.pt-choice:hover > span { transform: translateY(-1px); border-color: rgba(201,162,77,.55); }
.pt-choice input:checked + span { border-color: #c9a24d; background: #fffaf0; box-shadow: 0 0 0 4px rgba(214,177,90,.18); }
.pt-choice input:checked + span .ui-ic { background: var(--gold); color: var(--on-gold); animation: icFloat 3s ease-in-out infinite; }
.pt-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.pt-file { display: flex; align-items: center; gap: 12px; }
.pt-file-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }

/* Location */
.pt-locate { display: grid; gap: 10px; }
@media (min-width: 640px) { .pt-locate { grid-template-columns: 1fr auto; } }
.pt-search { position: relative; }
.pt-search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #a8802f; pointer-events: none; }
.pt-search input { padding-left: 42px; -webkit-appearance: none; appearance: none; }
.pt-suggest { position: absolute; z-index: 1000; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(201,162,77,.3); box-shadow: 0 18px 40px rgba(41,32,10,.14); max-height: 300px; overflow-y: auto; }
.pt-suggest li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.pt-suggest li:hover, .pt-suggest li:focus { background: #fbf3df; outline: 0; }
.pt-suggest b { font-size: .95rem; color: var(--ink); }
.pt-suggest span { font-size: .82rem; color: var(--muted); }
.pt-suggest li.is-note { cursor: default; color: var(--muted); font-size: .9rem; }
.pt-here { min-height: 48px; border-radius: 12px; border-color: rgba(201,162,77,.45); }
.pt-here .ui-ic { color: #a8802f; }
.pt-here.is-finding .ui-ic, .dir-near.is-finding .ui-ic { animation: spin 1.4s linear infinite; }
.pt-map { position: relative; height: 340px; border-radius: 16px; overflow: hidden; background: #f1ede4; border: 1.5px solid rgba(201,162,77,.25); z-index: 0; }
.pt-map.is-invalid { border-color: var(--error); box-shadow: 0 0 0 4px rgba(163,51,63,.12); }
@media (min-width: 900px) { .pt-map { height: 400px; } }
.pt-map-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--muted); font-size: .92rem; }
.pt-geo-status { min-height: 1.4em; margin: -6px 0 0; font-size: .86rem; color: var(--success); }
.pt-geo-status:empty { display: none; }
.pt-geo-status.is-bad { color: var(--error); }

/* Gold map pin */
.rm-pin { background: none; border: 0; }
.rm-pin svg { width: 32px; height: 42px; filter: drop-shadow(0 6px 6px rgba(41,32,10,.28)); transition: transform .2s; transform-origin: 50% 100%; }
.rm-pin:hover svg { transform: scale(1.12); }
.rm-pin.is-drop svg { animation: pinDrop .5s cubic-bezier(.3,1.5,.5,1); }
@keyframes pinDrop { from { transform: translateY(-24px) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.leaflet-container { font: 400 .9rem/1.4 var(--sans); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content a { color: var(--accent); font-weight: 600; }

/* Price */
.pt-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: #f6f1e4; justify-self: start; }
.pt-seg label { position: relative; cursor: pointer; }
.pt-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pt-seg span { display: block; padding: 8px 14px; border-radius: 10px; font-size: .9rem; color: var(--text); transition: background-color .2s, box-shadow .2s, color .2s; }
.pt-seg input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 4px 12px rgba(41,32,10,.1); }
.pt-seg input:focus-visible + span { outline: 2px solid var(--accent); }
.pt-peso { position: relative; max-width: 280px; }
.pt-peso span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.pt-peso input { padding-left: 32px; }

/* Photos */
.pt-photos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.pt-photos li { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f1ede4; animation: ptUp .4s ease forwards; }
.pt-photos img { width: 100%; height: 100%; object-fit: cover; }
.pt-photos .pt-chip { left: 6px; top: 6px; font-size: .7rem; }
.pt-photo-actions { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 6px; }
.pt-icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.12); transition: transform .2s; }
.pt-icon-btn:hover { transform: scale(1.08); color: var(--error); }
.pt-icon-btn .icon { width: 16px; height: 16px; }
.pt-new:empty { display: none; }
.pt-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px 16px; text-align: center; border-radius: 16px; border: 1.5px dashed rgba(201,162,77,.55); background: rgba(255,250,240,.7); cursor: pointer; transition: background-color .2s, border-color .2s; }
.pt-drop:hover, .pt-drop.is-over { background: #fff6dd; border-color: #c9a24d; }
.pt-drop .ui-ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #fbf3df; }
.pt-drop:hover .ui-ic { animation: icFloat 1.6s ease-in-out infinite; }
.pt-drop b { color: var(--ink); }
.pt-drop small { color: var(--muted); font-size: .82rem; }
.pt-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pt-drop.is-busy { opacity: .6; pointer-events: none; }
.pt-drop.is-full { display: none; }

/* Switch */
.pt-switch { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.78); border: 1px solid #fff; box-shadow: inset 0 0 0 1px rgba(201,162,77,.14); cursor: pointer; position: relative; }
.pt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-switch-ui { flex: none; position: relative; width: 46px; height: 26px; border-radius: 999px; background: #d9d4ca; transition: background-color .2s; }
.pt-switch-ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.pt-switch input:checked + .pt-switch-ui { background: linear-gradient(135deg, #dcb95f, #b98c3f); }
.pt-switch input:checked + .pt-switch-ui::after { transform: translateX(20px); }
.pt-switch input:focus-visible + .pt-switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.pt-switch b { display: block; color: var(--ink); }
.pt-switch small { color: var(--muted); font-size: .85rem; }

/* ---------- Status ---------- */
.pt-status-wrap { padding-top: 48px; }
.pt-status { padding: 30px 26px; text-align: left; }
.pt-status-ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 14px; background: #fbf3df; }
.pt-status-ic .ui-ic { width: 30px; height: 30px; }
.pt-status-ic.is-pending .ui-ic { animation: icFloat 2.6s ease-in-out infinite; }
.pt-status-ic.is-off { background: var(--error-bg); }
.pt-status-ic.is-off .ui-ic { color: var(--error); }
.pt-status .alert { margin: 0 0 14px; }
.pt-summary { margin: 22px 0 0; }

/* ---------- Partner dashboard ---------- */
.pt-dash-head { padding: 32px 0 0; }
.pt-biz { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; padding: 20px; }
.pt-biz-logo { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: #fbf3df; flex: none; }
.pt-biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.pt-biz-logo .ui-ic { width: 38px; height: 38px; }
.pt-biz-text .pt-kicker { margin-bottom: 4px; }
.pt-biz-text p.muted { display: flex; align-items: center; gap: 6px; margin: 0; }
.pt-biz-name { font: 600 clamp(1.5rem, 4vw, 2rem)/1.15 var(--serif); margin: 0 0 4px; }
.pt-biz-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 820px) { .pt-biz { grid-template-columns: auto 1fr auto; padding: 22px 26px; } .pt-biz-actions { grid-column: auto; } }
.pt-listings { padding-top: 40px; }
.pt-listings .section-title small { font: 400 1rem var(--sans); }

.pt-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.pt-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .25s, box-shadow .25s; }
.pt-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(185,140,63,.16), inset 0 0 0 1px rgba(201,162,77,.3); }
.pt-card.is-hidden { opacity: .7; }
.pt-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.pt-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #f1ede4; overflow: hidden; }
.pt-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pt-card:hover .pt-card-media img { transform: scale(1.05); }
.pt-card-noimg { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #fffaf0, #f3e8cc); }
.pt-card-noimg .ui-ic { width: 54px; height: 54px; opacity: .8; }
.pt-chip { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font: 600 .74rem/1 var(--sans);
  color: var(--accent-dark); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 10px rgba(41,32,10,.1); }
.pt-chip.is-inline { position: static; background: #fbf3df; box-shadow: none; }
.pt-chip .icon { width: 14px; height: 14px; }
.pt-card-body { display: grid; gap: 4px; padding: 14px 16px 16px; align-content: start; }
.pt-card-body h3 { font: 600 1.05rem/1.3 var(--serif); margin: 0; }
.pt-card-body p { margin: 0; }
.pt-price { font-weight: 600; color: var(--accent-dark); margin: 0; }
.pt-card-biz, .pt-card-place { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); }
.pt-card-biz { color: var(--ink); font-weight: 500; margin-top: 4px; }
.pt-card-place b { color: var(--success); font-weight: 600; }
.pt-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pt-card-actions form { margin: 0; }
.pt-card-body .small { display: flex; align-items: center; gap: 4px; }
.pt-danger:hover { color: var(--error); border-color: var(--error); }
.pt-empty { display: grid; justify-items: center; gap: 6px; padding: 40px 24px; text-align: center; }
.pt-empty .ui-ic { width: 52px; height: 52px; padding: 11px; border-radius: 16px; background: #fbf3df; animation: icFloat 3s ease-in-out infinite; }
.pt-empty h3 { margin: 6px 0 0; font: 600 1.2rem/1.3 var(--serif); }
.pt-empty p { max-width: 34em; margin: 0 0 10px; }

/* ---------- Directory ---------- */
.dir-hero { padding: 44px 0 8px; }
.dir-filters { display: grid; gap: 10px; margin-top: 24px; padding: 12px; border-radius: 18px; position: relative; z-index: 2; }
@media (min-width: 860px) { .dir-filters { grid-template-columns: 1fr 260px auto auto; align-items: center; } }
.dir-search { position: relative; }
.dir-search input, .dir-select select { width: 100%; min-height: 48px; padding: 12px 14px 12px 42px; border: 1.5px solid rgba(201,162,77,.25); border-radius: 12px; background: rgba(255,255,255,.95);
  font: 400 1rem/1.4 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.dir-search input:focus, .dir-select select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(214,177,90,.18); }
.dir-select { position: relative; display: block; }
.dir-select .ui-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; }
.dir-select select { padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8802f' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.dir-near { min-height: 48px; border-radius: 12px; border-color: rgba(201,162,77,.45); }
.dir-near.is-on { background: #fffaf0; border-color: #c9a24d; color: var(--accent-dark); font-weight: 600; }
.dir-filters .btn-primary { min-height: 48px; border-radius: 12px; }
.dir-hero .pt-geo-status { margin: 8px 0 0; }
.dir-cats { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.dir-cats::-webkit-scrollbar { display: none; }
.dir-cats a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid rgba(201,162,77,.3);
  color: var(--ink); text-decoration: none; font-size: .9rem; white-space: nowrap; transition: transform .2s, border-color .2s, box-shadow .2s; }
.dir-cats a:hover { transform: translateY(-1px); border-color: #c9a24d; }
.dir-cats a[aria-current="page"] { background: var(--gold); border-color: transparent; color: var(--on-gold); font-weight: 600; box-shadow: 0 8px 18px rgba(185,140,63,.25); }
.dir-cats a[aria-current="page"] .ui-ic { color: var(--on-gold); }
.dir-body { padding-top: 24px; }
.dir-map { position: relative; height: 340px; border-radius: 20px; overflow: hidden; margin-bottom: 36px; padding: 0; z-index: 0; background: #f1ede4; }
@media (min-width: 900px) { .dir-map { height: 420px; } }
.dir-map .leaflet-container { height: 100%; border-radius: 20px; }
.dir-head { margin-bottom: 20px; }
.dir-pages { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }

/* ---------- Partner page ---------- */
.pt-preview-note { margin-top: 16px; }
.pp-hero { padding: 36px 0 8px; }
.pp-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .pp-grid { grid-template-columns: 1.1fr .9fr; align-items: stretch; } }
.pp-info { padding: 24px 22px; }
.pp-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.pp-top .pt-kicker { margin-bottom: 4px; }
.pp-name { font: 600 clamp(1.7rem, 4.6vw, 2.4rem)/1.15 var(--serif); margin: 0; }
.pp-address { display: flex; gap: 8px; align-items: flex-start; color: var(--text); }
.pp-address .ui-ic { margin-top: 3px; }
.pp-about { color: var(--muted); }
.pp-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pp-contact .btn { border-radius: 12px; }
.pp-map { position: relative; min-height: 280px; padding: 0; overflow: hidden; z-index: 0; background: #f1ede4; }
.pp-map .leaflet-container { position: absolute; inset: 0; }
.pp-listings { padding-top: 40px; }
.pp-list { display: grid; gap: 18px; }
.pp-item { display: grid; overflow: hidden; padding: 0; scroll-margin-top: calc(var(--header-h) + 20px); transition: box-shadow .4s; }
.pp-item.is-target { box-shadow: 0 0 0 3px #dcb95f, 0 22px 44px rgba(185,140,63,.2); }
@media (min-width: 820px) { .pp-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .pp-item:not(:has(.pp-photos)) { grid-template-columns: 1fr; } }
.pp-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; background: #f1ede4; }
.pp-photos.is-single { grid-auto-columns: 100%; }
.pp-photos a { scroll-snap-align: start; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pp-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pp-photos a:hover img { transform: scale(1.04); }
.pp-item-body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.pp-item-body .pt-chip { justify-self: start; }
.pp-item-body h3 { font: 600 1.3rem/1.25 var(--serif); margin: 2px 0 0; }
.pp-item-body .pt-price { font-size: 1.15rem; }
.pp-desc { color: var(--muted); margin: 0; }
.pp-item-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pp-viewer { padding: 0; border: 0; border-radius: 16px; max-width: min(1100px, 94vw); max-height: 90vh; background: #000; overflow: hidden; }
.pp-viewer::backdrop { background: rgba(20,14,4,.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pp-viewer img { max-width: min(1100px, 94vw); max-height: 90vh; object-fit: contain; animation: viewer-in .25s ease; }
.pp-viewer-close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255,255,255,.9); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .pt-photos li { animation: none; opacity: 1; transform: none; }
  .pt-mini-pin, .pt-mini-you, .rm-pin svg, .pt-empty .ui-ic, .pt-choice .ui-ic, .ui-ic { animation: none !important; }
}
.pt-card-place, .pt-card-body .small { display: block; }
.pt-card-place .ui-ic, .pt-card-body .small .ui-ic { display: inline-block; margin-right: 4px; }
.pt-form .pt-peso input { padding-left: 32px; }

/* ---------- Partner login, portal and businesses (own partner accounts) ---------- */
.badge-pill.is-bad { color: var(--error); border-color: #ecc9cd; background: var(--error-bg); }
.pt-auth-kicker { justify-content: center; margin: 4px 0 2px; }
.pt-portal-bar { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); }
.pt-portal-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.pt-portal-bar .pt-kicker { margin: 0; flex-wrap: wrap; }
.pt-portal-note { margin: -6px 0 18px; }
.pt-add-card { border: 1.5px dashed #dcc78f; border-radius: 18px; background: rgba(255, 250, 238, .6); transition: background .25s, transform .25s; }
.pt-add-card:hover { background: #fff8e6; transform: translateY(-2px); }
.pt-add-card a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; height: 100%; min-height: 220px; padding: 24px; color: var(--ink); text-decoration: none; }
.pt-add-card .ui-ic { width: 42px; height: 42px; }
.pt-add-card small { color: var(--muted); max-width: 30ch; }
.pt-docs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.pt-docs li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pt-docs li > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pt-docs li .pt-icon-btn { position: static; }
.pt-docs-box { margin-top: 28px; padding: 16px 20px; }
.pt-docs-box summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.pt-docs-box[open] summary { margin-bottom: 14px; }
.pt-doc-add { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pt-doc-add select, .pt-doc-add input[type=file] { flex: 1 1 200px; min-width: 0; }
.pt-biz-note { margin-top: 14px; }
.pt-dash-head .pt-back { margin-bottom: 10px; }
.pt-biz-photos .pt-form { margin-top: 14px; }
.pt-delete-biz { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.pp-gallery-wrap { padding-top: 0; padding-bottom: 0; }
.pp-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 32%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; border-radius: 18px; }
.pp-gallery.is-single { grid-auto-columns: 100%; }
.pp-gallery a { scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: #f1ede4; }
.pp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pp-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .pp-gallery { grid-auto-columns: 82%; } }

/* Directory: partner business cards with their photos */
.dir-biz { list-style: none; margin: 0 0 34px; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 24%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.dir-biz li { scroll-snap-align: start; border-radius: 18px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.dir-biz li:hover { transform: translateY(-3px); }
.dir-biz a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.dir-biz-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #f1ede4; overflow: hidden; }
.dir-biz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dir-biz a:hover .dir-biz-media img { transform: scale(1.05); }
.dir-biz-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.dir-biz-body > b { font: 600 1.05rem/1.3 var(--serif); color: var(--ink); }
.dir-biz-body small { color: var(--muted); }
@media (max-width: 640px) { .dir-biz { grid-auto-columns: 72%; } }
.dir-pop-img { display: block; width: 200px; height: 130px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.dir-near-place { display: flex; align-items: center; gap: 6px; }
.dir-near-place .icon { width: 16px; height: 16px; flex: 0 0 auto; }

/* Directory: business quick view */
.pq { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: rgba(255, 255, 255, .97); box-shadow: 0 30px 80px rgba(40, 28, 6, .28); overflow: auto; color: var(--text); }
.pq::backdrop { background: rgba(30, 22, 8, .45); backdrop-filter: blur(6px); }
.pq[open] { animation: pqIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes pqIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.pq-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.pq-gallery { position: relative; background: linear-gradient(135deg, #fffaf0, #f3e8cc); }
.pq-main { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.pq-main.is-in { opacity: 1; }
.pq-noimg { display: grid; place-items: center; aspect-ratio: 16 / 7; }
.pq-noimg .ui-ic { width: 60px; height: 60px; opacity: .7; }
.pq-thumbs { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pq-thumb { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 2px solid rgba(255, 255, 255, .8); border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .75; transition: opacity .2s, transform .2s, border-color .2s; background: #fff; }
.pq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pq-thumb.is-on, .pq-thumb:hover { opacity: 1; transform: translateY(-2px); border-color: #dcb95f; }
.pq-body { padding: 22px 26px 26px; display: grid; gap: 12px; }
.pq-head { display: flex; gap: 14px; align-items: center; }
.pq-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); flex: 0 0 auto; }
.pq-head .pt-kicker { margin: 0 0 2px; }
.pq-name { margin: 0; font: 600 clamp(1.4rem, 3vw, 1.9rem)/1.2 var(--serif); color: var(--ink); }
.pq-badges { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pq-badges .badge-pill { gap: 4px; }
.pq-badges .icon { width: 1em; height: 1em; }
.pq-line { margin: 0; display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.pq-line .ui-ic { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.pq-about { margin: 0; white-space: pre-line; line-height: 1.6; }
.pq-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pq-listings h3 { margin: 6px 0 10px; font: 600 1.1rem/1.3 var(--serif); color: var(--ink); }
.pq-listings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pq-listings a { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.pq-listings a:hover { border-color: #dcc78f; background: #fffaf0; }
.pq-listings img { width: 56px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.pq-listings span { display: flex; flex-direction: column; min-width: 0; }
.pq-listings b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pq-listings small { color: var(--muted); }
.pq-loading { display: none; margin: 0; padding: 60px 20px; text-align: center; color: var(--muted); }
.pq.is-loading .pq-loading { display: block; }
.pq.is-loading .pq-gallery, .pq.is-loading .pq-body { display: none; }
.pq [hidden] { display: none !important; }
@media (max-width: 560px) { .pq { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; inset: auto 0 0 0; border-radius: 22px 22px 0 0; } .pq-body { padding: 18px 18px 22px; } }

/* Business page: photo and product showcase on the right; the map opens from the Map button */
.pp-showcase { padding: 12px; display: grid; gap: 10px; align-content: start; }
.pp-show-main { position: relative; border-radius: 16px; overflow: hidden; background: #f1ede4; }
.pp-show-main a { display: block; aspect-ratio: 4 / 3; }
.pp-show-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease, transform .6s ease; }
.pp-show-main a:hover img { transform: scale(1.03); }
.pp-show-main img.is-swap { opacity: 0; }
.pp-show-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 14, 4, .6); color: #fff; font-size: .8rem; backdrop-filter: blur(4px); }
.pp-show-count .icon { width: 14px; height: 14px; }
.pp-show-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.pp-show-thumb { flex: 0 0 auto; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #f1ede4; opacity: .7; transition: opacity .2s, border-color .2s, transform .2s; }
.pp-show-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-show-thumb.is-on, .pp-show-thumb:hover { opacity: 1; border-color: #dcb95f; transform: translateY(-1px); }
.pp-show-empty { display: grid; place-items: center; gap: 8px; aspect-ratio: 4 / 3; border-radius: 16px; background: linear-gradient(135deg, #fffaf0, #f3e8cc); color: var(--muted); }
.pp-show-empty .ui-ic { width: 56px; height: 56px; opacity: .75; }
.pp-show-sale { padding: 6px 4px 2px; }
.pp-show-sale .pt-kicker { margin: 0 0 8px; }
.pp-show-sale ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.pp-show-sale li a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .2s; }
.pp-show-sale li a:hover { background: #fff8e6; }
.pp-show-sale img, .pp-sale-ic { width: 64px; height: 48px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; }
.pp-sale-ic { display: grid; place-items: center; background: linear-gradient(135deg, #fffaf0, #f3e8cc); }
.pp-show-sale li span { display: flex; flex-direction: column; min-width: 0; }
.pp-show-sale b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-show-sale small { color: var(--accent); font-weight: 600; }
.pp-mapdlg { width: min(900px, calc(100% - 24px)); max-width: none; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(40, 28, 6, .3); }
.pp-mapdlg::backdrop { background: rgba(30, 22, 8, .45); backdrop-filter: blur(6px); }
.pp-mapdlg[open] { animation: pqIn .35s cubic-bezier(.2, .8, .2, 1); }
.pp-mapdlg .pp-map { height: min(60vh, 520px); min-height: 0; }
.pp-mapdlg .pp-viewer-close { z-index: 1000; }
.pp-mapdlg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.pp-mapdlg-bar > span { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); }
.pp-mapdlg-bar .ui-ic { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }

/* ---------- Directory, property-portal style ---------- */
.page-directory .dir-hero { position: relative; padding: 0; min-height: 440px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.dir-hero-bg { position: absolute; inset: 0; z-index: -1; background: #3a2508 url("../img/dir-hero.jpg") center 60% / cover no-repeat; background-image: image-set(url("../img/dir-hero.webp") type("image/webp"), url("../img/dir-hero.jpg") type("image/jpeg")); transform: scale(1.04); animation: dirHeroIn 1.4s ease-out both; }
.dir-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 20, 6, .15), rgba(30, 20, 6, .35)); }
@keyframes dirHeroIn { from { transform: scale(1.1); opacity: .6; } to { transform: scale(1.04); opacity: 1; } }
.dir-panel { max-width: 1000px; margin: 48px auto; padding: 30px 32px 22px; border-radius: 22px; background: rgba(34, 26, 14, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 30px 60px rgba(20, 12, 2, .3); }
.dir-title { margin: 0; font: 600 clamp(1.6rem, 3.6vw, 2.4rem)/1.15 var(--serif); color: #fff; }
.dir-sub { margin: 6px 0 18px; color: rgba(255, 255, 255, .8); }
.dir-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255, 255, 255, .25); margin-bottom: 18px; }
.dir-tabs::-webkit-scrollbar { display: none; }
.dir-tabs a { flex: none; padding: 10px 14px 12px; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.dir-tabs a:hover { color: #fff; }
.dir-tabs a[aria-current="page"] { color: #fff; font-weight: 600; border-bottom-color: #dcb95f; }
:is(.page-directory, .home-find) .dir-filters { display: grid; gap: 10px; margin: 0; padding: 0; background: none; box-shadow: none; border: 0; }
@media (min-width: 1000px) { :is(.page-directory, .home-find) .dir-filters { grid-template-columns: 260px 1fr; } }
:is(.page-directory, .home-find) .dir-select select { min-height: 52px; padding: 12px 36px 12px 14px; border: 0; border-radius: 10px; background-color: #fff; font-weight: 500; }
:is(.page-directory, .home-find) .dir-search { display: flex; min-height: 52px; border-radius: 10px; overflow: hidden; background: #fff; }
:is(.page-directory, .home-find) .dir-search input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 14px; border: 0; border-radius: 0; background: #fff; }
:is(.page-directory, .home-find) .dir-search input:focus { box-shadow: inset 0 0 0 2px #dcb95f; }
.dir-near { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: #fff; color: var(--accent-dark); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.dir-near:hover, .dir-near.is-on { background: #fff8e6; }
.dir-near .ui-ic { width: 18px; height: 18px; }
.dir-go { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; border: 0; background: var(--gold); color: var(--on-gold); font: inherit; font-weight: 600; cursor: pointer; transition: filter .2s; }
.dir-go:hover { filter: brightness(1.05); }
.dir-panel .pt-geo-status { margin: 10px 0 0; color: #ffe9b0; min-height: 0; }
.dir-panel .pt-geo-status:empty { display: none; }
@media (max-width: 560px) {
  .page-directory .dir-hero { min-height: 0; }
  .dir-panel { margin: 20px 0; padding: 22px 16px 16px; border-radius: 18px; }
  .dir-near span, .dir-go span { display: none; }
  .dir-go { padding: 0 16px; }
}
.page-directory .dir-body { padding-top: 40px; }
.dir-row-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.dir-h2 { margin: 0; font: 600 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--serif); color: var(--ink); }
.dir-arrows { display: flex; gap: 8px; }
.dir-arrows button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, opacity .2s; }
.dir-arrows button:hover { background: #fff8e6; }
.dir-arrows button:disabled { opacity: .35; cursor: default; }
.dir-row { list-style: none; margin: 0 0 44px; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dir-row::-webkit-scrollbar { display: none; }
@media (max-width: 1000px) { .dir-row { grid-auto-columns: calc((100% - 20px) / 2.2); } }
@media (max-width: 560px) { .dir-row { grid-auto-columns: 78%; gap: 14px; } }
.dir-grid2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dir-card { scroll-snap-align: start; }
.dir-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.dir-card-media { position: relative; display: block; aspect-ratio: 7 / 6; border-radius: 14px; overflow: hidden; background: #f1ede4; box-shadow: 0 10px 24px rgba(60, 40, 10, .08); }
.dir-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.dir-card > a:hover .dir-card-media img { transform: scale(1.06); }
.dir-flag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--accent-dark); font-size: .74rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.dir-flag .icon { width: 13px; height: 13px; }
.dir-card-body { display: flex; flex-direction: column; gap: 5px; padding: 14px 4px 0; }
.dir-price { font: 700 1.3rem/1.2 var(--sans); color: var(--accent); }
.dir-card-title { font: 600 1.05rem/1.4 var(--sans); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-card > a:hover .dir-card-title { color: var(--accent-dark); text-decoration: underline; text-decoration-color: #dcb95f; text-underline-offset: 3px; }
.dir-card-type { color: var(--muted); font-size: .9rem; }
.dir-card-loc { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.dir-card-loc .ui-ic { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 auto; }
.dir-card-loc > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-card-loc b { color: var(--success); }
.dir-card-by { color: var(--muted); font-size: .86rem; }
.dir-map-head { margin-top: 48px; }
.page-directory .dir-hero > .container { min-width: 0; width: 100%; }
.dir-panel, .dir-tabs, :is(.page-directory, .home-find) .dir-filters, :is(.page-directory, .home-find) .dir-filters > * { min-width: 0; }

/* Directory: category combo box + city suggestions under the search bar */
.dir-searchwrap { position: relative; min-width: 0; }
.dir-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: rgba(255,255,255,.98); border-radius: 12px; box-shadow: 0 18px 40px rgba(20,14,4,.28); max-height: 320px; overflow-y: auto; }
.dir-suggest[hidden] { display: none; }
.dir-suggest li { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; border-radius: 8px; cursor: pointer; color: #2b2418; }
.dir-suggest li b { font-weight: 600; }
.dir-suggest li span { font-size: .85rem; color: #8a7a5c; }
.dir-suggest li:hover, .dir-suggest li.is-active { background: rgba(214,177,90,.16); }
.dir-panel { overflow: visible; }
.page-directory .dir-hero { overflow: visible; overflow-x: clip; position: relative; z-index: 3; }

/* Business page, portal style: breadcrumb, big photo with arrows, sticky contact card */
.ppx { padding-top: 28px; padding-bottom: 8px; }
.ppx-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.ppx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; font-size: 1.02rem; min-width: 0; }
.ppx-crumbs a { color: #9a7425; text-decoration: none; }
.ppx-crumbs a:hover { text-decoration: underline; }
.ppx-crumbs .icon { width: 14px; height: 14px; color: #b9a27a; }
.ppx-tools { display: flex; gap: 6px; }
.ppx-tool { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; color: #9a7425; font: inherit; font-weight: 600; cursor: pointer; }
.ppx-tool:hover { background: rgba(214,177,90,.14); }
.ppx-tool .icon { width: 22px; height: 22px; }
.ppx-tool[aria-pressed="true"] .icon { fill: #d9534f; color: #d9534f; }
.ppx-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .ppx-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; } }
.ppx-main { min-width: 0; }
.ppx-gal { position: relative; border-radius: 20px; overflow: hidden; background: #f1ede4; box-shadow: 0 18px 40px rgba(60,40,10,.12); }
.ppx-gal .pp-show-main { border-radius: 0; }
.ppx-gal .pp-show-main a, .ppx-gal .pp-show-empty { aspect-ratio: 3 / 2; border-radius: 0; }
.ppx-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.ppx-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: #6b5320; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.ppx-badges .icon { width: 14px; height: 14px; color: #b38a2e; }
.ppx-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 64px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(30,22,8,.45); color: #fff; cursor: pointer; transition: background .2s; }
.ppx-arrow:hover { background: rgba(30,22,8,.7); }
.ppx-arrow .icon { width: 24px; height: 24px; }
.ppx-arrow.is-prev { left: 14px; } .ppx-arrow.is-next { right: 14px; }
.ppx-count { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(30,22,8,.6); color: #fff; font-size: .82rem; font-weight: 600; }
.ppx-thumbs { margin-top: 10px; }
.ppx-head { margin-top: 22px; }
.ppx-head .pt-kicker { margin: 0 0 4px; }
.ppx-head .pp-name { margin: 0 0 8px; }
.ppx-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ppx-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(201,162,77,.25); }
.ppx-h2 { margin: 0 0 10px; font-family: var(--font-serif, Georgia, serif); font-size: 1.35rem; }
.ppx-side { min-width: 0; }
@media (min-width: 960px) { .ppx-side { position: sticky; top: 88px; } }
.ppx-card { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(201,162,77,.22); box-shadow: 0 18px 40px rgba(60,40,10,.10); }
.ppx-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ppx-card-head .pt-biz-logo { width: 64px; height: 64px; border-radius: 14px; }
.ppx-verified { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #e9c76f, #b38a2e); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ppx-verified .icon { width: 13px; height: 13px; }
.ppx-card-name { display: block; margin-top: 6px; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.ppx-phone { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1.5px solid rgba(201,162,77,.3); border-radius: 12px; margin-bottom: 16px; }
.ppx-phone-num { font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; }
.ppx-phone-num a { color: inherit; text-decoration: none; }
.ppx-phone-show { border: 0; background: none; color: #9a7425; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ppx-form { display: grid; gap: 10px; }
.ppx-form input, .ppx-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid rgba(201,162,77,.25); border-radius: 12px; background: #fff; font: inherit; }
.ppx-form textarea { min-height: 90px; resize: vertical; }
.ppx-form input:focus, .ppx-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(214,177,90,.18); }
.ppx-tel { display: flex; align-items: center; border: 1.5px solid rgba(201,162,77,.25); border-radius: 12px; overflow: hidden; }
.ppx-tel:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(214,177,90,.18); }
.ppx-cc { padding: 0 6px 0 14px; font-weight: 600; white-space: nowrap; color: #6b5320; }
.ppx-form .ppx-tel input { border: 0; box-shadow: none; min-width: 0; }
.ppx-terms { margin: 2px 0; font-size: .8rem; color: var(--muted); text-align: center; }
.ppx-send { width: 100%; min-height: 52px; justify-content: center; }
.ppx-or { margin: 18px 0 10px; text-align: center; color: var(--muted); font-size: .9rem; }
.ppx-via { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.ppx-via a { display: grid; justify-items: center; gap: 4px; min-width: 64px; padding: 10px 8px; border-radius: 12px; color: #6b5320; font-size: .78rem; font-weight: 600; text-decoration: none; transition: background .2s; }
.ppx-via a:hover { background: rgba(214,177,90,.14); }
.ppx-via .icon { width: 22px; height: 22px; color: #b38a2e; }
.ppx-fine { margin-top: 12px; text-align: center; }
@media (max-width: 600px) {
  .ppx { padding-top: 18px; }
  .ppx-arrow { width: 38px; height: 50px; }
  .ppx-gal { border-radius: 16px; }
}

/* Phone with country code (flag + code, list of countries) */
.ppx-cc { position: relative; display: flex; align-items: center; align-self: stretch; padding: 0; }
.ppx-cc select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.ppx-cc-face { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 14px; font-weight: 600; color: #2b2418; white-space: nowrap; pointer-events: none; }
.ppx-cc-face::after { content: ""; border: 5px solid transparent; border-top-color: #6b5320; margin: 5px 0 0 4px; }
.ppx-cc:focus-within .ppx-cc-face { color: #9a7425; }
.ppx-count { display: inline-flex; align-items: center; gap: 6px; }
.ppx-count .icon { width: 16px; height: 16px; }
.ppx-empty { aspect-ratio: 3 / 1 !important; min-height: 180px; }

/* Full-screen photo gallery */
.ppg { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0b; color: #fff; overflow: hidden; }
.ppg[open] { display: grid; grid-template-rows: 1fr auto; }
.ppg::backdrop { background: #0b0b0b; }
.ppg-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 56px 72px 12px; }
.ppg-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .2s ease; user-select: none; }
.ppg-stage img.is-swap { opacity: .25; }
.ppg-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; }
.ppg-arrow:hover { background: rgba(255,255,255,.14); }
.ppg-arrow .icon { width: 26px; height: 26px; }
.ppg-arrow.is-prev { left: 12px; } .ppg-arrow.is-next { right: 12px; }
.ppg-num { position: absolute; left: 16px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(0,0,0,.6); font-weight: 700; }
.ppg-num .icon { width: 18px; height: 18px; }
.ppg-close { position: absolute; right: 14px; top: 10px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.ppg-close:hover { background: rgba(255,255,255,.22); }
.ppg-strip { display: flex; gap: 10px; overflow-x: auto; padding: 14px 16px 18px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.ppg-strip button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.ppg-strip button:hover { opacity: .85; }
.ppg-strip button.is-on { opacity: 1; border-color: #dcb95f; }
.ppg-strip img { display: block; width: 150px; height: 100px; object-fit: cover; border-radius: 4px; }
.ppg.is-single .ppg-arrow, .ppg.is-single .ppg-strip { display: none; }
@media (max-width: 600px) {
  .ppg-stage { padding: 56px 8px 8px; }
  .ppg-arrow { width: 42px; height: 42px; background: rgba(0,0,0,.45); }
  .ppg-strip img { width: 96px; height: 68px; }
}
.ppg { height: 100dvh; }
.ppg-stage { overflow: hidden; }
.ppg-stage img { max-width: calc(100vw - 150px); max-height: calc(100dvh - 210px); }
@media (max-width: 600px) { .ppg-stage img { max-width: calc(100vw - 16px); max-height: calc(100dvh - 170px); } }

/* "Show distance from me" in a city / province search */
.dir-km-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid rgba(201,162,77,.35); border-radius: 999px; background: #fff; color: #9a7425; font: inherit; font-weight: 600; cursor: pointer; }
.dir-km-btn:hover { background: #fff8e6; }
.dir-km-btn .ui-ic { width: 18px; height: 18px; }
.dir-km-btn[hidden] { display: none; }
.dir-km { color: #9a7425; font-weight: 600; }
.pt-empty .actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* Home page: "Find memorial services near you" search, just before "Why Remember-me.ph" */
.home-find { position: relative; isolation: isolate; overflow: visible; overflow-x: clip; padding: 24px 0; z-index: 3; }
.home-find .dir-hero-bg { border-radius: 0; }
.home-find .dir-panel { margin: 40px auto; }
.home-find .dir-title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
@media (max-width: 560px) { .home-find { padding: 4px 0; } .home-find .dir-panel { margin: 20px 0; } }

/* ---------- Yearly membership (Partner Portal, business page) ---------- */
.pt-member-wrap { padding-top: 8px; padding-bottom: 8px; }
.pt-member { padding: 22px 20px; border-radius: 22px; display: grid; gap: 18px; border: 1px solid rgba(201,162,77,.28); }
@media (min-width: 640px) { .pt-member { padding: 28px 30px; } }
.pt-member.is-unpaid, .pt-member.is-expired { background: linear-gradient(135deg, rgba(255,249,230,.92), rgba(255,255,255,.86)); box-shadow: 0 18px 40px rgba(127,90,28,.10); }
.pt-member-head { display: flex; gap: 16px; align-items: flex-start; }
.pt-member-ic .ui-ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--gold); color: var(--on-gold); animation: icFloat 3.6s ease-in-out infinite; }
.pt-member.is-live .pt-member-ic .ui-ic, .pt-member.is-renew .pt-member-ic .ui-ic { background: var(--success-bg); color: var(--success); }
.pt-member.is-waiting .pt-member-ic .ui-ic { background: #fdf7ea; color: #8a5a00; }
.pt-member-title { margin: 2px 0 4px; font: 600 1.3rem/1.3 var(--serif); color: var(--ink); }
.pt-member .muted { margin: 0; }
.pt-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .pt-perks { grid-template-columns: 1fr 1fr; } }
.pt-perks li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: .94rem; color: var(--ink); }
.pt-perks .icon { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }
.pt-pay { border-radius: 18px; background: rgba(255,255,255,.82); border: 1px solid var(--line); }
.pt-pay > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 600; color: var(--ink); }
.pt-pay > summary::-webkit-details-marker { display: none; }
.pt-pay > summary .icon { width: 20px; height: 20px; color: var(--accent); }
.pt-pay[open] > summary { border-bottom: 1px solid var(--line); }
.pt-pay > .alert, .pt-pay > .fine-print { margin: 14px 18px; }
.pt-pay-steps { list-style: none; margin: 0; padding: 16px 18px 4px; display: grid; gap: 18px; }
.pt-pay-steps > li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.pt-pay-steps b { color: var(--ink); }
.pt-pay-steps p { margin: 4px 0 0; }
.pt-gcash { display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: #eef4ff; border: 1px solid #cfdcf7; }
.pt-gcash span { font-size: .8rem; color: #2b4a8b; }
.pt-gcash b { font-size: 1.1rem; letter-spacing: .04em; color: #12306b; }
.pt-gcash .pt-icon-btn { box-shadow: none; background: #fff; }
.pt-pay-form { display: grid; gap: 12px; margin-top: 10px; max-width: 420px; }
.pt-pay-form .field { margin: 0; }
.pt-pay-history > summary { cursor: pointer; font-size: .9rem; color: var(--muted); }
.pt-pay-history ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pt-pay-history li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: .9rem; }
.pt-pay-history li > span:first-child { display: grid; gap: 2px; }
.pt-pay-note { color: var(--error); }
.pt-review-line { margin: 2px 0 6px; }

/* ---------- Statistics ---------- */
.pt-stats-head { flex-wrap: wrap; gap: 12px; }
.pt-stats-head .section-title { display: flex; align-items: center; gap: 10px; }
.pt-range { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.pt-range a { padding: 6px 12px; border-radius: 9px; font-size: .88rem; color: var(--muted); text-decoration: none; }
.pt-range a.is-on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 4px 12px rgba(41,32,10,.08); }
.pt-stat-tiles { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .pt-stat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pt-stat-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pt-stat-tiles li { padding: 16px; border-radius: 18px; display: grid; gap: 4px; }
.pt-stat-tiles .ui-ic { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--accent-tint); color: var(--accent); margin-bottom: 6px; }
.pt-stat-tiles b { font: 600 1.6rem/1.1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.pt-stat-tiles span { font-size: .84rem; color: var(--muted); }
.pt-stat-row { display: grid; gap: 12px; }
@media (min-width: 900px) { .pt-stat-row { grid-template-columns: 1.6fr 1fr; } }
.pt-chart, .pt-sources { padding: 18px 20px; border-radius: 18px; min-width: 0; }
.pt-chart-title { margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.pt-bars { display: block; width: 100%; height: 140px; }
.pt-bars rect { fill: var(--line); }
.pt-bars rect.is-on { fill: #c9a24d; }
.pt-bars rect:hover { fill: #7f5a1c; }
.pt-bars-axis { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.pt-sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pt-sources li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .9rem; }
.pt-sources li b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pt-sources svg { grid-column: 1 / -1; width: 100%; height: 6px; display: block; }
.pt-sources rect { fill: var(--bg-alt); }
.pt-sources rect.is-on { fill: #c9a24d; }
.pt-member > *, .pt-member-head > div, .pt-pay-steps > li > div { min-width: 0; }
.pt-pay-steps > li { grid-template-columns: 40px minmax(0, 1fr); }
.pt-gcash { flex-wrap: wrap; max-width: 100%; }
.pt-pay-form input[type=file] { max-width: 100%; }
@media (max-width: 480px) { .pt-member-head { flex-direction: column; gap: 10px; } .pt-pay-steps > li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; } .pt-pay-steps .pt-num { width: 32px; height: 32px; } }
.pt-pay-form { grid-template-columns: minmax(0, 1fr); } .pt-pay-form .field, .pt-pay-form input { min-width: 0; max-width: 100%; }
.pt-plans { display: grid; gap: 10px; padding: 16px 18px 0; }
@media (min-width: 720px) { .pt-plans { grid-template-columns: 1fr 1fr; } }
.pt-plan { position: relative; cursor: pointer; }
.pt-plan input { position: absolute; opacity: 0; pointer-events: none; }
.pt-plan > span { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pt-plan b { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.pt-plan b .icon { width: 18px; height: 18px; color: var(--accent); }
.pt-plan em { font: 600 1.35rem/1.2 var(--sans); font-style: normal; color: var(--ink); }
.pt-plan em small { font-size: .8rem; font-weight: 400; color: var(--muted); }
.pt-plan > span > small { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.pt-plan input:checked + span { border-color: #c9a24d; box-shadow: 0 10px 26px rgba(127,90,28,.14); transform: translateY(-1px); }
.pt-plan input:focus-visible + span { outline: 2px solid #c9a24d; outline-offset: 2px; }
.pt-plan.is-featured > span { background: linear-gradient(135deg, #fffaf0, #fff); }
.pt-pay-online { padding: 16px 18px 0; display: grid; gap: 6px; justify-items: start; }
.pt-or { display: flex; align-items: center; gap: 10px; margin: 16px 18px 0; font-size: .82rem; color: var(--muted); }
.pt-or::before, .pt-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pt-pay .pt-pay-form { max-width: none; margin: 0; }
.pt-featured-note { margin: 0; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-dark); font-size: .92rem; }
.pt-featured-note .icon { width: 18px; height: 18px; }
.pt-pay-steps .field { max-width: 420px; margin: 10px 0 0; }
.dir-flag.is-featured { background: var(--gold); color: var(--on-gold); }
.pt-places { margin-top: 12px; padding: 18px 20px; border-radius: 18px; }
.pt-places .pt-chart-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pt-places .pt-chart-title .icon { width: 18px; height: 18px; color: var(--accent); }
.pt-places ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 28px; }
@media (min-width: 720px) { .pt-places ol { grid-template-columns: 1fr 1fr; } }
.pt-places li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .9rem; }
.pt-places li b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pt-places svg { grid-column: 1 / -1; width: 100%; height: 6px; display: block; }
.pt-places rect { fill: var(--bg-alt); }
.pt-places rect.is-on { fill: #c9a24d; }

/* Payment status on the membership box: what was sent and where it is. */
.pt-paystatus { margin: 16px 0 4px; padding: 16px 18px; border: 1px solid #ecd9a6; border-radius: 16px; background: rgba(255, 251, 238, .85); min-width: 0; }
.pt-paystatus.is-bad { border-color: #ecc9cd; background: rgba(253, 240, 241, .85); }
.pt-paystatus-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: var(--ink); }
.pt-paystatus-head b { display: inline-flex; align-items: center; gap: 6px; }
.pt-paystatus-head .icon { width: 18px; height: 18px; }
.pt-paystatus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 16px; margin: 0 0 14px; }
.pt-paystatus-grid > div { min-width: 0; }
.pt-paystatus-grid dt { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pt-paystatus-grid dd { margin: 2px 0 0; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; display: flex; align-items: center; gap: 4px; }
.pt-paystatus-grid dd .icon { width: 15px; height: 15px; }
.pt-paystatus code { font-size: .92em; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.pt-track { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: none; }
.pt-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .8rem; color: var(--muted); min-width: 0; }
.pt-track li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--line); }
.pt-track li:first-child::before { display: none; }
.pt-track li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; position: relative; z-index: 1; }
.pt-track li span .icon { width: 16px; height: 16px; }
.pt-track li.is-done { color: var(--ink); }
.pt-track li.is-done span { background: var(--gold); border-color: #d1aa55; color: #3d2708; }
.pt-track li.is-done + li::before { background: #d1aa55; }
.pt-track li.is-now { color: var(--accent-dark); font-weight: 600; }
.pt-track li.is-now span { border-color: #d1aa55; color: var(--accent); box-shadow: 0 0 0 4px rgba(220, 185, 95, .25); animation: pt-pulse 2s ease-in-out infinite; }
@keyframes pt-pulse { 50% { box-shadow: 0 0 0 7px rgba(220, 185, 95, .08); } }
@media (prefers-reduced-motion: reduce) { .pt-track li.is-now span { animation: none; } }
a.badge-pill { text-decoration: none; }

/* ---- Ratings and feedback (105) ---- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars .star { width: 16px; height: 16px; fill: #e3dfd6; }
.stars .star.is-on { fill: #d9ad4f; }
.stars-lg .star { width: 24px; height: 24px; }
.pp-rating-link { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink); text-decoration: none; font-size: .95rem; margin: 2px 0 10px; }
.pp-rating-link:hover b { text-decoration: underline; }
.pp-rev-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.pp-rev-summary { padding: 22px; text-align: center; border-radius: 18px; }
.pp-rev-avg { font-size: 2.6rem; font-weight: 600; line-height: 1; margin: 0 0 8px; color: var(--ink); }
.pp-rev-avg small { font-size: 1rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.pp-rev-dist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; text-align: left; }
.pp-rev-dist li { display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.pp-rev-dist li > span:first-child { display: inline-flex; align-items: center; gap: 3px; }
.pp-rev-dist .icon { width: 13px; height: 13px; color: #d9ad4f; fill: #d9ad4f; }
.pp-rev-dist li > span:last-child { text-align: right; }
.pp-rev-bar { width: 100%; height: 8px; display: block; }
.pp-rev-bar .bg { fill: #eeeae1; }
.pp-rev-bar .fg { fill: #d9ad4f; }
.pp-rev-main { display: grid; gap: 14px; min-width: 0; }
.pp-rev-form { padding: 22px; border-radius: 18px; }
.pp-rev-form h3 { font-size: 1.1rem; }
.star-pick { border: 0; padding: 0; margin: 4px 0 14px; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; width: auto; min-width: 0; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.star-pick label { cursor: pointer; padding: 2px; border-radius: 8px; line-height: 0; }
.star-pick svg { width: 34px; height: 34px; fill: #e3dfd6; transition: fill .15s, transform .15s; }
.star-pick input:checked ~ label svg,
.star-pick label:hover svg, .star-pick label:hover ~ label svg { fill: #d9ad4f; }
.star-pick:hover input:checked ~ label svg { fill: #e3dfd6; }
.star-pick:hover label:hover svg, .star-pick:hover label:hover ~ label svg { fill: #d9ad4f; }
.star-pick label:hover svg { transform: scale(1.08); }
.star-pick input:focus-visible + label { outline: 2px solid #b98c3f; outline-offset: 2px; }
.pp-rev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pp-rev-list li { padding: 16px 18px; border-radius: 16px; }
.pp-rev-list p { margin: 10px 0 0; overflow-wrap: anywhere; }
.pp-rev-head { display: flex; align-items: center; gap: 12px; }
.pp-rev-head .stars { margin-left: auto; }
.pp-rev-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--gold); color: #3a2a06; font-weight: 600; }
@media (max-width: 760px) {
  .pp-rev-grid { grid-template-columns: 1fr; }
  .pp-rev-head { flex-wrap: wrap; }
}
/* Packages (109) */
.pt-plan-size { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.pt-package { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; margin: 0 0 12px; font-size: .95rem; }
.pt-package .icon { color: #2f8a4e; flex: none; }
