:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --surface-soft: #fbf8f3;
  --line: #ece6de;
  --line-strong: #e1d7cb;
  --text: #1f1b18;
  --muted: #6b625b;
  --orange: #f27a1a;
  --orange-deep: #d95e00;
  --green: #157b63;
  --cream: #fff6ec;
  --shadow: 0 18px 45px rgba(43, 27, 16, 0.08);
  --shadow-soft: 0 8px 22px rgba(43, 27, 16, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f7f8;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  padding-bottom: 36px;
}

.utility-bar {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.utility-inner,
.content-shell {
  width: min(1440px, calc(100% - 120px));
  margin: 0 auto;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  color: #746b64;
  font-size: 12px;
  font-weight: 600;
}

.utility-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.utility-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.link-like {
  display: inline-flex;
  align-items: center;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 14px 0 0;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.main-header-inner {
  width: min(1440px, calc(100% - 120px));
  margin: 0 auto;
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 6px 0 0;
}

.header-search-cluster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(32px, 3vw, 42px);
  letter-spacing: -0.07em;
  color: var(--text);
}

.brand-mark {
  color: var(--orange);
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 20px;
  border: 1px solid #d8d8dd;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}

.search-icon {
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--text);
}

.location-chip {
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #d8d8dd;
  border-radius: 999px;
  background: #fff;
  color: #2b2c31;
  font-weight: 700;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-action,
.header-action,
.primary-button,
.ghost-button,
.tab-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.icon-action:hover,
.header-action:hover,
.primary-button:hover,
.ghost-button:hover,
.tab-button:hover {
  transform: translateY(-1px);
}

.header-action,
.primary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 12px 24px rgba(217, 94, 0, 0.18);
  white-space: nowrap;
}

.icon-action {
  width: 46px;
  padding: 0;
  border: 1px solid #e0e1e6;
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.ghost-button,
.tab-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.tab-button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), #0d5f4d);
}

.category-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
  overflow-x: auto;
  border-bottom: 0;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar,
.promo-circles::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #444952;
  font-size: 12px;
  font-weight: 800;
}

.category-tab.active {
  color: #14161a;
  border-color: #e0e1e6;
  background: #f7f7f8;
}

.category-scroll {
  display: flex;
  gap: 10px;
}

.content-shell {
  padding: 18px 0 40px;
}

.hero-banner {
  margin-bottom: 12px;
}

.refined-hero {
  align-items: stretch;
}

.hero-copy,
.hero-side,
.promo-strip-section,
.products-section,
.merchant-card,
.merchant-dashboard {
  background: var(--surface);
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: none;
}

.hero-copy {
  padding: 24px;
}

.marketplace-hero {
  display: grid;
  gap: 14px;
}

.hero-billboard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
  align-items: center;
  min-height: 260px;
  padding: 34px 32px;
  color: #fff;
  background: linear-gradient(116deg, #6f0717 0%, #81071b 46%, #991b32 100%);
  overflow: hidden;
}

.hero-copy-main {
  min-width: 0;
  position: relative;
  z-index: 3;
}

.hero-side {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.refined-copy {
  min-height: 100%;
}

.refined-side {
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
}

.hero-eyebrow,
.dashboard-eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading-row h2,
.merchant-dashboard-head h2,
.overlay-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  color: #fff;
}

.hero-copy p {
  max-width: 42ch;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
  font-size: 16px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.hero-cta {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #e24b4b;
  font-weight: 800;
}

.hero-stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.hero-stats-inline strong {
  color: #fff;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(78%, 980px);
  min-height: 100%;
  z-index: 1;
}

.hero-slider-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: var(--hero-image);
  filter: drop-shadow(0 18px 36px rgba(8, 19, 62, 0.16));
  transition: opacity 220ms ease;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.02) 16%,
    rgba(0, 0, 0, 0.22) 28%,
    rgba(0, 0, 0, 0.52) 40%,
    rgba(0, 0, 0, 0.82) 52%,
    #000 64%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.02) 16%,
    rgba(0, 0, 0, 0.22) 28%,
    rgba(0, 0, 0, 0.52) 40%,
    rgba(0, 0, 0, 0.82) 52%,
    #000 64%,
    #000 100%
  );
}

.hero-slide.is-fallback::before {
  opacity: 0;
}

.hero-slide-fallback {
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 74% 52%, rgba(244, 202, 76, 0.96) 0 52px, transparent 53px),
    linear-gradient(180deg, rgba(71, 6, 19, 0.96), rgba(129, 7, 27, 0.96));
  transition: opacity 220ms ease;
}

.hero-slide.is-fallback .hero-slide-fallback {
  opacity: 1;
}

.hero-slide-fallback::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 38px;
  width: 180px;
  height: 174px;
  border-radius: 28px;
  background: linear-gradient(180deg, #4e0816, #7a0d23);
  box-shadow: 0 24px 40px rgba(49, 4, 13, 0.28);
}

.hero-slide-fallback::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 118px;
  height: 118px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-slider-fade {
  display: none;
}

.hero-slider-dots {
  position: absolute;
  left: 63%;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: transform 160ms ease, background-color 160ms ease;
}

.hero-slider-dot.active {
  background: #fff;
  transform: scale(1.18);
}

.hero-note {
  padding: 18px;
  border-radius: 16px;
  background: #fff8f2;
  color: #6f6258;
  line-height: 1.65;
}

.hero-highlight-card {
  padding: 14px 16px;
  border: 1px solid rgba(240, 240, 240, 0.92);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fcfbfa);
}

.hero-highlight-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.hero-highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-filter-box {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px 18px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fff;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: #666;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-wrap:focus-within {
  border-color: rgba(242, 122, 26, 0.42);
  box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.08);
}

.field textarea {
  min-height: 96px;
  padding: 14px;
  resize: vertical;
}

.category-showcase-section,
.promo-strip-section,
.products-section,
.merchant-dashboard {
  padding: 16px;
}

.category-showcase-section {
  margin-bottom: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.promo-strip-section {
  background: #fff;
}

.products-section {
  background: #fff;
}

.section-heading-row,
.merchant-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-heading-tight {
  margin-bottom: 14px;
}

.section-heading-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sort-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid #ece5dc;
  border-radius: 999px;
  background: #fbf7f1;
}

.sort-chip {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b625b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.sort-chip.active {
  background: #ffffff;
  color: #241f1a;
  box-shadow: 0 6px 14px rgba(43, 27, 16, 0.08);
}

.section-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #23201c;
  font-size: 14px;
  font-weight: 800;
}

.section-heading-row h2,
.merchant-dashboard-head h2,
.merchant-card h3,
.overlay-card h2 {
  font-size: 22px;
}

.section-heading-row span,
.merchant-item small,
.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.category-showcase-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 6px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.category-showcase-card {
  position: relative;
  display: grid;
  gap: 6px;
  flex: 0 0 142px;
  width: 142px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #241f1a;
  text-align: center;
  box-shadow: none;
  overflow: visible;
  scroll-snap-align: start;
  background: transparent;
}

.category-showcase-card::after {
  display: none;
}

.category-showcase-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 142px;
  height: 74px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  background-position: center;
}

.category-showcase-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transform: scale(1.04);
}

.category-showcase-emoji {
  position: relative;
  z-index: 1;
  font-size: 34px;
  line-height: 1;
}

.category-showcase-card strong,
.category-showcase-card span {
  position: relative;
  z-index: 1;
}

.category-showcase-card strong {
  max-width: 16ch;
  color: #2d3138;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.promo-circles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 10px;
}

.promo-banner-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 188px;
  padding: 20px;
  border: 1px solid #ece5dc;
  border-radius: 20px;
  color: #241f1a;
  text-align: left;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--promo-accent-soft) 20%, white) 0, transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbf7f1 100%);
  box-shadow: 0 14px 28px rgba(43, 27, 16, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.promo-banner-card::before {
  content: "";
  position: absolute;
  inset: auto -18px -38px auto;
  width: 152px;
  height: 152px;
  border-radius: 36px;
  background: linear-gradient(145deg, var(--promo-accent), var(--promo-accent-soft));
  opacity: 0.14;
  transform: rotate(16deg);
}

.promo-banner-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--promo-accent), var(--promo-accent-soft));
}

.promo-banner-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--promo-accent) 32%, #ece5dc);
  box-shadow: 0 20px 40px rgba(43, 27, 16, 0.1);
}

.promo-banner-top,
.promo-banner-bottom,
.promo-banner-main,
.promo-banner-card strong,
.promo-banner-card p {
  position: relative;
  z-index: 1;
}

.promo-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--promo-accent) 12%, white);
  color: color-mix(in srgb, var(--promo-accent) 70%, #241f1a);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-banner-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.promo-banner-copy {
  min-width: 0;
}

.promo-banner-mark {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 92px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--promo-accent), var(--promo-accent-soft));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.promo-banner-mark span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-banner-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 29px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #241f1a;
}

.promo-banner-card p {
  max-width: 30ch;
  margin: 10px 0 0;
  color: #625850;
  font-size: 14px;
  line-height: 1.5;
}

.promo-banner-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #efe6db;
}

.promo-merchant {
  display: grid;
  gap: 4px;
}

.promo-merchant small,
.promo-merchant span {
  color: #655c55;
}

.promo-merchant small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promo-merchant span {
  font-size: 15px;
  font-weight: 700;
  color: #241f1a;
}

.promo-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4ede5;
  color: #645950;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.promo-period {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f4ede5;
  color: #645950;
  font-size: 12px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding-top: 10px;
}

.product-card {
  overflow: hidden;
  border: 1px solid #ece5dc;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fffdfa);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 6px 18px rgba(43, 27, 16, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(43, 27, 16, 0.10);
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 0.82;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at top right, rgba(242, 122, 26, 0.10), transparent 20%),
    linear-gradient(180deg, #f9f7f4, #f3f0ec);
  overflow: hidden;
}

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

.product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #c9c9c9;
  font-family: "Sora", sans-serif;
  font-size: 34px;
}

.product-body {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #666;
  font-size: 10px;
  font-weight: 800;
}

.tag.service {
  color: #2d5bd1;
  background: #eef3ff;
}

.tag.nearby {
  color: #8a4b00;
  background: #fff4e8;
}

.tag.city {
  color: #196852;
  background: #eaf7f2;
}

.product-body h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.38;
  min-height: 36px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  min-height: 30px;
}

.price-row {
  display: grid;
  gap: 2px;
}

.price-main {
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.price-sub {
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.merchant-open {
  min-height: 36px;
  border: 1px solid rgba(242, 122, 26, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff9f2, #fff5eb);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
}

.full-width {
  width: 100%;
}

.product-image-wrap {
  position: relative;
}

.product-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #7c7269;
  box-shadow: 0 10px 22px rgba(31, 27, 24, 0.12);
}

.product-fav.active,
.merchant-follow-button.active {
  color: #e14c6f;
  border-color: rgba(225, 76, 111, 0.16);
  background: #fff1f4;
}

.merchant-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.merchant-follow-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.promo-detail-card {
  max-width: 760px;
}

.promo-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
}

.promo-detail-hero::after {
  content: "";
  position: absolute;
  inset: auto -34px -52px auto;
  width: 220px;
  height: 220px;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(20deg);
}

.promo-detail-hero > * {
  position: relative;
  z-index: 1;
}

.promo-detail-hero h2 {
  margin-top: 14px;
  color: #fff;
}

.promo-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.promo-detail-grid article {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.promo-detail-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promo-detail-grid span {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.promo-detail-copy {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.merchant-dashboard {
  margin-top: 24px;
}

.merchant-page-shell .content-shell {
  padding-top: 28px;
}

.merchant-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7ef, #ffffff 55%, #f7fbfa);
  box-shadow: var(--shadow);
}

.merchant-page-head h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
}

.merchant-page-head p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

.merchant-auth-standalone {
  margin-bottom: 22px;
}

.inline-card {
  width: min(560px, 100%);
  margin: 0;
  box-shadow: var(--shadow);
}

.merchant-dashboard-head {
  margin-bottom: 18px;
}

.dashboard-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff7ef;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.merchant-dashboard-grid,
.merchant-lists,
.inline-grid {
  display: grid;
  gap: 16px;
}

.merchant-dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.merchant-lists {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.merchant-card {
  padding: 18px;
}

.merchant-card h3 {
  margin: 0 0 14px;
}

.stack-form,
.merchant-list {
  display: grid;
  gap: 12px;
}

.merchant-item {
  padding: 14px;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.merchant-item strong,
.merchant-item p {
  display: block;
  margin: 0 0 4px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.overlay-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.overlay-card {
  position: relative;
  width: min(820px, calc(100% - 24px));
  margin: 48px auto;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.city-modal-copy {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.city-actions {
  margin-bottom: 14px;
}

.narrow-card {
  width: min(520px, calc(100% - 24px));
}

.merchant-detail-card {
  width: min(920px, calc(100% - 24px));
  max-height: calc(100vh - 96px);
  overflow: auto;
}

.buyer-account-card {
  width: min(1080px, calc(100% - 24px));
  max-height: calc(100vh - 72px);
  overflow: auto;
}

.buyer-account-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.buyer-account-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.buyer-account-actions {
  display: flex;
  gap: 10px;
}

.buyer-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.buyer-account-summary article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf5, #fff);
}

.buyer-account-summary strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Sora", sans-serif;
  font-size: 24px;
}

.buyer-account-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.buyer-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.account-panel-wide {
  grid-column: 1 / -1;
}

.account-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.account-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #ece5dc;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdfa, #fff);
}

.account-item strong {
  font-size: 15px;
}

.account-item p,
.account-item span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-item-actions {
  display: flex;
  gap: 8px;
}

.mini-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.overlay-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 14px;
  border: 0;
  background: transparent;
  color: #666;
  font-weight: 800;
}

.modal-role-grid {
  margin-top: 18px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.role-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid #ece5dc;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf6, #fff);
  text-align: left;
}

.role-card-merchant {
  background: #f4fbf8;
}

.role-link-card {
  color: inherit;
  text-decoration: none;
}

.role-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(34, 34, 34, 0.94);
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.empty-state {
  padding: 20px;
  border: 1px dashed #dadada;
  border-radius: 14px;
  color: var(--muted);
  background: #fafafa;
}

@media (max-width: 1320px) {
  .utility-inner,
  .main-header-inner,
  .content-shell {
    width: min(1440px, calc(100% - 72px));
  }

  .category-showcase-grid,
  .promo-circles,
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .brand-row,
  .merchant-dashboard-grid,
  .merchant-lists,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .utility-inner,
  .main-header-inner,
  .content-shell {
    width: min(1440px, calc(100% - 40px));
  }

  .buyer-account-grid,
  .buyer-account-summary {
    grid-template-columns: 1fr;
  }

  .category-showcase-grid,
  .promo-circles,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .merchant-page-head {
    flex-direction: column;
  }

  .brand-row {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .buyer-account-head {
    flex-direction: column;
  }

  .search-wrap {
    order: 3;
  }

  .hero-filter-box,
  .promo-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-billboard {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 26px 24px 18px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: calc(100% + 48px);
    min-height: 188px;
    margin: 6px -24px 0;
  }

  .hero-slider-shell {
    position: relative;
    height: 188px;
    border-radius: 0 0 18px 18px;
  }

  .hero-slider-dots {
    left: auto;
    right: 18px;
    bottom: 12px;
  }
}

@media (max-width: 720px) {
  .utility-inner,
  .main-header-inner,
  .content-shell {
    width: calc(100% - 28px);
  }

  .header-search-cluster {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 8px;
  }

  .location-chip {
    min-height: 48px;
    min-width: 0;
    padding: 0 12px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .search-wrap {
    min-width: 0;
    gap: 8px;
    padding: 0 14px;
  }

  .search-wrap input {
    min-width: 0;
    width: 100%;
    font-size: 14px;
  }

  .category-bar {
    gap: 8px;
    padding: 8px 0 10px;
  }

  .category-tab {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .hero-metrics,
  .inline-grid {
    grid-template-columns: 1fr;
  }

  .category-showcase-grid,
  .promo-circles,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overlay-card {
    margin-top: 20px;
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }

  .slim-hero .hero-copy {
    padding: 16px;
  }

  .sort-switch {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding: 4px;
  }

  .sort-switch::-webkit-scrollbar {
    display: none;
  }

  .sort-chip {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 12px;
    font-size: 11px;
  }

  .section-heading-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .hero-slider-shell {
    height: 132px;
  }

  .hero-billboard {
    min-height: 188px;
    padding: 18px 18px;
    gap: 0;
  }

  .hero-copy h1 {
    max-width: 7.8ch;
    font-size: clamp(23px, 7vw, 32px);
    line-height: 0.98;
  }

  .hero-copy p {
    display: none;
  }

  .hero-actions-row {
    gap: 12px;
    margin-top: 12px;
  }

  .hero-cta {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero-stats-inline {
    gap: 10px;
    font-size: 11px;
  }

  .hero-visual {
    position: absolute;
    inset: 0 0 0 auto;
    width: 72%;
    min-height: 100%;
    margin: 0;
  }

  .hero-slider-shell {
    position: absolute;
    inset: 0;
    height: 100%;
    border-radius: 0 18px 18px 0;
  }

  .hero-slide::before {
    background-position: right center;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.05) 16%,
      rgba(0, 0, 0, 0.26) 30%,
      rgba(0, 0, 0, 0.62) 46%,
      rgba(0, 0, 0, 0.9) 60%,
      #000 72%,
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.05) 16%,
      rgba(0, 0, 0, 0.26) 30%,
      rgba(0, 0, 0, 0.62) 46%,
      rgba(0, 0, 0, 0.9) 60%,
      #000 72%,
      #000 100%
    );
  }

  .promo-banner-main {
    grid-template-columns: 1fr;
  }

  .promo-banner-mark {
    min-height: 72px;
  }

  .promo-banner-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .category-showcase-grid,
  .promo-circles {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 34px;
  }

  .header-actions {
    width: 100%;
    justify-content: stretch;
    gap: 8px;
  }

  .header-action,
  .icon-action {
    flex: 1;
  }

  .icon-action {
    min-width: 0;
  }

  .header-action {
    flex: 1.35;
    min-width: 0;
    padding: 0 14px;
    font-size: 14px;
  }

  .header-search-cluster {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .location-chip {
    padding: 0 10px;
    font-size: 13px;
  }

  .search-wrap {
    height: 52px;
    padding: 0 12px;
  }

  .search-wrap input {
    font-size: 13px;
  }

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

  .product-card {
    border-radius: 12px;
  }

  .product-image {
    aspect-ratio: 0.86;
  }

  .product-fav {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .product-body {
    gap: 6px;
    padding: 9px;
  }

  .product-topline {
    gap: 6px;
  }

  .product-body h4 {
    font-size: 12px;
    min-height: 32px;
  }

  .product-body p {
    min-height: 28px;
    font-size: 10px;
  }

  .product-meta-row,
  .price-main,
  .price-sub,
  .merchant-open {
    font-size: 11px;
  }

  .merchant-open {
    min-height: 34px;
    padding: 0 8px;
  }

  .section-heading-row h2 {
    font-size: 18px;
  }

  .section-link,
  .section-heading-row span {
    font-size: 12px;
  }

  .hero-billboard {
    min-height: 172px;
    padding: 16px;
  }

  .hero-visual {
    width: 73%;
    min-height: 100%;
    margin: 0;
  }

  .hero-slider-shell {
    height: 100%;
    border-radius: 0 16px 16px 0;
  }

  .hero-slider-dots {
    right: 14px;
    bottom: 8px;
    gap: 6px;
  }

  .hero-slider-dot {
    width: 7px;
    height: 7px;
  }

  .hero-eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .hero-copy h1 {
    max-width: 7.4ch;
    font-size: 22px;
  }

  .hero-stats-inline {
    display: none;
  }
}
