/*
 * Noisoft Dijital Dünya — Müşteri Web / Pazaryeri UI v2.0.0
 * Profesyonel, erişilebilir ve responsive ortak tasarım katmanı.
 */
:root {
  --brand: #a60027;
  --brand-dark: #78001d;
  --brand-soft: #fff1f3;
  --brand-soft-2: #fff7f8;
  --blue: #0758f7;
  --blue-soft: #eef4ff;
  --navy: #0b1b38;
  --navy-2: #10284f;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #eef2f7;
  --page: #f5f7fb;
  --success: #067647;
  --warning: #b54708;
  --danger: #b42318;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-sm: 0 5px 18px rgba(16, 24, 40, .06);
  --shadow-md: 0 16px 42px rgba(16, 24, 40, .08);
  --shadow-lg: 0 28px 70px rgba(16, 24, 40, .12);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1360px;
  --header-height: 82px;
}

html {
  min-width: 320px;
  background: var(--page);
  color-scheme: light;
  scroll-padding-top: 96px;
}

body.noisoft-site-v2 {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(7, 88, 247, .2);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

#main-content { min-height: calc(100vh - var(--header-height)); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(228, 231, 236, .86);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .025);
  backdrop-filter: saturate(170%) blur(18px);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 10px 34px rgba(16, 24, 40, .075);
}
.header-inner {
  min-width: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}
.site-brand {
  min-width: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.site-brand-logo {
  width: clamp(186px, 15vw, 224px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}
.main-nav {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}
.main-nav > a {
  min-width: 0;
  position: relative;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .16s ease, background-color .16s ease;
}
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .16s ease;
}
.main-nav > a:hover,
.main-nav > a.active {
  background: var(--brand-soft-2);
  color: var(--brand);
}
.main-nav > a.active::after { transform: scaleX(1); }
.nav-mobile-icon,
.mobile-nav-head,
.mobile-nav-foot,
.mobile-account-link { display: none; }
.header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.header-icon-button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.header-icon-button:hover {
  transform: translateY(-1px);
  border-color: #cfd4dc;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.cart-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.customer-pill {
  min-width: 0;
  max-width: 190px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.customer-pill > span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), #d21e49);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.customer-pill strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer-pill > i { color: var(--faint); font-size: 10px; }
.mobile-menu-button,
.mobile-menu-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
}
.mobile-overlay { display: none; }

/* Buttons */
.btn {
  min-height: 42px;
  max-width: 100%;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #b2002d, var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(166, 0, 39, .18);
}
.btn-primary:hover { background: linear-gradient(135deg, #9a0025, #680017); box-shadow: 0 13px 28px rgba(166, 0, 39, .24); }
.btn-secondary,
.btn-ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover,
.btn-ghost:hover { border-color: #bcc3ce; background: var(--surface-soft); color: var(--ink); }
.btn-danger { border-color: #fecdca; background: #fff5f4; color: var(--danger); }
.btn.compact { min-height: 38px; padding: 8px 13px; border-radius: 10px; font-size: 12px; }
.btn.small { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.btn.full { width: 100%; }

/* Alerts */
.flash-wrap { position: relative; z-index: 65; }
.alert {
  min-width: 0;
  margin-top: 16px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #abefc6;
  border-radius: 14px;
  background: #ecfdf3;
  color: var(--success);
  box-shadow: var(--shadow-sm);
}
.alert > span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.alert.warning { border-color: #fedf89; background: #fffaeb; color: var(--warning); }
.alert.error { border-color: #fecdca; background: #fef3f2; color: var(--danger); }
.alert button { flex: 0 0 auto; margin-left: auto; border: 0; background: transparent; color: inherit; cursor: pointer; }

/* Common headings / surfaces */
.eyebrow {
  min-width: 0;
  max-width: 100%;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #ffe0e5;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .025em;
}
.section { padding: clamp(58px, 6vw, 88px) 0; }
.section.soft {
  border-block: 1px solid rgba(228, 231, 236, .75);
  background: linear-gradient(180deg, #f8fafc 0%, #f4f7fb 100%);
}
.section-heading {
  min-width: 0;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.section-heading > div { min-width: 0; }
.section-heading h2 {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: clamp(28px, 3.5vw, 43px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; }
.section-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}
.section-link:hover { background: var(--brand-soft); }
.page-hero {
  padding: clamp(44px, 5vw, 70px) 0 34px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 0, rgba(166, 0, 39, .075), transparent 30rem),
    radial-gradient(circle at 90% 0, rgba(7, 88, 247, .065), transparent 28rem),
    #fff;
}
.page-hero .container { min-width: 0; }
.page-hero h1 {
  max-width: 900px;
  margin: 13px 0 8px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); }
.muted { color: var(--muted); }
.text-brand { color: var(--brand); }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 0 clamp(62px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 8%, rgba(166, 0, 39, .105), transparent 29rem),
    radial-gradient(circle at 96% 14%, rgba(7, 88, 247, .095), transparent 31rem),
    linear-gradient(180deg, #fff 0%, #fbfcff 70%, #f7f9fc 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: linear-gradient(rgba(11, 27, 56, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 27, 56, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  max-width: 780px;
  margin: 20px 0 19px;
  color: var(--navy);
  font-size: clamp(45px, 5.7vw, 74px);
  line-height: .99;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(120deg, var(--brand), #dd2452 58%, var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy { max-width: 730px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; }
.search-panel {
  width: min(100%, 830px);
  min-width: 0;
  margin-top: 31px;
  padding: 8px;
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(180px, .85fr) auto;
  gap: 7px;
  border: 1px solid rgba(208, 213, 221, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 20px 50px rgba(16, 24, 40, .095);
}
.search-field {
  min-width: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line);
}
.search-field:last-of-type { border-right: 0; }
.search-field i { flex: 0 0 auto; color: var(--brand); font-size: 14px; }
.search-field input,
.search-field select {
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search-field input::placeholder { color: var(--faint); }
.search-panel .btn { min-height: 48px; padding-inline: 22px; }
.hero-trust {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--success); }
.hero-visual { min-width: 0; min-height: 480px; position: relative; }
.market-mockup {
  position: absolute;
  inset: 20px 6px 10px 12px;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(208, 213, 221, .88);
  border-radius: 25px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 34px 80px rgba(16, 24, 40, .15);
  transform: rotate(1deg);
}
.market-mockup::after {
  content: "";
  position: absolute;
  inset: auto -100px -130px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(7, 88, 247, .065);
}
.mockup-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mockup-top strong { color: var(--navy); font-size: 14px; }
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span { width: 8px; height: 8px; border-radius: 999px; background: #d0d5dd; }
.mockup-dots span:first-child { background: #f97066; }
.mockup-dots span:nth-child(2) { background: #fdb022; }
.mockup-dots span:last-child { background: #32d583; }
.mockup-search { height: 44px; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.mockup-cards { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.mock-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-xs); }
.mock-card-cover { height: 96px; background: linear-gradient(135deg, #ffe0e6, #e7edff); }
.mock-card:nth-child(2) .mock-card-cover { background: linear-gradient(135deg, #dff5ee, #fff1d6); }
.mock-card:nth-child(3) .mock-card-cover { background: linear-gradient(135deg, #eee4ff, #fde4ea); }
.mock-card:nth-child(4) .mock-card-cover { background: linear-gradient(135deg, #dcecff, #e4f7ee); }
.mock-card-body { padding: 12px; }
.mock-line { height: 8px; margin: 7px 0; border-radius: 999px; background: #eaecf0; }
.mock-line.short { width: 55%; }
.floating-chip {
  position: absolute;
  z-index: 3;
  max-width: 220px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .98);
  color: var(--ink-soft);
  box-shadow: 0 18px 42px rgba(16, 24, 40, .14);
  font-size: 12px;
  font-weight: 850;
}
.floating-chip i { margin-right: 7px; color: var(--brand); }
.floating-chip.one { top: 0; right: -12px; }
.floating-chip.two { bottom: 20px; left: -18px; }
.stats-band {
  padding: 18px 0;
  background: linear-gradient(110deg, var(--navy), var(--navy-2));
  color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; }
.stat-block {
  min-width: 0;
  padding: 18px 22px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.stat-block:last-child { border-right: 0; }
.stat-block strong { display: block; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.04em; }
.stat-block span { display: block; margin-top: 2px; color: #bfcaDC; font-size: 11px; font-weight: 700; }

/* Category / steps / CTA */
.category-grid { min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card {
  min-width: 0;
  min-height: 94px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.category-card:hover { transform: translateY(-3px); border-color: #d9a5b1; box-shadow: var(--shadow-md); }
.category-icon {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand-soft), #fff8f9);
  color: var(--brand);
  font-size: 18px;
}
.category-card > span:last-child { min-width: 0; }
.category-card strong { display: block; overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.category-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.steps-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.step-card h3 { margin: 19px 0 8px; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }
.cta-panel {
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
  border-radius: 25px;
  background:
    radial-gradient(circle at 90% 0, rgba(7, 88, 247, .35), transparent 23rem),
    linear-gradient(125deg, #8f0022, var(--navy));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-panel::after {
  content: "N";
  position: absolute;
  right: 4%;
  bottom: -45%;
  color: rgba(255, 255, 255, .045);
  font-size: 260px;
  font-weight: 900;
  line-height: 1;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { margin: 0 0 8px; font-size: clamp(27px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.04em; }
.cta-panel p { max-width: 760px; margin: 0; color: #d6deeb; }
.cta-panel .btn { flex: 0 0 auto; min-height: 48px; padding-inline: 22px; background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }

/* Listing cards */
.listing-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.listing-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.listing-card:hover { transform: translateY(-4px); border-color: #ccd1da; box-shadow: var(--shadow-md); }
.listing-cover { height: 168px; flex: 0 0 168px; position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #f4d8de, #e5ecff); }
.listing-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }
.listing-card:hover .listing-cover img { transform: scale(1.035); }
.listing-card-overlay { position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(to top, rgba(11, 27, 56, .28), transparent); pointer-events: none; }
.cover-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 18% 28%, rgba(255, 255, 255, .88), transparent 24%), linear-gradient(135deg, rgba(166, 0, 39, .13), rgba(7, 88, 247, .12)); }
.software-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  max-width: calc(100% - 26px);
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  color: var(--brand);
  box-shadow: 0 7px 18px rgba(16, 24, 40, .12);
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.software-badge.software-only-badge { background: rgba(244, 248, 255, .95); color: #344d73; }
.listing-body { min-width: 0; flex: 1; display: flex; flex-direction: column; padding: 17px; }
.listing-title-row { min-width: 0; margin-top: -43px; position: relative; display: flex; align-items: flex-end; gap: 11px; }
.listing-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .14);
}
.listing-logo img { width: 100%; height: 100%; object-fit: cover; }
.listing-logo span { width: 100%; height: 100%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 18px; font-weight: 900; }
.listing-heading-copy { min-width: 0; padding-bottom: 2px; }
.listing-title-row h3 { min-width: 0; margin: 0 0 3px; overflow: hidden; color: var(--ink); font-size: 17px; line-height: 1.25; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.listing-title-row p { margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.listing-summary {
  height: auto;
  min-height: 63px;
  margin: 15px 0 12px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.listing-meta { min-width: 0; min-height: 43px; display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.listing-meta > span { min-width: 0; display: flex; align-items: center; gap: 7px; }
.listing-meta > span > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-meta i { width: 14px; flex: 0 0 14px; color: var(--brand); text-align: center; }
.listing-actions { margin-top: auto; padding-top: 15px; }
.listing-detail-link {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
}
.listing-detail-link i { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand); transition: transform .16s ease; }
.listing-card:hover .listing-detail-link i { transform: translateX(2px); }

/* Directory */
.directory-toolbar {
  min-width: 0;
  margin-top: -1px;
  padding: 20px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.filter-grid { min-width: 0; display: grid; grid-template-columns: minmax(190px, 1.35fr) minmax(150px, .8fr) minmax(130px, .65fr) minmax(130px, .65fr) auto; align-items: end; gap: 12px; }
.checkbox-field { margin-top: 13px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.checkbox-field input { accent-color: var(--brand); }
.directory-layout { min-width: 0; padding: 30px 0 80px; display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 26px; }
.directory-layout > * { min-width: 0; }
.filter-sidebar {
  min-width: 0;
  max-height: calc(100vh - 120px);
  overflow: auto;
  position: sticky;
  top: 100px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  scrollbar-width: thin;
  scrollbar-color: #d0d5dd transparent;
}
.filter-sidebar h3 { margin: 4px 8px 10px; color: var(--ink); font-size: 13px; }
.filter-sidebar a { min-width: 0; padding: 9px 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.filter-sidebar a:hover { background: var(--surface-soft); color: var(--brand); }
.filter-sidebar a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-sidebar a b { min-width: 25px; padding: 3px 6px; border-radius: 999px; background: var(--surface-strong); color: var(--muted); font-size: 9px; text-align: center; }
.results-head { min-width: 0; margin-bottom: 17px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.results-head h2 { margin: 0; color: var(--ink); font-size: 20px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.results-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.sort-select { min-width: 150px; height: 40px; padding: 0 34px 0 11px; border: 1px solid var(--line-strong); border-radius: 10px; background-color: #fff; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.pagination { margin-top: 28px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; }
.pagination a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 800; }
.pagination a:hover,
.pagination a.active { border-color: var(--brand); background: var(--brand); color: #fff; }

/* Form system */
.field { min-width: 0; }
.field label { margin-bottom: 6px; display: block; color: var(--ink-soft); font-size: 11px; font-weight: 800; }
.field input,
.field select,
.field textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .02);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field input,
.field select { height: 44px; padding: 0 12px; }
.field textarea { min-height: 122px; padding: 11px 12px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #84adff; outline: 0; box-shadow: 0 0 0 4px rgba(7, 88, 247, .09); }
.field input:disabled,
.field select:disabled,
.field textarea:disabled { background: #f2f4f7; color: #98a2b3; cursor: not-allowed; }
.form-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field.full { grid-column: 1 / -1; }
.form-actions { min-width: 0; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.form-help { color: var(--muted); font-size: 12px; }
.form-help a { color: var(--brand); font-weight: 800; }
.consent { min-width: 0; margin-top: 15px; display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; }
.consent input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--brand); }

/* Cards / tables / empty state */
.card,
.content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.card { margin-bottom: 20px; padding: 21px; }
.content-card { margin-bottom: 20px; padding: 22px; }
.card-head { min-width: 0; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-head > div { min-width: 0; }
.card-head h2,
.content-card > h2 { margin: 0; color: var(--ink); font-size: 19px; letter-spacing: -.025em; }
.content-card > h2 { margin-bottom: 15px; }
.card-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.empty-state { min-width: 0; padding: clamp(40px, 6vw, 70px) 24px; text-align: center; }
.empty-state > i { width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 17px; background: var(--brand-soft); color: var(--brand); font-size: 22px; }
.empty-state h3 { margin: 0 0 7px; color: var(--ink); font-size: 19px; }
.empty-state p { max-width: 550px; margin: 0 auto; color: var(--muted); font-size: 13px; }
.table-wrap { min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; scrollbar-width: thin; }
.table { min-width: 720px; width: 100%; border-collapse: collapse; background: #fff; }
.table th { padding: 11px 12px; border-bottom: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.table td { padding: 13px 12px; border-bottom: 1px solid #f0f2f5; color: var(--ink-soft); font-size: 12px; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfcfd; }
.table a { color: var(--brand); font-weight: 800; }
.status-badge { max-width: 100%; padding: 5px 8px; display: inline-flex; align-items: center; border-radius: 999px; background: #f2f4f7; color: var(--muted); font-size: 9px; font-weight: 850; overflow-wrap: anywhere; }
.status-badge.success { background: #ecfdf3; color: var(--success); }
.status-badge.warning { background: #fffaeb; color: var(--warning); }
.status-badge.danger { background: #fef3f2; color: var(--danger); }

/* Business profile */
.business-cover {
  height: clamp(250px, 31vw, 410px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ead9df, #dfe8fb);
}
.business-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 27, 56, .42), transparent 62%); }
.business-cover img { width: 100%; height: 100%; object-fit: cover; }
.business-profile-wrap { position: relative; z-index: 3; margin-top: -78px; }
.business-profile-card {
  min-width: 0;
  padding: 21px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.business-logo-large {
  width: 106px;
  height: 106px;
  flex: 0 0 106px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 23px;
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
  font-size: 30px;
  font-weight: 900;
}
.business-logo-large img { width: 100%; height: 100%; object-fit: cover; }
.business-title-block { min-width: 0; flex: 1; }
.business-title-block h1 { margin: 9px 0 6px; color: var(--ink); font-size: clamp(28px, 4vw, 43px); line-height: 1.05; letter-spacing: -.045em; overflow-wrap: anywhere; }
.business-title-block > p { margin: 0; color: var(--muted); font-size: 13px; }
.business-badges { min-width: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.pill { max-width: 100%; padding: 6px 9px; display: inline-flex; align-items: center; gap: 6px; overflow: hidden; border-radius: 999px; background: #f2f4f7; color: var(--muted); font-size: 9px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.pill.success { background: #ecfdf3; color: var(--success); }
.business-quick-actions { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.business-quick-actions form { margin: 0; }
.business-content { min-width: 0; padding: 28px 0 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); align-items: start; gap: 24px; }
.business-content > * { min-width: 0; }
.business-content aside { min-width: 0; position: sticky; top: 102px; }
.business-description { color: var(--ink-soft); font-size: 14px; line-height: 1.78; overflow-wrap: anywhere; }
.notice-box { padding: 16px; border: 1px solid #fedf89; border-radius: 13px; background: #fffaeb; color: #7a2e0e; font-size: 12px; }
.notice-box strong { display: block; margin-bottom: 5px; color: var(--warning); font-size: 13px; }
.tab-buttons { min-width: 0; margin-bottom: 17px; display: flex; gap: 5px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tab-buttons::-webkit-scrollbar { display: none; }
.tab-buttons button { flex: 0 0 auto; padding: 10px 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.tab-buttons button.active { border-bottom-color: var(--brand); color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.item-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.market-item { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .16s ease, box-shadow .16s ease; }
.market-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.market-item-image { height: 145px; flex: 0 0 145px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #f8e9ed, #edf2ff); color: var(--brand); font-size: 27px; }
.market-item-image img { width: 100%; height: 100%; object-fit: cover; }
.market-item-body { min-width: 0; flex: 1; display: flex; flex-direction: column; padding: 15px; }
.market-item-body h3 { margin: 0 0 6px; overflow: hidden; color: var(--ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.market-item-body > p { min-height: 41px; margin: 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.item-price-row { margin-top: 13px; }
.item-price { display: block; color: var(--brand); font-size: 16px; font-weight: 900; }
.item-price small { margin-left: 4px; color: var(--muted); font-size: 9px; font-weight: 700; }
.item-actions { min-width: 0; margin-top: auto; padding-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.item-actions form { min-width: 0; flex: 1; }
.contact-list { display: grid; gap: 12px; }
.contact-row { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 10px; }
.contact-row > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.contact-row > div { min-width: 0; }
.contact-row strong { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; letter-spacing: .035em; text-transform: uppercase; }
.contact-row a,
.contact-row span { display: block; color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }

/* Auth */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 5%, rgba(166, 0, 39, .105), transparent 30rem),
    radial-gradient(circle at 93% 24%, rgba(7, 88, 247, .1), transparent 32rem),
    var(--page);
}
.auth-wrap { min-height: calc(100vh - var(--header-height)); padding: 48px 0 70px; display: grid; place-items: center; }
.auth-card { min-width: 0; width: min(1040px, calc(100% - 40px)); display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow-lg); }
.auth-side { min-width: 0; min-height: 610px; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; background: radial-gradient(circle at 85% 0, rgba(7, 88, 247, .35), transparent 20rem), linear-gradient(145deg, #86001f, var(--navy)); color: #fff; }
.auth-side::after { content: "N"; position: absolute; right: -10%; bottom: -15%; color: rgba(255, 255, 255, .045); font-size: 260px; font-weight: 900; line-height: 1; }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { max-width: 440px; margin: 22px 0 13px; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.auth-side p { color: #d7deea; }
.auth-points { display: grid; gap: 12px; }
.auth-point { min-width: 0; display: flex; align-items: center; gap: 10px; color: #eef2f8; font-size: 12px; font-weight: 700; }
.auth-point span { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(255, 255, 255, .09); }
.auth-form { min-width: 0; padding: clamp(30px, 5vw, 52px); }
.auth-form h1 { margin: 0 0 7px; color: var(--ink); font-size: clamp(28px, 4vw, 37px); letter-spacing: -.045em; }
.auth-form > p { margin: 0 0 25px; color: var(--muted); font-size: 13px; }

/* Account */
.account-page { min-height: 100vh; background: var(--page); }
.account-shell { min-width: 0; padding: 30px 0 80px; display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 24px; }
.account-shell > * { min-width: 0; }
.account-nav-wrap { min-width: 0; position: sticky; top: 100px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-xs); }
.account-nav-head { min-width: 0; padding: 15px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff, #fbfcff); }
.account-nav-mark { width: 39px; height: 39px; flex: 0 0 39px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.account-nav-mark img { width: 100%; height: 100%; object-fit: cover; }
.account-nav-head > div { min-width: 0; }
.account-nav-head strong { display: block; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-nav-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.account-nav { padding: 8px; display: grid; gap: 3px; }
.account-nav a { min-width: 0; padding: 10px; display: flex; align-items: center; gap: 9px; border-radius: 10px; color: var(--muted); font-size: 11px; font-weight: 750; }
.account-nav a > i:first-child { width: 18px; flex: 0 0 18px; text-align: center; }
.account-nav a span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-nav-arrow { color: #c4c9d2; font-size: 8px; }
.account-nav a:hover,
.account-nav a.active { background: var(--brand-soft); color: var(--brand); }
.account-nav a.active .account-nav-arrow { color: var(--brand); }
.account-nav a.account-logout { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--danger); }
.account-main { min-width: 0; }
.account-main h1 { margin: 0 0 5px; color: var(--ink); font-size: clamp(28px, 4vw, 38px); letter-spacing: -.045em; }
.account-main > .intro { margin: 0 0 23px; color: var(--muted); }
.dashboard-stats { min-width: 0; margin-bottom: 19px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.dashboard-stat { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-xs); }
.dashboard-stat span { display: block; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-stat strong { display: block; margin-top: 5px; color: var(--ink); font-size: 27px; letter-spacing: -.04em; }
.account-dual-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.account-listing-grid { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-item { min-width: 0; padding: 13px; border: 1px solid #eef0f3; border-radius: 11px; background: var(--surface-soft); }
.detail-item small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 9px; }
.detail-item strong { display: block; color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }
.detail-item.full { grid-column: 1 / -1; }
.address-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.address-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.address-card.default { border-color: #e4a8b5; background: #fffafb; }
.address-card h3 { margin: 0 0 7px; font-size: 14px; }
.address-card p { margin: 3px 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.address-actions { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 7px; }

/* Cart */
.cart-layout { min-width: 0; padding: 34px 0 78px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 350px); align-items: start; gap: 22px; }
.cart-layout > * { min-width: 0; }
.cart-list { min-width: 0; display: grid; gap: 12px; }
.cart-item { min-width: 0; padding: 14px; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-xs); }
.cart-item-image { width: 88px; height: 78px; overflow: hidden; display: grid; place-items: center; border-radius: 12px; background: var(--surface-soft); color: var(--faint); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { margin: 0 0 4px; overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item p { margin: 0; color: var(--muted); font-size: 10px; }
.quantity-control { margin-top: 9px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.quantity-control input { width: 68px; height: 34px; border: 1px solid var(--line-strong); border-radius: 9px; text-align: center; }
.cart-price { min-width: 100px; text-align: right; }
.cart-price strong { display: block; color: var(--brand); font-size: 14px; }
.order-summary { min-width: 0; padding: 20px; position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.order-summary h2 { margin: 0 0 16px; color: var(--ink); font-size: 19px; }
.summary-row { min-width: 0; padding: 8px 0; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.summary-row span,
.summary-row strong { min-width: 0; overflow-wrap: anywhere; }
.summary-row.total { margin-top: 7px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 900; }

/* Footer */
.site-footer {
  padding: 58px 0 22px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 100% 0, rgba(7, 88, 247, .19), transparent 32rem),
    linear-gradient(145deg, #0d1d3b, #071329);
  color: #fff;
}
.site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to bottom, #000, transparent); }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(260px, 1.65fr) repeat(4, minmax(125px, .72fr)); gap: clamp(28px, 4vw, 52px); }
.footer-main > * { min-width: 0; }
.footer-logo-panel { width: min(100%, 250px); min-height: 70px; padding: 12px 15px; display: flex; align-items: center; border-radius: 15px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .15); }
.footer-logo-panel img { width: 100%; height: auto; }
.footer-brand-block p { max-width: 440px; margin: 18px 0 13px; color: #b7c3d5; font-size: 13px; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #d5deeb; font-size: 10px; font-weight: 750; }
.footer-trust i { margin-right: 4px; color: #58d5a8; }
.footer-links h3 { margin: 3px 0 15px; color: #fff; font-size: 12px; letter-spacing: .02em; }
.footer-links a { width: fit-content; max-width: 100%; margin: 9px 0; display: block; color: #aebbd0; font-size: 11px; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }
.footer-bottom { position: relative; z-index: 1; margin-top: 42px; padding-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8fa0b8; font-size: 10px; }

/* Responsive */
@media (max-width: 1180px) {
  .main-nav > a { padding-inline: 9px; font-size: 12px; }
  .desktop-login { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr); gap: 38px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, .8fr)); }
  .footer-links:nth-last-child(-n+2) { margin-top: 4px; }
}

@media (max-width: 1020px) {
  :root { --header-height: 74px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .main-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .main-nav.open {
    width: min(360px, calc(100vw - 28px));
    height: 100dvh;
    padding: 0 17px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;
    overflow-y: auto;
    border-left: 1px solid var(--line);
    background: #fff;
    box-shadow: -22px 0 60px rgba(16, 24, 40, .18);
  }
  .main-nav.open > a {
    flex: 0 0 auto;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 11px;
    font-size: 13px;
  }
  .main-nav.open > a::after { display: none; }
  .nav-mobile-icon { width: 20px; display: inline-block; color: var(--faint); text-align: center; }
  .main-nav.open > a.active .nav-mobile-icon,
  .main-nav.open > a:hover .nav-mobile-icon { color: var(--brand); }
  .mobile-nav-head { min-height: 76px; margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
  .mobile-nav-head img { width: 185px; height: auto; }
  .mobile-menu-close { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 17px; }
  .mobile-account-link { display: flex !important; }
  .mobile-nav-foot { margin-top: auto; padding: 15px 11px 0; display: block; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
  .mobile-nav-foot i { margin-right: 6px; color: var(--success); }
  .mobile-overlay.open { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(7, 17, 36, .5); backdrop-filter: blur(3px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { max-width: 830px; }
  .search-panel { width: 100%; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-grid .btn { grid-column: 1 / -1; }
  .directory-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .business-profile-card { align-items: flex-start; flex-wrap: wrap; }
  .business-quick-actions { width: 100%; justify-content: flex-start; }
  .business-content { grid-template-columns: 1fr; }
  .business-content aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .business-content aside .content-card { margin-bottom: 0; }
  .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .header-inner { gap: 10px; }
  .site-brand-logo { width: 165px; max-height: 44px; }
  .header-actions { margin-left: auto; gap: 7px; }
  .desktop-register { display: none; }
  .customer-pill strong,
  .customer-pill > i { display: none; }
  .customer-pill { padding-right: 5px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(39px, 12vw, 56px); letter-spacing: -.055em; }
  .search-panel { grid-template-columns: 1fr; padding: 8px; }
  .search-field { min-width: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .search-field:last-of-type { border-bottom: 0; }
  .search-panel .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-block:nth-child(2) { border-right: 0; }
  .stat-block:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .category-grid,
  .listing-grid,
  .steps-grid,
  .item-grid { grid-template-columns: 1fr; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .cta-panel .btn { width: 100%; }
  .directory-toolbar { padding: 15px; }
  .filter-grid { grid-template-columns: 1fr; }
  .results-head { align-items: flex-start; flex-direction: column; }
  .results-head form,
  .sort-select { width: 100%; }
  .business-cover { height: 240px; }
  .business-profile-wrap { margin-top: -56px; }
  .business-profile-card { padding: 16px; }
  .business-logo-large { width: 86px; height: 86px; flex-basis: 86px; border-radius: 19px; }
  .business-title-block h1 { font-size: 29px; }
  .business-quick-actions .btn,
  .business-quick-actions form { flex: 1 1 145px; }
  .business-quick-actions form .btn { width: 100%; }
  .business-content aside { grid-template-columns: 1fr; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-form { padding: 30px 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .account-shell { grid-template-columns: 1fr; }
  .account-nav-wrap { position: static; }
  .account-nav-head { display: none; }
  .account-nav { display: flex; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav a { flex: 0 0 auto; }
  .account-nav-arrow { display: none; }
  .account-nav a.account-logout { margin-top: 0; border-top: 0; border-left: 1px solid var(--line); border-radius: 9px; }
  .account-dual-grid,
  .account-listing-grid,
  .address-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 22px)); }
  .site-brand-logo { width: 145px; }
  .header-icon-button { width: 39px; height: 39px; flex-basis: 39px; }
  .mobile-menu-button { width: 39px; height: 39px; flex-basis: 39px; }
  .customer-pill { display: none; }
  .hero h1 { font-size: 40px; }
  .hero-copy { font-size: 15px; }
  .hero-trust { display: grid; gap: 7px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-block { padding: 15px 8px; }
  .stat-block strong { font-size: 24px; }
  .category-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 35px; }
  .business-profile-card { display: block; }
  .business-logo-large { margin-bottom: 13px; }
  .business-quick-actions { margin-top: 16px; }
  .business-quick-actions .btn,
  .business-quick-actions form { flex-basis: 100%; }
  .detail-list { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 70px minmax(0, 1fr); align-items: start; }
  .cart-item-image { width: 70px; height: 70px; }
  .cart-price { grid-column: 2; text-align: left; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
  .footer-logo-panel { width: min(100%, 235px); }
}

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

/* Home v2 supplementary components */
.hero-mini-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-mini-actions a {
  max-width: 100%;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}
.hero-mini-actions a:hover { border-color: #d6a3af; color: var(--brand); background: #fff; }
.hero-mini-actions i { color: var(--brand); }
.category-card-arrow { margin-left: auto; color: #c3c8d1; font-size: 10px; transition: transform .16s ease, color .16s ease; }
.category-card:hover .category-card-arrow { transform: translateX(2px); color: var(--brand); }
.experience-section {
  border-block: 1px solid rgba(228, 231, 236, .8);
  background:
    radial-gradient(circle at 100% 0, rgba(7, 88, 247, .06), transparent 28rem),
    radial-gradient(circle at 0 100%, rgba(166, 0, 39, .055), transparent 28rem),
    #fff;
}
.experience-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.experience-card {
  min-width: 0;
  min-height: 210px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.experience-card.featured {
  border-color: rgba(166, 0, 39, .18);
  background: linear-gradient(145deg, #fff8fa, #fff);
  box-shadow: var(--shadow-md);
}
.experience-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
}
.experience-card > div { min-width: 0; }
.experience-card small { color: var(--brand); font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.experience-card h3 { margin: 8px 0 7px; color: var(--ink); font-size: 18px; letter-spacing: -.025em; }
.experience-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
@media (max-width: 1020px) { .experience-grid { grid-template-columns: 1fr; } .experience-card { min-height: 0; } }
@media (max-width: 520px) { .hero-mini-actions { display: grid; } .hero-mini-actions a { width: fit-content; } .experience-card { padding: 19px; } }
