/* Island Market. Phone-first, in the style of established classifieds sites:
   white surfaces, one brand colour used sparingly, photos first. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.8e433c0592f7.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Buttons and links use the logo green (owner, 2026-11-03). */
  --primary: #007200;
  --primary-dark: #005400;
  --primary-tint: #e9f4e9;
  --green: #007200;
  --yellow: #ffd002;
  --yellow-dark: #e6bb00;
  --ink: #18212b;
  --muted: #5d6874;
  --line: #e3e7ec;
  --surface: #f5f6f8;
  --white: #fff;
  --error: #b3261e;
  --radius: 12px;
  --radius-small: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 2px 8px rgba(16, 24, 32, .05);
  --shadow-hover: 0 4px 16px rgba(16, 24, 32, .12);
  --tap: 48px;
  --width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 2px; }
h1 { font-size: 1.625rem; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5rem; }
h2 { font-size: 1.1875rem; line-height: 1.3; margin: 1.5rem 0 .5rem; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--white); border-radius: var(--radius-small); }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-bar {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand nav" "search search";
  align-items: center; gap: 8px 12px; max-width: var(--width); margin: 0 auto; padding: 8px 16px 10px;
}
.header-start { grid-area: brand; display: flex; align-items: center; gap: 2px; min-width: 0; }
.brand { display: block; line-height: 0; }
/* Back arrow before the logo, phones only (owner, 2026-11-14). Computers have the browser's own back button. */
.back-button {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 40px; margin-left: -8px;
  border-radius: 999px; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.back-button:active { background: var(--surface); color: var(--primary); }
@media (min-width: 760px) { .back-button { display: none; } }
.brand img { display: block; height: 34px; width: auto; }
.site-nav { grid-area: nav; display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: .9375rem; }
.site-nav__item, .site-nav__text {
  position: relative; display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
  border-radius: var(--radius-small); color: var(--ink); font-weight: 500; text-decoration: none;
}
.site-nav__item:hover, .site-nav__text:hover { background: var(--surface); }
.site-nav__item .badge { position: absolute; top: 4px; left: 22px; }
.site-nav .button--post { display: none; min-height: 40px; padding: 0 14px; gap: 6px; }
.site-nav .button--post .icon { display: none; }

.search-box {
  grid-area: search; display: flex; align-items: stretch; min-width: 0; height: 46px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.location-chip {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 1 auto; max-width: 40%; padding: 0 10px 0 14px;
  border-right: 1px solid var(--line); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.location-chip .icon { color: var(--primary); }
.location-chip span { overflow: hidden; text-overflow: ellipsis; }
.header-bar .search-box input[type="search"][name] {
  flex: 1 1 auto; min-width: 0; min-height: 0; height: 100%; padding: 0 12px; border: 0; border-radius: 0; background: none; font: inherit;
}
.search-box input[type="search"]:focus-visible { outline: none; }
.search-box .search-box__go {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 0; margin: 4px; padding: 0 14px;
  border-radius: 999px;
}
.search-box__go span { display: none; }

.category-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.category-nav__inner { display: flex; gap: 24px; max-width: var(--width); margin: 0 auto; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.category-nav__inner::-webkit-scrollbar { display: none; }
.category-nav a { display: inline-flex; align-items: center; min-height: 42px; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.category-nav a:hover { color: var(--primary); }

/* Phones get a bottom bar like an app; wider screens show the links in the header. */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -1px 0 var(--line), 0 -4px 16px rgba(16, 24, 32, .06);
}
.bottom-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
  color: var(--muted); font-size: .6875rem; font-weight: 600; text-decoration: none;
}
.bottom-nav a[aria-current="page"] { color: var(--primary); }
.bottom-nav .badge { position: absolute; top: 2px; left: 50%; margin-left: 4px; }
.bottom-nav__post .icon { width: 40px; height: 40px; padding: 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); margin-top: -14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.bottom-nav a.bottom-nav__post { color: var(--ink); }
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

@media (min-width: 760px) {
  .header-bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search nav"; gap: 20px; padding: 12px 24px; }
  .brand img { height: 40px; }
  .site-nav__item, .site-nav__text { display: inline-flex; }
  .site-nav .button--post { display: inline-flex; }
  .site-nav__item span:not(.badge) { display: none; }
  .search-box__go span { display: inline; }
  .category-nav__inner { padding: 0 24px; }
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}
@media (min-width: 1100px) {
  .site-nav__item span:not(.badge) { display: inline; }
  .site-nav .button--post .icon { display: inline-block; }
}

/* Page */
.page { max-width: var(--width); margin: 0 auto; padding: 16px 16px 40px; }
.narrow { max-width: 440px; margin: 0 auto; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .page { padding: 24px 24px 56px; } }

/* Buttons and forms */
.button, button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--tap); padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--primary); color: var(--white);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s;
}
.button:hover, button[type="submit"]:hover { background: var(--primary-dark); }
.button--post, button.button--post[type="submit"] { background: var(--yellow); color: var(--ink); }
.button--post:hover, button.button--post[type="submit"]:hover { background: var(--yellow-dark); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 2px;
}
label { display: block; margin: 12px 0 4px; font-weight: 600; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  width: 100%; min-height: var(--tap); padding: 0 14px;
  border: 1px solid #c5ccd3; border-radius: var(--radius-small); background: var(--white); font: inherit;
}
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; vertical-align: middle; accent-color: var(--primary); }
.card button[type="submit"] { width: 100%; margin-top: 16px; }
.message { padding: 12px 14px; border-radius: var(--radius-small); background: var(--primary-tint); margin-bottom: 12px; }
.errorlist { color: var(--error); padding-left: 18px; margin: 4px 0; }
select, textarea {
  width: 100%; min-height: var(--tap); padding: 10px 14px;
  border: 1px solid #c5ccd3; border-radius: var(--radius-small); background: var(--white); color: var(--ink); font: inherit;
}
textarea { resize: vertical; }
input[type="file"] { padding-top: 10px !important; }
select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
[hidden] { display: none !important; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); margin: 16px 0 0; padding: 4px 14px 14px; }
legend { font-weight: 700; padding: 0 6px; }
.field { margin-bottom: 4px; }
.field p { margin: 4px 0 0; font-size: .875rem; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.muted { color: var(--muted); }
.link-button, .card .link-button, button.link-button[type="submit"] {
  width: auto; min-height: 0; margin: 0; padding: 0; border-radius: 0; background: none; color: var(--primary);
  font-weight: 400; text-decoration: underline;
}
.button--quiet, button.button--quiet[type="submit"] { background: var(--white); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.button--quiet:hover, button.button--quiet[type="submit"]:hover { background: var(--primary-tint); }
/* Sign-in pages from django-allauth (templates/allauth/elements/button.html): a gap between stacked buttons */
.allauth-button + .allauth-button { margin-top: 12px; }
.button--small, button.button--small[type="submit"] { min-height: 38px; padding: 0 14px; font-size: .875rem; width: auto; margin: 0; }
.button--danger, button.button--danger[type="submit"] { background: var(--white); color: var(--error); box-shadow: inset 0 0 0 1.5px var(--error); }
.button--danger:hover, button.button--danger[type="submit"]:hover { background: #fdf0ee; }
.button--contact, button.button--contact[type="submit"] { width: 100%; margin: 0; background: var(--primary); color: var(--white); }

/* Footer */
.site-footer { margin-top: 24px; background: var(--white); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; max-width: var(--width); margin: 0 auto; padding: 28px 16px 8px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand p { margin: 6px 0 0; }
.site-footer h2 { margin: 0 0 6px; color: var(--ink); font-size: .875rem; }
.site-footer nav a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--primary); text-decoration: underline; }
.site-footer__small { max-width: var(--width); margin: 0 auto; padding: 12px 16px 20px; }
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; padding: 36px 24px 8px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__small { padding: 12px 24px 24px; }
}

/* Home */
/* Launch Special strip above the hero (owner, 2026-11-10). */
.launch-strip {
  display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius);
  background: linear-gradient(90deg, #e7f5e4 0%, #f2faef 100%); border: 1px solid #cfe8c9;
  color: #0b4d12; text-decoration: none;
}
.launch-strip:hover { border-color: var(--primary); }
.launch-strip:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.launch-strip__icon { flex: none; display: flex; padding-right: 12px; border-right: 1.5px solid #8cc985; color: var(--primary); }
.launch-strip__text { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.launch-strip__text strong { font-size: .9375rem; font-weight: 800; color: #0b4d12; }
.launch-strip__text span { font-size: .8125rem; color: #2e5e33; }
.launch-strip__arrow { flex: none; display: flex; color: var(--primary); }
@media (max-width: 400px) {
  .launch-strip { gap: 10px; padding: 9px 10px; }
  .launch-strip__icon { padding-right: 10px; }
  .launch-strip__icon svg { width: 22px; height: 22px; }
  .launch-strip__text strong { font-size: .875rem; }
  .launch-strip__text span { font-size: .75rem; }
}
@media (min-width: 760px) {
  .launch-strip { gap: 16px; padding: 12px 20px; margin-bottom: 14px; }
  .launch-strip__icon { padding-right: 16px; }
  .launch-strip__text { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .launch-strip__text strong { font-size: 1rem; }
  .launch-strip__text span { font-size: .875rem; }
}
.hero {
  display: grid; gap: 16px; padding: 24px 20px; border-radius: var(--radius);
  background: var(--primary) linear-gradient(135deg, #007200 0%, #0a8a1f 60%, #2f9e2f 100%); color: var(--white);
}
.hero h1 { margin: 0 0 6px; font-size: 1.75rem; font-weight: 800; }
.hero p { margin: 0; opacity: .92; }
.hero__search { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: 0 6px 20px rgba(0, 40, 0, .25); }
.hero__search input[type="search"] { flex: 1 1 auto; min-width: 0; border: 0 !important; border-radius: 999px !important; padding-left: 14px !important; }
.hero__search input[type="search"]:focus-visible { outline: none; }
.hero__search button[type="submit"] { flex: none; background: var(--yellow); color: var(--ink); }
.hero__search button[type="submit"]:hover { background: var(--yellow-dark); }
.hero__search button span { display: none; }
@media (min-width: 760px) {
  .hero { padding: 40px 40px; }
  .hero h1 { font-size: 2.375rem; }
  .hero p { font-size: 1.0625rem; }
  .hero__search { max-width: 640px; }
  .hero__search button span { display: inline; }
}
.section { margin-top: 28px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section__head h2 { margin: 0; font-size: 1.25rem; }
.section__head a { display: inline-flex; align-items: center; gap: 2px; font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 92px; padding: 12px 6px;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--ink); text-align: center; text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}
.tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); }
.tile--main .tile__icon { background: var(--primary); color: var(--white); }
.tile__label { font-size: .8125rem; font-weight: 600; line-height: 1.25; }
@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .tile__label { font-size: .875rem; }
}
.invite {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 24px;
  border-radius: var(--radius); background: #fff8d1; border: 1px solid #f4e39a;
}
.invite h2 { margin: 0 0 4px; font-size: 1.25rem; }
.invite p { margin: 0; max-width: 560px; }
.trust { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.trust .icon { color: var(--primary); margin-top: 2px; }
.trust h2 { margin: 0 0 4px; font-size: 1rem; }
.trust p { margin: 0; font-size: .9375rem; color: var(--muted); }
.profile-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 12px; list-style: none; margin: 0; padding: 0 0 6px; overflow-x: auto; }
@media (min-width: 760px) {
  .profile-strip { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-columns: auto; max-width: 100%; }
  .profile-strip li { max-width: 300px; }
}
.profile-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.profile-card img, .profile-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--primary-tint); color: var(--primary); }
.profile-card__name { padding: 10px 12px 0; font-weight: 700; }
.profile-card__logo { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--white); border-bottom: 1px solid var(--line); }
.profile-card .profile-card__logo img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); aspect-ratio: auto; object-fit: contain; background: none; }
.profile-card__meta { padding: 2px 12px 12px; color: var(--muted); font-size: .875rem; }
.category-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.category-links a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .9375rem;
}
.category-links a:hover, .category-links a[aria-current] { border-color: var(--primary); color: var(--primary); }
.category-links--compact { margin: 8px 0 12px; }
.cat-more { margin: 8px 0 12px; }
.cat-more .category-links--compact { margin: 0; }
.cat-more:not(.is-open) .cat-extra { display: none; }
.cat-more__toggle { margin-top: 8px; padding: 4px 2px; border: 0; background: none; color: var(--primary); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.cat-more__toggle:hover { text-decoration: underline; }
.cat-more .services-cats { flex-wrap: wrap; overflow-x: visible; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); }
.notice { padding: 12px 14px; border-radius: var(--radius-small); background: #fff8d6; margin: 0 0 12px; }
.notice p { margin: 0 0 4px; }
.message--error { background: #fbe9e7; color: var(--error); }

/* Listing cards: photo first, then price, title, place and time, like Gumtree. */
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.listing-card { overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s; }
.listing-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.listing-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.listing-card__media { display: block; aspect-ratio: 4 / 3; background: var(--surface); }
.listing-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-card__nophoto { display: flex; align-items: center; justify-content: center; height: 100%; color: #b4bcc5; }
.listing-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 10px 12px 12px; }
.listing-card__price { font-size: 1.0625rem; font-weight: 800; color: var(--ink); }
.listing-card__title { margin-top: 2px; font-size: .9375rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card__meta { margin-top: auto; padding-top: 6px; color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 620px) { .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px 0; }

/* Search filters */
.filters { margin: 12px 0 16px; padding: 12px 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.filters summary { min-height: 28px; font-weight: 600; cursor: pointer; }
.filters__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.filters button[type="submit"] { width: 100%; margin-top: 12px; }

/* Listing page */
.breadcrumb { margin-bottom: 12px; font-size: .875rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); background: #0f1419; }
.gallery img { flex: 0 0 100%; width: 100%; height: auto; max-height: 72vh; object-fit: contain; scroll-snap-align: center; }
.gallery__hint { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); }
.detail h1 { margin-top: 16px; font-size: 1.5rem; }
.detail__price { margin: 0; font-size: 1.75rem; font-weight: 800; color: var(--ink); }
.detail__price small { font-size: .875rem; font-weight: 500; color: var(--muted); }
.detail__place { display: flex; align-items: center; gap: 4px; margin: 4px 0 12px; color: var(--muted); }
.detail__description { overflow-wrap: anywhere; white-space: normal; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0; padding: 16px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.detail__side { margin-top: 20px; }
.detail__side h2 { margin-top: 0; }
.contact-options { display: grid; gap: 8px; }
.contact-options form { margin: 0; }
.card .contact-options button[type="submit"] { margin-top: 0; }
.safety { margin-bottom: 0; font-size: .875rem; }
@media (min-width: 900px) {
  .detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  .detail__side { margin-top: 0; position: sticky; top: 140px; }
}

/* Seller pages */
.form-page { max-width: 640px; margin: 0 auto; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.form-actions form { flex: 1 1 auto; margin: 0; }
.form-actions .button { flex: 1 1 auto; }
.card .form-actions button[type="submit"] { margin-top: 0; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.dash-head p { margin: 0; }
.allowance { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0; padding: 0; }
.allowance li { padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tabs { display: flex; gap: 4px; margin: 12px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--primary); font-weight: 600; box-shadow: inset 0 -3px 0 var(--primary); }
.listing-row { display: flex; gap: 12px; padding: 12px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.listing-row__photo { flex: 0 0 96px; }
.listing-row__photo img, .listing-row__photo span { display: flex; align-items: center; justify-content: center; width: 96px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: .75rem; text-decoration: none; }
.listing-row__body { flex: 1 1 auto; min-width: 0; }
.listing-row__title { font-weight: 600; overflow-wrap: anywhere; }
.listing-row__body p { margin: 2px 0 8px; font-size: .875rem; }
.listing-row__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.listing-row__actions form { margin: 0; }
.photo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 8px 0 12px; padding: 0; }
.photo-list li { display: grid; gap: 6px; align-content: start; }
.photo-list img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface); }
.photo-list form { margin: 0; }
.photo-list .button--small { width: 100%; }
.card .photo-list button[type="submit"] { width: 100%; margin-top: 0; }
.photo-list__cover { display: flex; align-items: center; justify-content: center; min-height: 40px; color: var(--green); font-size: .875rem; font-weight: 600; }

@media (min-width: 620px) {
  .filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Profiles, messages and saved listings */
.badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--error); color: var(--white); font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center; }
.profile-switch { display: flex; gap: 8px; margin-bottom: 8px; padding-bottom: 4px; overflow-x: auto; }
.profile-switch a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; white-space: nowrap; }
.profile-switch a[aria-current] { border-color: var(--primary); color: var(--primary); font-weight: 600; }
.thread-row { display: grid; gap: 2px; padding: 12px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.thread-row--unread { border-color: var(--primary); }
.thread-row__name { font-weight: 600; overflow-wrap: anywhere; }
.thread-row__title { overflow-wrap: anywhere; }
.thread-row__date { font-size: .8125rem; }
.thread { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.bubble { align-self: flex-start; max-width: 85%; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.bubble--mine { align-self: flex-end; background: var(--primary-tint); }
.bubble p { margin: 0; }
.bubble__time { color: var(--muted); font-size: .75rem; }
.reply-form { padding: 12px 14px; }
.reply-form label { margin-top: 0; }
.detail__actions { margin: 8px 0; }
.detail__actions form { margin: 0; }
.card .detail__actions button[type="submit"] { width: auto; margin-top: 0; }
.message-form label { margin-top: 12px; }
.card .message-form button[type="submit"] { margin-top: 8px; }

/* Owner upload page */
.drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 180px; padding: 20px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; cursor: pointer; }
.drop-zone.is-over { border-color: var(--primary); background: var(--primary-tint); }
.drop-zone input[type="file"] { max-width: 100%; margin-top: 8px; }
.drop-progress, .drop-files { list-style: none; padding: 0; margin: 12px 0 0; }
.drop-progress .error { color: var(--error); }
.drop-files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }

/* Plans, storefronts and service providers (Phase 4) */
.plan-card h2, .plan-card h3 { margin-top: 0; }
.plan-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.plan-limits { margin: 8px 0; padding-left: 20px; }
.plan-price { font-weight: 600; color: var(--green); margin: 0 0 4px; }
.plan-request { margin-top: 16px; }
.plain-list { list-style: none; padding: 0; margin: 8px 0; }
.plain-list li { padding: 6px 0; }
.choice-list { border: 0; padding: 0; margin: 0 0 16px; }
.choice-list legend { font-weight: 600; margin-bottom: 6px; }
.keep-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.keep-row input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
fieldset[disabled] { opacity: .6; }
.portfolio-grid { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.portfolio-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.contact-options--inline { max-width: 360px; margin-bottom: 12px; }
.provider-strip { padding: 12px; margin-bottom: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.provider-strip h2 { margin-top: 0; }
.filters--open { margin-bottom: 12px; }

/* Reports and safety (Phase 5) */
.report-link { margin: 12px 0 0; font-size: .875rem; }
.report-link a { color: var(--muted); }
.safety-tips { margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: #eef7ee; font-size: .9rem; }
.safety-tips summary { cursor: pointer; font-weight: 600; color: var(--green); }
.safety-tips ul { margin: 8px 0 0; padding-left: 18px; }
.site-footer nav { margin-bottom: 6px; }
.site-footer a { color: inherit; }
.policy { max-width: 760px; }
.policy h2 { margin-top: 1.5rem; }
.policy-links { max-width: 760px; margin-top: 16px; }

/* Design pass (2026-11-03) */
.listing-row__photo { text-decoration: none; }
/* Services directory: the profile picture when there are no work photos (owner, 2026-11-12); shown whole, not cropped. */
.listing-row__photo img.listing-row__logo { object-fit: contain; }
.services-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.services-cats li { flex: none; }
/* "Offer your services" link (owner, 2026-11-11): Services page, posting page, home providers section. */
.offer-strip { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; background: var(--primary-tint); color: var(--ink); font-weight: 600; font-size: .9375rem; line-height: 1.35; text-decoration: none; }
.offer-strip:hover { background: #dcefe3; }
.offer-strip > .icon { flex: none; color: var(--primary); }
.offer-strip > span { flex: 1; }
.offer-strip--home { margin: 12px 0 0; }
.profile-offers { margin-top: 16px; }
.profile-offers h2 { margin: 0 0 4px; font-size: 1.0625rem; }
.profile-offers > p { margin: 0 0 12px; font-size: .875rem; }
.profile-offers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.profile-offers a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.profile-offers a:hover { border-color: var(--primary); background: var(--primary-tint); }
.profile-offers a > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.profile-offers small { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.profile-offers > ul .icon:last-child { flex: none; color: var(--muted); }
.profile-offers__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); }
@media (min-width: 960px) { .profile-offers ul { grid-template-columns: repeat(3, 1fr); } .profile-offers a { align-items: flex-start; } }
.join-box { margin: 28px 0 8px; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.join-box h2 { margin: 0 0 4px; font-size: 1.125rem; }
.join-box p { margin: 0; color: var(--muted); }
.join-box .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
@media (min-width: 760px) { .join-box { flex-direction: row; align-items: center; justify-content: space-between; } .join-box .button { flex: none; } }
@media (min-width: 760px) {
  .services-cats { flex-wrap: wrap; overflow-x: visible; }
}
.site-footer form { margin: 0; }
.site-footer .footer-logout { padding: 4px 0; color: var(--muted); font-size: inherit; text-decoration: none; }

/* Search bar (owner's reference, 2026-11-04): magnifier, words, a visible location button, green button. */
.searchbar {
  grid-area: search; display: flex; align-items: center; gap: 6px; min-width: 0; padding: 5px 5px 5px 12px;
  border: 1px solid #dfe4ea; border-radius: 14px; background: var(--white); box-shadow: 0 1px 3px rgba(16, 24, 32, .06);
}
.searchbar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.searchbar__icon { display: inline-flex; color: var(--muted); }
.searchbar input[type="search"][name][name] {
  flex: 1 1 auto; min-width: 0; min-height: 0; height: 40px; padding: 0 4px; border: 0; border-radius: 0; background: none; font: inherit;
}
.searchbar input[type="search"]:focus-visible { outline: none; }
.searchbar__place {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 1 auto; min-width: 0; max-width: 46%; height: 40px; padding: 0 10px;
  border-radius: 10px; background: #eef1f5; color: var(--ink); font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.searchbar__place:hover { background: #e4e8ee; }
.searchbar__place > .icon:first-child { color: var(--primary); }
.searchbar__place > span { overflow: hidden; text-overflow: ellipsis; }
.searchbar__island, .searchbar__chevron { display: none; }
.searchbar .searchbar__go { flex: none; min-height: 0; height: 40px; padding: 0 12px; margin: 0; border-radius: 10px; gap: 6px; }
.searchbar__go span { display: none; }
.searchbar--large { padding: 6px 6px 6px 16px; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 40, 0, .2); }
.searchbar--large input[type="search"][name][name], .searchbar--large .searchbar__place, .searchbar--large .searchbar__go { height: 48px; }
.searchbar--large input[type="search"][name][name] { font-size: 1.0625rem; }
.searchbar--large .searchbar__go { padding: 0 16px; }
@media (min-width: 760px) {
  .searchbar__island, .searchbar__chevron { display: inline; }
  .searchbar__chevron { display: inline-block; color: var(--muted); }
  .searchbar__place { max-width: 40%; padding: 0 12px; }
  .searchbar__go .icon { display: none; }
  .searchbar__go span { display: inline; }
  .searchbar .searchbar__go { padding: 0 20px; font-weight: 700; }
  .searchbar--large { max-width: 760px; }
  .searchbar--large .searchbar__go { padding: 0 28px; }
}
/* Big search on small phones: words on top, place and button underneath. */
@media (max-width: 480px) {
  .searchbar--large { flex-wrap: wrap; padding: 8px; }
  .searchbar--large .searchbar__icon { margin-left: 6px; }
  .searchbar--large input[type="search"][name][name] { flex-basis: calc(100% - 40px); }
  .searchbar--large .searchbar__place { flex: 1 1 auto; max-width: none; }
  .searchbar--large .searchbar__island, .searchbar--large .searchbar__chevron { display: inline; }
  .searchbar--large .searchbar__chevron { display: inline-block; margin-left: auto; }
  .searchbar--large .searchbar__go span { display: inline; }
  .searchbar--large .searchbar__go .icon { display: none; }
}
.hero .searchbar { grid-area: auto; }
/* Phones: a more compact top banner (owner, 2026-11-09: it took up too much of the screen). Computers unchanged. */
@media (max-width: 759px) {
  .hero { gap: 12px; padding: 16px 14px 14px; }
  .hero h1 { margin-bottom: 4px; font-size: 1.375rem; line-height: 1.2; }
  .hero p { font-size: .875rem; line-height: 1.4; }
  .hero .searchbar--large { padding: 5px 5px 5px 12px; border-radius: 14px; }
  .hero .searchbar--large input[type="search"][name][name], .hero .searchbar--large .searchbar__place,
  .hero .searchbar--large .searchbar__go { height: 42px; }
  .hero .searchbar--large input[type="search"][name][name] { font-size: 1rem; }
}
@media (max-width: 480px) {
  .hero .searchbar--large { row-gap: 4px; padding: 6px; }
}
.searchbar__place { flex: none; max-width: 46%; }
@media (min-width: 760px) { .searchbar__place { max-width: 260px; } }

/* Location dropdown in the search bar (owner, 2026-11-04): no separate page. */
.searchbar { position: relative; }
.place-menu { flex: none; max-width: 46%; min-width: 0; }
.place-menu > summary { list-style: none; cursor: pointer; max-width: 100%; }
.place-menu > summary::-webkit-details-marker { display: none; }
.place-menu[open] .searchbar__chevron { transform: rotate(180deg); }
.place-menu[open] > summary { background: #e4e8ee; }
.place-menu__panel {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0;
  max-height: min(70vh, 520px); overflow-y: auto; padding: 10px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 24, 32, .18); color: var(--ink);
}
.place-menu__fallback { display: block; padding: 8px; }
.place-menu__filter[type="search"] { position: sticky; top: -10px; z-index: 1; margin-bottom: 8px; }
.place-menu__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.place-menu__status { margin: 0; font-size: .875rem; color: var(--muted); }
.place-menu__status:empty { display: none; }
.place-menu__group { margin: 12px 8px 4px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.place-menu .place-menu__item {
  display: block; width: 100%; min-height: 40px; margin: 0; padding: 8px 10px; border-radius: var(--radius-small);
  background: none; color: var(--ink); font-weight: 400; text-align: left;
}
.place-menu .place-menu__item:hover { background: var(--surface); }
.place-menu .place-menu__item[aria-current] { background: var(--primary-tint); color: var(--primary); font-weight: 600; }
.place-menu .place-menu__item--island { font-weight: 600; }
.place-menu .place-menu__item--town { padding-left: 26px; }
.place-menu__quick .place-menu__item { width: auto; flex: 1 1 auto; border: 1px solid var(--line); text-align: center; font-weight: 600; }
.place-menu .place-menu__gps { color: var(--primary); }
@media (min-width: 760px) {
  .place-menu { max-width: 260px; }
  .place-menu__panel { left: auto; width: 340px; }
}
.searchbar--large .place-menu__panel { color: var(--ink); }
@media (max-width: 480px) {
  .searchbar--large .place-menu { flex: 1 1 auto; max-width: none; }
  .searchbar--large .place-menu > summary { width: 100%; }
}
.place-menu .place-menu__item { font: inherit; font-size: .9375rem; }
.place-menu__quick + .place-menu__quick { margin-top: 2px; }
.place-menu .place-menu__item--island, .place-menu__quick .place-menu__item { font-weight: 600; }

/* Quick filters on category pages: New or Secondhand, Buy or Rent (owner, 2026-11-04). */
.segmented { display: inline-flex; gap: 4px; margin: 4px 0 12px; padding: 4px; border-radius: 999px; background: #e9edf1; }
.segmented a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.segmented a:hover { background: rgba(255, 255, 255, .6); }
.segmented a[aria-current] { background: var(--white); color: var(--primary); box-shadow: 0 1px 3px rgba(16, 24, 32, .12); }
/* Home: four big category tiles only. */
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 72px; padding: 12px 14px; text-align: left; }
.tile__label { font-size: 1rem; }
@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tile { flex-direction: column; justify-content: center; min-height: 128px; text-align: center; }
  .tile__icon { width: 60px; height: 60px; }
  .tile__label { font-size: 1.0625rem; }
}
/* "Show results" is a normal-sized button on wider screens. */
@media (min-width: 760px) {
  .filters button[type="submit"] { width: auto; min-width: 180px; }
}
.filters__grid--services { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .filters__grid--services { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) auto; align-items: end; }
  .filters__grid--services .filters__action button[type="submit"] { margin-top: 0; }
}

/* Home category tiles with the owner's pictures (2026-11-04). */
.tile.tile--picture { flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 0; padding: 12px 10px 14px; text-align: center; overflow: hidden; }
.tile__picture { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius-small); background: linear-gradient(180deg, #f3f8f3 0%, #e6f1e6 100%); }
.tile__picture img { display: block; width: 88%; height: 88%; object-fit: contain; transition: transform .2s; }
.tile--picture:hover .tile__picture img { transform: scale(1.04); }
.tile--picture .tile__label { font-size: 1rem; font-weight: 700; }
@media (min-width: 760px) {
  .tile.tile--picture { padding: 14px 14px 16px; }
  .tile--picture .tile__label { font-size: 1.125rem; }
}

/* "Upgrade plan" at the top (owner, 2026-11-04). Shown on phones too, as a small pill. */
.site-nav__upgrade {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--primary-tint); color: var(--primary); font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.site-nav__upgrade:hover { background: #d9ecd9; }
@media (min-width: 760px) { .site-nav__upgrade { min-height: 40px; margin-right: 4px; } }
.plans-hero { padding: 28px 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.plans-hero h1 { font-size: 1.75rem; }
.plans-hero p { max-width: 640px; color: var(--muted); }
.plans-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plan-card h3 { margin: 0 0 4px; }
.plan-card--featured { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow), var(--shadow); }
@media (min-width: 760px) { .plans-hero { padding: 40px; } .plans-hero h1 { font-size: 2.125rem; } }

/* Header top right: Go Pro next to Post a Listing (owner, 2026-11-04). Both show on phones too. */
.site-nav .button--post { display: inline-flex; min-height: 36px; padding: 0 12px; }
.post-long { display: none; }
.site-nav__upgrade { min-height: 36px; }
@media (min-width: 760px) {
  .site-nav .button--post { min-height: 40px; padding: 0 14px; }
  .site-nav__upgrade { min-height: 40px; margin: 0 0 0 4px; }
}
@media (min-width: 1100px) {
  .post-long { display: inline; }
  .post-short { display: none; }
}
/* Hero picture: the truck with items, on wide screens only (owner, 2026-11-04). */
.hero__picture { display: none; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "text picture" "search picture"; align-items: center; column-gap: 24px; padding: 36px 40px; overflow: hidden; }
  .hero__text { grid-area: text; }
  .hero .searchbar { grid-area: search; }
  .hero__picture { grid-area: picture; display: block; width: 100%; height: auto; margin: -8px -12px -16px 0; filter: drop-shadow(0 12px 18px rgba(0, 30, 0, .35)); }
}
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) 440px; }
}
/* Computers: a slightly shorter top banner (owner, 2026-11-09); headline, text, search and truck all still fit. */
@media (min-width: 760px) {
  .hero { gap: 14px; padding: 28px 32px; }
  .hero h1 { margin-bottom: 4px; font-size: 2.125rem; line-height: 1.15; }
  .hero p { font-size: 1rem; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) 320px; row-gap: 14px; padding: 26px 32px 26px 36px; }
  .hero__picture { margin: -10px -8px -14px 0; }
}
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) 360px; }
}

/* Home banners from the owner's artwork (2026-11-04), rebuilt as live text so they read on phones. */
.banner { margin-top: 28px; border-radius: var(--radius); overflow: hidden; }
.banner h2 { margin: 0; letter-spacing: -.01em; }
.banner p { margin: 0; }
.banner .banner__button { margin-top: 18px; padding: 0 22px; min-height: 52px; font-size: 1.0625rem; font-weight: 700; }
.banner--sell { display: grid; background: #ffde59; color: #172b4d; }
.banner--sell .banner__text { padding: 26px 22px 6px; }
.banner--sell h2 { font-size: 1.75rem; font-weight: 800; line-height: 1.15; }
.banner--sell p { margin-top: 12px; font-size: 1.0625rem; max-width: 420px; }
.banner--sell .banner__button { background: #172b4d; color: var(--white); }
.banner--sell .banner__button:hover { background: #0e1d36; }
.banner__photo { display: block; width: 100%; height: auto; }
/* A wide uploaded banner on computers and tablets, the text banner on phones (owner, 2026-11-09). */
@media (max-width: 600px) { .banner--wide-only, .banner.banner--wide-only { display: none; } }
@media (min-width: 601px) { .banner--narrow-only, .banner.banner--narrow-only { display: none; } }
/* Phones: tighter home page top (owner, 2026-11-09): 12 px from the hero to the category tiles and from the tiles to the
   sell banner (28 px elsewhere). Follows the tiles wherever the Homepage Layout puts them. */
@media (max-width: 600px) {
  .hero + .home-cats { margin-top: 12px; }
  .home-cats + .banner,
  .home-cats + .banner--wide-only + .banner.banner--narrow-only,
  .home-cats + .banner--wide-only + .banner--narrow-only > .banner { margin-top: 12px; }
}
/* Phones: the newest listings come right under the top banner (owner, 2026-11-19: 87% of visitors, mostly from Facebook
   on a phone, left after the home page without seeing a listing). Only the order on screen changes; computers keep the
   Homepage Layout order. */
@media (max-width: 759px) {
  body.has-hero-search main { display: flex; flex-direction: column; }
  body.has-hero-search main > * { order: 0; min-width: 0; }
  body.has-hero-search main > .message, body.has-hero-search main > .confirm-bar,
  body.has-hero-search main > .launch-strip, body.has-hero-search main > .hero { order: -2; }
  body.has-hero-search main > .home-recent { order: -1; margin-top: 14px; }
  body.has-hero-search main > .home-recent + .home-cats,
  body.has-hero-search main > .hero + .home-cats { margin-top: 20px; }
}
/* The "+ Post a listing" button over the sell banner picture, sized with the banner (owner, 2026-11-09). */
.banner--with-button { position: relative; container-type: inline-size; }
.banner--with-button .banner__overlay-button { position: absolute; left: 2.2%; bottom: 11%; gap: .4em; min-height: clamp(34px, 4.4cqw, 52px);
  padding: 0 clamp(12px, 1.9cqw, 22px); background: #172b4d; color: var(--white); font-size: clamp(.8125rem, 1.55cqw, 1.0625rem);
  font-weight: 700; line-height: normal; box-shadow: 0 4px 12px rgba(16, 24, 32, .2); }
.banner--with-button .banner__overlay-button .icon { width: 1.15em; height: 1.15em; }
.banner--with-button:hover .banner__overlay-button { background: #0e1d36; }
/* Phone picture (square, words at the top, photo below): a full-size button at the bottom left, over the photo. */
.banner--phone-picture .banner__overlay-button { left: 4%; bottom: 4%; min-height: 44px; padding: 0 18px; font-size: 1rem;
  background: var(--yellow); color: #172b4d; }  /* Yellow on the phone picture (owner, 2026-11-09). */
.banner--phone-picture:hover .banner__overlay-button { background: #f5c400; }

.banner--cash { padding: 36px 22px 32px; background: #172b4d; color: var(--white); text-align: center; }
.banner--cash h2 { font-size: 2.125rem; font-weight: 800; line-height: 1.05; }
.banner--cash h2 span { display: block; color: #ffde59; font-size: 2.75rem; }
.banner--cash p { margin-top: 14px; font-size: 1.0625rem; opacity: .95; }
.banner--cash .banner__button { background: #ffde59; color: #172b4d; }
.banner--cash .banner__button:hover { background: #f5cf3a; }
@media (min-width: 760px) {
  .banner--sell { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .banner--sell .banner__text { padding: 40px 0 40px 48px; }
  .banner--sell h2 { font-size: 2.5rem; }
  .banner--sell .banner__photo { align-self: end; }
  .banner--cash { padding: 56px 40px 52px; }
  .banner--cash h2 { font-size: 3.25rem; }
  .banner--cash h2 span { font-size: 4.25rem; }
  .banner--cash p { font-size: 1.25rem; }
}

/* Services search dropdown with popular options (owner, 2026-11-04). */
.service-picker { position: relative; }
.service-picker__list {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; max-height: 320px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: 0 12px 32px rgba(16, 24, 32, .18);
}
.service-picker__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 42px; padding: 10px 12px; border-radius: var(--radius-small); color: var(--ink); text-decoration: none; }
.service-picker__list a:hover, .service-picker__list a[aria-selected] { background: var(--primary-tint); color: var(--primary); }
.service-picker__list small { color: var(--muted); font-size: .8125rem; text-align: right; }
.banner--sell .banner__photo { aspect-ratio: 4 / 3; object-fit: cover; object-position: center bottom; }
@media (min-width: 760px) {
  .banner--sell .banner__photo { justify-self: end; width: auto; max-width: 100%; height: 380px; aspect-ratio: auto; object-fit: contain; }
}
/* A smaller "Yu gat wan samting blong salem?" banner (owner, 2026-11-09). Phones: tighter text and a shorter photo cropped
   around the two women; computers: 280 px instead of 380. Words, button and photo all stay. */
@media (max-width: 759px) {
  .banner--sell .banner__text { padding: 18px 16px 4px; }
  .banner--sell h2 { font-size: 1.375rem; }
  .banner--sell p { margin-top: 8px; font-size: .9375rem; line-height: 1.45; }
  .banner--sell .banner__button { margin-top: 12px; min-height: 44px; padding: 0 18px; font-size: 1rem; }
  .banner--sell .banner__photo { margin-top: 10px; aspect-ratio: auto; height: 190px; object-fit: cover; object-position: center 45%; }
}
@media (min-width: 760px) {
  .banner--sell .banner__text { padding: 26px 0 26px 40px; }
  .banner--sell h2 { font-size: 2rem; }
  .banner--sell p { margin-top: 10px; font-size: 1rem; }
  .banner--sell .banner__button { margin-top: 14px; min-height: 46px; font-size: 1rem; }
  .banner--sell .banner__photo { height: 280px; }
}

/* Google and Facebook login buttons */
.social-login__or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--muted, #5e6c84); font-size: .9rem; }
.social-login__or::before, .social-login__or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.social-buttons { display: grid; gap: 10px; }
.social-buttons form { margin: 0; }
.social-buttons .social-button[type="submit"] {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 0;
  min-height: 48px; padding: 10px 16px; border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer;
}
.social-buttons .social-button--google[type="submit"] { background: #fff; color: #1f1f1f; border: 1px solid #c4c7c5; }
.social-buttons .social-button--google[type="submit"]:hover { background: #f4f6f8; }
.social-buttons .social-button--facebook[type="submit"] { background: #1877f2; color: #fff; border: 1px solid #1877f2; }
.social-buttons .social-button--facebook[type="submit"]:hover { background: #166fe0; }

/* Header top right (owner, 2026-11-05): location, account name or Sign in, and "+ New Listing".
   Phones keep the location inside the search bar and show the top-right one from 760px. */
.site-nav { gap: 6px; }
.site-nav .place-menu--nav { display: none; position: relative; max-width: none; }
.place-menu--nav .searchbar__place { display: inline-flex; height: 40px; max-width: 200px; border: 1px solid var(--line); background: var(--white); }
.place-menu--nav .searchbar__chevron { display: inline-block; color: var(--muted); }
.place-menu--nav .place-menu__panel { left: auto; right: 0; width: 340px; }
@media (min-width: 760px) {
  .site-nav .place-menu--nav { display: block; }
  .header-bar .searchbar .place-menu { display: none; }
}
.site-nav__signin {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: var(--radius-small);
  color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.site-nav__signin:hover { background: var(--surface); }
.account-menu { position: relative; }
.account-menu > summary { list-style: none; cursor: pointer; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu__button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 6px;
  border-radius: 999px; color: var(--ink); font-weight: 600; white-space: nowrap;
}
.account-menu__button:hover, .account-menu[open] .account-menu__button { background: var(--surface); }
.account-menu__avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px;
  background: var(--navy, #172b4d); color: #fff; font-size: .9375rem; font-weight: 700;
}
.account-menu__name { display: none; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.account-menu__chevron { display: none; color: var(--muted); }
.account-menu[open] .account-menu__chevron { transform: rotate(180deg); }
.account-menu__button > .badge { position: absolute; top: 0; left: 24px; }
.account-menu__panel {
  position: absolute; z-index: 40; top: calc(100% + 6px); right: 0; width: 240px; padding: 6px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 32px rgba(16, 24, 32, .18);
}
.account-menu__who { margin: 4px 10px 8px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .8125rem; }
.account-menu__panel a, .account-menu__panel .account-menu__logout[type="submit"] {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin: 0; padding: 0 10px; border: 0;
  border-radius: var(--radius-small); background: none; color: var(--ink); font: inherit; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
}
.account-menu__panel a:hover, .account-menu__panel .account-menu__logout[type="submit"]:hover { background: var(--surface); }
.account-menu__panel a .icon { color: var(--muted); }
.account-menu__panel form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.account-menu__panel .account-menu__logout[type="submit"] { color: #b42318; font-weight: 600; }
.account-menu__panel .badge { margin-left: auto; }
.site-nav .button--post { display: inline-flex; gap: 4px; min-height: 40px; padding: 0 14px; white-space: nowrap; }
.site-nav .button--post .icon { display: inline-block; }
@media (min-width: 1100px) {
  .account-menu__name, .account-menu__chevron { display: inline-block; }
}
/* The categories under the header sit in the middle (owner, 2026-11-05). */
.category-nav__inner { justify-content: center; justify-content: safe center; }
@media (max-width: 480px) { .category-nav__inner { gap: 18px; } }

/* Desktop header (owner, 2026-11-05): categories in the top row, the compact search bar in a row underneath, and
   heart (saved) and messages icons at the top right. Phones keep their layout: categories in their own row,
   search inside the header, and the bottom bar for saved and messages. */
.header-cats { display: none; }
.header-search { grid-area: search; min-width: 0; }
.header-search .searchbar { width: 100%; }
.site-nav__icon {
  position: relative; display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 999px; color: var(--ink); text-decoration: none;
}
.site-nav__icon:hover { background: var(--surface); color: var(--primary); }
.site-nav__icon .badge { position: absolute; top: 2px; right: 0; }
@media (min-width: 760px) {
  .header-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand . nav" "cats cats cats" "search search search"; row-gap: 10px; padding-bottom: 12px;
  }
  .category-nav { display: none; }
  .header-cats { grid-area: cats; display: flex; justify-content: center; gap: 28px; }
  .header-cats a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .header-cats a:hover { color: var(--primary); }
  .header-search { justify-self: center; width: 100%; max-width: 880px; }
  .site-nav__icon { display: inline-flex; }
  .account-menu__button > .badge { display: none; }
}
@media (min-width: 1100px) {
  .header-bar { grid-template-areas: "brand cats nav" "search search search"; column-gap: 32px; }
  .header-cats { justify-content: flex-start; }
}

/* Home page sticky search like Yad2 (owner, 2026-11-05). The header search row is hidden while the hero search is
   in view and fades in once it scrolls away (static/js/sticky-search.js). On the home page the row is laid over the
   page just under the header, so showing or hiding it never moves anything. */
.has-hero-search .header-bar { grid-template-areas: "brand nav"; }
.has-hero-search .header-search {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 25; padding: 10px 12px;
  background: var(--white); box-shadow: 0 1px 0 var(--line), 0 10px 18px rgba(16, 24, 32, .1);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.has-hero-search.show-header-search .header-search {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
@media (min-width: 760px) {
  .has-hero-search .header-bar { grid-template-areas: "brand . nav" "cats cats cats"; }
  .has-hero-search .header-search { max-width: none; padding: 10px 24px 12px; }
  .has-hero-search .header-search .searchbar { max-width: 880px; margin: 0 auto; }
  /* While the header search shows, its own location button replaces the one at the top right. */
  .has-hero-search.show-header-search .header-search .searchbar .place-menu { display: block; }
  .has-hero-search.show-header-search .site-nav .place-menu--nav { display: none; }
}
@media (min-width: 1100px) {
  .has-hero-search .header-bar { grid-template-areas: "brand cats nav"; }
}
@media (prefers-reduced-motion: reduce) {
  .has-hero-search .header-search, .has-hero-search.show-header-search .header-search { transition: none; transform: none; }
}

/* Sign in, sign up and password pages: a narrow centred column (owner, 2026-11-05). */
.entrance-page .page { max-width: 472px; padding-top: 28px; }
.entrance-page .page h1 { margin-top: 0; }
.entrance-page .page button[type="submit"]:not(.social-button):not(.link-button) { width: 100%; }


/* ===== Customer reviews (2026-11-05) ===== */
/* Customer reviews: stars, the reviews list, the star picker. Uses the tokens in site.css. */

/* Stars: five characters, filled to --stars (a percentage) in the logo yellow. */
.stars {
  display: inline-block;
  position: relative;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 1px;
  vertical-align: -1px;
  white-space: nowrap;
}
.stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, var(--yellow, #ffd002) var(--stars, 0%), #d5dae0 var(--stars, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stars--large { font-size: 1.375rem; }

.review-summary { margin: 0 0 .5rem; font-size: .9375rem; }
.review-summary a { color: var(--ink, #18212b); text-decoration: none; }
.review-summary a:hover strong { text-decoration: underline; }
.detail__side .review-summary { margin-top: -.25rem; }

/* The reviews block */
.reviews { margin: 2rem 0 0; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.reviews__head h2 { margin-bottom: 0; color: var(--navy, #172b4d); }
.reviews__average { display: flex; align-items: center; gap: 8px; margin: 0; }
.reviews__average strong { font-size: 1.125rem; }
.reviews__action { margin: 12px 0 16px; }
.reviews__action .muted { margin: 8px 0 0; font-size: .875rem; }

.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.review {
  background: var(--white, #fff);
  border: 1px solid var(--line, #e3e7ec);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow);
  padding: 16px;
}
.review__top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.review__author { font-weight: 600; color: var(--navy, #172b4d); }
.review__top time { font-size: .875rem; margin-left: auto; }
.review__text { margin: 10px 0 0; overflow-wrap: anywhere; }
.review__reply {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--primary, #007200);
  border-radius: 0 var(--radius-small, 8px) var(--radius-small, 8px) 0;
  background: var(--primary-tint, #e9f4e9);
  overflow-wrap: anywhere;
}
.review__reply p { margin: 0; }
.review__reply .review__reply-by { font-size: .875rem; font-weight: 600; color: var(--navy, #172b4d); margin-bottom: 2px; }
.review__links { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0 0; font-size: .875rem; }
.review__links:empty { display: none; }
.review__report { color: var(--muted, #5d6874); }
.review--quoted { box-shadow: none; background: var(--surface, #f6f7f9); margin: 0 0 16px; }

/* The star picker on the review form. Radios are in order 5..1 and shown reversed,
   so hovering or choosing a star also lights the ones before it. */
.star-picker { border: 0; margin: 0 0 16px; padding: 0; }
.star-picker legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.star-picker__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-picker__stars input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.star-picker__stars label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap, 48px);
  height: var(--tap, 48px);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  color: #d5dae0;
  border-radius: var(--radius-small, 8px);
}
.star-picker__stars label::before { content: "★"; }
.star-picker__stars input:checked ~ label,
.star-picker__stars label:hover,
.star-picker__stars label:hover ~ label { color: var(--yellow, #ffd002); }
.star-picker__stars input:focus-visible + label { outline: 3px solid var(--primary, #007200); outline-offset: 2px; }
.star-picker .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.review-delete { margin-top: 16px; }
.card .review-delete button[type="submit"] { margin-top: 0; }


/* ===== Featured listing boosts (2026-11-05) ===== */
/* Featured listings (paid boosts). To be merged into site.css. */

/* The badge sits over the card photo, top left. */
.listing-card__media { position: relative; }
.featured-badge {
  position: absolute; top: 8px; left: 8px;
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 999px;
  background: var(--yellow); color: #172b4d;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.4;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .18);
}
.featured-badge--inline { position: static; box-shadow: none; padding: 1px 8px; }
.listing-card--featured { outline: 2px solid var(--yellow); outline-offset: -2px; }

/* Home page section. */
.section--featured .section__head h2::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px;
  border-radius: 50%; background: var(--yellow); vertical-align: middle;
}

/* Seller's dashboard button and the boost page. */
.button--boost { background: var(--yellow); border-color: var(--yellow); color: #172b4d; }
.button--boost:hover, .button--boost:focus-visible { background: var(--yellow-dark); border-color: var(--yellow-dark); color: #172b4d; }
.boost-listing { margin-top: -8px; }
.boost-explain h2 { margin-top: 0; font-size: 1.125rem; }
.boost-points { margin: 0; padding-left: 20px; }
.boost-points li { margin-bottom: 6px; }
.boost-status { margin-top: 16px; }
.boost-options { margin-bottom: 16px; }
.boost-option h3 { margin: 0 0 4px; }
.boost-option p { margin: 0; }
.boost-request { margin-top: 16px; }
.boost-request .error { color: var(--error); margin: 4px 0 0; }

/* ===== Account Plans page, seller upgrade page and invoices (2026-11-05) ===== */
:root { --navy: #172b4d; }
.plans-page [hidden], .billing-toggle[hidden] { display: none !important; }
.plans-head { text-align: center; padding: 24px 0 8px; }
.plans-head h1 { color: var(--navy); font-size: 1.75rem; margin: 0 0 6px; }
.plans-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.launch-banner { position: relative; overflow: hidden; margin: 16px 0; padding: 20px; border-radius: var(--radius);
  background: var(--primary-tint); border: 1px solid #cfe6cf; text-align: center; }
.launch-banner::before, .launch-banner::after { content: ""; position: absolute; border-radius: 50%; background: var(--yellow); opacity: .25; }
.launch-banner::before { width: 120px; height: 120px; top: -60px; left: -40px; }
.launch-banner::after { width: 90px; height: 90px; bottom: -50px; right: -30px; }
.launch-banner h2 { color: var(--primary-dark); font-size: 1.3rem; margin: 0 0 8px; }
.launch-banner p { position: relative; margin: 0 auto 6px; max-width: 680px; }
.launch-banner__date { font-weight: 600; color: var(--navy); }
.launch-banner--small { text-align: left; padding: 12px 16px; font-weight: 600; color: var(--primary-dark); }
.launch-banner--small::before, .launch-banner--small::after { display: none; }

.plans-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0; }
.plans-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: var(--radius);
  background: var(--white); border: 1.5px solid var(--line); color: var(--navy); font-weight: 600; text-align: center; text-decoration: none; }
.plans-tab:hover { border-color: var(--primary); }
.plans-tab.is-active { border-color: var(--primary); background: var(--primary-tint); color: var(--primary-dark); box-shadow: inset 0 -3px 0 var(--primary); }
.plans-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.plans-subtab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; }
.plans-subtab.is-active { border-color: var(--primary); background: var(--primary); color: var(--white); }
.plans-page:not(.plans-page--tabs) .plans-subtabs { display: none; }
.billing-toggle { display: flex; justify-content: center; gap: 0; margin: 0 auto 16px; width: max-content;
  border: 1.5px solid var(--primary); border-radius: 999px; overflow: hidden; }
.billing-toggle button { min-height: 40px; padding: 0 18px; border: 0; background: var(--white); color: var(--primary); font-weight: 600; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--primary); color: var(--white); }
.plans-page[data-show-billing="monthly"] [data-billing="annual"],
.plans-page[data-show-billing="annual"] [data-billing="monthly"] { display: none; }

.plans-panel { margin: 0 0 24px; }
.plans-panel__title { color: var(--navy); margin: 8px 0 4px; }
.plans-page--tabs .plans-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plans-panel__intro { color: var(--muted); margin: 0 0 12px; }
.plans-panel__note { font-size: .9rem; margin-top: 12px; }
.plans-group__title { color: var(--navy); margin: 8px 0; }
.plans-page--tabs .plans-group__title { display: none; }

.plan-cards { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; margin: 12px 0; }
.plan-box { position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; background: var(--white);
  border: 1.5px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.plan-box--badged { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-hover); }
.plan-box--premium { border-color: var(--yellow-dark); box-shadow: 0 0 0 1px var(--yellow), var(--shadow-hover); }
.plan-badge { position: absolute; top: -12px; left: 20px; padding: 2px 12px; border-radius: 999px; background: var(--yellow);
  color: var(--navy); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.plan-box__name { color: var(--navy); font-size: 1.25rem; margin: 0 0 4px; }
.plan-box__tagline { color: var(--muted); margin: 0 0 12px; }
.plan-box__price { margin: 0 0 12px; }
.plan-price-big { display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.plan-price-big--launch { color: var(--primary); }
.plan-price-big--tba { font-size: 1.1rem; color: var(--muted); }
.plan-price-after { display: block; color: var(--muted); font-size: .9rem; }
.plan-checks { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.plan-checks li { position: relative; padding: 4px 0 4px 28px; }
.plan-checks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007200' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan-checks strong { font-weight: 600; color: var(--navy); }
.plan-box__button { width: 100%; justify-content: center; }
.plan-box__current { margin: 0 0 8px; font-weight: 600; color: var(--primary); text-align: center; }

.plans-info { margin: 32px 0 0; display: grid; gap: 16px; }
.plans-details, .plans-faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; }
.plans-details summary, .plans-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--navy); }
.plans-details summary h2 { display: inline; font-size: 1.15rem; margin: 0; }
.plans-faq h2, .plans-contact h2 { color: var(--navy); font-size: 1.15rem; margin: 0 0 8px; }
.plans-faq details { margin: 0 0 8px; }
.plans-faq details p { margin: 0 0 14px; }

.notice--good { background: var(--primary-tint); }
.plan-current { margin-bottom: 16px; }
.table-scroll { overflow-x: auto; margin: 0 0 16px; }
.plan-compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); }
.plan-compare caption { text-align: left; font-weight: 600; padding: 0 0 8px; color: var(--navy); }
.plan-compare th, .plan-compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.plan-compare thead th { color: var(--navy); font-size: .9rem; }
.plan-compare thead th:first-child + th, .plan-compare td:first-of-type { background: var(--surface); }
.plan-compare .yes { color: var(--primary); font-weight: 700; }
.plan-compare .no { color: var(--muted); }

.invoice { max-width: 760px; }
.invoice__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.invoice__head h1 { color: var(--navy); margin: 0; font-size: 1.5rem; }
.invoice__status { padding: 4px 12px; border-radius: 999px; background: var(--surface); font-weight: 600; margin: 0; }
.invoice__status--paid { background: var(--primary-tint); color: var(--primary-dark); }
.invoice__status--sent { background: #fff8d6; }
.invoice__facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 16px 0; }
.invoice__facts dt { color: var(--muted); }
.invoice__facts dd { margin: 0; font-weight: 600; }
.invoice__lines { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.invoice__lines th, .invoice__lines td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }
.invoice__lines td:last-child, .invoice__lines th:last-child { text-align: right; }

@media (min-width: 760px) {
  .plans-head h1 { font-size: 2.25rem; }
  .plans-tabs { grid-template-columns: repeat(4, 1fr); }
  .plan-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
  .plan-cards--3 { grid-template-columns: repeat(3, 1fr); }
  .plan-cards--1 { max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media print {
  .site-header, .category-nav, .site-footer, .bottom-nav, .tabs, .profile-switch, .no-print { display: none !important; }
  body { background: #fff; }
  .invoice { box-shadow: none; border: 0; }
}

/* Launch offer countdown at the bottom of the banner (owner, 2026-11-05). */
.launch-countdown { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 12px; }
.launch-countdown__label { color: var(--navy); font-size: .875rem; font-weight: 600; }
.launch-countdown__units { display: inline-flex; gap: 6px; }
.launch-countdown__unit {
  display: inline-flex; flex-direction: column; align-items: center; min-width: 52px; padding: 6px 8px;
  border: 1px solid rgba(0, 114, 0, .18); border-radius: 10px; background: var(--white);
}
.launch-countdown__unit b { color: var(--primary-dark); font-size: 1.125rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.launch-countdown__unit small { color: var(--muted); font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em; }

/* Shared free allowance (owner, 2026-11-05) */
.shared-allowance { margin: 12px 0; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.shared-allowance--full { border-color: var(--yellow); }
.shared-allowance__count { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.shared-allowance__profiles { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; }
.shared-allowance .notice { margin: 10px 0 0; }
.post-as { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.post-as select { min-height: 44px; max-width: 100%; }

/* Listing page in the Yad2 style (owner, 2026-11-05): phones get a full-width photo slider, then title,
   price, seller, details and similar listings, with phone and message buttons fixed at the bottom.
   Computers get the gallery with arrows and thumbnails on the left and a price and contact card on the right. */
.ld { display: flex; flex-direction: column; gap: 16px; }
.ld__left, .ld__right { display: contents; }
.ld-gallery { order: 1; } .ld-thumbs { order: 2; } .ld-summary { order: 3; } .ld-seller { order: 4; }
.ld-details { order: 5; } .ld-safety { order: 6; }
.ld-card { padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.ld-card h2 { margin: 0 0 12px; font-size: 1.125rem; }

.ld-gallery { position: relative; margin: -4px -16px 0; background: #0f1419; overflow: hidden; }
.ld-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; }
.ld-gallery__track::-webkit-scrollbar { display: none; }
.ld-gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.ld-gallery--empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--surface); color: var(--muted); }
.ld-gallery__none { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ld-gallery__count { position: absolute; left: 14px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ld-gallery__tools { position: absolute; top: 12px; left: 12px; display: flex; gap: 10px; }
.ld-gallery__tools form { margin: 0; }
.round-button, .ld-gallery__tools .save-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 0 1px 6px rgba(0, 0, 0, .25); cursor: pointer; }
.ld-gallery__tools .save-button span { display: none; }
.save-button[aria-pressed="true"] .icon { fill: #e0245e; stroke: #e0245e; }
.ld-gallery__expand { position: absolute; top: 12px; right: 12px; display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(0, 0, 0, .55); color: var(--white); }
.ld-gallery__arrow { position: absolute; top: 50%; display: none; align-items: center; justify-content: center; width: 48px; height: 48px; min-height: 0; margin: -24px 0 0; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 6px rgba(0, 0, 0, .25); cursor: pointer; }
.ld-gallery__arrow:disabled { opacity: .35; cursor: default; }
.ld-gallery__arrow--prev { left: 16px; } .ld-gallery__arrow--prev .icon { transform: rotate(180deg); }
.ld-gallery__arrow--next { right: 16px; }
.ld-thumbs { display: none; gap: 10px; overflow-x: auto; }
.ld-thumbs button { flex: 0 0 auto; width: 100px; height: 75px; min-height: 0; margin: 0; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; }
.ld-thumbs button[aria-current="true"] { border-color: var(--primary); }
.ld-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ld-summary { border: 0; padding: 0 0 4px; background: none; }
.ld-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ld-chips span { padding: 4px 10px; border-radius: 6px; background: #eceff2; color: var(--ink); font-size: .8125rem; font-weight: 600; }
.ld-summary h1 { margin: 0 0 6px; font-size: 1.375rem; line-height: 1.3; overflow-wrap: anywhere; }
.ld-summary .detail__price { margin: 0 0 4px; font-size: 2rem; letter-spacing: -.01em; }
.ld-summary .detail__place { margin: 0 0 14px; }
.ld-summary .contact-options { display: none; }
.ld-summary .message-form { margin-top: 12px; }
.ld-summary .message-form button[type="submit"], .ld-wide, .ld-summary .button--contact { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.ld-summary__tools { display: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ld-summary__tools form { margin: 0; }
.ld-summary__tools .save-button, .ld-summary__tools > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; cursor: pointer; }
.ld-share { display: none; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ld-share p { width: 100%; margin: 0; font-size: .875rem; }
.ld-share a, .ld-share button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.ld-share .ld-share__wa { border-color: #25d366; background: #25d366; color: var(--white); }
.ld-share .ld-share__fb { border-color: #1877f2; background: #1877f2; color: var(--white); }
/* Share buttons on Service Provider pages and their portfolio page (owner, 2026-11-12). */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.share-row p { width: 100%; margin: 0; font-size: .875rem; }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.share-row button[hidden] { display: none; }
.share-row .share-row__wa { border-color: #25d366; background: #25d366; color: var(--white); }
.share-row .share-row__fb { border-color: #1877f2; background: #1877f2; color: var(--white); }
.share-row__url { width: 100%; min-height: 40px; font-size: .875rem; }

.ld-seller { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.ld-seller:hover { box-shadow: var(--shadow-hover); }
.ld-seller__avatar { flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--primary); color: var(--white); font-size: 1.5rem; font-weight: 700; object-fit: cover; }
.ld-seller__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ld-seller__body > span { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.ld-seller__body .review-summary { margin: 2px 0 0; font-size: .875rem; }
.ld-seller > .icon { color: var(--muted); }

.ld-facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 20px; }
.ld-facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ld-facts dt { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.ld-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ld-details__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.ld-details__foot span, .ld-details__foot a { display: inline-flex; align-items: center; gap: 6px; }
.ld-details__foot .report-link { margin: 0 0 0 auto; color: var(--muted); }

.ld-safety { padding: 16px 18px; border: 1px solid #f0d36b; border-radius: var(--radius); background: #fffbea; color: #6b4e00; }
.ld-safety h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1rem; color: #6b4e00; }
.ld-safety ul { margin: 0 0 8px; padding-left: 20px; font-size: .9rem; }
.ld-safety a { color: #6b4e00; font-weight: 600; }

.ld-similar { margin-top: 28px; }
.ld-similar h2 { margin: 0 0 12px; font-size: 1.25rem; }
.ld-similar__row { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.ld-similar__row::-webkit-scrollbar { display: none; }
.ld-similar__row .listing-card { scroll-snap-align: start; }

/* Phones: the contact bar replaces the bottom menu on a listing page. */
.contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -1px 0 var(--line), 0 -4px 16px rgba(16, 24, 32, .08); }
.contact-bar form { margin: 0; }
.contact-bar .button, .contact-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin: 0; border-radius: 999px; font-size: 1rem; font-weight: 700; }
.contact-bar .button--quiet { border: 2px solid var(--primary); background: var(--white); color: var(--primary); }
body.has-contact-bar .bottom-nav { display: none; }
body.has-contact-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

@media (min-width: 760px) {
  .ld-similar__row { grid-auto-columns: 30%; }
}
@media (min-width: 960px) {
  .contact-bar { display: none; }
  body.has-contact-bar { padding-bottom: 0; }
  .ld { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .ld__left, .ld__right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .ld__right { position: sticky; top: 150px; }
  .ld-gallery { margin: 0; border-radius: 20px; }
  .ld-gallery__track { aspect-ratio: 4 / 3; max-height: 72vh; }
  .ld-gallery__arrow:not([hidden]), .ld-gallery__expand { display: inline-flex; }
  .ld-gallery__tools { display: none; }
  .ld-thumbs { display: flex; }
  .ld-summary { padding: 24px; border: 1px solid var(--line); background: var(--white); }
  .ld-summary .detail__price { font-size: 2.25rem; }
  .ld-summary h1 { font-size: 1.5rem; }
  .ld-summary .contact-options { display: grid; }
  .ld-summary__tools { display: grid; }
  .ld-share { display: flex; }
  .ld-details { padding: 24px; }
  .ld-facts { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
  .ld-facts div { display: block; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--surface); }
  .ld-facts dt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
  .ld-facts dd { margin-top: 4px; }
  .ld-similar__row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
}
.contact-bar .button, .contact-bar button { white-space: nowrap; font-size: .975rem; }
/* The bottom bar already offers it on phones. */
body.has-contact-bar .ld-guest-message { display: none; }
@media (min-width: 960px) { body.has-contact-bar .ld-guest-message { display: block; } }
/* A tall photo must not stretch its card: every card photo is cropped to 4:3. */
.listing-card__media { overflow: hidden; }
.listing-card__media img { aspect-ratio: 4 / 3; height: auto; }
.ld-summary__tools .save-button, .ld-summary__tools > button { font: inherit; font-size: 1rem; font-weight: 600; }

/* Contact buttons (owner, 2026-11-05): at most two, the first solid green, the second white with a thin green
   border. The same pair sits in the price card on computers and in the fixed bar on phones. */
.cbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cbtns--one { grid-template-columns: 1fr; }
.cbtns form { margin: 0; }
.cbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin: 0; padding: 0 14px; border: 1.5px solid var(--primary); border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; box-sizing: border-box; }
.cbtn .icon { flex: 0 0 20px; width: 20px; height: 20px; }
.cbtn span { overflow: hidden; text-overflow: ellipsis; }
.cbtn--primary, button.cbtn--primary[type="submit"] { background: var(--primary); color: var(--white); }
.cbtn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.cbtn--secondary, button.cbtn--secondary[type="submit"] { background: var(--white); color: var(--primary); }
.cbtn--secondary:hover { background: var(--primary-tint); }
.ld-summary .cbtns { margin-top: 4px; }
.contact-bar .cbtn { min-height: 48px; font-size: 1rem; }

.ld-seller__avatar-link { flex: 0 0 56px; text-decoration: none; }
.ld-seller__name { color: var(--ink); font-weight: 700; text-decoration: none; }
.ld-seller__name:hover { text-decoration: underline; }
.ld-seller__more { align-self: center; color: var(--muted); }
.ld-seller:hover { box-shadow: none; }
.reveal-form { margin: 4px 0 0; }
.reveal-link, button.reveal-link[type="submit"] { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; width: auto; margin: 0; padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-size: .9375rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.reveal-link:hover { text-decoration: underline; }
.reveal-link--shown { margin-top: 4px; font-size: 1rem; }
.contact-choices__hint { margin: -4px 0 8px 30px; font-size: .85rem; }
.compose-listing { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.compose-listing img { border-radius: 8px; object-fit: cover; }
button.cbtn[type="submit"], a.cbtn { border: 1.5px solid var(--primary); box-shadow: none; }
/* Phones use the fixed bar, so the price section doesn't repeat the buttons. */
@media (max-width: 959px) { .ld-summary .cbtns { display: none; } }

/* Profile pictures (owner, 2026-11-05): round, cropped to fill. Letters stand in until one is uploaded. */
.avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--primary); color: var(--white); font-size: 1.5rem; font-weight: 700; object-fit: cover; }
.avatar--large { width: 88px; height: 88px; font-size: 2.25rem; }
img.account-menu__avatar { object-fit: cover; padding: 0; }
.picture-box { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.picture-box h2 { margin: 0 0 12px; font-size: 1.05rem; }
.picture-box__row { display: flex; gap: 16px; align-items: flex-start; }
.picture-box__form { display: grid; gap: 8px; }
.picture-box__form input[type="file"] { max-width: 100%; font-size: .9rem; }
.picture-box form { margin: 0 0 8px; }
.picture-box button[type="submit"] { margin-top: 0; }
.seller-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.seller-head h1 { margin: 0; }

/* Notification bell (owner, 2026-11-05). Separate from Messages. On phones the panel sits under the
   header and stops above the bottom bar, so navigation is never covered. */
.alert-menu { position: relative; }
.alert-menu > summary { list-style: none; cursor: pointer; }
.alert-menu > summary::-webkit-details-marker { display: none; }
.alert-menu__button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink); }
.alert-menu__button:hover { background: var(--surface); }
.alert-menu__badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #d92d20; color: var(--white); font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center; }
.alert-menu__panel {
  position: fixed; z-index: 45; top: 64px; left: 8px; right: 8px; max-height: calc(100vh - 150px); overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 32px rgba(16, 24, 32, .18);
}
.alert-menu__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.alert-menu__head form { margin: 0; }
.link-button, button.link-button[type="submit"] { width: auto; min-height: 32px; margin: 0; padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.link-button:hover { background: none; text-decoration: underline; }
.alert-menu__loading, .alert-menu__empty { margin: 0; padding: 16px 14px; }
.alert-menu__all { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); text-align: center; font-weight: 600; }
.alert-menu__panel > p:last-child:not(.alert-menu__all) { padding: 0 14px 12px; margin: 0; }
.alert-item { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.alert-item:hover { background: var(--surface); }
.alert-item--unread { background: var(--primary-tint); }
.alert-item--unread:hover { background: #dcefdc; }
.alert-item__icon { flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--surface); color: var(--primary); }
.alert-item__icon--plan { color: #9a6b00; background: #fff4cc; }
.alert-item__icon--message { color: #1f5fbf; background: #e6efff; }
.alert-item__icon--announcement { color: var(--navy, #172b4d); }
.alert-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: .9rem; }
.alert-item__body strong { font-size: .9375rem; line-height: 1.3; }
.alert-item__text { color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.alert-item__time { color: var(--muted); font-size: .8125rem; }
.alert-item__new { color: var(--primary); font-weight: 700; }
.alerts-page { max-width: 720px; margin: 0 auto; }
.alerts-page__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.alerts-page__head form { margin: 0; }
.alerts-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.alerts-list .alert-item:last-child { border-bottom: 0; }
@media (min-width: 760px) {
  .alert-menu__panel { position: absolute; top: calc(100% + 6px); left: auto; right: -60px; width: 380px; max-height: 70vh; }
}

/* Dashboard banners for things that need the seller to act. */
.dash-alerts { display: grid; gap: 10px; margin: 12px 0; }
.dash-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; border: 1px solid #f0d36b; border-left-width: 5px; border-radius: var(--radius-small); background: #fffbea; }
.dash-alert--urgent { border-color: #f5b8b2; background: #fff4f2; }
.dash-alert--info { border-color: #b9d7f5; background: #f2f8ff; }
.dash-alert p { flex: 1 1 240px; margin: 0; }
.dash-alert .button { width: auto; margin: 0; min-height: 40px; padding: 0 16px; white-space: nowrap; }
.danger-zone { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.danger-zone h2 { margin: 0 0 6px; font-size: 1.05rem; color: var(--error); }
.danger-zone .button { color: var(--error); border-color: var(--error); }

/* Header top right (owner, 2026-11-05): a yellow outlined "+" for a new listing, then the profile picture at the far right. */
.post-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: #f5c400; }
.post-icon:hover { background: #fff8d6; color: #e0b000; }
.account-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; text-decoration: none; }
.account-button .account-menu__avatar { width: 36px; height: 36px; }
.account-button:hover .account-menu__avatar { box-shadow: 0 0 0 3px var(--surface); }
.site-nav .post-icon, .site-nav .account-button { display: inline-flex; }

/* Account side menu, like the owner's reference: dark navy, full height, from the right. */
.side-menu { position: fixed; inset: 0; z-index: 80; }
.side-menu[hidden] { display: none; }
.side-menu__backdrop { position: absolute; inset: 0; background: rgba(10, 18, 34, .55); opacity: 0; transition: opacity .25s ease; }
.side-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 14px;
  width: min(330px, 84vw); padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
  background: #f0f1f4; color: var(--ink); box-shadow: -12px 0 32px rgba(0, 0, 0, .25); transform: translateX(100%); transition: transform .25s ease; outline: none;
}
.side-menu.is-open .side-menu__backdrop { opacity: 1; }
.side-menu.is-open .side-menu__panel { transform: none; }
body.side-menu-open { overflow: hidden; }
.side-menu__close, button.side-menu__close[type="button"] { align-self: flex-end; display: inline-flex; width: 44px; height: 44px; min-height: 0; margin: -6px -10px 0 0; padding: 9px; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.side-menu__close:hover { background: rgba(16, 24, 32, .07); }
.side-menu__who { display: flex; align-items: center; gap: 16px; }
.side-menu__avatar { flex: 0 0 72px; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 999px; background: #172b4d; color: #fff; font-size: 1.75rem; font-weight: 700; object-fit: cover; }
.side-menu__who > div { min-width: 0; }
.side-menu__name { margin: 0 0 6px; font-size: 1.3rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.side-menu__badge { display: inline-block; max-width: 100%; margin: 0 0 6px; padding: 3px 10px; overflow: hidden; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .875rem; text-overflow: ellipsis; white-space: nowrap; }
.side-menu__email { margin: 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.side-menu__switch { border: 1px solid #d5d9e0; border-radius: 18px; background: #fff; }
.side-menu__switch > summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: var(--ink); font-weight: 600; list-style: none; cursor: pointer; }
.side-menu__switch > summary::-webkit-details-marker { display: none; }
.side-menu__switch > summary .icon { transform: rotate(90deg); transition: transform .2s; }
.side-menu__switch[open] > summary .icon { transform: rotate(-90deg); }
.side-menu__switch ul { margin: 0; padding: 0 8px 8px; list-style: none; }
.side-menu__switch li + li a { border-top: 1px solid var(--line); }
.side-menu__switch a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.side-menu__switch a:hover { background: var(--surface); }
.side-menu__switch a.is-active { border-top-color: transparent; background: var(--primary-tint); color: var(--primary-dark); }
.side-menu__switch a.is-active + a, .side-menu__switch li:has(a.is-active) + li a { border-top-color: transparent; }
.side-menu__switch a > span { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.side-menu__switch strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.side-menu__switch small { color: var(--muted); font-size: .85rem; }
.side-menu__switch .side-menu__add { color: var(--muted); font-size: .925rem; min-height: 48px; }
.side-menu__post { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.side-menu__post:hover { background: var(--yellow-dark); color: var(--ink); }
.side-menu__links { display: flex; flex-direction: column; }
.side-menu__links a, .side-menu__links button, .side-menu__links button[type="submit"] {
  display: flex; align-items: center; gap: 18px; width: 100%; min-height: 52px; margin: 0; padding: 0 12px; border: 0; border-radius: 12px;
  background: none; color: var(--ink); font: inherit; font-size: 1.05rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
}
.side-menu__links a:hover, .side-menu__links button:hover { background: rgba(16, 24, 32, .06); }
.side-menu__links form { margin: 0; }
.side-menu__links--end { margin-top: 2px; padding-top: 10px; border-top: 1px solid #d5d9e0; }
.side-menu__upgrade, .side-menu__links a.side-menu__upgrade { color: #8a5d00; font-weight: 600; }
.side-menu__upgrade .icon { color: var(--yellow-dark); }
.side-menu__count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #d92d20; color: #fff; font-size: .75rem; font-weight: 700; text-align: center; }
@media (prefers-reduced-motion: reduce) { .side-menu__panel, .side-menu__backdrop { transition: none; } }

/* My Account dashboard (owner's screenshots, 2026-11-06). Phones: cards, tabs, listings, then the menu.
   From 960 px the menu becomes a left column. */
.acct { display: grid; grid-template-areas: "main" "nav"; gap: 24px; }
.acct-main { grid-area: main; min-width: 0; }
.acct-main h1 { margin: 4px 0 16px; color: var(--navy); font-size: 2rem; font-weight: 800; }
.acct-nav { grid-area: nav; }
.acct-nav ul { margin: 0; padding: 0; list-style: none; }
.acct-nav__wide { display: none; }
.acct-nav a { display: flex; align-items: center; gap: 18px; min-height: 60px; padding: 0 4px; color: var(--ink); text-decoration: none; }
.acct-nav a > span { display: flex; flex: 1; flex-direction: column; justify-content: center; align-self: stretch; min-width: 0; padding: 10px 40px 10px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 600; }
.acct-nav a > span small { color: var(--muted); font-size: .9rem; font-weight: 400; }
.acct-nav a > .icon:last-child { margin-left: -36px; color: var(--ink); }
.acct-nav a:hover > span { color: var(--primary); }
.acct-nav__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; margin-left: 8px; padding: 0 7px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .875rem; font-weight: 700; vertical-align: middle; }
.acct-nav a > span:has(.acct-nav__count) { flex-direction: row; align-items: center; justify-content: flex-start; }

.acct-cards { display: grid; gap: 14px; margin-bottom: 18px; }
.acct-card { padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.acct-who { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-content: center; column-gap: 16px; }
.acct-who > p { grid-column: 2 / 4; margin: 0; }
.acct-who > .acct-who__name { grid-column: 2; grid-row: 1; align-self: center; }
.acct-who > .acct-who__avatar { grid-row: 1 / span 3; align-self: center; }
.acct-who > .acct-edit { grid-column: 3; grid-row: 1; }
.acct-who__avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 1.75rem; font-weight: 700; object-fit: cover; }
.acct-who__text { min-width: 0; }
.acct-who__text p { margin: 0; }
.acct-who__name { font-size: 1.25rem; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.acct-who__type { color: var(--muted); }
.acct-who__hint { margin-top: 6px !important; color: var(--ink); font-size: .875rem; }
.acct-edit { align-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--primary); border-radius: 999px; color: var(--primary); font-weight: 700; text-decoration: none; white-space: nowrap; }
.acct-edit:hover { background: var(--primary-tint); }

.acct-usage { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 16px; }
.acct-usage--full { border-color: var(--yellow); }
.acct-usage__main { min-width: 0; }
.acct-usage__count { margin: 0 0 10px; font-size: 1.05rem; }
.acct-usage__count strong { font-weight: 700; }
.acct-usage__bar { height: 10px; overflow: hidden; border-radius: 999px; background: #dfe3ea; }
.acct-usage__bar span { display: block; min-width: 18px; height: 100%; border-radius: 999px; background: var(--primary); }
.acct-usage--full .acct-usage__bar span { background: #d97706; }
.acct-usage__more { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.acct-usage__more > summary { width: max-content; cursor: pointer; }
.acct-usage__detail { margin: 6px 0 0; color: var(--muted); font-size: .85rem; }
.acct-usage__profiles { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.acct-usage__full { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-radius: var(--radius-small); background: #fff8db; font-size: .9rem; }
.acct-upgrade { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 1.05rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.acct-upgrade:hover { background: var(--yellow-dark); color: var(--ink); }

.acct-tabs { display: flex; margin: 0 0 16px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; scroll-margin-top: 140px; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs a { position: relative; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 10px; color: var(--muted); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.acct-tabs a + a::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: #cfd5dd; }
.acct-tabs a[aria-current="page"] { color: var(--primary); font-weight: 700; box-shadow: inset 0 -4px 0 var(--primary); }

.acct-listing { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 14px; margin-bottom: 12px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.acct-listing__photo img, .acct-listing__photo span { display: flex; align-items: center; justify-content: center; width: 116px; height: 88px; border-radius: 10px; background: var(--surface); color: var(--muted); font-size: .75rem; object-fit: cover; }
.acct-listing__photo { text-decoration: none; }
.acct-listing__body { min-width: 0; }
.acct-listing__title { display: block; color: var(--ink); font-size: 1.1rem; font-weight: 700; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.acct-listing__title:hover { color: var(--primary); }
.acct-listing__price { margin: 4px 0 2px; color: var(--primary); font-size: 1.2rem; font-weight: 800; }
.acct-listing__meta { margin: 0; color: var(--muted); font-size: .9rem; }
.acct-listing__main-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.acct-listing__main-actions form { margin: 0; }
.acct-more { position: relative; align-self: start; }
.acct-more > summary { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink); list-style: none; cursor: pointer; }
.acct-more > summary::-webkit-details-marker { display: none; }
.acct-more > summary:hover, .acct-more[open] > summary { background: var(--surface); }
.acct-more__menu { position: absolute; top: 44px; right: 0; z-index: 15; min-width: 210px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover); }
.acct-more__menu form { margin: 0; }
.acct-more__menu a, .acct-more__menu button, .acct-more__menu button[type="submit"] { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.acct-more__menu a:hover, .acct-more__menu button:hover { background: var(--surface); }
.acct-more__menu .acct-more__danger { color: var(--error); }
.acct-empty { text-align: center; }

.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acct-head h1 { margin-bottom: 4px; }
.acct-head__post { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.acct-head__post:hover { background: var(--yellow-dark); color: var(--ink); }
.acct-head__sub { margin: 0 0 14px; color: var(--muted); }

/* Phones: compact boxes (owner, 2026-11-06). */
@media (max-width: 599px) {
  .acct-main h1 { margin: 0 0 12px; font-size: 1.6rem; }
  .acct-cards { gap: 10px; margin-bottom: 12px; }
  .acct-card { padding: 10px 12px; border-radius: 12px; }
  .acct-who { column-gap: 12px; }
  .acct-who__avatar { width: 48px; height: 48px; font-size: 1.2rem; }
  .acct-who__name { font-size: 1rem; }
  .acct-who__type { font-size: .85rem; }
  .acct-who__hint { margin-top: 2px !important; font-size: .8rem; }
  .acct-edit { min-height: 32px; padding: 0 12px; gap: 4px; font-size: .875rem; }
  .acct-edit .icon { width: 16px; height: 16px; }
  .acct-usage { gap: 6px 12px; }
  .acct-usage__count { margin: 0 0 6px; font-size: .875rem; }
  .acct-usage__bar { height: 6px; }
  .acct-usage__bar span { min-width: 10px; }
  .acct-usage__more { margin-top: 4px; font-size: .8rem; }
  .acct-upgrade { min-height: 34px; padding: 0 14px; gap: 6px; font-size: .875rem; }
  .acct-upgrade .icon { width: 18px; height: 18px; }
  .acct-usage__full { padding: 8px 10px; font-size: .8rem; }
  .acct-tabs { margin-bottom: 12px; }
  .acct-tabs a { min-height: 46px; }
  .acct-head__post { min-height: 38px; padding: 0 14px; font-size: .9rem; }
}
@media (min-width: 600px) {
  .acct-who__avatar { width: 88px; height: 88px; }
  .acct-listing { grid-template-columns: 184px minmax(0, 1fr) auto; padding: 16px; }
  .acct-listing__photo img, .acct-listing__photo span { width: 184px; height: 134px; }
  .acct-listing__title { font-size: 1.35rem; }
  .acct-listing__price { font-size: 1.5rem; }
  .acct-tabs a { flex: 0 0 auto; padding: 0 32px; }
}
@media (min-width: 960px) {
  .acct { grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "nav main"; gap: 40px; }
  .acct-nav { align-self: start; position: sticky; top: 140px; padding: 16px 12px; background: var(--surface); border-radius: 16px; }
  .acct-nav__wide { display: block; }
  .acct-nav a { gap: 14px; min-height: 52px; margin-bottom: 4px; padding: 0 14px; border-radius: 10px; }
  .acct-nav a > span { padding: 0; border: 0; font-size: 1rem; }
  .acct-nav a > span small, .acct-nav a > .icon:last-child { display: none; }
  .acct-nav a:hover { background: var(--white); }
  .acct-nav a[aria-current="page"] { background: var(--primary); color: #fff; }
  .acct-nav a[aria-current="page"] > span { color: #fff; }
  .acct-nav__count { margin-left: auto; }
  .acct-main h1 { font-size: 2.4rem; }
}
@media (min-width: 1180px) {
  .acct-cards { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

/* My Listings page: every action as a visible button (owner, 2026-11-06). */
.acct-quick { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-content: start; gap: 8px; }
@media (min-width: 600px) {
  .acct-listing:has(.acct-quick) { grid-template-rows: auto 1fr; }
  .acct-listing:has(.acct-quick) .acct-listing__photo { grid-row: 1 / span 2; }
  .acct-listing:has(.acct-quick) .acct-listing__body { grid-column: 2 / -1; }
}
.acct-quick form { margin: 0; }
.acct-quick a, .acct-quick button, .acct-quick button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.acct-quick a:hover, .acct-quick button:hover { border-color: var(--primary); background: var(--primary-tint); color: var(--primary); }
.acct-quick .acct-more__danger { color: var(--error); }
.acct-quick .acct-more__danger:hover { border-color: var(--error); background: #fdecea; color: var(--error); }
@media (max-width: 599px) { .acct-quick .icon { display: none; } .acct-quick a, .acct-quick button { white-space: normal; line-height: 1.15; text-align: center; overflow-wrap: anywhere; } .acct-quick { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 0; } .acct-quick form > button { width: 100%; } .acct-quick a, .acct-quick button, .acct-quick button[type="submit"] { min-height: 34px; padding: 4px 8px; font-size: .8rem; } }

/* One-step posting (owner, 2026-11-06): photos first, then details, then Publish. */
.post-page { max-width: 720px; }
.post-step { margin: 16px 0; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.post-step > h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--navy); font-size: 1.2rem; }
.post-photos > p { margin: 0 0 12px; }
.post-photos form { margin: 0; }
.post-photos__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 140px; padding: 16px; border: 2px dashed #b8c4d2; border-radius: 14px; background: var(--surface); color: var(--primary); text-align: center; cursor: pointer; }
.post-photos__add:hover, .post-photos__add:focus-within { border-color: var(--primary); background: var(--primary-tint); }
.post-photos__add strong { color: var(--ink); font-size: 1.1rem; }
.post-photos__input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post-photos__input:focus-visible { outline: none; }
.post-photos #photo-status:empty { display: none; }
.post-photos #photo-status { margin: 10px 0 0; }
.photo-grid__count { margin: 12px 0 8px; color: var(--muted); font-size: .9rem; }
.photo-grid__over { margin: 0 0 8px; color: var(--error); font-size: .9rem; font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.photo-grid li { position: relative; overflow: hidden; border-radius: 10px; background: var(--surface); aspect-ratio: 4 / 3; }
.photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-grid form { margin: 0; }
.photo-grid__cover { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 700; }
.photo-grid__make-cover, button.photo-grid__make-cover[type="submit"] { position: absolute; left: 6px; bottom: 6px; min-height: 0; padding: 2px 8px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .75rem; font-weight: 600; cursor: pointer; }
.photo-grid__remove, button.photo-grid__remove[type="submit"] { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: rgba(16, 24, 32, .7); color: #fff; cursor: pointer; }
.post-location legend, .post-step fieldset legend { display: flex; align-items: center; gap: 6px; }
.post-submit { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.post-submit__publish, button.post-submit__publish[type="submit"] { flex: 1 1 220px; min-height: 52px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 1.1rem; font-weight: 700; }
.post-submit__publish:hover { background: var(--yellow-dark); }
.ld-place-detail { color: var(--muted); }

/* Manage Profiles (owner, 2026-11-06). */
.acct-profiles { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.acct-profile { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.acct-profile:hover { border-color: var(--primary); }
.acct-profile--current { border-color: var(--primary); }
.acct-profile__avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 1.3rem; font-weight: 700; object-fit: cover; }
.acct-profile__text { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 2px; }
.acct-profile__text strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.acct-profile__text span { font-size: .9rem; }
.acct-profile__badge { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); font-size: .8rem; font-weight: 700; }
/* Pages moved into the My Account layout keep their own content; their old cards don't need centring there. */
.acct-main .form-page { max-width: none; margin-left: 0; margin-right: 0; }

/* Keep my plan after the launch offer (owner, 2026-11-06). */
.keep-offer { margin: 12px 0; padding: 14px; border: 1.5px solid var(--yellow); border-radius: 12px; background: #fffbe6; }
.keep-offer--kept { border-color: #cfe6cf; background: var(--primary-tint); }
.keep-offer p { margin: 0 0 10px; }
.keep-offer form { margin: 0; }
.keep-offer__button, button.keep-offer__button[type="submit"] { min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.keep-offer__button:hover { background: var(--yellow-dark); }

/* Private booking calendar for Service Providers (owner, 2026-11-06). */
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.cal-views { display: inline-flex; padding: 3px; border-radius: 999px; background: #e6e9ee; }
.cal-views a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.cal-views a[aria-current="page"] { background: var(--white); box-shadow: var(--shadow); color: var(--primary); }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav h2 { margin: 0 6px; font-size: 1.1rem; min-width: 0; }
.cal-nav__arrow { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.cal-nav__arrow .icon { transform: rotate(180deg); }
.cal-nav__arrow--next .icon { transform: none; }
.cal-nav__today { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.cal-month { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.cal-month__head, .cal-month__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-month__head span { padding: 8px 4px; color: var(--muted); font-size: .8rem; font-weight: 700; text-align: center; border-bottom: 1px solid var(--line); }
.cal-month__day { display: flex; flex-direction: column; gap: 2px; min-height: 92px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; }
.cal-month__week .cal-month__day:last-child { border-right: 0; }
.cal-month__day:hover { background: var(--surface); }
.cal-month__day.is-outside { background: #fafbfc; color: #a3abb5; }
.cal-month__num { font-size: .85rem; font-weight: 700; }
.cal-month__day.is-today .cal-month__num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: var(--primary); color: #fff; }
.cal-chip { overflow: hidden; padding: 1px 6px; border-radius: 6px; background: var(--primary-tint); color: var(--primary-dark); font-size: .72rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.cal-chip--completed { background: #eef0f3; color: var(--muted); }
.cal-chip--cancelled { background: #fdecea; color: #a12a20; text-decoration: line-through; }
.cal-more { color: var(--muted); font-size: .72rem; }
.cal-dots { display: none; gap: 3px; }
.cal-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--primary); }
.cal-dot--completed { background: #9aa3ad; }
.cal-dot--cancelled { background: #e2817a; }
.cal-list { display: grid; gap: 12px; }
.cal-daybox { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.cal-daybox.is-today { border-color: var(--primary); }
.cal-daybox h3 { margin: 0 0 8px; font-size: 1rem; }
.cal-daybox h3 a { color: var(--ink); text-decoration: none; }
.cal-today-tag { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); font-size: .75rem; }
.cal-empty { margin: 0; font-size: .9rem; }
.bk { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cal-daybox .bk:first-of-type, .acct-upcoming .bk:first-of-type { border-top: 0; }
.bk__time { display: flex; flex-direction: column; padding-left: 10px; border-left: 4px solid var(--primary); }
.bk__time strong { font-size: 1rem; }
.bk__time span { color: var(--muted); font-size: .8rem; }
.bk--completed .bk__time { border-color: #9aa3ad; }
.bk--cancelled .bk__time { border-color: #e2817a; }
.bk--cancelled .bk__client, .bk--cancelled .bk__service { text-decoration: line-through; color: var(--muted); }
.bk__body p { margin: 0 0 2px; }
.bk__client { font-weight: 700; }
.bk__service { color: var(--ink); }
.bk__meta { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .875rem; }
.bk__status { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #eef0f3; color: var(--muted); font-size: .75rem; font-weight: 600; }
.bk__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bk__actions form { margin: 0; }
.bk__actions a, .bk__actions button, .bk__actions button[type="submit"] { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.bk__actions a:hover, .bk__actions button:hover { border-color: var(--primary); color: var(--primary); }
.bk__danger, .bk__actions .bk__danger, button.bk__danger[type="submit"] { color: var(--error); }
.bk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct-upcoming { margin: 0 0 18px; }
.acct-upcoming__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.acct-upcoming__head h2 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 1.1rem; color: var(--navy); }
.conv-bookings { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.conv-bookings__new { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; }
.conv-bookings__new:hover { background: var(--yellow-dark); color: var(--ink); }
.conv-bookings__item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-dark); font-size: .875rem; font-weight: 600; text-decoration: none; }
.conv-bookings__item--cancelled { background: #fdecea; color: #a12a20; text-decoration: line-through; }
.conv-bookings__item--completed { background: #eef0f3; color: var(--muted); }
.conv-bookings__note { flex-basis: 100%; margin: 0; font-size: .8rem; }
@media (max-width: 599px) {
  .cal-bar { flex-direction: column; align-items: stretch; }
  .cal-views { justify-content: space-between; }
  .cal-views a { flex: 1; justify-content: center; }
  .cal-nav { justify-content: space-between; }
  .cal-nav h2 { flex: 1; text-align: center; font-size: 1rem; }
  .cal-month__day { min-height: 54px; padding: 4px; align-items: center; }
  .cal-chip, .cal-more { display: none; }
  .cal-dots { display: flex; }
}

/* Small light-grey information notice (owner, 2026-11-06). */
.info-note { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: #f0f1f4; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.info-note p { margin: 0; }
.info-note__title { display: flex; align-items: center; gap: 6px; margin-bottom: 4px !important; color: var(--ink); font-weight: 700; }
.check--confirm { margin: 6px 0 12px; font-weight: 600; }

/* Searchable pickers on the Service Provider services page (owner, 2026-11-06). */
.tag-picker { margin: 0 0 18px; padding: 0; border: 0; }
.tag-picker legend { margin-bottom: 6px; font-weight: 700; }
.tag-picker.is-enhanced .tag-picker__options, .tag-picker.is-enhanced .tag-picker__other { display: none; }
.tag-picker__options { max-height: 260px; overflow-y: auto; }
.tag-picker__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.tag-picker__tags:empty { display: none; }
.tag-picker__tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-dark); font-size: .9rem; font-weight: 600; }
.tag-picker__tag button, .tag-picker__tag button[type="button"] { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.tag-picker__tag button:hover { background: rgba(0, 114, 0, .12); }
.tag-picker__search { position: relative; }
.tag-picker__input { width: 100%; }
.tag-picker__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 280px; margin: 0; padding: 4px; overflow-y: auto; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover); }
.tag-picker__list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.tag-picker__list li:hover, .tag-picker__list li.is-active { background: var(--surface); }
.tag-picker__add { color: var(--primary); font-weight: 600; }
.svc-section { margin: 4px 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.svc-section h2 { margin-top: 0; }

/* Whole listing card clickable on My Account and My Listings (owner, 2026-11-06). */
.acct-listing:hover { border-color: #cfd5dd; box-shadow: var(--shadow-hover); }
.acct-listing__title::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.acct-listing__title:focus-visible { outline: none; }
.acct-listing:has(.acct-listing__title:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }
.acct-listing__main-actions, .acct-quick, .acct-more { position: relative; z-index: 2; }
.acct-listing .featured-badge { position: relative; z-index: 2; }
/* Computers: no Photos button on My Listings, so the row fits; photos are changed through Edit. */
@media (min-width: 960px) { .acct-quick .acct-action--photos { display: none; } }

/* Storefront: see the "Storefront page (second reference set)" block at the end. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stock-badge { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: #b42318; color: #fff; font-size: .75rem; font-weight: 700; }
.stock-badge--inline { position: static; display: inline-block; }
.ld-chips .ld-chips__stock { background: #fdeceb; color: #b42318; }

/* Dashboard: Build Your Storefront / Manage Storefront (owner, 2026-11-06) */
.store-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 16px; padding: 16px; border: 1.5px solid var(--primary); background: var(--primary-tint); }
.store-cta__icon { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--primary); color: #fff; }
.store-cta__text { flex: 1 1 200px; min-width: 0; }
.store-cta__text p { margin: 0; }
.store-cta__title { color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.store-cta__button { flex: 1 1 100%; }
.support-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .95rem; }
.support-offer p { flex: 1 1 240px; color: var(--ink); }
.support-offer .button { min-height: 40px; }
@media (min-width: 600px) { .store-cta__button { flex: none; } }

/* Storefront editor */
.store-editor__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.store-editor__head h1 { margin-bottom: 4px !important; }
.store-editor__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.store-editor__links .button { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.store-editor__cols { display: grid; gap: 20px; }
.store-editor__fields { margin: 0; padding: 0; border: 0; }
.store-step { margin-top: 16px; }
.store-step h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--navy); font-size: 1.15rem; }
.store-step__pics { display: grid; gap: 12px; }
.store-step__logo { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 14px; border: 1px solid var(--line); object-fit: contain; background: var(--surface); color: var(--muted); }
.store-step__cover { display: block; width: 100%; max-width: 400px; height: auto; aspect-ratio: 8 / 3; object-fit: cover; border-radius: 10px; }
.store-hours-edit { border-collapse: collapse; margin-top: 8px; }
.store-hours-edit th { padding: 4px 12px 4px 0; text-align: left; font-weight: 400; }
.store-hours-edit th { width: 112px; }
.store-hours-edit th .check { margin: 0; }
.store-hours-edit td { padding: 4px 2px; }
.store-hours-edit input[type="time"] { min-height: 40px; width: 98px !important; padding: 0 6px; font-size: .9rem; }
@media (min-width: 600px) { .store-hours-edit th { width: 140px; } .store-hours-edit input[type="time"] { width: 120px !important; } }
.store-map-edit__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.store-map-edit__tools .button { min-height: 40px; font-size: .9rem; }
.store-map-edit__map { height: 280px; margin: 8px 0; border-radius: 10px; overflow: hidden; background: var(--surface); }
.accent-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; border: 0; }
.accent-pick legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.accent-pick__item { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px 8px 8px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .9rem; cursor: pointer; }
.accent-pick__item input { position: absolute; opacity: 0; }
.accent-pick__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--swatch); }
.accent-pick__item:has(input:checked) { border-color: var(--swatch); box-shadow: inset 0 0 0 1.5px var(--swatch); font-weight: 700; }
.accent-pick__item:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field__label { display: block; margin: 12px 0 4px; font-weight: 600; }
.store-featured { display: grid; gap: 2px; max-height: 280px; overflow-y: auto; padding: 4px 10px; border: 1px solid var(--line); border-radius: 10px; }
.store-featured .check { margin: 4px 0; }
.store-cat-order { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.store-cat-order li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 10px; }
.store-cat-order label { margin: 0; font-weight: 500; }
.store-cat-order input.store-order { width: 72px !important; min-height: 38px; text-align: center; }
.store-editor__save { margin-top: 20px; }
.banner-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.banner-row img { width: 160px; height: 50px; object-fit: cover; border-radius: 8px; }
.banner-row__text { display: flex; flex: 1 1 140px; flex-direction: column; min-width: 0; }
.banner-row__actions { display: flex; gap: 6px; }
.banner-row__actions form { margin: 0; }
.banner-row__actions button[type="submit"] { width: auto; min-height: 36px; margin: 0; padding: 0 12px; font-size: .875rem; }
.banner-add summary { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--primary); font-weight: 700; cursor: pointer; }
.store-editor__preview { display: none; }
.store-editor__preview.is-open { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--white); }
.store-editor__preview-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.store-editor__preview-bar strong { margin-right: auto; }
.store-editor__devices { display: none; padding: 3px; border-radius: 999px; background: var(--surface); }
.store-editor__preview.is-open .store-editor__devices { display: flex; }
.store-editor__devices button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.store-editor__devices button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.store-editor__preview-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.store-editor__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--surface); }
.store-editor__stage iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--white); transform-origin: 0 0; }
.store-editor__preview.is-open[data-device="mobile"] .store-editor__stage iframe, .store-editor__preview.is-open:not([data-device]) .store-editor__stage iframe {
  width: 390px; max-width: 100%; margin: 12px auto; height: calc(100% - 24px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.store-editor__preview > .muted { margin: 0; padding: 6px 12px; font-size: .8rem; }
body.has-preview-open { overflow: hidden; }
.store-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; padding: 6px 12px; border-radius: 999px; font-size: .875rem; font-weight: 600; }
.store-status--live { background: #e3f4e6; color: #1f7a35; }
.store-status--draft { background: #fff3cd; color: #7a5600; }
.store-status a { color: inherit; }
.store-missing ul { margin: 4px 0 6px; padding-left: 20px; color: var(--ink); }
.store-editor__save { display: flex; flex-wrap: wrap; gap: 10px; }
.store-editor__save button[type="submit"] { flex: 1 1 220px; width: auto; margin: 0; }
.message--warning { background: #fff3cd; color: #5c4100; }
@media (min-width: 600px) { .store-step__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.store-step__pics > div { min-width: 0; }
.store-step__pics input[type="file"] { min-width: 0; max-width: 100%; }
@media (min-width: 1180px) {
  .store-editor__cols { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .store-editor__preview:not(.is-open) { position: sticky; top: 130px; z-index: 1; display: flex; flex-direction: column; height: calc(100vh - 150px);
    overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
  .store-editor__preview:not(.is-open) .store-editor__preview-close { display: none; }
}

/* Listing form: amenities; Saved page: liked stores */
.amenity-choices__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.amenity-choices__list .check { margin: 6px 0; }
.ld-facts__wide { grid-column: 1 / -1; }
.saved-stores__title { margin-top: 32px; }
.saved-stores { display: grid; gap: 8px; }
.saved-store { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.saved-store form { margin: 0; }
.saved-store__link { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.saved-store__link img, .saved-store__letter { flex: none; width: 48px; height: 48px; border-radius: 10px; object-fit: contain; border: 1px solid var(--line); }
.saved-store__letter { display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }
.ld-seller__store { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 600; }
.store-editor__fields, .store-editor__main { min-width: 0; }
@media (max-width: 599px) { .store-editor .store-step { padding: 16px 12px; } .store-hours-edit th { width: 100px; } }
@media (max-width: 599px) {
  .store-hours-edit, .store-hours-edit tbody { display: block; }
  .store-hours-edit tr { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .store-hours-edit th { grid-column: 1 / -1; width: auto; padding: 0; }
  .store-hours-edit td { padding: 0; }
  .store-hours-edit input[type="time"] { width: 100% !important; font-size: 1rem; }
}

/* Storefront page (owner, 2026-11-06, second reference set "storefront_desktop/mobile_home_products" and "_about"):
   white page; logo, name, category and town with the tabs and buttons beside them; a rounded cover with the tagline and
   "Visit Our Store"; a compact search and sort row; product cards with a heart; About in boxes. */
.store { --store-accent: var(--primary); }
body.store-page { background: var(--white); }
body.store-page .page { padding-top: 14px; }
.store-draft { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #fff8db; color: var(--ink); font-size: .9rem; }
.store-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 0; }
.store-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.store-id__logo { flex: none; width: 76px; height: 76px; border-radius: 14px; background: #fde8e4; object-fit: contain; }
.store-id__logo--letter { display: grid; place-items: center; background: var(--store-accent); color: #fff; font-size: 2rem; font-weight: 800; }
.store-id__text { min-width: 0; }
.store-id h1 { margin: 0; color: var(--navy); font-size: 1.45rem; line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.store-id__cat { margin: 2px 0 0; color: #4a5562; font-size: 1rem; font-weight: 500; }
.store-id__place { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 3px 0 0; color: #3a4552; font-size: .875rem; }
.store-id__place a { margin-left: 8px; color: #1d4ed8; font-weight: 600; text-decoration: none; }
.store-id__place a:hover { text-decoration: underline; }
.store-actions { display: flex; gap: 8px; order: 2; }
@media (max-width: 959px) {
  .store-actions > * { flex: none; }
  .store-actions > .store-btn--main { flex: 1 1 auto; }
  .store-actions .store-btn:not(.store-btn--main) { width: 50px; padding: 0; }
}
.store-actions form { display: flex; margin: 0; }
.store-actions > .store-btn--main { order: 3; }
.store-actions > form:has(.store-btn--phone) { order: 4; }
.store-actions > form:has(.store-btn--wa), .store-actions > .store-btn--phone { order: 5; }
.store-actions > .store-btn--share { order: 2; }
.store-actions > .store-btn--like-form { order: 1; }
.store-actions > .store-btn--phone.is-revealed { order: 4; }
.store-btn, button.store-btn[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 0; padding: 0 12px;
  border: 1.5px solid #c9ced6; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: none;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.store-btn:hover, button.store-btn[type="submit"]:hover { background: var(--surface); }
.store-btn--main, .store-btn--main:hover { border-color: var(--store-accent); background: var(--store-accent); color: #fff; }
a.store-btn--main:hover { filter: brightness(.93); background: var(--store-accent); }
.store-btn--wa .icon { color: #25d366; }
.store-btn--outline { border-color: var(--primary); color: var(--primary); }
.store-btn__long, .store-btn__label { display: none; }
.store-btn--main .store-btn__short { display: inline; }
.store-like.is-liked .icon { color: #d92d20; fill: #d92d20; }
.store-tabs { display: grid; grid-template-columns: 1fr 1fr; order: 3; margin: 0 -16px; border-bottom: 1px solid var(--line); }
.store-tabs a { padding: 10px 0 9px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 1.05rem; font-weight: 600; text-align: center; text-decoration: none; }
.store-tabs a[aria-current="page"] { border-bottom-color: var(--yellow); color: var(--navy); font-weight: 700; }
.store-panel { padding-top: 16px; }
.store-hero { position: relative; overflow: hidden; margin: 0 0 16px; border-radius: 16px; background: #f6efe4; }
.store-hero img { display: block; width: 100%; height: 175px; object-fit: cover; }
.store-hero__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 14px 16px; max-width: 62%;
  background: linear-gradient(90deg, rgba(255, 249, 240, .96) 0%, rgba(255, 249, 240, .9) 55%, rgba(255, 249, 240, 0) 100%); }
.store-hero--plain .store-hero__text { background: none; justify-content: flex-end; }
.store-hero__text { max-width: none; width: 68%; }
.store-hero__text h2 { margin: 0; color: var(--navy); font-size: 1.2rem; line-height: 1.15; font-weight: 800; }
.store-hero__text p { margin: 0; color: #3a4552; font-size: .85rem; font-weight: 500; line-height: 1.3; }
.store-hero__button { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.store-hero__button:hover { background: var(--yellow-dark); }
.store-catalogue-head { margin-bottom: 14px; }
.store-catalogue-head__title { display: none; margin: 0; color: var(--navy); font-size: 1.5rem; font-weight: 800; }
.store-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.store-search { position: relative; display: block; margin: 0; }
.store-search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.store-toolbar .store-search input[type="search"] { min-height: 42px; padding-left: 40px; border: 1.5px solid #d5d9e0; border-radius: 999px; background: var(--white); font-size: .925rem; }
.store-toolbar__divider { display: none; }
.store-sort { display: none; margin: 0; }
.store-toolbar select { width: 100%; min-height: 42px; padding: 0 14px; border: 1.5px solid #d5d9e0; border-radius: 12px; font-size: .9rem; font-weight: 600; }
.store-filters { grid-column: 2; grid-row: 1; }
.store-filters summary { position: relative; display: grid; place-items: center; width: 46px; height: 42px; border: 1.5px solid #d5d9e0; border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; list-style: none; }
.store-filters summary::-webkit-details-marker { display: none; }
.store-filters[open] summary { border-color: var(--store-accent); color: var(--store-accent); }
.store-filters__dot { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--store-accent); }
.store-toolbar:has(.store-filters[open]) .store-sort { display: block; grid-column: 1 / -1; grid-row: 2; }
.store-toolbar:has(.store-filters[open]) .store-filters__grid, .store-toolbar:has(.store-filters[open]) .store-filters__actions { grid-column: 1 / -1; }
.store-filters[open] { display: contents; }
.store-filters[open] summary { grid-column: 2; grid-row: 1; }
.store-filters__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 4px 14px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.store-filters__grid label { font-size: .85rem; }
.store-filters__grid label.check { grid-column: 1 / -1; margin-top: 14px; }
.store-filters__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.store-filters__actions button[type="submit"] { width: auto; margin: 0; background: var(--store-accent); }
.store-banners { display: grid; gap: 12px; margin: 0 0 18px; }
.store-banner { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--navy); }
.store-banner img { display: block; width: 100%; height: 120px; object-fit: cover; }
.store-banner__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 12px 16px; max-width: 75%;
  background: linear-gradient(90deg, rgba(10, 20, 30, .65), rgba(10, 20, 30, 0)); color: #fff; }
.store-banner__text h2 { margin: 0; font-size: 1.1rem; line-height: 1.15; }
.store-banner__text p { margin: 0; font-size: .8rem; }
.store-banner__button { display: inline-flex; align-items: center; gap: 2px; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.store-section { margin-bottom: 22px; }
.store-section > h2 { margin: 0 0 12px; color: var(--navy); font-size: 1.15rem; font-weight: 800; }
/* Compact product grid (owner, 2026-11-18): 2 columns on phones, 3 from 760 px, 4 from 1200 px; square photos. */
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.store-card { position: relative; overflow: hidden; border: 1px solid #e3e6ea; border-radius: 12px; background: var(--white); box-shadow: 0 1px 3px rgba(16, 24, 32, .05); transition: box-shadow .15s; }
.store-card:hover { box-shadow: var(--shadow-hover); }
.store-card > a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.store-card__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.store-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.store-card--out .store-card__media img { opacity: .55; }
.store-card__body { display: flex; flex: 1; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }
.store-card__title { font-size: .9rem; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.store-card__price { color: var(--primary); font-size: 1rem; font-weight: 800; line-height: 1.25; }
.store-card__price small { color: var(--muted); font-size: .8rem; font-weight: 500; }
.store-card__specs { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .78rem; }
.store-card__specs span { display: inline; }
.store-card__specs span + span::before { content: " · "; }
.store-card .stock { margin-top: 4px; padding: 2px 8px; font-size: .72rem; }
@media (max-width: 759px) { .store-card .stock--in { display: none; } }
.stock { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; margin-top: auto; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.stock--in { background: #e3f4e6; color: #1f7a35; }
.stock--out { background: #fdeceb; color: #b42318; }
.card-save { position: absolute; top: 8px; right: 8px; z-index: 2; margin: 0; }
.card-save__button, button.card-save__button[type="submit"] { display: grid; place-items: center; width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 1px 4px rgba(16, 24, 32, .18); cursor: pointer; }
.card-save__button:hover, button.card-save__button[type="submit"]:hover { background: #fff; }
.card-save__button.is-saved .icon { color: #d92d20; fill: #d92d20; }
.store-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; border: 1px dashed #d5d9e0; border-radius: 14px; background: var(--white); text-align: center; }
.store-empty p { margin: 0; }
.store-empty__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 4px; border-radius: 50%; background: var(--surface); color: var(--muted); }
.store-empty__title { color: var(--navy); font-size: 1.1rem; font-weight: 700; }
.store-empty .button { margin-top: 10px; min-height: 42px; }
/* About */
.store-about__row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.store-box { margin: 0; padding: 14px 16px; border: 1px solid #e3e6ea; border-radius: 14px; background: var(--white); }
.store-box h2 { margin: 0 0 6px; color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.store-box--about { padding: 4px 4px 0; border: 0; }
.store-about__text { margin: 0 0 8px; color: #3a4552; }
.store-about__cats { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.store-about__cats li { display: flex; align-items: center; gap: 14px; color: #3a4552; font-weight: 500; }
.store-box--photo { padding: 0; overflow: hidden; }
.store-box--photo img { display: block; width: 100%; height: 100%; max-height: 260px; object-fit: cover; }
.store-box__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.store-box__head h2 { margin: 0; }
.store-box__head .icon { color: var(--navy); }
.store-location { display: flex; flex-direction: column; gap: 10px; }
.store-location__text p { margin: 0 0 0 34px; color: #3a4552; }
.store-location__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.store-location__links .store-btn { width: auto; padding: 0 14px; font-size: .9rem; }
.store-map { display: none; }
.store-week { margin: 0 0 0 34px; border-collapse: collapse; font-size: .925rem; }
.store-week th, .store-week td { padding: 4px 18px 4px 0; border-bottom: 1px solid var(--line); font-weight: 500; text-align: left; white-space: nowrap; }
.store-week tr:last-child th, .store-week tr:last-child td { border-bottom: 0; }
.store-week .is-today th, .store-week .is-today td { font-weight: 700; }
.store-week td.is-closed { color: #d92d20; font-weight: 600; }
.store-box--hours > .muted { margin: 6px 0 0 34px; font-size: .875rem; }
.store-contact-list { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; }
.store-contact-list form { margin: 0; }
.store-contact-list .store-btn, .store-contact-list__item, button.store-contact-list__item[type="submit"], .store-contact-list .button--contact, .store-contact-list__email button[type="submit"] {
  display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 44px; margin: 0; padding: 0 4px; border: 0; border-radius: 8px;
  background: none; color: var(--ink); box-shadow: none; font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer;
}
.store-contact-list .store-btn:hover, .store-contact-list__item:hover, .store-contact-list__email button:hover { background: var(--surface); }
.store-contact-list .store-btn__label { display: inline; }
.store-contact-list .icon { color: var(--navy); }
.store-contact-list__item .icon[href*="whatsapp"], .store-contact-list .store-btn--wa .icon { color: #25d366; }
.store--preview a:not([data-tab]):not([data-tab-link]), .store--preview form, .store--preview button { pointer-events: none; }
@media (min-width: 620px) {
  .store-grid { gap: 12px; }
  .store-hero img { height: 220px; }
  .store-hero__text { width: 55%; padding: 20px 28px; }
  .store-hero__text h2 { font-size: 1.6rem; }
  .store-hero__text p { font-size: 1rem; }
  .store-banners { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
@media (min-width: 760px) {
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-tabs { margin: 0; }
}
@media (min-width: 960px) {
  body.store-page .page { padding-top: 22px; }
  .store-top { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 0 28px; }
  .store-id__logo { width: 92px; height: 92px; border-radius: 16px; }
  .store-id h1 { font-size: 1.75rem; }
  .store-id__cat { font-size: 1.1rem; }
  .store-tabs { order: 0; display: flex; gap: 8px; align-self: center; margin: 0; padding-left: 28px; border-bottom: 0; border-left: 1.5px solid var(--line); }
  .store-tabs a { padding: 10px 18px 8px; font-size: 1.1rem; }
  .store-actions { order: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
  .store-actions > * { order: 0 !important; }
  .store-actions .store-btn { width: auto; min-height: 46px; padding: 0 16px; }
  .store-actions .store-btn--icon { width: 48px; padding: 0; }
  .store-btn__long, .store-btn__label { display: inline; }
  .store-btn--main .store-btn__short { display: none; }
  .store-panel { padding-top: 24px; }
  .store-hero { margin-bottom: 26px; border-radius: 18px; }
  .store-hero img { height: 240px; }
  .store-hero__text { width: 50%; padding: 24px 52px; gap: 6px; }
  .store-hero__text h2 { font-size: 2.1rem; }
  .store-hero__text p { font-size: 1.2rem; }
  .store-hero__button { margin-top: 12px; padding: 10px 22px; font-size: 1.1rem; }
  .store-catalogue-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
  .store-catalogue-head__title { display: block; }
  .store-toolbar { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; flex: 0 1 760px; }
  .store-search { flex: 1 1 300px; max-width: 460px; }
  .store-toolbar__divider { display: block; width: 1.5px; height: 30px; background: var(--line); }
  .store-sort { display: block; }
  .store-toolbar select { width: 250px; }
  .store-filters, .store-filters[open] { display: block; position: relative; }
  .store-filters__grid { position: absolute; z-index: 20; right: 0; top: calc(100% + 8px); width: 560px; padding: 8px 16px 16px; box-shadow: var(--shadow-hover); }
  .store-filters__actions { position: absolute; z-index: 21; right: 16px; top: calc(100% + 8px); }
  .store-filters[open] .store-filters__grid { padding-bottom: 64px; }
  .store-filters[open] .store-filters__actions { top: auto; }
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .store-about__row { flex-direction: row; gap: 20px; margin-bottom: 20px; }
  .store-box { padding: 22px 24px; border-radius: 16px; }
  .store-box h2 { font-size: 1.5rem; }
  .store-box--about { flex: 1 1 0; padding: 22px 24px; border: 1px solid #e3e6ea; }
  .store-box--photo { flex: 1.15 1 0; padding: 0; }
  .store-box--photo img { max-height: none; height: 100%; min-height: 300px; }
  .store-box--contact { flex: .7 1 0; }
  .store-box--location { flex: 1.2 1 0; }
  .store-box--hours { flex: 1 1 0; }
  .store-location { flex-direction: row; align-items: center; gap: 20px; }
  .store-location__text { flex: 1; }
  .store-map { display: block; flex: 0 0 300px; height: 170px; border-radius: 12px; overflow: hidden; background: var(--surface); }
  .store-week { font-size: 1rem; }
  .store-week th { padding-right: 60px; }
}
@media (min-width: 1200px) {
  .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.store-card > a.card-save { display: grid; height: 34px; }
.store-card > a:not(.card-save) { display: flex; }
/* The storefront uses the site's own container (`.page`, max-width var(--width)), so it lines up with the header's logo and
   account picture (owner, 2026-11-06). The header row is sized to fit that width. */
@media (min-width: 960px) {
  .store-top { grid-template-columns: minmax(0, auto) auto minmax(0, 1fr); gap: 0 20px; container-type: inline-size; }
  .store-id { gap: 12px; }
  .store-id__logo { width: 80px; height: 80px; }
  .store-id h1 { font-size: 1.5rem; }
  .store-id__cat { font-size: 1rem; }
  .store-tabs { padding-left: 20px; }
  .store-tabs a { padding: 10px 12px 8px; font-size: 1.05rem; }
  .store-actions { flex-wrap: nowrap; gap: 8px; }
  .store-actions .store-btn { padding: 0 14px; font-size: .9rem; }
  .store-actions .store-btn--icon { width: 46px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .store-actions .store-btn--phone:not(.is-revealed) .store-btn__label, .store-actions .store-btn--wa .store-btn__label { display: none; }
  .store-actions .store-btn--phone:not(.is-revealed), .store-actions .store-btn--wa { width: 46px; padding: 0; }
}
@media (min-width: 960px) {
  .store-actions:has(.store-btn--phone):has(.store-btn--wa) .store-btn--wa .store-btn__label { display: none; }
  .store-actions:has(.store-btn--phone):has(.store-btn--wa) .store-btn--wa { width: 46px; padding: 0; }
  .store-id__text { min-width: 0; }
}

/* Cover zoom and position per layout (owner, 2026-11-06): the photo is never cut; it is zoomed from, and centred on,
   the point the owner chose. Phones (below 700 px) use the mobile values and the mobile photo if there is one. */
.store-hero img, .cover-frame img { object-fit: cover; object-position: var(--dx, 50%) var(--dy, 50%); transform: scale(var(--dz, 1)); transform-origin: var(--dx, 50%) var(--dy, 50%); }
@media (max-width: 699px) {
  .store-hero img { object-position: var(--mx, 50%) var(--my, 50%); transform: scale(var(--mz, 1)); transform-origin: var(--mx, 50%) var(--my, 50%); }
}
/* Storefront on phones (owner, 2026-11-23: the products started too far down): the cover comes first in the page and is a
   slim full-width banner at the very top (13:5, 390 x 150 at 390 px) on both tabs, without the headline and button; the logo
   sits over its bottom edge; smaller name block, tabs and gaps. From 700 px CSS puts the cover back under the name row,
   on the Products tab only, as before. */
@media (max-width: 699px) {
  body.store-page .page:has(.store > .store-hero) { padding-top: 0; }
  .store > .store-hero { margin: 0 -16px; border-radius: 0; aspect-ratio: 13 / 5; }
  .store > .store-hero picture { display: block; height: 100%; }
  .store > .store-hero img { height: 100%; }
  .store > .store-hero .store-hero__text { display: none; }
  .store:has(> .store-hero) .store-top { padding-top: 0; }
  .store:has(> .store-hero) .store-id { align-items: flex-start; }
  .store:has(> .store-hero) .store-id__logo { position: relative; margin-top: -26px; border: 3px solid #fff; background-color: #fff; box-shadow: 0 2px 10px rgba(16, 24, 40, .16); }
  .store:has(> .store-hero) .store-id__text { padding-top: 8px; }
  .store-top { gap: 10px; }
  .store-id { gap: 12px; }
  .store-id__logo { width: 68px; height: 68px; }
  .store-id h1 { font-size: 1.25rem; }
  .store-id__cat { overflow: hidden; font-size: .875rem; white-space: nowrap; text-overflow: ellipsis; }
  .store-id__place { margin-top: 1px; font-size: .8rem; }
  .store-tabs a { padding: 8px 0 7px; font-size: 1rem; }
  .store-panel { padding-top: 12px; }
  .store-catalogue-head { margin-bottom: 10px; }
}
@media (min-width: 700px) {
  .store { display: flex; flex-direction: column; }
  .store > * { order: 3; }
  .store > .notice, .store > .store-draft { order: 0; }
  .store > .store-top { order: 1; }
  .store > .store-hero { order: 2; margin-top: 16px; }
  .store:has(> .store-hero) > .store-panel[data-panel="products"] { padding-top: 0; }
  .store:has(> .store-panel[data-panel="products"][hidden]) > .store-hero { display: none; }
}
@media (min-width: 960px) { .store > .store-hero { margin-top: 24px; } }
/* Cover adjustment in the storefront editor: frames in the banner's real proportions (computer 1132 x 240, phone 390 x 150
   with no headline or button since 2026-11-23). */
.cover-adjust { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cover-adjust__title { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.cover-adjust__tabs { display: inline-flex; gap: 4px; margin: 4px 0 12px; padding: 4px; border-radius: 999px; background: var(--surface); }
.cover-adjust__tabs button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.cover-adjust__tabs button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.cover-adjust__source { margin: 0 0 12px; padding: 0; border: 0; }
.cover-adjust__source .check { margin: 6px 0; }
.cover-frame { position: relative; overflow: hidden; container-type: inline-size; border-radius: 14px; background: #f6efe4; cursor: grab; touch-action: none; user-select: none; }
.cover-frame.is-dragging { cursor: grabbing; }
.cover-frame:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cover-frame--desktop { aspect-ratio: 1132 / 240; }
.cover-frame--mobile { width: 100%; max-width: 390px; aspect-ratio: 13 / 5; border-radius: 0; }
.cover-frame--mobile .cover-frame__text { display: none !important; }
.cover-frame img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cover-frame img:not([src]) { display: none; }
.cover-frame__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 249, 240, .96) 0%, rgba(255, 249, 240, .9) 55%, rgba(255, 249, 240, 0) 100%); }
.cover-frame--desktop .cover-frame__text { width: 50%; padding: 0 4.6cqw; gap: .5cqw; }
.cover-frame--desktop strong { color: var(--navy); font-size: 2.97cqw; line-height: 1.15; }
.cover-frame--desktop span { color: #3a4552; font-size: 1.7cqw; }
.cover-frame--desktop em { margin-top: 1cqw; padding: .9cqw 1.9cqw; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 1.55cqw; font-style: normal; font-weight: 700; }
.cover-frame--mobile .cover-frame__text { width: 68%; padding: 0 4.5cqw; gap: 1cqw; }
.cover-frame--mobile strong { color: var(--navy); font-size: 5.4cqw; line-height: 1.15; }
.cover-frame--mobile span { color: #3a4552; font-size: 3.8cqw; line-height: 1.3; }
.cover-frame--mobile em { margin-top: 2.2cqw; padding: 2.2cqw 3.9cqw; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 4cqw; font-style: normal; font-weight: 700; }
.cover-adjust__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; }
.cover-adjust__zoom { display: flex; flex: 1 1 220px; align-items: center; gap: 10px; margin: 0; font-weight: 600; }
.cover-adjust__zoom input[type="range"] { flex: 1; min-height: 0; padding: 0; border: 0; accent-color: var(--primary); }
.cover-adjust__hint { margin: 10px 0 0; font-size: .875rem; }

/* Bulk upload (owner, 2026-11-06) */
.acct-head { flex-wrap: wrap; }
.acct-head__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-head__bulk { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--primary); border-radius: 999px; background: var(--white); color: var(--primary); font-weight: 700; text-decoration: none; white-space: nowrap; }
.acct-head__bulk:hover { background: var(--primary-tint); }
@media (max-width: 959px) { .acct-head__bulk { min-height: 38px; padding: 0 14px; font-size: .9rem; } }
.bulk__back { margin: 0 0 4px; }
.bulk__back a { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-weight: 600; text-decoration: none; }
.bulk__back .icon { transform: rotate(180deg); }
.bulk-kinds { display: inline-flex; gap: 4px; margin: 8px 0 4px; padding: 4px; border-radius: 999px; background: var(--surface); }
.bulk-kinds a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-weight: 600; text-decoration: none; }
.bulk-kinds a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.bulk-steps { display: grid; gap: 14px; margin: 14px 0; padding: 0; list-style: none; }
.bulk-steps h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--navy); font-size: 1.15rem; }
.bulk-steps__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .95rem; }
.bulk-steps__later { opacity: .8; }
.bulk-steps__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.bulk-steps__buttons .button { min-height: 42px; }
.bulk-help summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.bulk-help dl { display: grid; gap: 6px; margin: 10px 0; }
.bulk-help dl div { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 10px; }
.bulk-help dt, .bulk-help dd { margin: 0; font-size: .9rem; }
.bulk-required { color: var(--error); font-size: .75rem; font-weight: 700; }
.bulk-form input[type="file"] { margin-bottom: 4px; }
.bulk-recent ul { padding-left: 18px; }
.bulk-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.bulk-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; background: var(--surface); font-size: .85rem; font-weight: 700; }
.bulk-chip--ok { background: #e3f4e6; color: #1f7a35; }
.bulk-chip--bad { background: #fdeceb; color: #b42318; }
.bulk-chip--dup { background: #fff3cd; color: #7a5600; }
.bulk-rows { display: grid; gap: 8px; margin: 12px 0; }
.bulk-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid #3aa55c; border-radius: 12px; background: var(--white); }
.bulk-row--bad { border-left-color: #d92d20; }
.bulk-row--dup { border-left-color: var(--yellow-dark); }
.bulk-row--skipped { border-left-color: #c5ccd3; opacity: .8; }
.bulk-row__tick { margin: 2px 0 0; }
.bulk-row__body { flex: 1; min-width: 0; }
.bulk-row__title { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.bulk-row__n { margin-right: 6px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.bulk-row__meta { margin: 2px 0 0; font-size: .875rem; }
.bulk-row__errors { margin: 6px 0 0; padding-left: 18px; color: #b42318; font-size: .875rem; }
.bulk-row__errors--box { padding: 10px 14px 10px 30px; border-radius: 10px; background: #fdeceb; }
.bulk-row__dup { margin: 6px 0 0; color: #7a5600; font-size: .875rem; }
.bulk-row__fix, .bulk-row .button--small { flex: none; }
.bulk-mode { margin: 16px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; }
.bulk-mode .check { margin: 8px 0; }
.bulk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.bulk-actions button[type="submit"] { width: auto; margin: 0; }
.bulk-actions button[disabled] { opacity: .5; cursor: not-allowed; }
.bulk-progress { height: 10px; margin: 8px 0; overflow: hidden; border-radius: 999px; background: var(--surface); }
.bulk-progress span { display: block; width: 0; height: 100%; background: var(--primary); transition: width .2s; }
.bulk-photos h2 { margin: 0 0 4px; color: var(--navy); font-size: 1.1rem; }
.bulk-photos button[type="submit"] { width: auto; }

/* Claim page (owner, 2026-11-06) */
.claim h1 { margin-bottom: 4px; color: var(--navy); }
.claim-what { margin: 14px 0; }
.claim-what__head { display: flex; align-items: center; gap: 14px; }
.claim-what__head img, .claim-what__letter { flex: none; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.claim-what__letter { display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 1.6rem; font-weight: 800; }
.claim-what__head p { margin: 0; }
.claim-what__name { color: var(--navy); font-size: 1.2rem; font-weight: 800; }
.claim-what__list { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.claim-what__list li { display: flex; align-items: center; gap: 8px; }
.claim-preview { margin-top: 28px; }
.claim-preview h2 { margin: 0 0 4px; color: var(--navy); font-size: 1.15rem; }
.claim-preview > p { margin: 0 0 12px; font-size: .875rem; }
.claim-preview ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.claim-item { display: flex; gap: 12px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.claim-item > img, .claim-item__nophoto { flex: none; width: 96px; height: 96px; border-radius: 10px; object-fit: cover; }
.claim-item__nophoto { display: grid; place-items: center; background: #eef1f5; color: var(--muted); }
.claim-item > div { min-width: 0; flex: 1; }
.claim-item p { margin: 0; }
.claim-item__title { font-weight: 700; color: var(--ink); }
.claim-item__price { margin-top: 2px !important; color: var(--primary); font-weight: 800; }
.claim-item__meta { margin-top: 2px !important; font-size: .8125rem; }
.claim-item details { margin-top: 6px; font-size: .875rem; }
.claim-item summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.claim-item details p { margin-top: 6px; }
.claim-form__confirm { align-items: flex-start; font-weight: 600; }
.claim-form__confirm input { margin-top: 2px; flex: none; }
.claim-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* "Get claim link" for administrators on unclaimed businesses and listings (owner, 2026-11-06). */
.claim-admin__form { margin: 0; }
.claim-admin__form button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--primary); color: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.post-page > .claim-admin { margin: 0 0 12px; }
.acct-quick .acct-action--claim button, .acct-quick .acct-action--claim button[type="submit"] { border-color: var(--primary); background: var(--primary); color: var(--white); }
.notice .claim-admin { margin-top: 10px; }

/* Language menu (owner, 2026-11-06): a globe in the header on every page, phones included. */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu__button { display: inline-flex; align-items: center; justify-content: center; gap: 2px; height: 40px; padding: 0 6px; border-radius: 999px; color: var(--ink); }
.lang-menu__button:hover, .lang-menu[open] .lang-menu__button { background: var(--surface); }
.lang-menu__code { font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.lang-menu__panel { position: absolute; z-index: 46; top: calc(100% + 6px); right: -8px; display: grid; min-width: 180px; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 32px rgba(16, 24, 32, .18); }
.lang-menu__panel button, .lang-menu__panel button[type="submit"] { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin: 0; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.lang-menu__panel button:hover { background: var(--surface); }
.lang-menu__panel button[aria-current] { color: var(--primary); font-weight: 700; }
@media (max-width: 759px) {
  .lang-menu__button { width: 40px; padding: 0; }
  .lang-menu__code { display: none; }
}

/* Garage sales (owner, 2026-11-07) */
.sale-badge { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 700; }
.listing-card__when { color: var(--primary); }
.listing-card--sale .listing-card__meta { display: flex; align-items: center; gap: 4px; min-width: 0; }
.listing-card--sale .listing-card__meta .icon { flex: 0 0 auto; }
.ld-chips .ld-chips__sale { background: #fff6cc; color: var(--ink); }
.detail__price--sale { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; color: var(--primary); }
.acct-listing__price--sale { display: flex; align-items: center; gap: 6px; font-size: .95rem; }
.sale-map { height: 220px; margin: 12px 0; border-radius: 12px; overflow: hidden; background: var(--surface); }
.ld-sale-where__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.garage-when__times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sale-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sale-filters a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.sale-filters a[aria-current] { background: var(--primary); color: var(--white); box-shadow: none; }
.sale-filters form { display: inline-flex; align-items: center; gap: 6px; }
.sale-filters input[type=date] { min-height: 40px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; font-size: .9rem; }
.sale-post { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--radius); background: #fff6cc; }
.sale-post p { margin: 0; font-weight: 600; }
.ld-sale-where { order: 4; } /* Phones: after the date and contact buttons, before the seller card. */
.ld-summary .detail__price--sale { font-size: 1.3rem; letter-spacing: 0; }
@media (min-width: 960px) { .ld-summary .detail__price--sale { font-size: 1.4rem; } }

/* Home page sections (owner, 2026-11-07): a swipe row on phones, a grid from 760 px. */
.home-row { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.home-row::-webkit-scrollbar { display: none; }
.home-row > * { scroll-snap-align: start; min-width: 0; }
@media (min-width: 760px) {
  .home-row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 16px; }
}
.provider-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-align: center; text-decoration: none; box-shadow: var(--shadow); }
.provider-tile:hover { box-shadow: var(--shadow-hover); }
.provider-tile__picture { width: 64px; height: 64px; margin-bottom: 6px; font-size: 1.6rem; }
.provider-tile__name { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.provider-tile__meta { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.stores-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; margin: 0 0 16px; padding: 0; }
.profile-card__meta .icon { vertical-align: -2px; }

/* Upgrade Plans and Featured Listings pages (owner's references, 2026-11-07) */
.plans-v2 { margin: 0 0 24px; }
.plans-banner { display: block; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #1d7fd0; }
.plans-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  /* Phones: taller, starting just right of the palm so the headline stays whole; the picture on the right may be cut. */
  .plans-v2 { margin-left: -16px; margin-right: -16px; }
  .plans-banner { border-radius: 0; }
  .plans-banner img { height: 104px; object-fit: cover; object-position: 20% 50%; }
  .plans-banner--upgrade img { height: 112px; object-position: 0 50%; } /* Owner's 2026-11-07 banner: the words sit on the left. */
}
.plans-sheet { padding: 20px 14px 24px; border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(180deg, #f2f6fb 0%, #f7f9fc 100%); }
@media (min-width: 760px) { .plans-sheet { padding: 24px 28px 32px; } }
.plans-sheet__head { text-align: center; margin: 0 0 20px; }
.plans-sheet__head h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
.plans-sheet__head p { margin: 6px 0 0; font-size: 1.02rem; color: var(--ink); }
.plans-sheet__note { margin: 18px 0 0; text-align: center; color: var(--muted); }
.plans-sheet__head .boost-for { margin-top: 10px; color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.plans-sheet__head .boost-for strong { color: var(--ink); }
.plans-sheet__head .boost-status { display: inline-block; margin: 10px 0 0; }
.plans-sheet .boost-request { max-width: 560px; margin: 20px auto 0; }
.launch-pill { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 14px auto 0 !important;
  padding: 9px 22px; border-radius: 999px; background: #fde7a3; color: var(--ink); font-size: .98rem; }
.launch-pill .icon { color: #f07c00; }
.launch-pill strong { font-weight: 800; }
.launch-pill strong span { color: #f07c00; }
.launch-pill__rule { width: 1px; height: 22px; background: rgba(0, 0, 0, .2); }
@media (max-width: 600px) { .launch-pill { border-radius: 16px; padding: 10px 14px; } .launch-pill__rule { display: none; } }
.launch-countdown--small { margin-top: 10px; transform: scale(.9); }

.tier-row { display: grid; gap: 16px; }
@media (min-width: 700px) and (max-width: 1023px) { .tier-row { grid-template-columns: 1fr 1fr; } .tier-row .tier--orange { grid-column: 1 / -1; order: -1; } }
@media (min-width: 1024px) { .tier-row { grid-template-columns: 1fr 1.18fr 1fr; align-items: stretch; } }
.tier { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border: 1px solid #e3e8ef; border-radius: 16px;
  background: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 6px 18px rgba(16, 24, 32, .05); }
.tier__head { display: flex; align-items: flex-start; gap: 14px; }
.tier__icon { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: #eef1f5; color: var(--ink); }
.tier__name { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.tier__tagline { margin: 2px 0 0; color: var(--ink); font-size: .9rem; line-height: 1.35; }
.tier__price { margin: 8px 0 0; }
.tier__price .plan-price-big { font-size: 1.15rem; color: var(--ink); }
.tier__price .plan-price-big--launch { color: var(--primary); }
.tier__price .plan-price-big--tba { color: var(--ink); }
.tier__price .plan-price-after { font-size: .85rem; }
.tier__checks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .92rem; line-height: 1.35; }
.tier__checks li { display: flex; align-items: flex-start; gap: 8px; }
.tier__checks .icon { flex: 0 0 auto; margin-top: 1px; color: var(--primary); stroke-width: 3; }
.tier__button { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: auto; padding: 8px 16px; border: 0; border-radius: 10px;
  background: var(--primary); color: var(--white); font: inherit; font-weight: 700; font-size: 1rem; text-align: center; text-decoration: none; cursor: pointer; }
.tier__button:hover { filter: brightness(.95); text-decoration: none; }
.tier__button--grey { background: #e7eaee; color: var(--ink); }
.tier__button[disabled] { opacity: .5; cursor: not-allowed; filter: none; }
.tier__badge { position: absolute; top: -13px; right: 16px; padding: 4px 14px; border-radius: 999px; background: #f57c00; color: var(--white); font-size: .82rem; font-weight: 700; }
.tier--orange { border: 2px solid #ffc56a; background: #fff8ec; }
.tier--orange .tier__icon { background: #ffe8c4; color: #f07c00; }
.tier--orange .tier__button { background: #f57c00; }
.tier--blue .tier__icon { background: #e4edff; color: #1a56db; }
.tier--blue .tier__button { background: #e7eaee; color: var(--ink); }

.special-row { display: grid; gap: 16px; margin-top: 22px; }
.special-row__label h2 { margin: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.special-row__label h2::after { content: ""; display: block; width: 46px; height: 5px; margin-top: 10px; border-radius: 3px; background: var(--yellow); }
@media (min-width: 900px) {
  .special-row { grid-template-columns: 1fr 1fr; align-items: stretch; padding: 18px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 32, .05); }
  .special-row__label { grid-column: 1 / -1; }
}
@media (min-width: 1400px) {
  .special-row { grid-template-columns: 170px 1fr 1fr; }
  .special-row__label { grid-column: auto; display: flex; align-items: center; }
}
.tier--special .tier__head { flex-wrap: wrap; }
.tier--special .tier__head > div { flex: 1 1 160px; }
.tier__includes { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1.5px solid currentColor; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.tier__body { display: grid; gap: 12px; }
@media (min-width: 520px) { .tier__body { grid-template-columns: 150px 1fr; align-items: center; } }
.tier__shot { display: block; overflow: hidden; border: 5px solid #222b36; border-radius: 9px; background: #222b36; }
.tier__shot-bar { display: block; height: 8px; background: #e9edf2; }
.tier__shot img { display: block; width: 100%; height: auto; background: #eef3ee; }
.tier__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 10px; border-radius: 12px; }
.tier__foot .tier__price { margin: 0; }
.tier__foot .tier__button { margin: 0; flex: 1 1 200px; max-width: 100%; }
@media (min-width: 520px) { .tier__foot .tier__button { flex: 0 1 auto; } }
.tier--dealer .tier__icon { background: #e4edff; color: #1a4fd6; }
.tier--dealer .tier__includes { color: #1a4fd6; }
.tier--dealer .tier__foot { background: #eef3ff; }
.tier--dealer .tier__button { background: #1a4fd6; }
.tier--agent .tier__icon { background: #e3f3e3; color: var(--primary); }
.tier--agent .tier__includes { color: var(--primary); }
.tier--agent .tier__foot { background: #edf7ed; }

.boost-cards { display: grid; gap: 16px; }
@media (min-width: 620px) { .boost-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .boost-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.boost-card .tier__name { font-size: 1.12rem; }
.boost-card .tier__head { gap: 10px; }
.boost-card .tier__head > div { min-width: 0; }
.boost-card .tier__icon { width: 48px; height: 48px; }
/* The cards follow the room they get, not the screen: beside the My Account menu they have less space than on
   /plans/featured/. Four in a row from 900 px of room; below 1150 px the icon sits above the title so titles fit. */
.boost-wrap { container-type: inline-size; }
@supports (container-type: inline-size) {
  .boost-cards { grid-template-columns: 1fr; }
  @container (min-width: 540px) { .boost-cards { grid-template-columns: 1fr 1fr; } }
  @container (min-width: 900px) { .boost-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @container (min-width: 900px) and (max-width: 1149px) {
    .boost-card .tier__head { flex-direction: column; gap: 8px; }
    .boost-card .tier__name { font-size: 1.05rem; }
  }
}
.boost-card__day b { position: absolute; top: 20px; left: 0; right: 0; text-align: center; font-size: .8rem; font-weight: 800; }
.boost-card__price { display: grid; gap: 2px; margin: 0; padding: 12px; border-radius: 10px; background: #f1f3f6; text-align: center; }
.boost-card__price strong { font-size: 1.1rem; font-weight: 800; }
.boost-card__price span { color: var(--muted); font-size: .88rem; }
.boost-card__price--free { background: #f1f3f6; }
.boost-card--blue .tier__icon { background: #e4efff; color: #1a6fe0; }
.boost-card--blue .boost-card__price { background: #e8f1ff; }
.boost-card--blue .tier__button { background: #1a6fe0; }
.boost-card--green .tier__icon { background: #e3f3e3; color: var(--primary); }
.boost-card--green .boost-card__price { background: #eaf6ea; }
.boost-card--orange { border: 2px solid #ffc56a; background: #fffaf0; }
.boost-card--orange .tier__icon { background: #ffe8c4; color: #f07c00; }
.boost-card--orange .boost-card__price { background: #fff1d1; }
.boost-card--orange .tier__button { background: #f57c00; }
.soon-badge { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: #fff1c2; color: #7a5600; font-size: .75rem; font-weight: 700; }
.tier__current { margin: auto 0 -4px; color: var(--primary); font-weight: 700; font-size: .9rem; text-align: center; }
.plans-sheet__notice { max-width: 760px; margin: 16px auto 0; }

/* Contact Support (owner, 2026-11-07): the official name with logo and verified badge, the pinned inbox box, the
   pop-up (`messaging/_support_dialog.html`) and the /support/ page. */
.support-id { display: inline-flex; align-items: center; gap: 10px; vertical-align: middle; }
.support-id__logo { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.support-id__text { display: inline-flex; align-items: center; gap: 4px; }
.support-id__name { font-weight: 700; color: var(--ink); }
.support-id__badge { display: inline-flex; color: #1a6fe0; }
.support-id--big .support-id__logo { width: 48px; height: 48px; }
.support-id--big .support-id__badge .icon { width: 22px; height: 22px; }
.support-head { margin-bottom: 4px; font-size: 1.35rem; }
.support-box { margin: 0 0 18px; }
.thread-row--support { gap: 6px; background: #f2f8ff; border-color: #cfe2fb; }
.thread-row--support.thread-row--unread { border-color: #1a6fe0; box-shadow: 0 0 0 1px #1a6fe0; }
.thread-row--support .thread-row__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inbox-heading { margin: 0 0 10px; font-size: 1rem; color: var(--muted); }
/* Combined inbox (owner, 2026-11-16): a row of profile filters that scrolls sideways on phones, and a label per conversation. */
.inbox-filter { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 10px; padding: 2px 2px 6px; scrollbar-width: thin; }
.inbox-filter__chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; max-width: 70vw; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.inbox-filter__chip[aria-current="page"] { border-color: var(--primary); background: var(--primary-tint); color: var(--primary-dark); }
.inbox-filter__note { margin: 0 0 12px; font-size: .875rem; }
.thread-row__to { justify-self: start; max-width: 100%; overflow: hidden; padding: 2px 8px; border-radius: 6px; background: #eceff2; color: var(--ink); font-size: .75rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.conv-as { display: inline-block; margin: 0 0 8px; }.bubble--support { background: #f2f8ff; border-color: #cfe2fb; }

.support-choices { display: grid; gap: 10px; margin-top: 16px; text-align: left; }
.support-choice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); text-decoration: none; }
.support-choice:hover, .support-choice:focus-visible { border-color: var(--primary); background: var(--primary-tint); }
.support-choice__icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px;
  background: var(--primary-tint); color: var(--primary); }
.support-choice__text { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.support-choice__text strong { font-size: 1.05rem; }
.support-choice__text span { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.support-choice__text .support-choice__email { color: var(--primary); font-weight: 600; }
.support-choice > .icon:last-child { flex: 0 0 auto; color: var(--muted); }
.support-page { max-width: 480px; margin-inline: auto; text-align: center; }
.support-page h1 { margin: 6px 0 4px; }
.support-page__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); }
.support-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(16, 24, 32, .25); color: var(--ink); }
.support-dialog::backdrop { background: rgba(16, 24, 32, .5); }
.support-dialog__box { position: relative; padding: 26px 20px 20px; text-align: center; }
.support-dialog__box h2 { margin: 8px 0 4px; font-size: 1.35rem; }
.support-dialog__box > p { margin: 0; }
.support-dialog__close { position: absolute; top: 10px; right: 10px; display: inline-flex; padding: 6px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.support-dialog__close:hover { background: #f0f1f4; }
@media (max-width: 520px) {
  /* Phones: the pop-up rises from the bottom like a sheet. */
  .support-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .support-dialog__box { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* "Install the app" pop-up and /app/ page (owner, 2026-11-09; static/js/install.js). Same box as Contact Support. */
.install-steps { margin-top: 16px; text-align: left; }
.install-steps__section + .install-steps__section { margin-top: 18px; }
.install-steps__section h3 { margin: 0 0 8px; font-size: 1rem; }
.install-steps__section > p { margin: 0 0 14px; text-align: center; }
.install-steps ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: install-step; }
.install-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; background: #f4f5f7;
  counter-increment: install-step; line-height: 1.4; }
.install-steps li::before { content: counter(install-step); flex: 0 0 24px; height: 24px; border-radius: 999px; background: var(--primary);
  color: var(--white); font-size: .8rem; font-weight: 700; line-height: 24px; text-align: center; }
.install-steps li > .icon { flex: 0 0 auto; color: var(--primary); }
.install-steps__button, button.install-steps__button[type="button"] { width: 100%; }
.install-steps__more { display: block; margin: 16px auto 0; }
.install-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
/* Small "Get the app" pop-up on phones (owner, 2026-11-09): sits just above the bottom menu, or the contact bar on listings. */
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 29;
  display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto; padding: 10px 8px 10px 10px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 24px rgba(16, 24, 32, .16);
  animation: install-banner-in .25s ease-out; }
body.has-contact-bar .install-banner { bottom: calc(86px + env(safe-area-inset-bottom)); }
.install-banner__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; }
.install-banner__text { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .8125rem; line-height: 1.3; }
.install-banner__text strong { display: block; font-size: .9375rem; }
.install-banner__text span { color: var(--muted); }
.install-banner__go, button.install-banner__go[type="button"] { flex: 0 0 auto; }
.install-banner__close { flex: 0 0 auto; display: inline-flex; padding: 6px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.install-banner__close:hover { background: #f0f1f4; color: var(--ink); }
@keyframes install-banner-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .install-banner { animation: none; } }
@media (min-width: 760px) { .install-banner { bottom: 16px; } }
@media (min-width: 960px) { body.has-contact-bar .install-banner { bottom: 16px; } }
@media print { .install-banner { display: none !important; } }

/* Specialized Business Plans as Free / Pro pairs (owner's screenshots, 2026-11-07). Blue for dealers, green for agents. */
.special-plans { display: grid; gap: 18px; margin-top: 26px; }
.special-plans__title { margin: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.special-plans__title::after { content: ""; display: block; width: 46px; height: 5px; margin-top: 10px; border-radius: 3px; background: var(--yellow); }
.plan-pair { --accent: #1a4fd6; --accent-tint: #eef3ff; display: grid; gap: 14px; padding: 14px; border-radius: 18px; background: var(--white);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .05); }
.plan-pair--agent { --accent: var(--primary); --accent-tint: #edf7ed; }
@media (min-width: 760px) { .plan-pair { grid-template-columns: 1fr 1fr; padding: 18px; } }
.pair-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid #e3e8ef; border-radius: 14px; background: var(--white); }
.pair-card--pro { border: 2px solid var(--accent); background: var(--accent-tint); }
.pair-card__kicker { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pair-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); }
.pair-card--pro .pair-card__icon { background: var(--white); }
.pair-card__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 1.5rem; font-weight: 800; }
.pair-card__name .tier__includes { color: var(--accent); font-size: .75rem; }
.pair-card__price { display: grid; gap: 2px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid #e3e8ef; }
.pair-card__price strong { font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.pair-card--pro .pair-card__price strong { color: var(--accent); }
.pair-card__price span { color: var(--muted); font-size: .88rem; }
.pair-card__list-title { margin: 4px 0 0; font-weight: 700; }
.pair-card .tier__checks strong { font-weight: 800; }
.pair-card .tier__button { margin-top: auto; background: var(--accent); }
.pair-card .tier__button--outline { border: 1.5px solid var(--accent); background: var(--white); color: var(--accent); }
.pair-card .tier__button--grey { background: #e7eaee; color: var(--ink); }
.pair-card .tier__checks { margin-bottom: 6px; }

/* Upgrade Plans: five cards (owner, 2026-11-07). Row one Personal / Business / Storefront, row two Vehicle Dealer and Real
   Estate Agent at the same card width, centred. Business, dealer and agent cards switch between Free and Pro with two radio
   buttons; both sides share one grid cell, so the card keeps its height. */
.pcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 560px; margin-inline: auto; }
@media (min-width: 900px) {
  .pcards { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pcards--two { grid-template-columns: repeat(2, calc((100% - 36px) / 3)); justify-content: center; }
}
.pcards__heading { margin: 30px 0 16px; text-align: center; font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.pcards__heading::after { content: ""; display: block; width: 46px; height: 5px; margin: 10px auto 0; border-radius: 3px; background: var(--yellow); }
.pcard { --accent: var(--primary); --accent-tint: #edf7ed; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 18px;
  border: 1px solid #e3e8ef; border-top: 5px solid var(--accent); border-radius: 16px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 32, .05); }
.pcard--personal { --accent: #5d6874; --accent-tint: #eef1f5; }
.pcard--business { --accent: #f57c00; --accent-tint: #fff1d9; }
.pcard--storefront { --accent: #1a56db; --accent-tint: #e8f0ff; }
.pcard--dealer { --accent: #1a4fd6; --accent-tint: #eef3ff; }
.pcard--agent { --accent: var(--primary); --accent-tint: #edf7ed; }
.pcard__head { display: flex; align-items: center; gap: 12px; }
.pcard__icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent); }
.pcard__title { margin: 0; font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.pcard__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-height: 44px; padding: 4px; border-radius: 999px; background: #eef1f5; }
.pcard__opt { display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--muted); font-weight: 700; cursor: pointer; user-select: none; }
.pcard__opt:hover { color: var(--ink); }
.pcard__radio--free:checked ~ .pcard__switch .pcard__opt--free,
.pcard__radio--pro:checked ~ .pcard__switch .pcard__opt--pro { background: var(--white); color: var(--accent); box-shadow: 0 1px 3px rgba(16, 24, 32, .15); }
.pcard__radio--free:focus-visible ~ .pcard__switch .pcard__opt--free,
.pcard__radio--pro:focus-visible ~ .pcard__switch .pcard__opt--pro { outline: 2px solid var(--accent); outline-offset: 1px; }
.pcard__switch--note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--accent); font-size: .9rem; font-weight: 700; }
.pcard__panels { display: grid; flex: 1 1 auto; }
.pcard__panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pcard--toggle .pcard__panel { visibility: hidden; }
.pcard__radio--free:checked ~ .pcard__panels .pcard__panel--free,
.pcard__radio--pro:checked ~ .pcard__panels .pcard__panel--pro { visibility: visible; }
.pcard__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pcard__pills .tier__includes { color: var(--accent); font-size: .75rem; }
.pcard__badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: .78rem; font-weight: 700; }
.pcard__price { display: grid; gap: 2px; margin: 0; }
.pcard__price strong { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.pcard__price strong.is-launch { color: var(--primary); }
.pcard__price span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.pcard__tagline { margin: 0; padding-bottom: 12px; border-bottom: 1px solid #e3e8ef; color: var(--muted); font-size: .9rem; }
.pcard__list-title { margin: 2px 0 0; font-weight: 700; }
.pcard .tier__checks { margin-bottom: 8px; }
.pcard .tier__checks strong { font-weight: 800; }
.pcard .tier__button { margin-top: auto; background: var(--accent); }
.pcard .tier__button--outline { border: 1.5px solid var(--accent); background: var(--white); color: var(--accent); }
.pcard .tier__button--grey { background: #e7eaee; color: var(--ink); }
.pcard--personal .tier__button { background: #e7eaee; color: var(--ink); }

/* "Downgrade now" for Pro dealers and agents on the launch offer (owner, 2026-11-07), under "Want to keep it after the launch?". */
.downgrade-now { margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f6f7f9; }
.downgrade-now p { margin: 0 0 10px; }
.downgrade-now__button { display: inline-flex; }
.downgrade-confirm { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 12px; }
/* (Free) / (Pro) next to each account in the side menu (owner, 2026-11-07). */
.side-menu__tier { font-weight: 600; color: var(--muted); }
.side-menu__tier--pro { color: #b25e00; font-weight: 700; }

/* Statistics on free dealer and agent plans (owner, 2026-11-07): upgrade box where the summary would be. */
.stats-locked { margin: 14px 0 20px; padding: 18px; border: 1.5px dashed #c9d3df; border-radius: 14px; background: #f6f8fb; text-align: center; }
.stats-locked h2 { margin: 0 0 8px; font-size: 1.15rem; }
.stats-locked p { margin: 0 auto 14px; max-width: 520px; color: var(--muted); }
.stats-locked__list { margin: 0 0 10px; font-size: 1rem; color: var(--muted); }

/* Analytics (owner, 2026-11-07): the same calm cards as My Account. One chart series in the site green. */
.an-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 4px; }
.an-head h1 { margin: 0; }
.an-head__listing { font-size: 1.4rem; overflow-wrap: anywhere; }
.an-note { margin: 6px 0 14px; font-size: .88rem; }
.an-periods { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #eef1f5; }
.an-periods a { padding: 6px 12px; border-radius: 999px; color: var(--muted); font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.an-periods a.is-on { background: var(--white); color: var(--primary); box-shadow: 0 1px 3px rgba(16, 24, 32, .15); }
.an-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
@media (min-width: 760px) { .an-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.an-tiles--one { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
.an-tiles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.an-tile { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.an-tile__label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.an-tile__label .icon { flex: 0 0 auto; color: var(--primary); }
.an-tile strong { font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: var(--ink); }
.an-card { margin: 0 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.an-card__title { margin: 0 0 10px; font-size: 1.05rem; }
.an-card__hint { margin: -6px 0 10px; font-size: .85rem; }
.an-chart { position: relative; padding-top: 18px; }
.an-chart__peak { position: absolute; top: 0; left: 0; color: var(--muted); font-size: .75rem; }
.an-chart__bars { display: flex; align-items: flex-end; gap: 2px; height: 150px; border-bottom: 1px solid var(--line); }
.an-chart--dense .an-chart__bars { gap: 1px; }
.an-chart__bar { position: relative; display: flex; flex: 1 1 0; align-items: flex-end; height: 100%; min-width: 0; outline: none; }
.an-chart__bar i { display: block; width: 100%; height: var(--h); min-height: 0; border-radius: 4px 4px 0 0; background: var(--primary); }
.an-chart--dense .an-chart__bar i { border-radius: 2px 2px 0 0; }
.an-chart__bar:hover i, .an-chart__bar:focus-visible i { background: #005400; }
.an-chart__bar:hover::after, .an-chart__bar:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(var(--h) + 6px); left: 50%;
  z-index: 2; transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: .75rem; white-space: nowrap; pointer-events: none; }
.an-chart__axis { display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); font-size: .75rem; }
.an-table { margin-top: 10px; font-size: .88rem; }
.an-table summary { color: var(--primary); cursor: pointer; }
.an-table table { width: 100%; max-width: 320px; margin-top: 8px; border-collapse: collapse; }
.an-table td, .an-table th { padding: 3px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.an-columns { display: grid; gap: 16px; margin-top: 12px; }
@media (min-width: 760px) { .an-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.an-columns h3 { margin: 0 0 6px; font-size: .95rem; }
.an-rank { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.an-rank li { padding-left: 2px; }
.an-rank li > a, .an-rank__name { display: block; overflow-wrap: anywhere; font-weight: 600; }
.an-rank li > span:last-child { display: block; color: var(--muted); font-size: .82rem; }
.an-list { display: grid; gap: 8px; }
.an-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink); text-decoration: none; }
.an-row:hover { border-color: var(--primary); text-decoration: none; }
.an-row__title { display: grid; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.an-row__title small { color: var(--muted); font-weight: 400; }
.an-row__nums { display: flex; gap: 12px; color: var(--muted); font-size: .88rem; }
.an-row__nums span { display: inline-flex; align-items: center; gap: 4px; }

/* Your plan page (owner, 2026-11-08): current plan and upgrades side by side. */
.myplan__who { margin: -6px 0 14px; }
.myplan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 18px 0 12px; container-type: inline-size; }
@media (min-width: 700px) {
  .myplan--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .myplan--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .myplan--1 { max-width: 460px; }
}
@media (min-width: 700px) and (max-width: 1099px) { .myplan--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.myplan__card { gap: 12px; padding-top: 26px; }
.myplan__card--current { --accent: #9aa4b1; }
.myplan__card--recommended { border-color: var(--accent); border-width: 2px 2px 2px; border-top-width: 5px; box-shadow: 0 6px 18px rgba(16, 24, 32, .10); }
.myplan__flag { position: absolute; top: -13px; left: 18px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.3; }
.myplan__flag--current { background: #e7eaee; color: var(--ink); }
.myplan__flag--recommended { background: var(--yellow); color: var(--navy); }
.myplan__card .pcard__title { font-size: 1.25rem; }
.myplan__card .tier__checks { margin-bottom: 4px; }
.myplan__status { margin: auto 0 0; color: var(--muted); font-size: .88rem; }
.myplan__form { display: grid; gap: 10px; margin-top: auto; }
.myplan__status + .myplan__button { margin-top: 0; }
.myplan__button { width: 100%; }
.myplan__card--recommended .myplan__button { background: var(--accent); }
.myplan__billing { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; border: 0; }
.myplan__note { margin: 0 0 14px; font-size: .9rem; }
.myplan__manage { margin: 18px 0; }
.myplan__manage .keep-offer, .myplan__manage .downgrade-now { margin-top: 0; }
.myplan__manage > * + * { margin-top: 12px; }
@media (min-width: 1100px) {
  .myplan-row--side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .myplan-row--side .myplan--1 { max-width: none; margin-bottom: 0; }
}
/* Optional plan picture from the Website Editor (owner, 2026-11-08). */
.pcard__image { display: block; width: 100%; height: 140px; object-fit: cover; border-radius: 10px; }
/* Website Editor preview bar (owner, 2026-11-08): only the administrator previewing a draft sees it. */
.preview-bar { position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px;
  padding: 8px 16px; background: var(--yellow); color: var(--navy); font-size: .9rem; text-align: center; }
.preview-bar__links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.preview-bar a { color: var(--navy); font-weight: 700; }
.preview-bar form { display: inline; margin: 0; }
.preview-bar button { padding: 4px 12px; border: 1.5px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy);
  font: inherit; font-weight: 700; cursor: pointer; }
/* The owner's own home banner pictures (Website Editor, 2026-11-08). */
.banner--picture { display: block; padding: 0; background: none; line-height: 0; }
.banner--picture img { display: block; width: 100%; height: auto; }
.banner--picture:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* The test copy's warning bar (staging.islandmarket.vu only, owner 2026-11-09). */
.test-site-bar { position: relative; z-index: 60; padding: 6px 12px; background: #d93025; color: #fff; font-size: .875rem; text-align: center; }
.test-site-bar a { color: #fff; font-weight: 700; }

/* One-page Service Provider profile (owner, 2026-11-12; sell/service_setup.html). */
.svc-setup .post-step .field:last-child { margin-bottom: 0; }
.svc-picture { display: flex; gap: 16px; align-items: flex-start; margin-top: 12px; }
.svc-picture .avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; }
.svc-picture span.avatar { background: var(--primary-tint); color: var(--primary); }
.svc-picture input[type="file"] { max-width: 100%; font-size: .9rem; }
.svc-setup__note { font-size: .875rem; }
/* My Account: the profile name opens the public page for providers, dealers and agents (owner, 2026-11-12). */
.acct-who__name a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--primary); text-underline-offset: 4px; }
.acct-who__name a:hover { text-decoration-color: currentColor; }
.acct-who__view { font-size: .875rem; }

/* Owner's links on their own listing page (owner, 2026-11-12): a My Account button, then Edit, Photos, My listings. */
.owner-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.owner-links .owner-links__account { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0 6px 0 0; padding: 0 16px; border-radius: 999px; text-decoration: none; }
/* Ready-made messages on the compose pages (owner, 2026-11-12; messaging/_quick_texts.html, static/js/quick-texts.js). */
.quick-texts { margin: 4px 0 10px; }
.quick-texts__label { margin: 0 0 6px; color: var(--muted); font-size: .8125rem; }
.quick-texts__list { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-texts__chip, button.quick-texts__chip[type="button"] { width: auto; min-height: 36px; margin: 0; padding: 7px 12px; border: 1.5px solid var(--primary); border-radius: 999px; background: var(--white); color: var(--primary-dark); font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.3; text-align: left; cursor: pointer; }
button.quick-texts__chip[type="button"]:hover { background: var(--primary-tint); }
button.quick-texts__chip[type="button"][aria-pressed="true"] { background: var(--primary); color: var(--white); }
/* Phone notifications card (owner, 2026-11-12; notifications/_push_card.html, static/js/push.js). */
.push-card { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--primary-tint); color: var(--ink); }
.push-card[hidden], .push-card [hidden] { display: none; }
.push-card__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--primary); }
.push-card__text { flex: 1 1 auto; min-width: 0; }
.push-card__text strong { display: block; font-size: .9375rem; }
.push-card__text p { margin: 2px 0 10px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.push-card__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.push-card__button, button.push-card__button[type="button"] { display: inline-flex; align-items: center; width: auto; min-height: 40px; margin: 0; padding: 8px 16px; border: 0; border-radius: 10px; background: var(--primary); color: var(--white); font: inherit; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.push-card__later, button.push-card__later[type="button"] { width: auto; min-height: 40px; margin: 0; padding: 8px 14px; border: 1.5px solid var(--primary); border-radius: 10px; background: var(--white); color: var(--primary-dark); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }


/* Sign-up wall and welcome page (owner, 2026-11-13). */
.join-reason { font-size: 1rem; color: var(--ink); margin: 0 0 16px; }
.join-switch { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.join-switch p { margin: 0 0 10px; color: var(--muted); }
.join-switch .button { width: 100%; justify-content: center; }
.welcome { max-width: 560px; margin: 0 auto; padding-top: 12px; }
.welcome h1 { margin: 0 0 6px; }
.welcome > p { margin: 0 0 16px; }
.welcome .welcome__choices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.welcome__choices a > .icon:last-child { flex: none; color: var(--muted); }


/* ===== Service Provider page (owner, 2026-11-13; templates/listings/provider.html, static/js/provider.js) ===== */
body.provider-page { background: var(--white); overflow-x: clip; }
.pv { --pv-pic: 104px; }
.pv-cover { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: 170px; overflow: hidden;
  background: linear-gradient(135deg, #e9f4e9 0%, #eef2f6 55%, #e4ebf3 100%); }
.page > .pv:first-child > .pv-cover { margin-top: -16px; }
.pv-cover--empty::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 114, 0, .14) 1px, transparent 0); background-size: 18px 18px; }
.pv-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-top: calc(var(--pv-pic) / -2); position: relative; }
.pv-head__picture { flex: none; width: var(--pv-pic); height: var(--pv-pic); border-radius: 50%; object-fit: cover; background: var(--white);
  border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(16, 24, 32, .16); }
.pv-head__picture--letter { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-tint);
  color: var(--primary); font-size: 2.5rem; font-weight: 700; }
.pv-head__text { order: 3; flex: 1 1 100%; min-width: 0; }
.pv-head__text h1 { margin: 0 0 8px; font-size: 1.625rem; line-height: 1.2; overflow-wrap: anywhere; }
.pv-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; }
.pv-head__text .review-summary { margin: 8px 0 0; }
.pv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--primary-tint);
  color: var(--primary); font-size: .875rem; font-weight: 600; }
.pv-place { display: inline-flex; align-items: center; gap: 5px; font-size: .9375rem; }
.pv-place .muted { margin-left: 2px; }
.pv-head__actions { order: 2; display: flex; gap: 8px; margin-left: auto; }
.pv-head__actions form { margin: 0; }
.pv-action, button.pv-action[type="submit"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; width: auto; }
.pv-action:hover:not([disabled]) { border-color: var(--primary); background: var(--primary-tint); }
.pv-action[disabled] { opacity: .5; cursor: not-allowed; }
.pv-action.is-saved { border-color: var(--primary); color: var(--primary); }
.pv-action.is-saved .icon { color: #d92d20; fill: #d92d20; }
.pv-about { margin-top: 14px; max-width: 900px; font-size: 1.0625rem; line-height: 1.65; }
.pv-about p { margin: 0 0 12px; }
.pv-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 16px 0 4px; }
.pv-contact form { margin: 0; }
.pv-contact__button, button.pv-contact__button[type="submit"] { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 52px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: var(--primary); color: var(--white);
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; }
.pv-contact__button:hover, button.pv-contact__button[type="submit"]:hover { background: var(--primary-dark); color: var(--white); }
.pv-contact__button--shown { background: var(--white); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.pv-contact__button--shown:hover { background: var(--primary-tint); color: var(--primary); }
.pv-email { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; min-width: 0; font-weight: 600; }
.pv-email .icon { flex: none; color: var(--primary); }
.pv-email a { min-width: 0; overflow-wrap: anywhere; }
.pv-contact__short { display: none; }
/* Phones (owner, 2026-11-13): Send message full width and solid green; under it Show phone, WhatsApp and Show email in one row of
   equal white buttons with a thin green border and green icons. Revealed numbers wrap inside their button. */
@media (max-width: 759px) {
  .pv-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .pv-contact > * { flex: 1 1 0; min-width: 0; }
  .pv-contact > .pv-contact__button--message { flex-basis: 100%; min-height: 48px; }
  .pv-contact > :not(.pv-contact__button--message) .pv-contact__button,
  .pv-contact > .pv-contact__button:not(.pv-contact__button--message) {
    min-height: 44px; padding: 6px; gap: 6px; border-radius: 10px; background: var(--white); color: var(--ink, #1d2433);
    box-shadow: inset 0 0 0 1px var(--primary); font-size: .8125rem; line-height: 1.2; text-align: center; }
  .pv-contact > :not(.pv-contact__button--message) .pv-contact__button .icon,
  .pv-contact > .pv-contact__button:not(.pv-contact__button--message) .icon { flex: none; width: 18px; height: 18px; color: var(--primary); }
  .pv-contact > :not(.pv-contact__button--message) .pv-contact__button:hover,
  .pv-contact > .pv-contact__button:not(.pv-contact__button--message):hover { background: var(--primary-tint); color: var(--ink, #1d2433); }
  .pv-contact > * .pv-contact__button, .pv-contact > .pv-contact__button { overflow-wrap: break-word; }
  .pv-contact__long { display: none; }
  .pv-contact__short { display: inline; }
}
@media (max-width: 359px) {
  .pv-contact > :not(.pv-contact__button--message) .pv-contact__button,
  .pv-contact > .pv-contact__button:not(.pv-contact__button--message) { flex-direction: column; gap: 3px; padding: 6px 4px; }
}
.pv-section { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.pv-section h2 { margin: 0 0 12px; font-size: 1.375rem; }
.pv-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pv-section__head h2 { margin: 0; }
.pv-more { font-weight: 600; white-space: nowrap; }
/* One line; sideways scrolling when they don't fit (owner, 2026-11-13). The page edge padding is kept inside the scroller. */
.pv-tags { list-style: none; margin: 0 -16px; padding: 2px 16px 6px; display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto;
  scrollbar-width: thin; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.pv-tags li { flex: none; scroll-snap-align: start; }
.pv-tags a, .pv-tags span { white-space: nowrap; }
.pv-tags a, .pv-tags span { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #eef0f3; color: var(--ink);
  font-weight: 500; text-decoration: none; }
.pv-tags a:hover { background: var(--primary-tint); color: var(--primary); }
.pv-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 12px 0 0; color: var(--muted); }
.pv-areas strong { color: var(--ink); }
.pv-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.pv-gallery li { min-width: 0; min-height: 0; }
.pv-gallery a { display: block; height: 100%; border-radius: 12px; overflow: hidden; background: var(--surface); }
.pv-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.pv-gallery a:hover img { transform: scale(1.03); }
.pv-gallery li:first-child { grid-column: span 2; }
.pv-gallery li:first-child img { aspect-ratio: 16 / 10; }
.pv-gallery--n2 li:nth-child(2), .pv-gallery--n4 li:nth-child(4) { grid-column: span 2; }
.pv-gallery--all li:first-child { grid-column: auto; }
.pv-gallery--all li:first-child img { aspect-ratio: 4 / 3; }
.pv-share .share-row { margin: 0; }
.pv .report-link { margin-top: 18px; }
.pv-viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 12, 16, .94); }
.pv-viewer[open] { display: flex; align-items: center; justify-content: center; }
.pv-viewer::backdrop { background: rgba(8, 12, 16, .94); }
.pv-viewer__img { max-width: calc(100vw - 24px); max-height: calc(100vh - 96px); object-fit: contain; border-radius: 6px; }
.pv-viewer__close, .pv-viewer__nav { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.pv-viewer__close { top: 12px; right: 12px; }
.pv-viewer__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.pv-viewer__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.pv-viewer.is-single .pv-viewer__nav { display: none; }
.pv-viewer__count { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .85); }
@media (min-width: 760px) {
  .pv { --pv-pic: 168px; }
  .pv-cover { height: 260px; }
  /* The picture overlaps the cover by 72 px; the name and the buttons start just under the cover. */
  .pv-head { flex-wrap: nowrap; align-items: flex-start; gap: 20px; margin-top: -72px; }
  .pv-head__text { order: 0; flex: 1 1 auto; padding-top: 86px; }
  .pv-head__text h1 { font-size: 2.125rem; }
  .pv-head__actions { order: 0; padding-top: 86px; }
  .pv-section { margin-top: 20px; padding-top: 18px; }
  .pv-section h2 { font-size: 1.75rem; }
  .pv-gallery { gap: 12px; height: 440px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .pv-gallery img, .pv-gallery li:first-child img { aspect-ratio: auto; }
  .pv-gallery li:first-child { grid-column: auto; grid-row: span 2; }
  .pv-gallery--n1 { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
  .pv-gallery--n1 li:first-child { grid-row: auto; }
  .pv-gallery--n2 { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); height: 380px; }
  .pv-gallery--n2 li:first-child, .pv-gallery--n2 li:nth-child(2) { grid-row: auto; grid-column: auto; }
  .pv-gallery--n3 { grid-template-columns: 2fr 1fr; }
  .pv-gallery--n4 li:nth-child(4) { grid-column: span 2; }
  .pv-gallery--all { height: auto; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-template-rows: none; }
  .pv-gallery--all li:first-child { grid-row: auto; }
  .pv-gallery--all img, .pv-gallery--all li:first-child img { aspect-ratio: 4 / 3; }
  .pv-contact { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
/* Editor: cover photo field on the one-page profile */
.svc-cover { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; margin-top: 16px; }
.svc-cover__preview { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 220px; max-width: 100%; aspect-ratio: 4 / 1;
  border-radius: var(--radius-small); object-fit: cover; background: var(--primary-tint); color: var(--primary); }
.svc-cover .field { flex: 1 1 220px; }
.svc-cover input[type="file"] { max-width: 100%; font-size: .9rem; }
/* Rearranging photos (owner, 2026-11-13): ⠿ handle top left, ‹ › at the middle of each side. */
.photo-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.photo-grid__handle, button.photo-grid__handle[type="button"] { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: 1.125rem; line-height: 1; cursor: grab; touch-action: none; }
.photo-grid .photo-grid__move { position: absolute; top: 50%; transform: translateY(-50%); }
.photo-grid .photo-grid__move--earlier { left: 4px; }
.photo-grid .photo-grid__move--later { right: 4px; }
.photo-grid__moves button, .photo-grid__moves button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  min-height: 0; margin: 0; padding: 0 0 2px; border: 0; border-radius: 999px; background: rgba(16, 24, 32, .62); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.photo-grid li.is-dragging { opacity: .55; outline: 2px dashed var(--primary); outline-offset: 2px; }
.photo-grid.is-sorting li { cursor: grabbing; }
/* Fill in from a screenshot, and the gallery tip (owner, 2026-11-13). */
.screenshot-fill h2 { margin-bottom: 4px; }
.screenshot-fill > p.muted { margin: 0 0 12px; }
.screenshot-fill__pick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.screenshot-fill__status { margin: 10px 0 0; }
.screenshot-fill__status:empty { display: none; }
.screenshot-fill__status.is-done { padding: 12px 14px; border-radius: var(--radius-small); background: var(--primary-tint); color: var(--ink); }
.screenshot-fill__status.is-error { color: var(--error); font-weight: 600; }
.photo-tip { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-small);
  background: #fff8db; color: var(--ink); font-size: .9rem; line-height: 1.45; }
.photo-tip .icon { flex: none; margin-top: 1px; color: #8a6d00; }
.photo-highlight { animation: photo-highlight 1.6s ease-out 1; }
@keyframes photo-highlight { 0% { box-shadow: 0 0 0 4px var(--yellow); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Active search filters (owner, 2026-11-13): every filter narrowing the results, each removable. */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .875rem; }
.active-filters > span { color: var(--muted, #5b6472); font-weight: 600; }
.active-filter { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1.5px solid var(--primary); border-radius: 999px; color: var(--primary); background: #fff; font-weight: 600; text-decoration: none; }
.active-filter:hover { background: var(--primary); color: #fff; }
.active-filters__clear { font-weight: 600; }

/* Pull down to refresh inside the installed app (owner, 2026-11-13; static/js/pull-refresh.js). */
.pull-refresh { position: fixed; z-index: 1000; top: calc(env(safe-area-inset-top) + 8px); left: 50%; display: flex;
  align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white);
  color: var(--muted); box-shadow: 0 2px 10px rgba(16, 24, 40, .22); opacity: 0; transform: translate(-50%, -60px);
  pointer-events: none; transition: opacity .15s; }
.pull-refresh.is-ready, .pull-refresh.is-loading { color: var(--primary); }
.pull-refresh.is-loading svg { animation: pull-refresh-spin .8s linear infinite; }
@keyframes pull-refresh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pull-refresh.is-loading svg { animation: none; } }

/* About Island Market (owner, 2026-11-13; templates/pages/about.html). */
.about { max-width: 760px; margin: 0 auto; padding: 8px 0 24px; font-size: 1.0625rem; line-height: 1.65; }
.about__hero { margin: 8px 0 18px; padding: 22px 20px; border-radius: var(--radius); background: var(--primary-tint); }
.about__hero h1 { margin: 0 0 6px; }
.about__lead { margin: 0; color: var(--primary); font-size: 1.1875rem; font-weight: 700; }
.about__story p { margin: 0 0 14px; }
.about__story h2, .about__section h2 { margin: 26px 0 10px; font-size: 1.375rem; }
.about__motto { margin-top: 18px; font-size: 1.125rem; }
.about__section { border-top: 1px solid var(--line); margin-top: 22px; }
.about__list { list-style: none; margin: 0 0 14px; padding: 0; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.about__list .icon { flex: none; margin-top: 3px; color: var(--primary); }
.about__list strong { display: block; }
.about__contact { display: flex; flex-wrap: wrap; gap: 10px; }
.about__sign { margin-top: 28px; text-align: center; color: var(--muted); }

/* Share a location in a conversation (owner, 2026-11-14; share-place.js, messaging/_bubble.html) */
.reply-form__buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.reply-form__buttons button { margin: 0; width: 100%; }
.share-place-open, .share-place [data-gps] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--white); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.share-place-open:hover, .share-place [data-gps]:hover { background: var(--primary-tint); }
.share-place-open[hidden] { display: none; }
.share-place { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 16px; border: 0; border-radius: var(--radius); }
.share-place::backdrop { background: rgba(10, 20, 40, .5); }
.share-place form { display: flex; flex-direction: column; gap: 10px; }
.share-place form > button { margin: 0; }
.share-place__head { display: flex; justify-content: space-between; align-items: center; }
.share-place__head h2 { margin: 0; font-size: 1.15rem; }
.share-place__close { background: none; border: 0; color: var(--muted); font-size: 1.8rem; line-height: 1; padding: 0 4px; min-height: 0; }
.share-place__status, .share-place__note { margin: 0; font-size: .875rem; }
.share-place__map { height: min(52dvh, 360px); border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 600px) {
  .share-place { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 16px 16px 0 0; }
}
.bubble--place { padding: 6px; }
.msg-place { display: block; width: 260px; max-width: 100%; color: inherit; text-decoration: none; border-radius: calc(var(--radius) - 2px); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.msg-place__map { position: relative; display: block; height: 150px; overflow: hidden; background: #e8eee9; }
.msg-place__map img { position: absolute; width: 256px; height: 256px; max-width: none; }
.msg-place__pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -22px 0 0 -11px; background: var(--primary); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.msg-place__text { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; font-size: .9rem; }
.msg-place__text span { color: var(--primary); font-weight: 600; white-space: nowrap; }
.msg-place__credit { display: block; color: var(--muted); font-size: .65rem; text-align: right; padding: 2px 4px 0; }
.bubble--place .bubble__time { padding: 0 4px; }

/* Photos in messages (owner, 2026-11-14; message-photos.js, messaging/_bubble.html) */
.reply-form__extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.reply-form__extras:has(.share-place-open[hidden]) { grid-template-columns: 1fr; }
.reply-form__extras .button, .reply-form__extras button { width: 100%; margin: 0; }
.photo-send__pick { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.photo-send__pick input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; font-size: 0; }
.photo-send__pick:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.photo-send__status { width: 100%; margin: 0; font-size: .875rem; }
.photo-send__status.error { color: var(--danger, #b42318); }
.msg-photo { display: block; border-radius: calc(var(--radius) - 2px); overflow: hidden; background: var(--line); max-width: 260px; }
.msg-photo img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; }

/* Posting before signing up (owner, 2026-11-14): "Your listing is saved as a draft" on the sign-up, sign-in and posting pages. */
.guest-saved {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px;
  border: 1px solid #b7dfb7; border-radius: var(--radius-small); background: #eef8ee; color: var(--ink);
}
.guest-saved .icon { color: var(--primary); margin-top: 1px; }
.guest-saved p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.guest-saved span { font-size: .9375rem; color: var(--muted, #555); }
.guest-saved p { flex: 1; }
.guest-saved .button { margin-top: 10px; align-self: stretch; justify-content: center; text-align: center; padding-left: 10px; padding-right: 10px; font-size: .9375rem; }
.guest-phone { margin-top: 8px; }

/* Which inbox? (owner, 2026-11-15): the profiles with new messages stand out. */
.thread-row__new { color: var(--primary); font-weight: 600; font-size: .9375rem; }
.thread-row--unread { box-shadow: 0 0 0 1px var(--primary); }

/* Several listings at once on My Listings (owner, 2026-11-16; bulk-select.js). */
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.bulk-bar.is-active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.bulk-bar__all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.bulk-bar__all[hidden] { display: none; }
.bulk-bar__count { flex: 1 1 160px; color: var(--muted); font-size: .9375rem; }
.bulk-bar.is-active .bulk-bar__count { color: var(--ink); font-weight: 600; }
.bulk-bar__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.bulk-bar__buttons button { display: inline-flex; align-items: center; gap: 6px; }
.bulk-bar__buttons button:disabled { opacity: .45; cursor: default; }
.bulk-bar input[type="checkbox"], .acct-listing__pick input { width: 22px; height: 22px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.acct-listing__pick { position: absolute; top: 6px; left: 6px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; background: rgba(255,255,255,.92); border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.18); cursor: pointer; }
.acct-listing.is-picked { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.bulk-confirm__list { margin: 12px 0 20px; padding-left: 20px; }
.bulk-confirm__list li { margin: 4px 0; }
.bulk-confirm__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.bulk-confirm__buttons > * { width: auto; }
@media (max-width: 599px) { .bulk-bar__buttons { width: 100%; } .bulk-bar__buttons button { flex: 1 1 40%; justify-content: center; white-space: nowrap; } .bulk-bar__buttons .button--danger { flex-basis: 100%; } }

/* Hide or delete the storefront (owner, 2026-11-16). */
.store-manage { margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.store-manage h2 { margin: 0 0 8px; font-size: 1.0625rem; }
.store-manage p { margin: 0 0 10px; font-size: .9375rem; }
.store-manage form { margin: 0 0 16px; }
.store-manage .button, .store-manage button { display: inline-flex; align-items: center; gap: 6px; width: auto; }
.store-delete h2 { margin: 0 0 6px; font-size: 1.0625rem; }
.store-delete ul { margin: 0 0 16px; padding-left: 20px; }
.store-delete__form { margin: 16px 0; }
.store-delete__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.store-delete__buttons > *, .store-delete__hide button { width: auto; }

/* Home "Find a Service Provider" (owner, 2026-11-16): phones swipe through every provider; computers show 8, two rows of 4. */
@media (min-width: 760px) {
  .profile-strip--providers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .profile-strip--providers li { max-width: none; }
  .profile-strip--providers li:nth-child(n+9) { display: none; }
}
.profile-strip--providers .provider-tile__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Extra categories on the posting form (owner, 2026-11-16). */
.extra-cats { border: 1px solid var(--line, #e3e6ea); border-radius: 10px; padding: 10px 14px; }
.extra-cats > summary { cursor: pointer; font-weight: 600; }
.extra-cats__count { color: var(--primary); font-weight: 600; }
.extra-cats__list { display: grid; gap: 10px; margin-top: 8px; }
.extra-cats__group { border: 0; margin: 0; padding: 0; }
.extra-cats__group legend { font-size: .875rem; color: var(--muted, #667); margin-bottom: 4px; padding: 0; }
.extra-cats__group > label[hidden], .extra-cats__group[hidden] { display: none; }
.extra-cats__item { display: inline-flex; align-items: center; gap: 6px; margin: 0 14px 6px 0; font-weight: 400; min-height: 32px; }
.extra-cats__item input { width: 18px; height: 18px; margin: 0; }

/* Storefront invitations (owner, 2026-11-16). */
.offer-strip--store > .icon:first-child { color: var(--primary); }
.store-nudge { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #cfe6d7; border-radius: 12px; background: var(--primary-tint); color: var(--ink); text-decoration: none; }
.store-nudge:hover { border-color: var(--primary); }
.store-nudge__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--primary); }
.store-nudge__text { flex: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.store-nudge__text strong { font-size: .9375rem; }
.store-nudge__text small { color: var(--muted); font-size: .8125rem; }
.store-nudge > .icon:last-child { flex: none; color: var(--muted); }
.profile-offers__store { border-color: var(--primary) !important; }
.profile-offers__store .profile-offers__icon { background: var(--primary); color: var(--white); }

/* Confirm your email (owner, 2026-11-16: sign in now, confirm later). */
.confirm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0; padding: 10px 14px; border: 1px solid #f0d36b; border-radius: 12px; background: #fff8dc; color: var(--ink); font-size: .9375rem; }
.confirm-bar > .icon { flex: none; color: #9a7400; }
.confirm-bar p { flex: 1 1 220px; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.confirm-bar form { margin: 0; }
.confirm-bar a { font-weight: 600; font-size: .875rem; }

/* Rearrange listings (owner, 2026-11-18; sell/listings_arrange.html, static/js/arrange.js). */
.arrange__list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.arrange__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-small, 10px); background: var(--white); }
.arrange__item.is-dragging { position: relative; z-index: 2; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); border-color: var(--primary); }
.arrange__handle { flex: none; display: grid; place-items: center; width: 32px; height: 44px; font-size: 1.4rem; color: var(--muted, #6b7280); cursor: grab; touch-action: none; user-select: none; }
.arrange__item.is-dragging .arrange__handle { cursor: grabbing; }
.arrange__number { flex: none; min-width: 1.6em; font-weight: 700; color: var(--muted, #6b7280); text-align: right; }
.arrange__photo { flex: none; width: 64px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--surface, #f3f4f6); }
.arrange__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arrange__text { flex: 1; min-width: 0; display: grid; }
.arrange__text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arrange__text span { color: var(--primary); font-weight: 600; font-size: .9rem; }
.arrange__moves { flex: none; display: flex; gap: 4px; }
.arrange .arrange__move { display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font-size: 1.1rem; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: none; }
.arrange .arrange__move:hover:not([disabled]), .arrange .arrange__move:focus-visible { border-color: var(--primary); color: var(--primary); background: var(--white); }
.arrange .arrange__move[disabled] { opacity: .35; cursor: default; background: var(--white); color: var(--ink); }
.arrange__bar { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0; background: var(--surface); }
.arrange.is-changed .arrange__bar .button:first-child { box-shadow: 0 0 0 3px var(--primary-tint); }
@media (max-width: 759px) {
  .arrange__bar { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .arrange__photo { width: 48px; height: 40px; }
  .arrange__number { display: none; }
}

/* Messages from visitors without an account (owner, 2026-11-19; messaging/guests.py). */
.field-error { margin: 4px 0 0; color: var(--error); font-size: .875rem; }
.guest-compose__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.guest-compose__signin { margin: 16px 0 0; text-align: center; }
.guest-compose__form { position: relative; }
.guest-compose__default { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.guest-compose__one-tap { margin: 16px 0 4px; }
.guest-compose__lead { margin: 0 0 10px; line-height: 1.4; }
.guest-compose__whatsapp { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line, #e3e6ea); text-align: center; }
.guest-compose__whatsapp p { margin: 0 0 8px; }
.button--wide { display: flex; width: 100%; justify-content: center; }
.guest-sent { text-align: center; }
.guest-sent__tick { margin: 0; color: var(--primary); }
.guest-sent h1 { margin-top: 4px; }
.guest-sent__join { margin: 20px 0; padding: 16px; border-radius: var(--radius); background: var(--primary-tint); text-align: left; }
.guest-sent__join h2 { margin: 0 0 4px; font-size: 1.125rem; }
.guest-sent__join .button + .button { margin-top: 10px; }
.guest-box { margin: 0 0 18px; }
.guest-box__note { margin: 0 0 8px; font-size: .875rem; }
.thread-row--guest { background: #fffaf0; border-color: #f1dfb6; }
.thread-row--guest.thread-row--unread { border-color: #d49a00; box-shadow: 0 0 0 1px #d49a00; }
.guest-message h1 { margin: 0; }
.guest-message__body { margin: 14px 0; padding: 12px 14px; border-left: 4px solid var(--primary); background: #f6f8f6; border-radius: 6px; overflow-wrap: anywhere; }
.guest-message__contact { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 14px; }
.guest-message__contact dt { color: var(--muted); }
.guest-message__contact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.guest-message__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.guest-message__actions .button { display: inline-flex; align-items: center; gap: 6px; width: auto; margin: 0; }
.guest-message__note { font-size: .875rem; }

/* A form already on its way (static/js/once.js, owner 2026-11-20). */
button.is-busy, input.is-busy { opacity: .7; cursor: progress; }
