/* Remember-me.ph theme layer (113): white glass and gold, modernized.
   Loaded after main.css and page styles. Design only: no markup, data or logic depends on it.
   Phone layouts that were chosen earlier (My Account slim icon bar, memorial page) are left as they are. */

:root {
  --glass: rgba(255,255,255,.74);
  --glass-strong: rgba(255,255,255,.9);
  --hair: rgba(201,162,77,.28);
  --hair-soft: rgba(201,162,77,.16);
  --lift: 0 1px 2px rgba(41,32,10,.04), 0 18px 48px rgba(41,32,10,.08);
  --lift-hover: 0 2px 6px rgba(41,32,10,.06), 0 26px 60px rgba(41,32,10,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Header: frosted white glass, thin gold hairline ---------- */
.site-header, .site-header.is-scrolled {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--hair);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 8px 28px rgba(41,32,10,.06);
}
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(220,185,95,.9) 30%, rgba(185,140,63,.9) 70%, transparent); opacity: .55; }
.site-header .brand-text { color: var(--ink); letter-spacing: -.005em; }
.site-header .brand-mark { filter: none; }
.menu-toggle { background: rgba(255,255,255,.8); border-color: var(--hair); color: var(--ink); border-radius: 12px; }
.notif-mobile { color: var(--ink); }
.scan-fab, .scan-fab:hover { background: var(--gold); color: var(--on-gold); box-shadow: 0 4px 12px rgba(127,90,28,.24); }
.site-header .btn-primary, .site-header .btn-primary:hover { background: var(--gold); color: var(--on-gold); border-radius: 12px; box-shadow: 0 4px 14px rgba(127,90,28,.26); }
.site-header .btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
@media (min-width: 900px) {
  .site-header .nav-links a, .site-header .nav-link, .site-header .nav-link.nav-button { color: #4a4436; font-weight: 500; }
  .site-header .nav-links a:hover, .site-header .nav-link:hover { color: var(--ink); }
  .site-header .nav-links a .nav-icon, .site-header .nav-link .nav-icon { color: #b98c3f; }
  .site-header .nav-links a:hover .nav-icon, .site-header .nav-link:hover .nav-icon,
  .site-header .nav-links a[aria-current="page"] .nav-icon, .site-header .nav-link[aria-current="page"] .nav-icon { color: var(--accent); }
  .site-header .nav-links a[aria-current="page"], .site-header .nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 #c9a24d; }
}
/* phone menu: a glass sheet with roomy rows */
@media (max-width: 899px) {
  .site-header .main-nav { background: #fff; border-top: 1px solid var(--hair-soft); }
  .site-header .nav-links a, .site-header .nav-link { color: var(--ink); border-bottom-color: var(--hair-soft); }
  .site-header .nav-links a[aria-current="page"], .site-header .nav-link[aria-current="page"] { color: var(--accent); font-weight: 600; }
  .site-header .nav-links a .nav-icon, .site-header .nav-link .nav-icon { color: #b98c3f; }
  .site-header .main-nav .btn-primary { border-radius: 14px; min-height: 48px; }
}

/* ---------- Buttons, fields and cards: softer, consistent ---------- */
.btn { border-radius: 12px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn-primary:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.field input, .field select, .field textarea { border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #c9a24d; box-shadow: 0 0 0 4px rgba(220,185,95,.18); outline: none; }

/* ---------- Large displays: use the room ---------- */
@media (min-width: 1500px) {
  .container { max-width: 1280px; }
  .narrow { max-width: 760px; }
  .site-header .header-inner { max-width: 1360px; }
}
@media (min-width: 1800px) {
  body { font-size: 17px; }
  .container { max-width: 1400px; }
  .narrow { max-width: 800px; }
  .site-header .header-inner { max-width: 1480px; }
}

/* ---------- Login and sign up: glass card on a soft gold light ---------- */
.page-login main, .page-signup main { position: relative; }
.page-login main::before, .page-signup main::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(30% 30% at 10% 15%, rgba(255,226,140,.32), transparent 70%),
    radial-gradient(30% 30% at 92% 85%, rgba(220,185,95,.22), transparent 70%); }

/* ---------- My Account on computers: profile card on the left, work on the right ---------- */
@media (min-width: 1180px) {
  .page-account main { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 28px; row-gap: 0;
    max-width: 1360px; margin: 0 auto; padding: 32px 28px 0; align-items: start; overflow: visible; }
  .page-account main > * { grid-column: 2; min-width: 0; }
  .page-account main > .account-hero { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding: 0; background: none !important; border: 0; }
  .page-account .account-hero-inner { display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 16px;
    max-width: none; width: auto; margin: 0; padding: 30px 24px 26px !important; }
  .page-account .account-hero-inner > .avatar-col { display: grid; justify-items: center; gap: 10px; }
  .page-account .account-hero .avatar-pick, .page-account .account-hero .avatar-hero { width: 148px; height: 148px; }
  .page-account .account-identity { width: 100%; text-align: center; }
  .page-account .account-identity h1, .page-account .account-identity .account-name { font-size: 1.6rem; line-height: 1.2; overflow-wrap: anywhere; }
  .page-account .account-identity .badges { justify-content: center; flex-wrap: wrap; gap: 6px; }
  .page-account .account-identity .badge-pill { font-size: .74rem; }
  .page-account .account-hero-inner .photo-style { justify-content: center; flex-wrap: wrap; }
  .page-account .account-body { max-width: none; padding: 0 0 80px; margin: 0; }
  .page-account .editor-nav.is-merged { position: sticky; top: calc(var(--header-h) + 12px); z-index: 20; flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none; }
  .page-account .editor-nav.is-merged::-webkit-scrollbar { display: none; }
  .page-account .editor-nav.is-merged a { flex: 0 0 auto; white-space: nowrap; }
  .page-account main::before { position: fixed; }
}
@media (min-width: 1180px) and (max-width: 1499px) {
  .page-account main { grid-template-columns: 290px minmax(0, 1fr); column-gap: 22px; padding-left: 22px; padding-right: 22px; }
  .page-account .editor-nav.is-merged { gap: 0; }
  .page-account .editor-nav.is-merged a { gap: 5px; padding: 9px 9px; font-size: .85rem; }
}
@media (min-width: 1180px) and (max-width: 1259px) {
  .page-account .editor-nav.is-merged a .ms-tab-ic { display: none; }
}
@media (min-width: 1800px) {
  .page-account main { grid-template-columns: 380px minmax(0, 1fr); max-width: 1520px; column-gap: 36px; }
}

/* ---------- Public memorial on large displays: a little more breathing room ---------- */
@media (min-width: 1500px) {
  .memorial-hero-grid { max-width: 1160px; }
}

/* ---------- Directory and home cards: gentle lift on hover ---------- */
@media (hover: hover) {
  .product-card, .partner-card, .dir-card { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .product-card:hover, .partner-card:hover, .dir-card:hover { transform: translateY(-3px); box-shadow: var(--lift-hover); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .product-card, .partner-card, .dir-card { transition: none; }
  .btn-primary:hover, .site-header .btn-primary:hover, .product-card:hover, .partner-card:hover, .dir-card:hover { transform: none; }
}

/* =====================================================================
   114: Partner With Us, partner package payment, My Account on phones
   ===================================================================== */

/* ---------- Partner With Us: hero and the example search ---------- */
@media (max-width: 640px) {
  .pt-hero { padding: 28px 0 8px; }
  .pt-hero .page-title { font-size: 1.85rem; line-height: 1.18; }
  .pt-hero .page-lead { font-size: 1rem; }
  .pt-hero .actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .pt-hero .actions .btn { width: 100%; justify-content: center; }
}
.pt-hero-card { padding: 14px; border-radius: 24px; }
.pt-preview-bar { margin-bottom: 10px; }
.pt-preview-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff;
  border: 1px solid var(--hair); color: var(--muted); font-size: .88rem; box-shadow: 0 2px 8px rgba(41,32,10,.04); }
.pt-preview-search .icon { width: 16px; height: 16px; color: #b98c3f; }
.pt-chips { display: flex; gap: 6px; margin: 0 0 10px; overflow-x: auto; scrollbar-width: none; }
.pt-chips::-webkit-scrollbar { display: none; }
.pt-chips button { flex: 0 0 auto; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--hair); background: rgba(255,255,255,.85);
  color: #5d5444; font: 500 .8rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.pt-chips button:hover { border-color: #c9a24d; color: var(--ink); }
.pt-chips button:active { transform: scale(.96); }
.pt-chips button.is-on { background: var(--ink); border-color: var(--ink); color: #ffe9a8; }
.pt-mini-map { height: 160px; }
.pt-mini-pin, .pt-mini-list li { transition: opacity .3s var(--ease), transform .3s var(--ease), filter .3s; }
.pt-hero-card:not([data-show="all"]) .pt-mini-pin { opacity: .25; filter: grayscale(1); }
.pt-hero-card[data-show="lapida"] .pt-mini-pin[data-cat="lapida"],
.pt-hero-card[data-show="flowers"] .pt-mini-pin[data-cat="flowers"],
.pt-hero-card[data-show="lot"] .pt-mini-pin[data-cat="lot"] { opacity: 1; filter: none; transform: scale(1.25); }
.pt-hero-card:not([data-show="all"]) .pt-mini-list li { opacity: .38; transform: scale(.97); }
.pt-hero-card[data-show="lapida"] .pt-mini-list li[data-cat="lapida"],
.pt-hero-card[data-show="flowers"] .pt-mini-list li[data-cat="flowers"],
.pt-hero-card[data-show="lot"] .pt-mini-list li[data-cat="lot"] { opacity: 1; transform: none; border-color: #c9a24d; box-shadow: 0 10px 24px rgba(127,90,28,.14); }
.pt-preview-note { margin: 10px 2px 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- Who can join: one compact panel ---------- */
.pt-join { padding: 22px; border-radius: 24px; background: var(--glass); border: 1px solid #fff; box-shadow: var(--lift), inset 0 0 0 1px var(--hair-soft); }
.pt-join .section-title { margin-bottom: 14px; }
.pt-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .pt-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pt-cats li { padding: 12px; gap: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--hair-soft); font-size: .92rem; line-height: 1.3; box-shadow: none; }
.pt-cats li:hover { transform: none; box-shadow: none; border-color: #c9a24d; }
.pt-cats .ui-ic { flex: 0 0 auto; width: 36px; height: 36px; padding: 8px; }
@media (max-width: 420px) { .pt-cats li { flex-direction: column; align-items: flex-start; } }

/* ---------- How it works: a real sequence, so a line joins the steps ---------- */
.pt-timeline { display: grid; gap: 0; grid-template-columns: 1fr !important; counter-reset: none; }
.pt-timeline li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 0 0 26px; background: none; border: 0; box-shadow: none; }
.pt-timeline li::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; border-radius: 2px;
  background: linear-gradient(#dcb95f, rgba(220,185,95,.15)); }
.pt-timeline li:last-child { padding-bottom: 0; }
.pt-timeline li:last-child::before { display: none; }
.pt-timeline h3 { margin: 8px 0 4px; font: 600 1.08rem/1.3 var(--sans); }
.pt-timeline p { max-width: 60ch; }
@media (min-width: 1000px) {
  .pt-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px; }
  .pt-timeline li { grid-template-columns: 1fr; gap: 12px; padding: 0; align-content: start; }
  .pt-timeline li::before { left: 48px; right: -16px; top: 19px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, #dcb95f, rgba(220,185,95,.15)); }
  .pt-timeline h3 { margin-top: 4px; }
}

/* ---------- Packages: slider points to the package that fits ---------- */
.pt-pricing { margin-top: 56px; padding: 24px 18px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,246,220,.9), rgba(255,255,255,.85) 55%);
  border: 1px solid #fff; box-shadow: var(--lift), inset 0 0 0 1px var(--hair); }
@media (min-width: 900px) { .pt-pricing { padding: 36px; } }
.pt-pricing-head .section-title { font-size: clamp(1.35rem, 3.6vw, 1.9rem); margin-bottom: 6px; }
.pt-pricing-head p { margin: 0 0 18px; }
.pt-fit { display: grid; gap: 10px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--hair-soft); margin-bottom: 16px; }
.pt-fit label { font-weight: 500; color: var(--ink); font-size: .95rem; }
.pt-fit-ctrl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.pt-fit output { min-width: 9.5ch; text-align: right; font: 600 1rem/1 var(--sans); color: var(--accent-dark); }
.pt-fit input[type=range] { --fill: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 10px 0; cursor: pointer;
  background: linear-gradient(90deg, #dcb95f var(--fill), #efe7d6 var(--fill)); }
.pt-fit input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 2px solid #c9a24d; box-shadow: 0 4px 12px rgba(127,90,28,.3); transition: transform .15s; }
.pt-fit input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.pt-fit input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #c9a24d; box-shadow: 0 4px 12px rgba(127,90,28,.3); }
.pt-tiers { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pt-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.pt-tier { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: 18px; background: rgba(255,255,255,.8);
  border: 1.5px solid var(--hair-soft); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.pt-tier h3 { margin: 0; font: 600 1rem/1.2 var(--sans); }
.pt-tier p { margin: 0; }
.pt-tier-size { font-size: .82rem; color: var(--muted); }
.pt-tier-price { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin: 10px 0 6px !important; }
.pt-tier-price b { font: 600 1.55rem/1 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.pt-tier-more .pt-tier-price b { font-size: 1.2rem; }
.pt-tier-price span { font-size: .8rem; color: var(--muted); }
.pt-tier-note { font-size: .84rem; color: #5d5444; line-height: 1.45; }
.pt-tier-tag { position: absolute; top: -11px; right: 12px; padding: 4px 10px; border-radius: 99px; background: var(--gold); color: var(--on-gold);
  font: 600 .7rem/1 var(--sans); box-shadow: 0 4px 10px rgba(127,90,28,.25); opacity: 0; transform: translateY(4px) scale(.9); transition: opacity .25s, transform .25s var(--ease); }
.pt-tier.is-fit { border-color: #c9a24d; background: #fff; box-shadow: 0 16px 36px rgba(127,90,28,.16); transform: translateY(-3px); }
.pt-tier.is-fit .pt-tier-tag { opacity: 1; transform: none; }
.pt-addon { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.7);
  border: 1px dashed rgba(201,162,77,.5); font-size: .88rem; color: #5d5444; }
.pt-addon .icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: #b98c3f; }
.pt-addon b { color: var(--ink); font-weight: 600; }

/* ---------- Partner portal: package payment ---------- */
.pt-perks { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
@media (min-width: 900px) { .pt-perks { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.pt-perks li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: .86rem; line-height: 1.35; background: #fff; border-color: var(--hair-soft); }
.pt-perks .icon { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: #fbf3df; color: #a8802f; }
.pt-pay { border-color: var(--hair); border-radius: 20px; }
.pt-pay > summary { padding: 16px 18px; }
.pt-pay[open] > summary { border-bottom: 1px solid var(--hair-soft); }
.pt-plans { grid-template-columns: 1fr !important; gap: 8px; }
.pt-plan > span { position: relative; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; align-items: center; padding: 14px 14px;
  border-radius: 16px; border: 1.5px solid var(--hair-soft); }
.pt-plan > span::before { content: ''; grid-column: 1; grid-row: 1; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #cdbf9f; background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s; }
.pt-plan b { grid-column: 2; grid-row: 1; flex-wrap: wrap; gap: 2px 8px; font-weight: 600; }
.pt-plan .pt-plan-size { font-weight: 400; color: var(--muted); font-size: .78rem; }
.pt-plan em { grid-column: 3; grid-row: 1; text-align: right; font-size: 1.15rem; white-space: nowrap; }
.pt-plan em small { display: block; font-size: .72rem; }
.pt-plan > span > small { display: none; grid-column: 2 / -1; grid-row: 2; font-size: .82rem; line-height: 1.45; color: #5d5444; }
.pt-plan input:checked + span { border-color: #c9a24d; background: linear-gradient(160deg, #fffaf0, #fff); box-shadow: 0 12px 28px rgba(127,90,28,.13); }
.pt-plan input:checked + span::before { border-color: #b98c3f; background: radial-gradient(circle, #b98c3f 0 5px, #fff 6px); box-shadow: 0 0 0 4px rgba(220,185,95,.22); }
.pt-plan input:checked + span > small { display: block; margin-top: 8px; animation: plan-open .3s var(--ease); }
@keyframes plan-open { from { opacity: 0; transform: translateY(-4px); } }
.pt-plan input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pt-plan.is-featured { margin-top: 8px; }
.pt-plan.is-featured::before { content: 'Add-on for this business'; display: block; margin: 0 0 8px 4px; font-size: .74rem; font-weight: 600; color: #9a7a3e; }
.pt-pay-steps { position: relative; gap: 0; padding-top: 26px; }
.pt-pay-steps > li { position: relative; padding-bottom: 22px; }
.pt-pay-steps > li:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; border-radius: 2px;
  background: linear-gradient(#dcb95f, rgba(220,185,95,.15)); }
@media (max-width: 480px) { .pt-pay-steps > li:not(:last-child)::before { left: 15px; top: 36px; } }
.pt-pay-steps input[type=file] { width: 100%; padding: 10px; border-radius: 14px; border: 1.5px dashed rgba(201,162,77,.55); background: #fffcf5; font-size: .85rem; color: var(--muted); cursor: pointer; }
.pt-pay-steps input[type=file]::file-selector-button { margin-right: 12px; padding: 9px 14px; border-radius: 10px; border: 0; background: var(--ink); color: #ffe9a8;
  font: 500 .82rem/1 var(--sans); cursor: pointer; }
.pt-pay-steps .actions .btn { width: 100%; justify-content: center; }
@media (min-width: 640px) { .pt-pay-steps .actions .btn { width: auto; } }

/* ---------- My Account on phones: profile card ---------- */
@property --ring { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@media (max-width: 640px) {
  .page-account .account-hero-inner { padding: 22px 14px 16px !important; border-radius: 26px; }
  .page-account .account-hero .avatar-pick { width: 180px; height: 180px; padding: 6px;
    background: conic-gradient(from var(--ring), #f3dd96, #b98c3f, #fff0bf, #c9a24d, #f3dd96);
    box-shadow: 0 16px 36px rgba(127,90,28,.18); animation: ring-turn 2.2s cubic-bezier(.3,.7,.2,1) .2s backwards; }
  .page-account .account-hero .avatar-pick .avatar-hero { width: 168px !important; height: 168px !important; border: 4px solid #fff; box-shadow: none; }
  .page-account .account-hero .avatar-pick::after { right: 8px; bottom: 8px; }
  .page-account .account-hero .avatar-pick:active { transform: scale(.98); }
  .page-account .account-hero .avatar-hint { margin: 4px 0 0; color: var(--muted); }

  /* No background / Original: one segmented switch, the gold thumb slides */
  .page-account .photo-style { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; max-width: 300px; margin: 6px auto 0;
    padding: 4px; border-radius: 14px; background: #f4eee1; box-shadow: inset 0 1px 2px rgba(41,32,10,.08); }
  .page-account .photo-style-label { grid-column: 1 / -1; order: -1; width: auto; margin: -2px 0 8px; padding-top: 0; font: 500 .74rem/1.2 var(--sans);
    letter-spacing: 0; text-transform: none; color: var(--muted); text-align: center; position: absolute; top: -26px; left: 0; right: 0; }
  .page-account .photo-style::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px;
    background: var(--gold); box-shadow: 0 4px 12px rgba(127,90,28,.25); transition: transform .35s cubic-bezier(.3,.7,.2,1); }
  .page-account .photo-style:has(button[value="original"].is-on)::before { transform: translateX(100%); }
  .page-account .photo-style button, .page-account .photo-style button.is-on { position: relative; z-index: 1; padding: 10px 6px; border: 0; border-radius: 10px;
    background: transparent; box-shadow: none; font: 500 .84rem/1.1 var(--sans); color: #6b5d44; white-space: nowrap; }
  .page-account .photo-style button.is-on { color: var(--on-gold); }
  .page-account .account-hero-inner > .avatar-col { gap: 8px; }
  .page-account .avatar-col:has(.photo-style) .avatar-form { margin-bottom: 30px; }

  /* details as soft tiles */
  .page-account .account-hero-inner > .pd-card { border-top: 0; padding-top: 6px; margin-top: 18px; }
  .pd-grid { gap: 8px; }
  .pd-grid > div, .pd-grid > div:last-child { padding: 10px 12px; border: 0 !important; border-radius: 14px; background: #faf6ec; transition: background .2s; }
  .pd-grid > div:active { background: #f4ecd9; }
  .pd-grid dd { font-weight: 500; }
  .pd-head { margin-bottom: 12px; }
  .page-account main { padding-bottom: 88px; }
}
@keyframes ring-turn { from { --ring: -200deg; } to { --ring: 0deg; } }
@media (prefers-reduced-motion: reduce) {
  .page-account .account-hero .avatar-pick { animation: none; }
  .page-account .photo-style::before, .pt-tier, .pt-plan > span > small { animation: none; }
  .page-account .photo-style::before, .pt-tier, .pt-mini-pin, .pt-mini-list li { transition: none; }
}
/* Featured / package notes read as one sentence, icon in front */
.pt-featured-note { display: block !important; position: relative; padding: 12px 14px 12px 40px !important; line-height: 1.5; }
.pt-featured-note > .icon { position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; }

/* =====================================================================
   115: Partner With Us v2 (photo hero, live example, plain lists),
   login / sign up full width on phones, My Account panels on phones
   ===================================================================== */
.px-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 64px 0 120px; }
.px-hero-bg { position: absolute; inset: 0; z-index: -1; background: #2e1d08 url("../img/dir-hero.jpg") center 55% / cover no-repeat;
  background-image: image-set(url("../img/dir-hero.webp") type("image/webp"), url("../img/dir-hero.jpg") type("image/jpeg")); }
.px-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,19,5,.55) 0%, rgba(30,19,5,.78) 70%, rgba(30,19,5,.9) 100%); }
.px-hero-inner > * { max-width: 760px; }
.px-title { margin: 0 0 16px; color: #fff; font: 600 clamp(2rem, 6.4vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.px-lead { margin: 0 0 26px; max-width: 58ch; color: rgba(255,248,232,.86); font-size: clamp(1rem, 2.4vw, 1.12rem); line-height: 1.6; }
.px-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.px-btn-ghost, .px-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.px-btn-ghost:hover { background: rgba(255,255,255,.2); }
@media (max-width: 640px) {
  .px-hero { padding: 40px 0 96px; }
  .px-actions { display: grid; grid-template-columns: 1fr; }
  .px-actions .btn { justify-content: center; min-height: 50px; }
}

.px-demo { position: relative; margin-top: -72px; }
.px-demo-grid { display: grid; gap: 20px; align-items: end; }
.px-demo-copy { order: 2; padding: 0 2px; }
.px-demo-copy h2 { margin: 0 0 6px; font: 600 1.25rem/1.25 var(--sans); }
.px-demo-copy p { margin: 0; color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .px-demo-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; }
  .px-demo-grid { align-items: start; }
  .px-demo-copy { order: 0; padding-top: 36px; }
  .px-demo-copy h2 { color: #fff; }
  .px-demo-copy p { color: rgba(255,248,232,.8); }
  .px-demo { margin-top: -220px; }
  .px-hero { padding: 96px 0 240px; }
}
.px-card { background: #fff !important; border: 1px solid #ebe3d2 !important; border-radius: 20px !important; padding: 12px !important;
  box-shadow: 0 30px 70px rgba(30,19,5,.25), 0 2px 6px rgba(30,19,5,.06) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.px-card .pt-preview-bar { display: flex; gap: 8px; align-items: center; }
.px-card .pt-preview-search { flex: 1; min-width: 0; }
.px-eg { flex: 0 0 auto; padding: 4px 8px; border-radius: 6px; background: #f4eee1; color: #7a6440; font-size: .72rem; font-weight: 600; }
.px-card .pt-mini-map { height: 140px; border-radius: 12px; }
.px-card .pt-mini-list { margin-top: 10px; gap: 0; }
.px-card .pt-mini-list li { grid-template-columns: minmax(0, 1fr) auto; padding: 11px 6px; border: 0; border-radius: 0; background: none; }
.px-card .pt-mini-list li { border-top: 1px solid #f1ebdf; }
.px-card .pt-mini-list li:first-child { border-top: 0; }
.px-card .pt-mini-list b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-card .pt-mini-list small { font-size: .78rem; }
.px-card .pt-mini-list em { font-size: .84rem; }
.pt-hero-card.px-card[data-show="lapida"] .pt-mini-list li[data-cat="lapida"],
.pt-hero-card.px-card[data-show="flowers"] .pt-mini-list li[data-cat="flowers"],
.pt-hero-card.px-card[data-show="lot"] .pt-mini-list li[data-cat="lot"] { box-shadow: none; background: #fbf6ea; border-radius: 10px; }

.px-body { padding-top: 56px; }
.px-h2 { margin: 0 0 14px; font: 600 clamp(1.4rem, 3.6vw, 1.9rem)/1.2 var(--serif); color: var(--ink); }
.px-two { display: grid; gap: 44px; }
@media (min-width: 900px) { .px-two { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.px-who { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ebe3d2; }
.px-who li { padding: 14px 0; border-bottom: 1px solid #ebe3d2; font-size: 1.05rem; color: var(--ink); }
.px-small { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }
.px-steps { margin: 0; padding: 0; list-style: none; counter-reset: px; }
.px-steps li { counter-increment: px; position: relative; padding: 0 0 18px 44px; color: #5d5444; line-height: 1.55; }
.px-steps li::before { content: counter(px); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid #c9a24d; color: #8c6421; font: 600 .85rem/1 var(--sans); background: #fff; }
.px-steps li::after { content: ''; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 1px; background: #e3d6b8; }
.px-steps li:last-child::after { display: none; }
.px-steps b { color: var(--ink); font-weight: 600; }

.px-pricing { margin-top: 64px; }
.px-sub { margin: -4px 0 18px; color: var(--muted); max-width: 62ch; }
.px-pricing .pt-fit { border: 1px solid #ebe3d2; border-radius: 14px; background: #fff; }
.px-tiers { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ebe3d2; }
.px-tiers .pt-tier { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 12px; margin: 0;
  border: 0; border-bottom: 1px solid #ebe3d2; border-radius: 0; background: none; box-shadow: none; transform: none;
  transition: background .3s var(--ease); position: relative; }
.px-tiers .pt-tier::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: #c9a24d; transform: scaleY(0); transition: transform .3s var(--ease); }
.px-tiers .pt-tier.is-fit { background: #fbf6ea; transform: none; box-shadow: none; }
.px-tiers .pt-tier.is-fit::before { transform: scaleY(1); }
.px-tier-name { display: grid; gap: 2px; min-width: 0; }
.px-tier-name b { font: 600 1.02rem/1.3 var(--sans); color: var(--ink); }
.px-tier-name small { font-size: .86rem; color: var(--muted); }
.px-tier-price { text-align: right; white-space: nowrap; }
.px-tier-price b { display: block; font: 600 1.25rem/1.1 var(--sans); color: var(--ink); }
.px-tier-price small { font-size: .76rem; color: var(--muted); }
.px-addon { margin: 16px 0 0; font-size: .9rem; color: #5d5444; max-width: 70ch; }
.px-addon b { color: var(--ink); }
.px-end { margin-top: 64px; padding-top: 32px; border-top: 1px solid #ebe3d2; }
.px-end h2 { margin: 0 0 6px; font: 600 clamp(1.4rem, 3.6vw, 1.9rem)/1.2 var(--serif); }
.px-end p { margin: 0 0 18px; color: var(--muted); }
.page-partner .site-footer { margin-top: 24px; }

/* ---------- Login and sign up on phones: use the full width ---------- */
@media (max-width: 640px) {
  .auth, .auth.auth-has-split { padding: 0 0 40px !important; background: #fff; }
  .auth::before, .auth::after, .page-login main::before, .page-signup main::before { display: none; }
  .auth-split, .auth .auth-split { display: flex; flex-direction: column; max-width: none; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .auth-split .auth-visual { display: block; order: -1; position: relative; margin: 0; height: 150px; min-height: 0; border-radius: 0; overflow: hidden; }
  .auth-split .auth-visual img, .auth-split .auth-visual picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
  .auth-split .auth-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 35%, #fff 100%); }
  .auth-split .auth-visual .auth-chip, .auth-split .auth-visual .auth-note { display: none !important; }
  .auth-panel, .auth-split .auth-panel { max-width: none !important; width: 100%; margin: -34px 0 0 !important; padding: 0 20px !important; position: relative; z-index: 1;
    background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: left; }
  .auth-panel:only-child, .auth > .auth-panel { margin-top: 0 !important; padding-top: 28px !important; }
  .auth-logo { display: block; width: 60px; height: 60px; margin: 0 0 14px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(41,32,10,.12); }
  .auth-logo img { width: 44px; height: 44px; }
  .auth-panel .form-title { text-align: left; margin-bottom: 4px; font-size: 1.75rem; }
  .auth-panel > .muted:first-of-type, .auth-panel > p.muted { text-align: left; margin-bottom: 22px; }
  .auth .field { margin-bottom: 16px; }
  .auth .field > label { font-size: .88rem; font-weight: 500; }
  .auth .field input[type=text], .auth .field input[type=email], .auth .field input[type=password], .auth .field input[type=search], .auth .field input[type=tel], .auth .field select {
    min-height: 50px; border-radius: 12px; font-size: 16px; }
  .auth .btn-primary { width: 100%; min-height: 52px; border-radius: 12px; }
  .auth .auth-switch { text-align: center; }
}

/* ---------- My Account on phones: one level of cards, roomy fields ---------- */
@media (max-width: 640px) {
  .page-account .account-body { padding-left: 10px !important; padding-right: 10px !important; }
  .page-account .account-body > .panel:has(.editor-embedded) { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-radius: 0 !important; }
  .page-account .editor-main > .panel, .page-account .account-body > .panel:not(:has(.editor-embedded)) { padding: 20px 16px !important; border-radius: 20px !important;
    background: #fff !important; border: 1px solid #ece4d3 !important; box-shadow: 0 6px 18px rgba(41,32,10,.05) !important; }
  .page-account .editor-main { display: grid; gap: 12px; }
  .page-account .panel-title { font-size: 1.15rem !important; margin-bottom: 4px; }
  .page-account .panel .muted.small, .page-account .panel > p.muted { font-size: .85rem; line-height: 1.5; }

  /* Photo gallery / Yearly photos / Background music: one row */
  .page-account .media-subnav:not([hidden]) { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; gap: 4px; padding: 4px; margin: 0;
    overflow-x: auto; scrollbar-width: none; border-radius: 14px; background: #f4eee1; }
  .page-account .media-subnav::-webkit-scrollbar { display: none; }
  .page-account .media-subnav a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px !important;
    border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important; font-size: .82rem !important; font-weight: 500;
    color: #6b5d44 !important; white-space: nowrap; transition: background .2s, color .2s; }
  .page-account .media-subnav a .ui-ic, .page-account .media-subnav a .icon { width: 16px; height: 16px; padding: 0; background: none; }
  .page-account .media-subnav a.is-active, .page-account .media-subnav a[aria-current] { background: #fff !important; color: var(--ink) !important; box-shadow: 0 2px 6px rgba(41,32,10,.1) !important; }

  /* fields and buttons */
  .page-account .account-body .field > label, .page-account .account-body .field-label { font-size: .86rem; font-weight: 500; color: var(--ink); }
  .page-account .account-body .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),
  .page-account .account-body .field select { min-height: 48px; border-radius: 12px !important; font-size: 16px; padding-left: 14px; padding-right: 14px; }
  .page-account .account-body .field textarea, .page-account .account-body .bio-editor { border-radius: 12px !important; font-size: 16px; }
  .page-account .account-body .btn { min-height: 46px; border-radius: 12px !important; }
  .page-account .account-body form > .btn-primary, .page-account .account-body form > div > .btn-primary:only-child,
  .page-account .account-body .actions .btn-primary { width: 100%; justify-content: center; }
  .page-account .form-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .page-account .editor .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 10px; }
  .page-account .editor .album-grid .album-tile, .page-account .editor .album-grid > * { min-width: 0; }
}

/* ---------- Phones: welcome screen before Login / Sign Up ---------- */
.auth-welcome[hidden], .aw-back { display: none; }
@media (max-width: 640px) {
  html.auth-welcome-on, html.auth-welcome-on body { overflow: hidden; }
  .auth-welcome { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(16px + env(safe-area-inset-top)) 22px calc(18px + env(safe-area-inset-bottom)); color: #fff; overflow-y: auto; isolation: isolate;
    animation: aw-in .5s ease both; }
  .aw-bg { position: absolute; inset: 0; z-index: -1; background: #2b1c08 url("../img/memorial-garden-side.jpg") 30% center / cover no-repeat; animation: aw-zoom 14s ease-out both; }
  .aw-bg::after { content: ''; position: absolute; inset: 0;
    background: radial-gradient(120% 45% at 50% 40%, rgba(25,16,4,.5), transparent 75%), linear-gradient(180deg, rgba(25,16,4,.35) 0%, rgba(25,16,4,.3) 40%, rgba(25,16,4,.42) 60%, rgba(25,16,4,.9) 100%); }

  /* our logo tile as before, with the Remember-me.ph name above it */
  .aw-brand { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
  .aw-brand-text { color: #fff; font: 600 1.15rem/1 var(--serif); letter-spacing: .005em; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
  .aw-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .aw-logo img { width: 38px; height: 38px; }
  .aw-head { text-align: center; margin-top: 16px; }
  /* Family | Business partner: a slider, no page reload */
  .aw-role { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; width: min(300px, 100%); padding: 4px; margin-bottom: 18px; border-radius: 999px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .aw-role::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.18); transition: transform .38s cubic-bezier(.3,.7,.2,1); }
  .auth-welcome[data-role="partner"] .aw-role::before { transform: translateX(100%); }
  .aw-role a { position: relative; z-index: 1; padding: 10px 8px; border-radius: 999px; text-align: center; color: rgba(255,255,255,.9);
    font: 500 .85rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: color .3s; }
  .aw-role a[aria-selected="true"] { color: var(--ink); }
  .aw-copy-item { animation: aw-swap .35s ease both; }
  .aw-title { margin: 0 auto 8px; max-width: 15ch; color: #fff; font: 500 2.2rem/1.08 var(--serif); letter-spacing: -.015em; text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0,0,0,.4); }
  .aw-lead { margin: 0 auto; max-width: 32ch; color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.5; text-shadow: 0 1px 10px rgba(0,0,0,.4); }

  .aw-actions { display: grid; gap: 10px; margin-top: 24px; }
  .aw-social { display: grid; gap: 10px; margin: 0; }
  .aw-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 20px; border-radius: 999px;
    font: 500 1rem/1 var(--sans); cursor: pointer; transition: transform .15s ease, background .2s; }
  .aw-btn:active { transform: scale(.98); }
  .aw-btn .icon { width: 20px; height: 20px; }
  .aw-btn-light { background: rgba(255,255,255,.94); color: #1d1d1f; border: 0; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
  .aw-btn-glass { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .aw-btn-glass .icon { color: #fff; }
  .aw-or { display: flex; align-items: center; gap: 12px; margin: 2px 8px; color: rgba(255,255,255,.7); font-size: .82rem; }
  .aw-or::before, .aw-or::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.3); }
  .aw-switch { margin: 8px 0 0; text-align: center; color: rgba(255,255,255,.85); font-size: .92rem; }
  .aw-switch a { color: #ffe9a8; font-weight: 600; }
  .aw-legal { margin: 2px auto 0; max-width: 34ch; text-align: center; color: rgba(255,255,255,.62); font-size: .74rem; line-height: 1.5; }
  .aw-legal a { color: rgba(255,255,255,.9); }

  /* the email form: frosted glass over the same photo */
  .auth.auth-glass { position: relative; background: none !important; overflow: visible; padding: 18px 14px 32px !important; min-height: calc(100svh - var(--header-h)); }
  .auth.auth-glass::before { content: ''; display: block !important; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(25,16,4,.25), rgba(25,16,4,.55)), #2b1c08 url("../img/memorial-garden-side.jpg") 30% center / cover no-repeat; }
  .auth.auth-glass .auth-visual { display: none !important; }
  .auth.auth-glass .auth-split { background: none !important; }
  .auth.auth-glass .auth-panel { margin: 0 !important; padding: 18px 18px 22px !important; border-radius: 26px !important;
    background: rgba(255,255,255,.74) !important; border: 1px solid rgba(255,255,255,.8) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important; backdrop-filter: blur(22px) saturate(150%) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.25), inset 0 1px 0 #fff !important; animation: aw-rise .45s cubic-bezier(.3,.7,.2,1) both; }
  .auth.auth-glass .auth-logo { display: none; }
  .auth.auth-glass .field input, .auth.auth-glass .field select { background: rgba(255,255,255,.85) !important; border-color: rgba(185,140,63,.35) !important; }
  .auth.auth-glass .segmented { background: rgba(255,255,255,.55); }
  .auth.auth-glass .muted, .auth.auth-glass .type-note, .auth.auth-glass .fine-print { color: #4f4636; }
  html:has(.auth.auth-glass) main, html:has(.auth.auth-glass) body { background: transparent; }

  /* back from the email form to the welcome screen */
  .aw-back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px -6px; padding: 8px 10px 8px 4px; border: 0; background: none;
    color: var(--ink); font: 500 .9rem/1 var(--sans); cursor: pointer; }
  .aw-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}
@keyframes aw-in { from { opacity: 0; } }
@keyframes aw-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes aw-swap { from { opacity: 0; transform: translateY(6px); } }
@keyframes aw-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .auth-welcome, .aw-bg, .aw-copy-item, .auth.auth-glass .auth-panel { animation: none; } .aw-role::before { transition: none; } }

/* =====================================================================
   119: My Account as a list (phones: list, then each section on its own
   screen; computers: list on the left, section on the right)
   ===================================================================== */
.acct-menu, .am-bar { display: none; }
body.acct-list .acct-menu { display: block; }
.am-head h1 { margin: 0; font: 600 1.35rem/1.2 var(--sans); color: var(--ink); text-align: center; }
.am-card { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; align-items: center; margin: 14px 0 18px;
  padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.0), 0 10px 26px rgba(41,32,10,.08);
  outline: 10px solid transparent; }
.am-card::before { content: ''; position: absolute; inset: -10px; z-index: -1; border-radius: 24px;
  background: radial-gradient(60% 120% at 85% 0%, rgba(255,255,255,.35), transparent 60%), linear-gradient(135deg, #f3dd96, #c9a24d 60%, #a77d34); }
.am-photo { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #f4eee1;
  color: var(--accent); font: 600 1.4rem/1 var(--serif); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #dcb95f; }
.am-photo img { width: 100%; height: 100%; object-fit: cover; }
.am-who { display: grid; gap: 2px; min-width: 0; }
.am-who b { font: 600 1rem/1.25 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-who small { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-share { grid-column: 2; justify-self: start; margin-top: 6px; padding: 7px 14px; border-radius: 10px; background: var(--gold); color: var(--on-gold);
  font: 600 .8rem/1 var(--sans); text-decoration: none; box-shadow: 0 4px 12px rgba(127,90,28,.25); }
.am-share:hover { background: var(--gold-hover); color: var(--on-gold); }
.am-group { margin-top: 14px; }
.am-group h2 { margin: 0 0 8px 4px; font: 600 .88rem/1.2 var(--sans); color: var(--ink); }
.am-group ul { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(41,32,10,.04), 0 6px 18px rgba(41,32,10,.05); }
.am-group li + li { position: relative; }
.am-group li + li::before { content: ''; position: absolute; top: -1px; left: 48px; right: 14px; height: 1px; background: #f1ebdf; }
.am-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) 28px; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 10px 0 12px;
  border: 0; border-radius: 12px; background: transparent;
  color: #3b3528; font: 500 .95rem/1.2 var(--sans); text-align: left; text-decoration: none; cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .12s; }
.am-item:hover { background: #fffaf0; color: var(--ink); }
.am-item:active { transform: scale(.985); }
.am-ic { display: grid; place-items: center; color: #8c6421; }
.am-ic svg { width: 20px; height: 20px; }
.am-chev { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #9c8e74; transition: background .2s, color .2s, transform .2s; }
.am-chev svg { width: 16px; height: 16px; }
.am-item.is-active { background: #fbf3df; color: var(--ink); box-shadow: inset 0 0 0 1.5px #dcb95f; }
.am-item.is-active .am-chev { background: var(--gold); color: var(--on-gold); transform: translateX(2px); }
.am-item.is-danger, .am-item.is-danger .am-ic { color: #c0392b; }
.am-item.is-danger .am-chev { background: #fdecea; color: #c0392b; }
.am-bar { align-items: center; gap: 6px; }
.am-back { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; }
.am-back svg { width: 22px; height: 22px; }
.am-title { margin: 0; font: 600 1.15rem/1.2 var(--sans); color: var(--ink); }

/* things the list replaces */
body.acct-list .editor-nav.is-merged, body.acct-list .account-tabs, body.acct-list .phone-pagehead, body.acct-list .phone-home,
body.acct-list .phone-tiles, body.acct-list .phone-dock { display: none !important; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 900px) {
  body.acct-list.page-account main, body.acct-list.page-account .site-footer { padding-left: 0 !important; }
  body.acct-list.page-account main { padding-bottom: 96px; }
  body.acct-list .acct-menu { padding: calc(16px + env(safe-area-inset-top)) 16px 8px; max-width: 560px; margin: 0 auto; animation: am-in .3s ease both; }
  body.acct-list:not(.am-open) .account-hero, body.acct-list:not(.am-open) .account-body, body.acct-list:not(.am-open) .flash,
  body.acct-list:not(.am-open) main > .alert { display: none !important; }
  body.acct-list.am-open .acct-menu { display: none; }
  body.acct-list.am-open .am-bar { display: flex; position: sticky; top: 0; z-index: 30; padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
    background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid #efe7d6; }
  body.acct-list.am-open .account-body, body.acct-list.am-open .account-hero { animation: am-slide .32s cubic-bezier(.3,.7,.2,1) both; }
  body.acct-list.am-open:not([data-am-section="profile"]) .account-hero { display: none !important; }
  body.acct-list.am-open[data-am-section="profile"] .account-body { display: none !important; }
  body.acct-list.am-open[data-am-section="profile"] .account-hero { display: block !important; padding: 14px 12px 0 !important; }
  body.acct-list .account-hero-inner { margin: 0 !important; }
  body.acct-list .account-body { padding: 12px 10px 24px !important; max-width: 640px; margin: 0 auto; }
}
@keyframes am-in { from { opacity: 0; } }
@keyframes am-slide { from { opacity: 0; transform: translateX(24px); } }

/* ---------- computers: list on the left, section on the right ---------- */
@media (min-width: 901px) {
  body.acct-list.page-account main { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); column-gap: 28px; row-gap: 0;
    max-width: 1320px; margin: 0 auto; padding: 28px 24px 0 !important; align-items: start; overflow: visible; }
  body.acct-list.page-account main > * { grid-column: 2; min-width: 0; }
  body.acct-list.page-account main > .acct-menu { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: calc(var(--header-h) + 20px); align-self: start;
    max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 4px 12px 24px 4px; scrollbar-width: thin; }
  body.acct-list .am-head { display: none; }
  body.acct-list .am-card { margin-top: 12px; }
  body.acct-list.page-account main > .am-bar { display: flex; margin: 4px 0 14px; }
  body.acct-list .am-back { display: none; }
  body.acct-list .am-title { font-size: 1.5rem; font-family: var(--serif); }
  body.acct-list.page-account main > .account-hero { grid-column: 2 !important; grid-row: auto !important; position: static !important; padding: 0 !important; }
  body.acct-list:not([data-am-section="profile"]) .account-hero { display: none !important; }
  body.acct-list[data-am-section="profile"] .account-body { display: none !important; }
  body.acct-list[data-am-section="profile"] .account-hero-inner { max-width: 560px !important; margin: 0 !important; }
  body.acct-list .account-body { padding: 0 0 80px !important; max-width: none; }
  body.acct-list.page-account .phone-details { display: block; width: 100%; }
}
@media (min-width: 1600px) { body.acct-list.page-account main { grid-template-columns: 340px minmax(0, 1fr); max-width: 1480px; } }
@media (prefers-reduced-motion: reduce) { .acct-menu, body.acct-list.am-open .account-body, body.acct-list.am-open .account-hero { animation: none !important; } }
@media (min-width: 901px) {
  body.acct-list[data-am-section="profile"] .account-hero-inner { max-width: 720px !important; padding: 28px 28px 24px !important; }
  body.acct-list .account-hero-inner > .pd-card { display: block; width: 100%; margin-top: 18px; padding: 18px 0 0; text-align: left; border-top: 1px solid #efe7d6; background: none; box-shadow: none; }
  body.acct-list .pd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  body.acct-list .pd-head h2 { margin: 0; font: 600 1.05rem/1.2 var(--sans); }
  body.acct-list .pd-live { width: 10px; height: 10px; border-radius: 50%; background: #3fb26b; box-shadow: 0 0 0 4px rgba(63,178,107,.18); }
  body.acct-list .pd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
  body.acct-list .pd-grid > div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: #faf6ec; }
  body.acct-list .pd-grid .pd-wide { grid-column: 1 / -1; }
  body.acct-list .pd-grid dt { font-size: .74rem; color: var(--muted); }
  body.acct-list .pd-grid dd { margin: 3px 0 0; font: 500 .92rem/1.3 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
  body.acct-list .pd-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
  body.acct-list .pd-pill.is-ok { background: #e6f5ec; color: #23824b; }
  body.acct-list .pd-pill.is-warn { background: #fdf0dc; color: #a2620f; }
  body.acct-list .pd-code { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: #f6efe0; color: #7a5a1c; font: 600 .7rem/1.4 ui-monospace, monospace; }
  body.acct-list .account-identity .badges { display: none; }
}
/* phones: the gold band around the profile card stays inside the screen */
@media (max-width: 900px) { body.acct-list .am-card { margin: 18px 10px 20px; } }

/* =====================================================================
   120: brand wordmark, glass My Account, calmer type sizes, smaller
   welcome-screen text
   ===================================================================== */
/* our Remember-me.ph wordmark: serif in gold, with a light that passes every 7s */
.rm-word { display: inline-block; padding-bottom: .12em; font: 600 1.2rem/1.1 var(--serif); letter-spacing: .01em; white-space: nowrap;
  background: linear-gradient(100deg, #8c6421 0%, #a77d34 38%, #d9a93d 45%, #fff1c2 50%, #d9a93d 55%, #a77d34 62%, #8c6421 100%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: rm-word-light 7s ease-in-out 1s infinite; }
@keyframes rm-word-light { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .rm-word { animation: none; } }

/* ---------- welcome screen (phones) ---------- */
@media (max-width: 640px) {
  .aw-brand { gap: 8px; }
  .aw-brand-text { font: 600 1.32rem/1.1 var(--serif); letter-spacing: .015em; text-shadow: none; padding-bottom: .12em;
    background: linear-gradient(100deg, #f3d98f 0%, #f8e6b0 38%, #e2b85c 45%, #ffffff 50%, #e2b85c 55%, #f8e6b0 62%, #f3d98f 100%) 100% 0 / 300% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,.55)); animation: rm-word-light 7s ease-in-out 1s infinite; }
  .aw-brand-text::after { content: ''; display: block; width: 46px; height: 1px; margin: 6px auto 0;
    background: linear-gradient(90deg, transparent, #f3d98f, transparent); }
  .aw-logo { width: 46px; height: 46px; border-radius: 14px; }
  .aw-logo img { width: 34px; height: 34px; }
  .aw-title { font-size: 2rem; }
  .aw-lead { font-size: .88rem; }
  .aw-role a { font-size: .82rem; padding: 9px 8px; }
  .aw-actions { gap: 9px; }
  .aw-social { gap: 9px; }
  .aw-btn { min-height: 48px; font: 500 .92rem/1 var(--sans); letter-spacing: -.005em; }
  .aw-btn .icon { width: 18px; height: 18px; }
  .aw-or { font-size: .74rem; letter-spacing: .02em; }
  .auth-welcome { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  .aw-switch { margin-top: 4px; font: 400 .8rem/1.4 var(--sans); color: rgba(255,255,255,.88); text-shadow: none; }
  .aw-switch a { color: #f6dc95; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(246,220,149,.55); padding-bottom: 1px; }
  .aw-legal { font: 400 .68rem/1.5 var(--sans); color: rgba(255,255,255,.62); max-width: 40ch; }
  .aw-legal a { color: rgba(255,255,255,.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
}

/* ---------- My Account list: logo top left ---------- */
.am-head { display: grid; gap: 14px; }
.am-logo { display: inline-flex; align-items: center; gap: 8px; justify-self: start; text-decoration: none; }
.am-logo-tile { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(127,90,28,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.am-logo-tile img { width: 26px; height: 26px; object-fit: contain; }
.am-logo .rm-word { font-size: 1.08rem; }
.am-head h1 { margin: 0; font: 600 1.45rem/1.15 var(--sans); letter-spacing: -.015em; color: var(--ink); text-align: left; }

/* ---------- calmer, professional type in every section ---------- */
body.acct-list .account-body { -webkit-font-smoothing: antialiased; }
body.acct-list .account-body .panel-title { font: 600 1.05rem/1.25 var(--sans) !important; letter-spacing: -.01em; }
body.acct-list .account-body .panel > .muted, body.acct-list .account-body .panel .muted.small,
body.acct-list .account-body .fine-print, body.acct-list .account-body .privacy-text small { font-size: .78rem !important; line-height: 1.5; }
body.acct-list .account-body .memorial-bar-name { font: 600 1rem/1.25 var(--sans) !important; }
body.acct-list .account-body .privacy-text strong { font-size: .9rem; }
body.acct-list .account-body legend { font: 600 .92rem/1.2 var(--sans) !important; letter-spacing: -.005em; }
body.acct-list .account-body label, body.acct-list .account-body .field > span:first-child { font-size: .8rem !important; font-weight: 500; }
body.acct-list .account-body .dgroup-auto, body.acct-list .account-body summary { font-size: .8rem !important; }
body.acct-list .account-body .badge-pill { font-size: .7rem !important; }
body.acct-list .account-body .btn { font-size: .86rem !important; min-height: 44px; }
body.acct-list .account-body .btn-sm { font-size: .8rem !important; min-height: 38px; }
body.acct-list .account-body .album-card h3, body.acct-list .account-body h3 { font-size: .95rem !important; }
body.acct-list .account-body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
body.acct-list .account-body select { min-height: 44px !important; height: 44px; font-size: .92rem !important; }
body.acct-list .account-body textarea { font-size: .92rem !important; line-height: 1.5; }
/* iPhone zooms into fields under 16px: keep 16px there */
@supports (-webkit-touch-callout: none) {
  body.acct-list .account-body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
  body.acct-list .account-body select, body.acct-list .account-body textarea { font-size: 16px !important; }
}
body.acct-list .am-title { font-size: 1.05rem; }
body.acct-list .am-item { font-size: .92rem; }
body.acct-list .am-group h2 { font-size: .76rem; font-weight: 600; color: #7a6a4c; letter-spacing: .01em; }
@media (max-width: 900px) {
  body.acct-list .account-body .panel { padding: 16px 14px !important; border-radius: 20px !important; }
  body.acct-list .account-body .dgroup { padding: 14px 12px 16px 14px !important; }
  body.acct-list.am-open .am-bar { background: rgba(255,255,255,.6); border-bottom-color: rgba(140,100,33,.1); }
}
@media (min-width: 901px) {
  body.acct-list .am-head { display: grid; margin: 0 0 4px; }
  body.acct-list .am-head .am-logo { display: none; }   /* the site header already shows the logo */
  body.acct-list .am-title { font: 600 1.35rem/1.2 var(--sans); }
}

/* =====================================================================
   125: Sign Up tabs in place, calmer login / sign-up forms on phones
   ===================================================================== */
[data-pane][hidden] { display: none !important; }
.signup-tabs[data-on] { position: relative; isolation: isolate; }
.signup-tabs[data-on] a { position: relative; z-index: 1; background: transparent !important; box-shadow: none !important; transition: color .25s; }
.signup-tabs[data-on]::before { content: ''; position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px;
  background: #fff; box-shadow: 0 1px 3px rgba(41,32,10,.12), 0 0 0 1px rgba(41,32,10,.06); transition: transform .32s cubic-bezier(.3,.7,.2,1); }
.signup-tabs[data-on="qr"]::before { transform: translateX(100%); }
.signup-tabs[data-on] a[aria-current] { color: var(--ink); font-weight: 600; }
.auth-panel form[data-pane] { animation: aw-swap .3s ease both; }

@media (max-width: 640px) {
  .auth.auth-glass .auth-panel { padding: 16px 18px 22px !important; }
  .auth.auth-glass .auth-panel .form-title { margin: 2px 0 4px; font-size: 1.6rem; }
  .auth.auth-glass .auth-panel > .muted { margin: 0 0 12px; font-size: .86rem; }
  .auth.auth-glass .segmented { margin: 4px 0 8px; }
  .auth.auth-glass .type-note { margin: 0 0 12px; font-size: .8rem; color: #5d5447; }
  .auth.auth-glass .form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .auth.auth-glass .form > *, .auth.auth-glass .form .field { min-width: 0; }
  .auth.auth-glass .form .form-row, .auth.auth-glass .form .form-row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  .auth.auth-glass .form .form-row:not(.form-row-3) { grid-template-columns: minmax(0, 1fr) !important; }
  .auth.auth-glass .field input:not([type=checkbox]) { width: 100%; }
  .auth.auth-glass .step-label { text-transform: none !important; letter-spacing: 0 !important; font-weight: 600; color: #5d5447; }
  .auth.auth-glass .type-pet { display: inline; margin-left: 4px; }
  .auth.auth-glass .form .field { margin: 0 !important; }
  .auth.auth-glass .form .form-row, .auth.auth-glass .form .form-row-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
  .auth.auth-glass .form .form-row-3 .field:last-child { grid-column: 1 / -1; }
  .auth.auth-glass .field label { display: block; margin: 0 0 5px; font-size: .8rem; font-weight: 600; }
  .auth.auth-glass .field input:not([type=checkbox]), .auth.auth-glass .field select { height: 48px; min-height: 48px; padding: 0 14px; font-size: 16px; border-radius: 12px; }
  .auth.auth-glass .field-hint { margin: -4px 0 0; font-size: .74rem; }
  .auth.auth-glass .field-check { display: flex; align-items: flex-start; gap: 10px; }
  .auth.auth-glass .field-check label { margin: 0; font-weight: 400; font-size: .8rem; line-height: 1.45; }
  .auth.auth-glass .field-check input { margin-top: 2px; flex: none; }
  .auth.auth-glass .btn-block { min-height: 50px; }
  .auth.auth-glass .step-label { margin: 0; font-size: .78rem; }
  .auth.auth-glass .divider { margin: 4px 0; font-size: .76rem; }
  .auth.auth-glass .fine-print { margin: 0; font-size: .74rem; }
  .auth.auth-glass .text-link.file-link { font-size: .82rem; }
}
@media (max-width: 640px) { .auth.auth-glass .field-check label { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; } }

/* =====================================================================
   132: Partner With Us, example search card sits inside the photo hero
   (right side on computers, under the text on phones), no overhang
   ===================================================================== */
.px-hero { padding: 40px 0 44px; }
.px-hero-inner { display: grid; gap: 28px; }
.px-hero-inner > * { max-width: none; }
.px-hero-copy { max-width: 760px; min-width: 0; }
.px-hero .px-demo-copy { margin-top: 32px; padding: 22px 0 0; border-top: 1px solid rgba(255,248,232,.18); }
.px-hero .px-demo-copy h2 { margin: 0 0 6px; color: #fff; font: 600 1.15rem/1.25 var(--sans); }
.px-hero .px-demo-copy p { margin: 0; max-width: 46ch; color: rgba(255,248,232,.8); }
.px-hero .px-card { width: 100%; max-width: 440px; }
.px-body { padding-top: 48px; }
@media (min-width: 900px) {
  .px-hero { padding: 72px 0 76px; }
  .px-hero-inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; }
  .px-hero .px-card { max-width: none; }
  .px-body { padding-top: 64px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .px-hero-inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; }
}
@media (max-width: 640px) {
  .px-hero .px-demo-copy { margin-top: 26px; padding-top: 18px; }
}

/* =====================================================================
   135: Shop product cards as white cards with inner spacing (text no longer touches the edge);
   Partner With Us map card lines up with the title
   ===================================================================== */
.product-card { background: #fff; border: 1px solid rgba(201,162,77,.22); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(41,32,10,.04); }
.product-card .product-media { border-radius: 0; }
.product-card .product-body { padding: 18px 20px 20px; }
.product-card .product-name { margin: 0 0 6px; }
.product-card .product-tagline { margin: 0 0 14px; line-height: 1.5; }
.product-card .price { margin: 0 0 14px; }
.product-card .price-note { margin: 4px 0 0; line-height: 1.4; }
@media (max-width: 560px) { .product-card .product-body { padding: 16px 16px 18px; } }
@media (min-width: 900px) { .px-hero-inner { align-items: start; } .px-hero .px-card { margin-top: 4px; } }
