:root {
  --ink: #1e293b;
  --ink-soft: #52646d;
  --teal: #008da3;
  --teal-dark: #075467;
  --teal-pale: #dff7f7;
  --sky: #25a9db;
  --coral: #f46f5e;
  --coral-pale: #fff0eb;
  --sun: #f7c84b;
  --lime: #bde27b;
  --martinique-red: #d82428;
  --martinique-green: #00853f;
  --martinique-black: #111111;
  --sand: #fff3d5;
  --paper: #faf8f5;
  --white: #fff;
  --line: #d6e7e9;
  --shadow: 0 18px 55px rgba(4, 70, 82, .14);
  --shadow-soft: 0 7px 24px rgba(4, 70, 82, .1);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 300px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select, input[type="file"] { cursor: pointer; }
select:disabled { cursor: not-allowed; opacity: .65; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgba(243, 109, 79, .35);
  outline-offset: 3px;
}

svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 18px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 0 0 10px 10px;
  transition: top .2s ease;
}

.skip-link:focus { top: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(214, 231, 233, .9);
  backdrop-filter: blur(16px);
}

.topbar::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--martinique-red) 0 33.33%, var(--martinique-green) 33.33% 66.66%, var(--martinique-black) 66.66% 100%);
}

.topbar-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(320px, 640px) auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  overflow: hidden;
  color: var(--white);
  background: var(--teal);
  border-radius: 15px 15px 15px 5px;
  font-weight: 900;
  box-shadow: inset -10px -12px 0 rgba(0, 0, 0, .08);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 17px;
  height: 17px;
  background: var(--sun);
  border-radius: 50%;
}

.brand-mark span { transform: translate(-1px, 1px); font-size: 20px; }

.brand-name { font-size: 18px; font-weight: 850; letter-spacing: -.035em; white-space: nowrap; }
.brand-name span { color: var(--coral); }
.brand-beta { padding: 4px 8px; color: var(--teal-dark); background: #fff1bc; border-radius: 999px; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.brand-flag { flex: 0 0 auto; width: 36px; height: 24px; object-fit: cover; border: 2px solid var(--white); border-radius: 7px; box-shadow: 0 3px 10px rgba(7, 59, 76, .18); }

.desktop-search {
  height: 50px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 7px 0 17px;
  background: #e9f4f5;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: .2s ease;
}

.desktop-search:focus-within { background: var(--white); border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 89, 85, .08); }
.desktop-search > svg { width: 20px; color: var(--ink-soft); }
.desktop-search input { min-width: 0; height: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; }
.desktop-search input::placeholder { color: #6b8183; }

.search-place {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: var(--teal);
  background: var(--white);
  border: 0;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 2px 7px rgba(13, 57, 58, .08);
}

.search-place svg { width: 16px; }

.top-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.mobile-account-link { display: none; }
.weather-banner { display: none; }
.icon-button, .profile-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 14px; }
.icon-button:hover, .profile-button:hover { background: #e9f4f5; }
.icon-button svg { width: 23px; }
.favorite-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: var(--white);
  background: var(--coral);
  border: 2px solid var(--white);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.profile-button span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--teal-dark); background: var(--sun); border-radius: 50%; font-size: 13px; font-weight: 850; }

.sell-button, .primary-button, .secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 15px;
  border: 0;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sell-button, .primary-button { color: var(--white); background: var(--teal); box-shadow: 0 7px 17px rgba(11, 89, 85, .19); }
.sell-button:hover, .primary-button:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11, 89, 85, .25); }
.sell-button svg { width: 19px; }
.secondary-button { color: var(--teal); background: var(--teal-pale); }
.secondary-button:hover { background: #cfe7e0; }
.primary-button.full { width: 100%; min-height: 54px; }

.section-width { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.mobile-intro {
  position: relative;
  min-height: 330px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--teal-dark) url("martinique-hero.webp") center 54% / cover no-repeat;
}

.mobile-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(2, 48, 62, .74) 0%, rgba(2, 63, 76, .47) 46%, rgba(0, 92, 110, .14) 78%);
}

.mobile-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 32px;
  z-index: -1;
  background: linear-gradient(176deg, transparent 48%, var(--white) 50%);
}

.island-hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 58px;
}

.martinique-pride {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding: 7px 12px 7px 8px;
  color: var(--white);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 7px 22px rgba(0, 35, 45, .14);
  backdrop-filter: blur(10px);
}
.martinique-pride img { width: 39px; height: 26px; object-fit: cover; border: 1px solid rgba(255,255,255,.65); border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }

.mobile-intro .eyebrow { color: var(--sun); text-shadow: 0 1px 12px rgba(0, 35, 45, .35); }
.mobile-intro h1 {
  max-width: 650px;
  margin: 9px 0 10px;
  font-size: clamp(39px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
  text-shadow: 0 3px 22px rgba(0, 35, 45, .34);
}

.island-hero-copy { max-width: 590px; margin: 0; font-size: 17px; color: rgba(255,255,255,.92); text-shadow: 0 2px 13px rgba(0, 35, 45, .42); }
.island-hero-note { margin: 10px 0 0; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }

.mobile-search {
  width: min(100%, 610px);
  min-height: 56px;
  display: grid;
  grid-template-columns: 21px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 0 6px 0 16px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 42, 54, .24);
  backdrop-filter: blur(10px);
}
.mobile-search > svg { width: 20px; color: var(--ink-soft); }
.mobile-search input { min-width: 0; height: 54px; color: var(--ink); background: transparent; border: 0; outline: 0; }
.mobile-search button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: var(--coral); border: 0; border-radius: 14px; }
.mobile-search button:hover { background: #df5e4d; }
.mobile-search button svg { width: 20px; }

.category-band {
  position: relative;
  padding: 36px 0 31px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf8 0%, var(--paper) 100%);
}

.category-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -330px;
  right: -80px;
  background: linear-gradient(135deg, var(--sun), #fff0ad);
  border-radius: 50%;
  opacity: .22;
  pointer-events: none;
}
.category-band .section-width { position: relative; z-index: 1; }

.section-heading, .catalogue-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-heading h2, .catalogue-bar h2 { margin: 4px 0 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading.compact h2 { font-size: clamp(24px, 2.3vw, 31px); }

.eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--coral); font-size: 12px; line-height: 1.2; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 27px; height: 4px; background: linear-gradient(90deg, var(--martinique-red) 0 33.33%, var(--martinique-green) 33.33% 66.66%, var(--martinique-black) 66.66% 100%); border-radius: 99px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.text-button { padding: 7px 0; color: var(--teal); background: transparent; border: 0; font-weight: 800; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }

.category-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(105px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.category-card {
  min-width: 0;
  min-height: 102px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  color: var(--ink);
  background: #eaf6f7;
  border: 1px solid transparent;
  border-radius: 19px;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.category-card:hover { transform: translateY(-3px); border-color: #cadad2; }
.category-card.active { color: var(--white); background: var(--teal); border-color: var(--teal); box-shadow: 0 12px 24px rgba(11, 89, 85, .18); }
.category-card:nth-child(3n + 2):not(.active) { background: var(--coral-pale); }
.category-card:nth-child(3n + 3):not(.active) { background: var(--sand); }
.category-card span:first-child { width: 38px; height: 38px; display: grid; place-items: center; color: var(--teal); background: var(--white); border-radius: 13px; box-shadow: 0 3px 9px rgba(15, 54, 53, .08); }
.category-card.active span:first-child { color: var(--coral); }
.category-card svg { width: 21px; height: 21px; }
.category-card strong { overflow: hidden; font-size: 14px; line-height: 1.15; text-overflow: ellipsis; }
.category-hint { display: none; }

.market-section {
  position: relative;
  min-height: 620px;
  padding: 48px 0 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 10%, rgba(255, 209, 102, .3), transparent 25%),
    radial-gradient(circle at 94% 7%, rgba(244, 111, 94, .16), transparent 24%),
    linear-gradient(180deg, #faf8f5 0%, #eaf8f8 54%, #fff1d2 100%);
}
.market-section .section-width { position: relative; z-index: 1; }
.catalogue-bar { align-items: center; }
.result-count { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; }
.catalogue-actions { display: flex; gap: 10px; }
.filter-button, .sort-control {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 750;
  box-shadow: 0 3px 12px rgba(18, 55, 55, .04);
}

.filter-button svg, .sort-control svg { width: 18px; }
.filter-button span { min-width: 21px; height: 21px; display: grid; place-items: center; padding: 0 5px; color: var(--white); background: var(--coral); border-radius: 99px; font-size: 11px; }
.sort-control { position: relative; padding: 0; }
.sort-control select { min-height: 43px; padding: 0 40px 0 15px; color: var(--ink); background: transparent; border: 0; outline: 0; font-weight: 700; appearance: none; }
.sort-control svg { position: absolute; right: 13px; pointer-events: none; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.active-filters:empty { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px 7px 12px; color: var(--teal-dark); background: var(--teal-pale); border: 0; border-radius: 999px; font-size: 13px; font-weight: 750; }
.filter-chip svg { width: 14px; }

.listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; margin-top: 27px; }
.listing-grid.single-result { grid-template-columns: minmax(250px, 300px); }

.listing-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(4, 70, 82, .12);
  animation: card-in .4s ease both;
}
.listing-media-wrap { position: relative; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.listing-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #dde6df;
  border: 0;
  border-radius: 16px;
  aspect-ratio: 4 / 4.65;
  box-shadow: 0 2px 0 rgba(16, 53, 53, .03);
}

.listing-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.listing-media img.image-fallback, .product-image img.image-fallback { object-fit: contain; padding: 24%; background: var(--teal-pale); }
.listing-card:hover .listing-media img { transform: scale(1.035); }
.listing-tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; color: var(--teal-dark); background: rgba(255, 255, 255, .9); border-radius: 999px; font-size: 11px; font-weight: 850; backdrop-filter: blur(8px); }
.favorite-button { position: absolute; top: 11px; right: 11px; width: 39px; height: 39px; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; box-shadow: 0 4px 14px rgba(15, 51, 50, .13); backdrop-filter: blur(8px); }
.favorite-button svg { width: 21px; }
.favorite-button.active { color: var(--white); background: var(--coral); }
.favorite-button.active svg { fill: currentColor; }

.listing-info { padding: 13px 14px 16px; background: linear-gradient(135deg, rgba(255, 209, 102, .18), rgba(255,255,255,.92) 56%, rgba(37, 169, 219, .08)); }
.listing-topline { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.listing-title { min-width: 0; margin: 0; overflow: hidden; color: var(--ink); font-size: 16px; line-height: 1.25; font-weight: 760; white-space: nowrap; text-overflow: ellipsis; }
.listing-price { flex: 0 0 auto; margin: 0; color: var(--teal); font-size: 19px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.listing-meta { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-place { margin: 6px 0 0; display: flex; align-items: center; gap: 5px; color: #667e7f; font-size: 12px; }
.listing-place svg { width: 14px; }

.empty-state { max-width: 460px; margin: 75px auto 40px; padding: 30px 24px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 26px; box-shadow: var(--shadow-soft); text-align: center; }
.empty-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 17px; color: var(--teal); background: var(--teal-pale); border-radius: 25px; }
.empty-icon svg { width: 31px; }
.empty-state h3 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.empty-state p { margin: 7px 0 21px; color: var(--ink-soft); }

.trust-strip { padding: 42px 0; color: var(--white); background: linear-gradient(115deg, #073f50, #008da3 62%, #17a0b0); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px 28px; }
.trust-heading { grid-column: 1 / -1; margin-bottom: 4px; }
.trust-heading p { margin: 0 0 4px; color: var(--sun); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.trust-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 35px); line-height: 1.08; letter-spacing: -.04em; }
.trust-grid article { display: flex; align-items: center; gap: 15px; }
.trust-icon { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; color: var(--teal-dark); background: var(--lime); border-radius: 18px; font-size: 21px; font-weight: 900; }
.trust-icon.coral { background: var(--coral); color: var(--white); }
.trust-icon.yellow { background: var(--sun); }
.trust-icon svg { width: 25px; }
.trust-grid h3 { margin: 0; font-size: 16px; }
.trust-grid p { margin: 3px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.4; }

.site-footer { color: var(--ink); background: #fffdf9; border-top: 1px solid #eedfca; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-grid details { min-width: 0; border-right: 1px solid #eedfca; }
.footer-grid details:first-child { border-left: 1px solid #eedfca; }
.footer-grid summary { position: relative; padding: 24px 48px 24px 22px; list-style: none; font-size: 16px; font-weight: 850; cursor: pointer; }
.footer-grid summary::-webkit-details-marker { display: none; }
.footer-grid summary::after { content: "+"; position: absolute; top: 50%; right: 20px; color: var(--teal); font-size: 25px; font-weight: 500; transform: translateY(-52%); }
.footer-grid details[open] summary::after { content: "−"; }
.footer-content { padding: 0 22px 24px; color: var(--ink-soft); font-size: 14px; }
.footer-content p { margin: 0 0 11px; }
.footer-content small { display: block; font-size: 12px; line-height: 1.5; }
.footer-content strong { color: var(--teal-dark); }
.footer-content button { padding: 0; color: var(--teal); background: transparent; border: 0; font-weight: 800; text-align: left; }

.bottom-nav { display: none; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 32, 33, .56);
  backdrop-filter: blur(7px);
  animation: fade-in .2s ease;
}

.modal-backdrop[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
  position: relative;
  width: min(100%, 760px);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: modal-in .28s cubic-bezier(.2,.8,.2,1);
}

@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 43px; height: 43px; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .93); border: 0; border-radius: 50%; box-shadow: 0 5px 15px rgba(13, 48, 50, .13); }
.modal-close svg { width: 20px; }
.modal-close.inline { position: static; flex: 0 0 auto; background: #edf2ee; box-shadow: none; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 27px 19px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 4px 0 0; font-size: 29px; line-height: 1.1; letter-spacing: -.04em; }

.categories-modal { width: min(100%, 760px); }
.categories-intro { margin: 0; padding: 18px 27px 0; color: var(--ink-soft); line-height: 1.5; }
.all-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 27px 28px;
}
.all-category-list .category-card { min-height: 108px; }

.product-modal { width: min(100%, 980px); overflow: hidden; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); min-height: 580px; }
.product-gallery { min-width: 0; background: #e6ece8; }
.product-image { min-height: 490px; background: #e6ece8; }
.product-image img { width: 100%; height: 100%; min-height: 490px; display: block; object-fit: cover; }
.product-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 9px; background: #f5f8f5; }
.product-thumbnails button { height: 82px; padding: 0; overflow: hidden; background: #e6ece8; border: 3px solid transparent; border-radius: 12px; }
.product-thumbnails button.active { border-color: var(--teal); }
.product-thumbnails img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-details { padding: 35px 32px 28px; overflow: auto; }
.detail-badge { display: inline-flex; align-items: center; padding: 6px 10px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 99px; font-size: 12px; font-weight: 800; }
.product-details h2 { margin: 13px 0 0; padding-right: 35px; font-size: clamp(27px, 3vw, 39px); line-height: 1.05; letter-spacing: -.05em; }
.detail-price { margin: 12px 0 0; color: var(--teal); font-size: 31px; font-weight: 900; letter-spacing: -.045em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.detail-meta span { padding: 7px 10px; color: var(--ink-soft); background: #f1f4f1; border-radius: 10px; font-size: 13px; }
.detail-description { margin: 22px 0; color: #3d5b60; line-height: 1.65; }
.seller-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: #f5f8f5; border: 1px solid var(--line); border-radius: 18px; }
.seller-avatar { flex: 0 0 auto; width: 45px; height: 45px; display: grid; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; font-size: 13px; font-weight: 850; }
.seller-info { flex: 1; min-width: 0; }
.seller-info strong, .seller-info span { display: block; }
.seller-info span { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.seller-rating { display: flex; align-items: center; gap: 4px; color: #936500; font-size: 13px; font-weight: 800; }
.seller-rating svg { width: 16px; fill: var(--sun); stroke: #ad7900; }
.meetup-card { display: flex; gap: 12px; margin-top: 13px; padding: 14px; color: var(--teal-dark); background: var(--coral-pale); border-radius: 17px; }
.meetup-card > svg { flex: 0 0 auto; width: 22px; margin-top: 1px; color: var(--coral); }
.meetup-card strong, .meetup-card span { display: block; }
.meetup-card span { margin-top: 2px; color: #78584e; font-size: 12px; }
.payment-card { display: flex; gap: 12px; margin-top: 10px; padding: 14px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 17px; }
.payment-card > svg { flex: 0 0 auto; width: 22px; margin-top: 1px; color: var(--teal); }
.payment-card strong, .payment-card span, .payment-card small { display: block; }
.payment-card span { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.payment-card small { margin-top: 7px; color: var(--teal-dark); font-size: 12px; font-weight: 750; }
.detail-actions { display: grid; grid-template-columns: 1fr 52px; gap: 10px; margin-top: 20px; }
.detail-actions .primary-button { min-height: 52px; }
.owner-tools { display: grid; gap: 10px; margin-top: 10px; }
.boost-button, .danger-button { min-height: 48px; padding: 0 16px; border-radius: 14px; background: var(--white); font: inherit; font-weight: 850; cursor: pointer; }
.boost-button { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--teal-dark); border: 1px solid #edc45a; background: #fff8dc; }
.boost-button span { padding: 4px 7px; border-radius: 999px; color: #765500; background: var(--yellow); font-size: 11px; }
.danger-button { color: #a33a2c; border: 1px solid #efb5ac; }
.danger-button:hover { background: #fff0ed; }
.danger-button:disabled { opacity: .6; cursor: wait; }
.share-button { display: grid; place-items: center; background: #edf2ee; border: 0; border-radius: 15px; }
.share-button svg { width: 21px; }
.safety-link { width: 100%; margin-top: 10px; padding: 8px; color: var(--ink-soft); background: transparent; border: 0; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.favorite-detail { width: 100%; margin-top: 2px; }

.form-modal { width: min(100%, 720px); }
.form-modal form { padding: 24px 27px 28px; }
.photo-drop { position: relative; min-height: 190px; display: grid; place-items: center; overflow: hidden; background: #eef3ef; border: 2px dashed #bed1c6; border-radius: 22px; transition: .2s ease; }
.photo-drop:hover { background: var(--teal-pale); border-color: var(--teal); }
.photo-drop input { position: absolute; inset: 0; z-index: 1; width: 100%; opacity: 0; cursor: pointer; }
.photo-placeholder { display: flex; flex-direction: column; align-items: center; color: var(--ink-soft); }
.photo-placeholder svg { width: 35px; margin-bottom: 9px; color: var(--teal); }
.photo-placeholder strong { color: var(--ink); font-size: 16px; }
.photo-placeholder small { margin-top: 4px; }
.photo-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 9px; color: var(--white); background: rgba(7,59,76,.82); border-radius: 999px; font-size: 12px; font-weight: 800; pointer-events: none; }
.paid-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 12px; padding: 13px; border: 1px solid #ead7a1; border-radius: 16px; background: #fff9e9; }
.paid-option-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--teal-dark); background: var(--yellow); font-size: 22px; font-weight: 900; }
.paid-option-icon.boost { font-size: 20px; }
.paid-option strong, .paid-option small { display: block; }
.paid-option strong { color: var(--ink); font-size: 14px; }
.paid-option small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.paid-option button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 11px; color: var(--white); background: var(--teal); font-weight: 800; cursor: pointer; }
.boost-option { margin: 16px 0; }
.photo-previews { position: relative; z-index: 2; width: 100%; min-height: 190px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 9px; background: #dfe6e1; pointer-events: none; }
.photo-previews[hidden] { display: none; }
.photo-previews figure { position: relative; min-width: 0; margin: 0; }
.photo-previews img { width: 100%; height: 190px; display: block; object-fit: cover; border-radius: 13px; }
.photo-previews button { position: absolute; top: 7px; right: 7px; width: 31px; height: 31px; display: grid; place-items: center; padding: 0 0 2px; color: var(--white); background: rgba(7,59,76,.88); border: 2px solid rgba(255,255,255,.9); border-radius: 50%; font-size: 22px; line-height: 1; pointer-events: auto; cursor: pointer; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > span:first-child { color: var(--ink); font-size: 14px; font-weight: 750; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cdd8d2;
  border-radius: 13px;
  outline: 0;
  resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 89, 85, .08); }
.input-suffix { position: relative; display: block; }
.input-suffix input { padding-right: 40px; }
.input-suffix em { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); font-style: normal; font-weight: 800; }
.payment-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 0; padding: 0; border: 0; }
.payment-choice legend { margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 800; }
.payment-choice label { position: relative; display: flex; gap: 9px; min-height: 86px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.payment-choice label:has(input:checked) { border-color: var(--teal); background: var(--teal-pale); box-shadow: 0 0 0 2px rgba(0,126,145,.08); }
.payment-choice input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); }
.payment-choice strong, .payment-choice small { display: block; }
.payment-choice strong { font-size: 13px; }
.payment-choice small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.payment-choice > p { grid-column: 1 / -1; margin: 0; padding: 10px 12px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 12px; font-size: 12px; font-weight: 750; }
.safety-check { display: flex; gap: 11px; margin: 18px 0; padding: 14px; background: #fff8e6; border-radius: 14px; }
.safety-check input { width: 19px; height: 19px; accent-color: var(--teal); }
.safety-check span { flex: 1; }
.safety-check strong, .safety-check small { display: block; }
.safety-check small { margin-top: 3px; color: var(--ink-soft); line-height: 1.4; }

.filter-modal { width: min(100%, 520px); }
.filter-modal form { display: grid; gap: 17px; padding: 24px 27px 28px; }
.filter-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 5px; }

.message-modal { width: min(100%, 780px); }
.message-content { min-height: 390px; padding: 0; }
.message-loading { min-height: 320px; display: grid; place-items: center; padding: 30px; color: var(--ink-soft); font-weight: 750; }
.message-empty { display: grid; place-items: center; min-height: 250px; text-align: center; }
.message-empty div > svg { width: 48px; color: var(--teal); }
.message-empty h3 { margin: 10px 0 3px; }
.message-empty p { max-width: 340px; margin: 0; color: var(--ink-soft); }
.message-layout { min-height: 390px; display: grid; grid-template-columns: 245px minmax(0, 1fr); }
.conversation-list { max-height: 500px; overflow-y: auto; border-right: 1px solid var(--line); background: #f7faf8; }
.conversation { width: 100%; display: flex; align-items: center; gap: 11px; padding: 13px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.conversation:hover, .conversation.active { background: var(--teal-pale); }
.conversation img { width: 58px; height: 58px; object-fit: cover; border-radius: 16px; }
.conversation-body { flex: 1; min-width: 0; }
.conversation-head { display: flex; justify-content: space-between; gap: 10px; }
.conversation-head strong { font-size: 14px; }
.conversation-head time { color: var(--ink-soft); font-size: 11px; }
.conversation-title { display: block; margin-top: 4px; overflow: hidden; color: var(--ink-soft); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.active-chat { min-width: 0; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.active-conversation-head { display: flex; align-items: center; gap: 11px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.active-conversation-head img { width: 45px; height: 45px; object-fit: cover; border-radius: 13px; }
.active-conversation-head strong, .active-conversation-head span { display: block; }
.active-conversation-head span { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.chat-thread { min-height: 220px; max-height: 320px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding: 16px 2px; }
.chat-hint { align-self: stretch; margin: 0; padding: 12px 14px; color: var(--ink-soft); background: #f1f5f1; border-radius: 14px; font-size: 13px; text-align: center; }
.message-row { max-width: 82%; }
.message-row.mine { align-self: flex-end; text-align: right; }
.message-row.theirs { align-self: flex-start; text-align: left; }
.message-row p { margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.message-row.mine p { color: var(--white); background: var(--teal); border-bottom-right-radius: 4px; }
.message-row.theirs p { color: var(--ink); background: #edf2ee; border-bottom-left-radius: 4px; }
.message-row time { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 10px; }

.chat-compose { display: flex; gap: 9px; margin-top: auto; }
.chat-compose input { flex: 1; min-width: 0; min-height: 48px; padding: 0 13px; border: 1px solid #cdd8d2; border-radius: 14px; }
.chat-compose button { width: 48px; display: grid; place-items: center; color: var(--white); background: var(--teal); border: 0; border-radius: 14px; }
.chat-compose svg { width: 20px; }
.chat-compose input:disabled, .chat-compose button:disabled { opacity: .6; }

.profile-modal { width: min(100%, 500px); overflow: hidden; }
.profile-cover { height: 125px; background: linear-gradient(115deg, rgba(0,126,145,.55), rgba(3,78,96,.2)), url("martinique-hero.webp") center 58% / cover; }
.profile-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,.9) !important; }
.profile-body { position: relative; padding: 0 28px 30px; text-align: center; }
.profile-avatar { width: 84px; height: 84px; display: grid; place-items: center; margin: -43px auto 12px; color: var(--teal-dark); background: var(--sun); border: 5px solid var(--white); border-radius: 50%; font-size: 22px; font-weight: 900; }
.profile-body h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.profile-place { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }
.profile-place svg { width: 15px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 22px 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 17px; }
.profile-stats div { padding: 13px 5px; background: var(--white); }
.profile-stats strong, .profile-stats span { display: block; }
.profile-stats strong { font-size: 20px; }
.profile-stats span { color: var(--ink-soft); font-size: 11px; }
.profile-menu { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; text-align: left; }
.profile-menu button { width: 100%; min-height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; background: var(--white); border: 0; border-bottom: 1px solid var(--line); }
.profile-menu button:last-child { border-bottom: 0; }
.profile-menu button:hover { background: #f5f8f5; }
.profile-menu button span { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.profile-menu svg { width: 18px; color: var(--teal); }

.toast-region { position: fixed; right: 22px; bottom: 24px; z-index: 200; display: grid; gap: 10px; pointer-events: none; }
.toast { max-width: 360px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; color: var(--white); background: var(--ink); border-radius: 14px; box-shadow: var(--shadow); animation: toast-in .25s ease, toast-out .25s ease 3.25s forwards; }
.toast::before { content: "✓"; width: 23px; height: 23px; display: grid; place-items: center; color: var(--teal-dark); background: var(--lime); border-radius: 50%; font-weight: 900; }
@keyframes toast-in { from { opacity: 0; transform: translateY(9px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1040px) {
  .topbar-inner { grid-template-columns: auto 1fr auto; gap: 18px; }
  .brand-name, .brand-beta { display: none; }
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-list { grid-template-columns: none; grid-template-rows: 1fr; grid-auto-flow: column; grid-auto-columns: 135px; overflow-x: auto; padding: 0 0 8px; scrollbar-width: none; }
  .category-list::-webkit-scrollbar { display: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .topbar { position: sticky; background: rgba(255, 253, 249, .94); border: 0; box-shadow: 0 7px 24px rgba(7, 84, 103, .11); }
  .topbar-inner { width: 100%; min-height: 74px; grid-template-columns: minmax(0, 1fr) minmax(112px, 142px); gap: 8px 9px; padding: 10px 16px 11px; }
  .brand { min-width: 0; overflow: hidden; }
  .brand-mark { flex: 0 0 auto; }
  .brand-mark { color: var(--white); background: var(--teal); box-shadow: 0 6px 16px rgba(7,84,103,.16); }
  .brand-name { min-width: 0; display: inline; overflow: hidden; color: var(--ink); text-overflow: ellipsis; }
  .brand-name span { color: var(--coral); }
  .brand-flag { width: 33px; height: 22px; border-width: 1px; }
  .brand-beta, .desktop-search, .top-actions .icon-button, .top-actions .profile-button { display: none; }
  .top-actions .sell-button { display: none; }
  .top-actions { width: 100%; min-width: 0; }
  .mobile-account-link { grid-column: 1 / -1; justify-self: end; max-width: 100%; min-width: 0; display: inline-flex; align-items: center; gap: 7px; min-height: 30px; overflow: hidden; padding: 2px; color: var(--teal-dark); background: transparent; border: 0; box-shadow: none; font-size: 14px; font-weight: 850; text-decoration: none; }
  .mobile-account-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-account-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .weather-banner { width: 100%; max-width: 142px; min-width: 0; min-height: 52px; display: flex; align-items: center; gap: 7px; overflow: hidden; padding: 6px 8px; color: var(--teal-dark); background: var(--teal-pale); border: 1px solid #c6ecec; border-radius: 16px; box-shadow: none; }
  .weather-banner > svg { flex: 0 0 auto; width: 20px; color: #e5a900; }
  .weather-copy { min-width: 0; display: grid; overflow: hidden; line-height: 1.05; }
  .weather-copy > span { overflow: hidden; font-size: clamp(10px, 2.8vw, 12px); font-weight: 800; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
  .weather-copy strong { margin-top: 3px; font-size: 15px; white-space: nowrap; }

  .mobile-intro { min-height: 310px; display: grid; background-position: 58% center; }
  .mobile-intro::before { background: linear-gradient(90deg, rgba(2, 48, 62, .84), rgba(2, 63, 76, .5) 72%, rgba(0, 92, 110, .2)); }
  .mobile-intro::after { height: 18px; }
  .island-hero-content { width: calc(100% - 32px); padding: 30px 0 38px; }
  .mobile-intro h1 { max-width: 360px; margin: 7px 0 9px; font-size: clamp(34px, 10vw, 46px); }
  .island-hero-copy { max-width: 370px; font-size: 15px; line-height: 1.45; }
  .mobile-search { min-height: 54px; margin-top: 18px; grid-template-columns: 21px 1fr 43px; padding-left: 15px; }
  .mobile-search input { height: 52px; }
  .mobile-search button { width: 43px; height: 43px; }
  .island-hero-note { font-size: 12px; }

  .section-width { width: calc(100% - 32px); }
  .category-band { padding: 29px 0 22px; }
  .section-heading.compact h2 { font-size: 24px; }
  .category-list { grid-template-columns: none; grid-auto-columns: 112px; gap: 9px; margin-right: -16px; }
  .category-card { min-height: 94px; padding: 12px; border-radius: 17px; }
  .category-card span:first-child { width: 35px; height: 35px; }
  .category-hint { display: block; margin: 8px 0 0; color: var(--ink-soft); font-size: 12px; }

  .market-section { padding: 33px 0 39px; }
  .catalogue-bar { display: block; }
  .catalogue-bar h2 { font-size: 29px; }
  .catalogue-actions { margin-top: 18px; }
  .filter-button, .sort-control { flex: 1; }
  .sort-control select { width: 100%; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; margin-top: 21px; }
  .listing-grid.single-result { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
  .listing-media { border-radius: 18px; aspect-ratio: 4 / 5; }
  .favorite-button { top: 8px; right: 8px; width: 36px; height: 36px; }
  .listing-tag { left: 8px; bottom: 8px; max-width: calc(100% - 16px); overflow: hidden; padding: 5px 8px; text-overflow: ellipsis; white-space: nowrap; }
  .listing-info { padding: 11px 12px 14px; }
  .listing-topline { display: block; }
  .listing-title { font-size: 14px; }
  .listing-price { margin-top: 5px; font-size: 18px; }
  .listing-meta { margin-top: 5px; font-size: 12px; }
  .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .trust-heading { grid-column: auto; margin-bottom: 3px; }
  .site-footer { padding-bottom: 12px; }
  .footer-grid { width: 100%; display: block; }
  .footer-grid details, .footer-grid details:first-child { border-right: 0; border-left: 0; border-bottom: 1px solid #eedfca; }
  .footer-grid summary { padding: 20px 54px 20px 20px; font-size: 16px; }
  .footer-content { padding: 0 20px 20px; }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    min-height: calc(67px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
    padding: 8px 6px env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .bottom-nav button { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; color: #688083; background: transparent; border: 0; font-size: 10px; font-weight: 700; }
  .bottom-nav button > svg, .nav-icon-wrap > svg { width: 23px; height: 23px; }
  .bottom-nav button.active { color: var(--teal); }
  .nav-icon-wrap { position: relative; height: 23px; }
  .bottom-nav .favorite-count { top: -5px; right: -11px; border-color: var(--white); }
  .sell-nav { transform: translateY(-20px); }
  .bottom-nav .sell-nav > span { width: 51px; height: 51px; display: grid; place-items: center; color: var(--white); background: var(--coral); border: 5px solid var(--white); border-radius: 18px; box-shadow: 0 8px 20px rgba(243, 109, 79, .28); }
  .bottom-nav .sell-nav svg { width: 24px; }
  .bottom-nav .sell-nav em { margin-top: 1px; color: var(--coral); font-style: normal; }

  .modal-backdrop { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: 92vh; border-radius: 27px 27px 0 0; }
  .product-modal { overflow: auto; }
  .product-layout { display: block; min-height: 0; }
  .product-image, .product-image img { min-height: 0; height: min(43vh, 390px); }
  .product-thumbnails button { height: 68px; }
  .photo-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 150px; }
  .photo-previews img { height: 150px; }
  .product-details { padding: 25px 20px calc(25px + env(safe-area-inset-bottom)); }
  .product-details h2 { padding-right: 0; font-size: 29px; }
  .modal-header { padding: 22px 20px 16px; }
  .modal-header h2 { font-size: 26px; }
  .categories-intro { padding: 16px 20px 0; }
  .all-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 17px 20px calc(25px + env(safe-area-inset-bottom)); }
  .all-category-list .category-card { min-height: 102px; }
  .form-modal form, .filter-modal form { padding: 20px 20px calc(25px + env(safe-area-inset-bottom)); }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .payment-choice { grid-template-columns: 1fr; }
  .payment-choice label { min-height: 0; }
  .payment-choice > p { grid-column: auto; }
  .paid-option { grid-template-columns: auto 1fr; }
  .paid-option button { grid-column: 1 / -1; }
  .filter-footer { display: grid; grid-template-columns: 1fr 1.2fr; }
  .message-content { padding: 0 0 calc(18px + env(safe-area-inset-bottom)); }
  .message-layout { display: block; min-height: 0; }
  .conversation-list { display: flex; max-height: none; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .conversation { flex: 0 0 225px; border-right: 1px solid var(--line); border-bottom: 0; }
  .conversation img { width: 48px; height: 48px; }
  .active-chat { min-height: 360px; padding: 15px 20px 0; }
  .chat-thread { min-height: 210px; max-height: 36vh; }
  .profile-body { padding-bottom: calc(27px + env(safe-area-inset-bottom)); }
  .toast-region { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 14px; }
  .toast { max-width: none; width: 100%; }
}

@media (max-width: 520px) {
  .brand { gap: 7px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 13px 13px 13px 5px; }
  .brand-name { font-size: 16px; }
  .brand-flag { display: none; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .brand { gap: 7px; }
  .weather-banner > svg { display: none; }
  .sell-button { padding: 0 13px; }
  .catalogue-actions { display: grid; grid-template-columns: .85fr 1.15fr; }
  .filter-button, .sort-control { min-width: 0; }
  .sort-control select { padding-left: 11px; font-size: 13px; }
  .listing-grid { gap-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
