/* Marketplace homepage — cream Glovo-style browse */

:root {
  --market-cream: #f3f4f6;
  --market-cream-deep: #e8f9ef;
  --market-ink: #0f172a;
  --market-accent: #22c55e;
  --market-muted: #6b7280;
  --market-card: #ffffff;
  --market-line: #e5e7eb;
  --market-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

body:has(.market-home) {
  background: var(--market-cream);
}

body:has(.market-home) .container {
  width: min(1240px, calc(100% - 40px));
}

.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;
}

/* Header marketplace actions — match attached UI */
.market-header {
  background: rgba(243, 244, 246, 0.96);
  border-bottom: none;
}

.market-header .header-inner {
  min-height: 76px;
  gap: 16px;
}

.market-header .nav-desktop {
  gap: 26px;
}

.market-header .nav-desktop > a {
  color: #5c5c5c;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.market-header .nav-desktop > a:hover,
.market-header .nav-desktop > a.active {
  color: var(--market-ink);
}

.market-header .nav-desktop > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--market-ink);
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--market-ink);
  border: 1px solid var(--market-line);
  background: #fff;
}

.header-cart:hover {
  color: var(--market-accent);
}

.header-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.meal-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 120;
  white-space: nowrap;
}

.meal-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.market-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user-pill {
  display: none;
}

.header-account-menu {
  position: relative;
}

.header-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--market-line);
  background: #fff;
  color: var(--market-ink);
  cursor: pointer;
  font: inherit;
}

.header-account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.header-account-copy {
  display: grid;
  text-align: left;
  line-height: 1.15;
}

.header-account-copy strong {
  font-size: 0.84rem;
  font-weight: 700;
}

.header-account-copy small {
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 500;
}

.header-account-caret {
  color: #9a8e90;
  font-size: 0.72rem;
}

.header-account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  padding: 8px;
  z-index: 80;
  display: none;
}

.header-account-menu.is-open .header-account-dropdown {
  display: grid;
}

.header-account-dropdown[hidden] {
  display: none !important;
}

.header-account-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.header-account-dropdown a:hover {
  background: #f7f2ec;
}

.header-account-dropdown a.is-danger {
  color: #16a34a;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--market-line);
  color: var(--market-ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  max-width: 180px;
}

.location-pill [data-location-label] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-pill:hover {
  border-color: #dcc9c1;
  background: #ffffff;
}

.location-pill svg:first-child {
  color: var(--market-accent);
  flex-shrink: 0;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--market-ink);
  background: transparent;
  border: 0;
  transition: color 0.2s var(--ease);
}

.header-icon-btn:hover {
  color: var(--market-accent);
}

.btn-login {
  background: transparent !important;
  color: var(--market-ink) !important;
  border: 1.5px solid var(--market-ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
}

.btn-login:hover {
  background: var(--market-ink) !important;
  color: #fff !important;
}

.btn-signup {
  background: var(--market-ink) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  border: 1.5px solid var(--market-ink);
}

.btn-signup:hover {
  background: var(--market-accent) !important;
  border-color: var(--market-accent);
}

/* Hero — cream left + blended photo right (matches attached UI) */
.market-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 72vh, 680px);
  padding: 40px 0 48px;
  background: var(--market-cream);
  overflow: hidden;
}

.market-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(68%, 900px);
  z-index: 0;
  pointer-events: none;
}

.market-hero-photo .hero-local {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  display: block;
}

/* Soft horizontal fade into cream — the key blend from the mockup */
.hero-blend {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--market-cream) 0%,
    rgba(243, 244, 246, 0.98) 6%,
    rgba(243, 244, 246, 0.88) 14%,
    rgba(243, 244, 246, 0.55) 26%,
    rgba(243, 244, 246, 0.2) 40%,
    rgba(243, 244, 246, 0.05) 52%,
    transparent 64%
  );
  pointer-events: none;
}

.market-hero-photo .hero-device {
  position: absolute;
  left: 42%;
  top: 8%;
  width: clamp(140px, 27%, 220px);
  z-index: 3;
  padding: 8px;
  border-radius: 32px;
  background: linear-gradient(160deg, #2c2c2e 0%, #0d0d0f 100%);
  box-shadow:
    0 22px 44px rgba(20, 10, 8, 0.4),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16);
  transform: rotate(-10deg);
  transform-origin: center center;
  animation: hero-phone-float 5.5s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}

.market-hero-photo .hero-device::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 6px;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

.market-hero-photo .hero-phone {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 9 / 19.2;
  background: #fff;
}

@keyframes hero-phone-float {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-7deg) translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-hero-photo .hero-device {
    animation: none;
    transform: rotate(-10deg);
  }
}

.market-hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 1.1fr);
  gap: 12px;
  align-items: center;
  min-height: clamp(460px, 62vh, 600px);
}

.market-hero-spacer {
  min-height: 1px;
}

.market-hero-copy {
  max-width: 540px;
  padding: 12px 0;
}

.market-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--market-accent);
  margin-bottom: 14px;
}

.market-hero-copy h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.65rem);
  line-height: 1.05;
  color: var(--market-ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.market-hero-copy h1 .accent {
  color: var(--market-accent);
}

.market-lead {
  color: #6f6466;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 32rem;
  margin-bottom: 24px;
}

.market-find-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  max-width: 520px;
}

.market-find-pill > svg {
  flex-shrink: 0;
  color: var(--market-accent);
}

.market-find-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
  color: var(--market-ink);
}

.market-find-pill input::placeholder {
  color: #9a8e90;
}

.market-find-hint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #8a7c7e;
}

.market-find-hint.is-error,
.places-modal-hint.is-error {
  color: #16a34a;
  font-weight: 600;
}

.places-mount {
  flex: 1;
  min-width: 0;
  position: relative;
}

.places-widget {
  position: relative;
  width: 100%;
}

.places-search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
  color: var(--market-ink, #0f172a);
  padding: 4px 0;
}

.places-mount-field .places-search-input {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.places-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1400;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  max-height: 260px;
  overflow: auto;
}

.places-suggest li {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.places-suggest li:hover {
  background: #fff7f4;
}

.places-suggest strong {
  display: block;
  color: #0f172a;
  font-size: 0.9rem;
}

.places-suggest span {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 0.78rem;
}

/* Google Places dropdown above header/modals */
.pac-container {
  z-index: 1300 !important;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  font-family: inherit;
  margin-top: 4px;
}

.pac-item {
  padding: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: pointer;
}

.pac-item:hover,
.pac-item-selected {
  background: #fff7f4;
}

.places-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 18px;
}

.places-modal[hidden] {
  display: none !important;
}

.places-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(26, 10, 14, 0.5);
  cursor: pointer;
}

.places-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #ffffff 0%, #fff 100%);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  padding: 20px;
}

.places-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.places-modal-eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22c55e;
}

.places-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #0f172a;
}

.places-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.places-modal-field {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.places-modal-field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.places-modal-field input {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.places-modal-hint {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: #6b7280;
}

.places-modal-cta {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: #0f172a;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.places-modal-cta:hover {
  background: #334155;
}

body.places-modal-open {
  overflow: hidden;
}

.btn-find-food {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--market-accent);
  color: #fff !important;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-find-food svg {
  color: #fff;
}

.btn-find-food:hover {
  background: #842f10;
  transform: translateY(-1px);
}

.market-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 26px;
  margin-top: 26px;
}

.market-trust li {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 150px;
}

.market-trust strong {
  display: block;
  color: var(--market-ink);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.25;
}

.market-trust small {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 450;
}

/* What we do — post-hero promise */
.market-promise {
  padding: 72px 0 64px;
  background: #fff;
  border-top: 1px solid rgba(234, 223, 216, 0.7);
  border-bottom: 1px solid rgba(234, 223, 216, 0.7);
  text-align: center;
}

.market-promise h2 {
  margin: 0 0 48px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--market-ink);
}

.market-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.market-promise-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.market-promise-art {
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.market-promise-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--market-ink);
  font-weight: 700;
}

.market-promise-card p {
  margin: 0;
  max-width: 28ch;
  color: var(--market-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.market-promise-card mark {
  background: rgba(160, 64, 24, 0.14);
  color: inherit;
  padding: 0 0.15em;
  border-radius: 3px;
}

.market-promise-cta {
  margin-top: 44px;
}

.market-promise-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  padding: 16px 28px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.market-promise-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff;
}

@media (max-width: 860px) {
  .market-promise {
    padding: 56px 0 48px;
  }

  .market-promise h2 {
    margin-bottom: 36px;
  }

  .market-promise-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 360px;
  }

  .market-promise-card p {
    max-width: none;
  }
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(160, 64, 24, 0.1);
  position: relative;
  flex-shrink: 0;
}

.trust-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--market-accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.trust-fast::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M13 2L4 14h7l-1 8 10-14h-7l1-6z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M13 2L4 14h7l-1 8 10-14h-7l1-6z' fill='black'/%3E%3C/svg%3E");
}

.trust-secure::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5l8-3z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5l8-3z' fill='black'/%3E%3C/svg%3E");
}

.trust-support::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v6a4 4 0 0 1-4 4H9l-5 4V6z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v6a4 4 0 0 1-4 4H9l-5 4V6z' fill='black'/%3E%3C/svg%3E");
}

.market-hero .hero-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.market-hero .hero-animate.is-visible {
  opacity: 1;
  transform: none;
}

/* Sections */
.market-section {
  padding: 40px 0 24px;
}

.market-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.market-section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--market-ink);
  font-weight: 700;
}

.market-see-all {
  color: var(--market-accent);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.market-see-all:hover {
  text-decoration: underline;
}

.market-empty {
  color: var(--market-muted);
  padding: 28px 0 12px;
}

/* Categories rail */
.category-rail-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex: 0 0 auto;
  width: 112px;
  scroll-snap-align: start;
  text-align: center;
  transition: transform 0.25s var(--ease);
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-thumb {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--market-cream-deep);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--market-ink);
}

.category-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--market-ink);
  line-height: 1.3;
}

.rail-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--market-line);
  background: #fff;
  color: var(--market-ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: none;
}

.rail-btn:hover {
  border-color: var(--market-accent);
  color: var(--market-accent);
}

@media (min-width: 900px) {
  .rail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Restaurant cards */
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.restaurant-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--market-card);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--market-shadow);
}

.restaurant-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--market-cream-deep);
  overflow: hidden;
}

.restaurant-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: var(--market-ink);
}

.heart-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--market-accent);
  pointer-events: none;
}

.restaurant-meta {
  padding: 14px 16px 16px;
}

.restaurant-meta h3 {
  font-size: 1rem;
  font-weight: 650;
  color: var(--market-ink);
  margin-bottom: 4px;
}

.restaurant-meta p {
  font-size: 0.82rem;
  color: var(--market-muted);
}

/* Meals */
.meal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.meal-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--market-card);
  border: 1px solid var(--market-line);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.meal-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-2px);
}

.meal-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--market-cream-deep);
}

.meal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meal-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-weight: 700;
  color: var(--market-ink);
}

.meal-meta h3 {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--market-ink);
  line-height: 1.3;
  margin-bottom: 2px;
}

.meal-rest {
  font-size: 0.75rem;
  color: var(--market-muted);
  margin-bottom: 4px;
}

.meal-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--market-accent);
}

.meal-price-was {
  margin-left: 6px;
  font-weight: 500;
  color: #9a8e90;
  text-decoration: line-through;
  font-size: 0.78rem;
}

/* Download strip (shared / restaurants) */
.market-download {
  padding: 48px 0 64px;
}

.market-download-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--market-cream-deep), #fff);
  border: 1px solid var(--market-line);
}

.market-download h2 {
  font-size: 1.35rem;
  color: var(--market-ink);
  margin-bottom: 6px;
}

.market-download p {
  color: var(--market-muted);
  max-width: 28rem;
}

/* Home — Download the app showcase */
.market-app-download {
  padding: 72px 0 80px;
  background: #fff;
  overflow: hidden;
}

.market-app-download-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.15fr);
  gap: 28px 40px;
  align-items: center;
}

.market-app-download-copy {
  max-width: 420px;
}

.market-app-icon {
  margin-bottom: 18px;
}

.market-app-download-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--market-ink);
}

.market-app-download-copy p {
  margin: 0 0 22px;
  color: var(--market-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 34ch;
}

.market-app-download-copy .store-badges {
  justify-content: flex-start;
}

.market-app-phones {
  position: relative;
  min-height: clamp(340px, 48vw, 460px);
  margin-right: -2%;
}

.market-app-phone {
  position: absolute;
  width: clamp(120px, 22%, 168px);
  padding: 7px;
  border-radius: 28px;
  background: linear-gradient(160deg, #2c2c2e 0%, #0d0d0f 100%);
  box-shadow:
    0 18px 40px rgba(20, 10, 8, 0.28),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transform-origin: center bottom;
}

.market-app-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 5px;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

.market-app-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.2;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  background: #fff;
}

.market-app-phone.is-back-left {
  left: 4%;
  top: 8%;
  transform: rotate(-18deg);
  z-index: 1;
  opacity: 0.92;
}

.market-app-phone.is-back-right {
  right: 6%;
  top: 4%;
  transform: rotate(16deg);
  z-index: 1;
  opacity: 0.9;
}

.market-app-phone.is-mid-left {
  left: 18%;
  top: 14%;
  transform: rotate(-10deg);
  z-index: 2;
  width: clamp(130px, 24%, 178px);
}

.market-app-phone.is-mid-right {
  right: 16%;
  top: 12%;
  transform: rotate(10deg);
  z-index: 2;
  width: clamp(130px, 24%, 178px);
}

.market-app-phone.is-front {
  left: 50%;
  top: 6%;
  transform: translateX(-50%) rotate(-4deg);
  z-index: 3;
  width: clamp(150px, 28%, 198px);
  animation: market-app-phone-float 5.8s ease-in-out infinite;
}

@keyframes market-app-phone-float {
  0%,
  100% {
    transform: translateX(-50%) rotate(-4deg) translateY(0);
  }
  50% {
    transform: translateX(-50%) rotate(-2deg) translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-app-phone.is-front {
    animation: none;
  }
}

@media (max-width: 900px) {
  .market-app-download {
    padding: 56px 0 64px;
  }

  .market-app-download-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .market-app-download-copy {
    max-width: none;
    text-align: center;
  }

  .market-app-icon {
    display: flex;
    justify-content: center;
  }

  .market-app-download-copy p {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
  }

  .market-app-download-copy .store-badges {
    justify-content: center;
  }

  .market-app-phones {
    min-height: 360px;
    margin-right: 0;
  }
}

@media (max-width: 560px) {
  .market-app-phones {
    min-height: 300px;
  }

  .market-app-phone.is-back-left,
  .market-app-phone.is-back-right {
    display: none;
  }
}

/* Let's do it together */
.market-together {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, #f7f1ea 0%, #f3f4f6 55%, #fff 100%);
  text-align: center;
}

.market-together h2 {
  margin: 0 0 48px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--market-ink);
}

.market-together-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.market-together-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 8px 12px 4px;
}

.market-together-media {
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin-bottom: 6px;
  border-radius: 42% 58% 50% 50% / 48% 42% 58% 52%;
  overflow: hidden;
  border: 5px solid #0f172a;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  background: var(--market-cream-deep);
}

.market-together-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.market-together-card:nth-child(2) .market-together-media {
  border-radius: 56% 44% 48% 52% / 44% 54% 46% 56%;
}

.market-together-card:nth-child(3) .market-together-media {
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
}

.market-together-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--market-ink);
  font-weight: 700;
}

.market-together-card p {
  margin: 0;
  max-width: 30ch;
  color: var(--market-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.market-together-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  min-width: 150px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.market-together-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff;
}

.risely-coming-soon {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2400;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.risely-coming-soon.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .market-together {
    padding: 56px 0 64px;
  }

  .market-together h2 {
    margin-bottom: 36px;
  }

  .market-together-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 360px;
  }

  .market-together-card p {
    max-width: none;
  }
}

/* Restaurants listing page */
.restaurants-live {
  padding: 0 0 64px;
  background: var(--market-cream);
}

.restaurants-live .cart-breadcrumb {
  margin-bottom: 0;
}

.restaurants-toolbar {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 8px;
}

.restaurants-area-finder {
  max-width: 640px;
}

.restaurants-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.restaurants-stats article {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.restaurants-stats span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--market-muted);
  margin-bottom: 4px;
}

.restaurants-stats strong {
  font-size: 1.05rem;
  color: var(--market-ink);
}

.restaurants-list-block {
  padding-top: 18px;
  padding-bottom: 8px;
}

.restaurants-section-head {
  margin-bottom: 18px;
}

.restaurants-empty {
  padding: 8px 0 24px;
}

.restaurants-empty-card {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 520px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.restaurants-change-area {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--market-ink);
  background: transparent;
  color: var(--market-ink);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.restaurants-change-area:hover {
  background: var(--market-ink);
  color: #fff;
}

.restaurant-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(243, 244, 246, 0.94);
  color: var(--market-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.restaurant-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.restaurant-cats {
  margin-top: 4px;
}

.restaurant-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--market-accent);
}

.restaurants-seo {
  margin-top: 40px;
}

/* Categories page */
.category-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-page-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--market-card);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.category-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--market-shadow);
}

.category-page-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--market-cream-deep);
  overflow: hidden;
}

.category-page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-page-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: var(--market-ink);
}

.category-page-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(243, 244, 246, 0.94);
  color: var(--market-accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.category-page-meta {
  padding: 14px 16px 16px;
}

.category-page-meta h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--market-ink);
}

.categories-meal-grid {
  margin-top: 4px;
}

/* Category detail (?c=...) */
.category-detail-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.category-detail-toolbar {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 8px;
}

.category-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.category-detail-stats article {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.category-detail-stats span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--market-muted);
  margin-bottom: 4px;
}

.category-detail-stats strong {
  font-size: 1.05rem;
  color: var(--market-ink);
}

.category-chip-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--market-line);
  background: #fff;
  color: var(--market-ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.category-chip:hover {
  border-color: rgba(160, 64, 24, 0.35);
  color: var(--market-accent);
}

.category-chip.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.category-detail-list {
  padding-top: 18px;
  padding-bottom: 8px;
}

.category-meal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-meal-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--market-line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.category-meal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--market-shadow);
}

.category-meal-cover {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--market-cream-deep);
  overflow: hidden;
}

.category-meal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-meal-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: var(--market-ink);
}

.category-meal-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(160, 64, 24, 0.94);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.category-meal-body {
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
  flex: 1;
}

.category-meal-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--market-ink);
}

.category-meal-rest {
  margin: 0;
  color: var(--market-muted);
  font-size: 0.84rem;
}

.category-meal-desc {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.45;
}

.category-meal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.category-meal-price {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
}

.category-meal-price span {
  margin-left: 6px;
  color: #9a8e90;
  font-weight: 500;
  font-size: 0.82rem;
  text-decoration: line-through;
}

@media (max-width: 1100px) {
  .category-meal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .category-detail-stats {
    grid-template-columns: 1fr;
  }

  .category-meal-grid {
    grid-template-columns: 1fr;
  }

  .category-chip-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-chip-rail::-webkit-scrollbar {
    display: none;
  }

  .category-chip {
    flex: 0 0 auto;
  }
}

@media (max-width: 1100px) {
  .category-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .restaurants-stats {
    grid-template-columns: 1fr;
  }

  .category-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restaurants-toolbar .market-find-pill {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 10px;
  }

  .restaurants-toolbar .btn-find-food {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .restaurant-grid,
  .meal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .market-hero {
    min-height: 0;
    padding: 0 0 36px;
    overflow: hidden;
  }

  .market-hero-photo {
    position: relative;
    width: 100%;
    height: min(52vw, 360px);
    min-height: 260px;
  }

  .market-hero-photo .hero-local {
    object-position: center 40%;
  }

  .hero-blend {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 48%,
      rgba(243, 244, 246, 0.35) 68%,
      rgba(243, 244, 246, 0.85) 86%,
      var(--market-cream) 100%
    );
  }

  .market-hero-photo .hero-device {
    left: 52%;
    top: 8%;
    width: clamp(100px, 26%, 150px);
  }

  .market-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  .market-hero-spacer {
    display: none;
  }

  .market-hero-copy {
    max-width: none;
    padding-top: 8px;
  }

  .market-hero-copy h1 {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
  }

  .restaurant-grid,
  .meal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-pill,
  .btn-login {
    display: none;
  }

  .header-account-copy,
  .header-account-caret {
    display: none;
  }

  .header-account-btn {
    padding: 3px;
    width: 42px;
    height: 42px;
    justify-content: center;
  }

  .header-account-avatar {
    width: 34px;
    height: 34px;
  }

  .market-find-pill {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 12px;
  }

  .market-find-pill input {
    width: 100%;
    padding: 4px 8px;
  }

  .btn-find-food {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .restaurant-grid {
    grid-template-columns: 1fr;
  }

  .meal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .meal-card {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 10px;
    gap: 10px;
  }

  .meal-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 12px;
  }

  .meal-meta h3 {
    font-size: 0.84rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .meal-rest {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .btn-signup {
    display: none;
  }

  .market-download-inner {
    padding: 24px;
  }
}

/* About page */
.about-page {
  padding-bottom: 72px;
  background: var(--market-cream);
}

.about-page .cart-breadcrumb {
  margin-bottom: 0;
}

.about-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.about-intro {
  padding-top: 48px;
  padding-bottom: 24px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.7fr);
  gap: 36px;
  align-items: center;
}

.about-intro-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--market-ink);
}

.about-intro-copy p {
  margin: 0 0 14px;
  color: var(--market-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 42ch;
}

.about-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 22px;
}

.about-link-quiet {
  color: var(--market-accent);
  font-weight: 700;
  text-decoration: none;
}

.about-link-quiet:hover {
  text-decoration: underline;
}

.about-intro-media {
  position: relative;
  width: min(100%, 340px);
  margin-left: auto;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  max-height: 320px;
  background: var(--market-cream-deep);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.about-intro-media > img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.about-intro-float {
  position: absolute;
  right: 6%;
  bottom: -6%;
  width: clamp(88px, 30%, 118px);
  padding: 5px;
  border-radius: 22px;
  background: linear-gradient(160deg, #2c2c2e 0%, #0d0d0f 100%);
  box-shadow: 0 14px 28px rgba(20, 10, 8, 0.32);
  transform: rotate(-8deg);
}

.about-intro-float img {
  display: block;
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9 / 19.2;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.about-pillars {
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid rgba(234, 223, 216, 0.8);
  border-bottom: 1px solid rgba(234, 223, 216, 0.8);
  text-align: center;
}

.about-pillars h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--market-ink);
  letter-spacing: -0.03em;
}

.about-section-lead {
  margin: 0 auto 36px;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--market-muted, #6b5c54);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.about-pillar-card {
  padding: 24px;
  border-radius: 22px;
  background: var(--market-cream);
  border: 1px solid var(--market-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.about-pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--market-accent);
  border: 1px solid var(--market-line);
}

.about-pillar-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--market-ink);
}

.about-pillar-card p {
  margin: 0;
  color: var(--market-muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 24px;
}

.about-split-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--kit-light, #f3f4f6);
}

.about-split-media img {
  width: auto;
  max-width: min(100%, 380px);
  height: auto;
  display: block;
}

.about-split-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  color: var(--market-ink);
  letter-spacing: -0.03em;
}

.about-split-copy > p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--market-muted, #6b5c54);
}

.about-checklist {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-checklist li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--market-line);
}

.about-checklist strong {
  color: var(--market-ink);
  font-size: 0.98rem;
}

.about-checklist span {
  color: var(--market-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.about-stats {
  padding: 28px 0 8px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-stats-grid article {
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--market-line);
  text-align: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.about-stats-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.15rem;
  color: #0f172a;
}

.about-stats-grid span {
  color: var(--market-muted);
  font-size: 0.82rem;
}

.about-cta {
  padding-top: 36px;
}

.about-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #15803d 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.about-cta-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #fff;
}

.about-cta-card p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.about-cta-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.about-cta-card .market-promise-btn {
  background: #fff;
  color: #0f172a;
  box-shadow: none;
}

.about-cta-card .market-promise-btn:hover {
  color: #0f172a;
  filter: brightness(0.97);
}

.about-cta-secondary {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.about-cta-secondary:hover {
  text-decoration: underline;
  color: #fff;
}

@media (max-width: 900px) {
  .about-intro-grid,
  .about-split,
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-media,
  .about-intro-media > img {
    min-height: 220px;
  }

  .about-split-media {
    height: auto;
    max-height: none;
  }

  .about-split-media img {
    width: auto;
    max-width: min(100%, 300px);
    height: auto;
  }

  .about-intro-media {
    width: min(100%, 280px);
    margin-left: 0;
    max-height: 260px;
  }

  .about-intro-media > img {
    max-height: 260px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-cta-card {
    padding: 24px;
  }

  .about-cta-actions {
    width: 100%;
  }

  .about-cta-card .market-promise-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-float {
    display: none;
  }
}

/* Contact page */
.contact-page {
  padding-bottom: 72px;
  background: var(--market-cream);
}

.contact-page .cart-breadcrumb {
  margin-bottom: 0;
}

.contact-intro {
  padding-top: 40px;
  padding-bottom: 16px;
}

.contact-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 14px;
}

.contact-channel-card {
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--market-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.contact-channel-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--market-cream);
  color: var(--market-accent);
  border: 1px solid var(--market-line);
}

.contact-channel-card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--market-ink);
}

.contact-channel-card p {
  margin: 0 0 10px;
  color: var(--market-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-channel-card a,
.contact-channel-card strong {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.contact-channel-card a:hover {
  color: var(--market-accent);
  text-decoration: underline;
}

.contact-side {
  display: grid;
  gap: 14px;
}

.contact-side-media {
  width: min(100%, 320px);
  margin-left: auto;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  max-height: 280px;
  background: var(--market-cream-deep);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.contact-side-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.contact-side-card {
  width: min(100%, 320px);
  margin-left: auto;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--market-line);
}

.contact-side-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--market-ink);
}

.contact-side-card p {
  margin: 0 0 10px;
  color: var(--market-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-help {
  padding-top: 36px;
  padding-bottom: 8px;
}

.contact-help-head {
  max-width: 560px;
  margin-bottom: 22px;
}

.contact-help-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  color: var(--market-ink);
  letter-spacing: -0.03em;
}

.contact-help-head p {
  margin: 0;
  color: var(--market-muted);
  line-height: 1.55;
}

.contact-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-help-grid article {
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--market-line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.contact-help-grid h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--market-ink);
}

.contact-help-grid p {
  margin: 0;
  color: var(--market-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .contact-intro-grid {
    grid-template-columns: 1fr;
  }

  .contact-side-media,
  .contact-side-card {
    width: min(100%, 280px);
    margin-left: 0;
  }

  .contact-side-media,
  .contact-side-media img {
    min-height: 200px;
    max-height: 240px;
  }

  .contact-help-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .contact-help-grid {
    grid-template-columns: 1fr;
  }
}
