/* ── Variables ── */
:root {
  --navy:        #2D3E6F;
  --navy-dark:   #243260;
  --navy-border: #3a5090;
  --navy-pale:   #EEF1F9;
  --orange:      #F97316;
  --orange-pale: #FFF0E6;
  --bg:          #F7F5F1;
  --surface:     #FAFAF8;
  --border:      #ECE7DE;
  --text:        #1C1B19;
  --text-muted:  #9A9387;
  --text-sub:    #6B6660;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── Navigation ── */
.site-nav {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__logo { height: 30px; filter: brightness(0) invert(1); }
.site-nav__link {
  color: #b8c8e8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.site-nav__link:hover { color: #fff; }
.site-nav__meta { color: #b8c8e8; font-size: 13px; }
.site-nav__meta a { color: #fff; font-weight: 600; text-decoration: none; }

/* ── Form elements (reset) ── */
input, textarea, select { font-family: inherit; font-size: 14px; }

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 3px rgba(45, 62, 111, .12);
}

input[type="checkbox"] {
  accent-color: var(--navy);
  width: 16px; height: 16px;
  cursor: pointer;
}
input[type="file"] { cursor: pointer; }
label { cursor: pointer; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9387' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
}

/* ── Field ── */
.field { display: flex; flex-direction: column; }
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: #3A382F;
  margin-bottom: 6px;
}
.field__label .req { color: var(--orange); }
.field__label .hint { font-weight: 400; color: var(--text-muted); font-size: 11.5px; margin-left: 4px; }

.field__input,
.field__select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field__textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  background: var(--surface);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.6;
}

/* Phone / handle prefix group */
.prefix-group { display: flex; }
.prefix-group__badge {
  background: #F4F1EB;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  padding: 0 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.prefix-group__badge--symbol { color: var(--text-muted); padding: 0 12px; }
.prefix-group input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  height: 44px;
  padding: 0 12px;
  background: var(--surface);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
  border-left: none;
}

/* ── Card ── */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.card--left { text-align: left; }
.card--mb { margin-bottom: 28px; }
.card__title--sm { font-size: 14px; margin-bottom: 20px; }
.card__title--md { font-size: 15px; margin-bottom: 16px; }
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card__title-sub {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 20px;
  margin-left: 38px;
  margin-top: -12px;
}
.card__step {
  display: inline-flex;
  width: 28px; height: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col-2   { grid-column: 1 / -1; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn--primary {
  width: 100%;
  height: 56px;
  font-size: 17px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 62, 111, .25);
}
.btn--primary:hover { background: var(--navy-dark); }
.btn--secondary {
  height: 48px;
  font-size: 15px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn--secondary:hover { background: var(--bg); border-color: var(--navy); }

/* ── Alerts ── */
.alert {
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
}
.alert--error { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }

/* ── Page header (centred title + badge) ── */
.page-header { text-align: center; margin-bottom: 36px; }
.page-header__badge {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.page-header__sub {
  color: #8A8377;
  font-size: 15px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Upload zone ── */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed #C8C2B8;
  border-radius: var(--r-md);
  padding: 28px 20px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: center;
}
.upload-zone:hover,
.upload-zone--active { border-color: var(--navy); background: var(--navy-pale); }
.upload-zone__title { font-weight: 600; font-size: 14px; color: #3A382F; }
.upload-zone__title span { color: var(--navy); }
.upload-zone__hint { color: var(--text-muted); font-size: 12px; margin-top: 3px; }
.upload-zone__file { font-size: 13px; color: var(--navy); font-weight: 600; display: none; }

/* ── Chips ── */
.chips { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-sub);
  background: #F4F1EB;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── Logo upload ── */
.logo-upload { display: inline-block; }
.logo-upload__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 160px;
  height: 120px;
  border: 2px dashed var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.logo-upload__preview:hover { border-color: var(--navy); background: var(--navy-pale); }
.logo-upload__preview--has-img {
  border-style: solid;
  border-color: var(--border);
  background: #F8F6F2;
}
.logo-upload__preview--has-img svg { display: none; }
.logo-upload__preview--has-img .logo-upload__text,
.logo-upload__preview--has-img .logo-upload__hint { display: none; }
.logo-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  display: none;
}
.logo-upload__preview--has-img img { display: block; }
.logo-upload__text { font-size: 13px; font-weight: 600; color: #3A382F; }
.logo-upload__hint { font-size: 11px; color: var(--text-muted); }

/* ── Utility layout ── */
.max-w-content {
  max-width: 1240px;
  margin: 0 auto;
}

/* ── Utility bar ── */
.utility-bar {
  background: var(--orange);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.utility-bar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.utility-bar__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.utility-bar__link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ── Main header ── */
.main-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.main-header__logo-img {
  height: 34px;
}

/* ── Search form ── */
.search-form {
  flex: 1;
  display: flex;
  align-items: center;
  background: #F4F1EB;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 6px 0 16px;
  height: 48px;
  max-width: 620px;
}
.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 15px;
  padding: 0 12px;
  color: var(--text);
}
.search-form__btn {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 9px;
  height: 36px;
  padding: 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* ── Header actions ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: #3A382F;
  font-weight: 500;
}
.header-action-btn--cart {
  position: relative;
}

/* ── Category list ── */
.category-list {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.category-list__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 28px;
}
.category-list__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 16px;
}
.category-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background .2s ease;
}
.cat-item:hover { background: var(--navy-pale); }
.cat-item--deals { background: var(--orange-pale); }
.cat-item--deals:hover { background: #FFE4CC; }
.cat-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-item__icon--tech { background: #E8F0FE; color: #1A73E8; }
.cat-item__icon--fashion { background: #FCE8E6; color: #D93025; }
.cat-item__icon--home { background: #E6F4EA; color: #137333; }
.cat-item__icon--beauty { background: #FCE8F0; color: #C2185B; }
.cat-item__icon--baby { background: #E8F5E9; color: #2E7D32; }
.cat-item__icon--deals { background: #FFF3E0; color: #E65100; }
.cat-item__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

/* ── Search section ── */
.search-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  position: relative;
}
.search-section .search-form--hero {
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}
.search-section .search-form--hero input { font-size: 15px; }

/* ── Main content area ── */
.main-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

/* ── Hero section ── */
.hero {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}
.hero__main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero__main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero__content {
  position: relative;
  padding: 44px 48px;
  max-width: 62%;
}
.hero__badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 6px 13px;
  border-radius: 30px;
  text-transform: uppercase;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.05;
  color: #fff;
  margin: 18px 0 12px;
  letter-spacing: -1.5px;
}
.hero__desc {
  color: #D8D2C6;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.hero__cta {
  background: #fff;
  color: var(--navy);
  border: none;
  border-radius: 12px;
  height: 50px;
  padding: 0 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.hero__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.hero__side-card {
  border-radius: 20px;
  overflow: hidden;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__side-card--green { background: #E9EEEB; }
.hero__side-card--orange { background: #F6E9DD; }
.hero__side-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.hero__side-label--green { color: #0F766E; }
.hero__side-label--orange { color: #C0481E; }
.hero__side-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 8px 0 4px;
  letter-spacing: -0.5px;
}
.hero__side-title--green { font-size: 22px; color: #143B33; }
.hero__side-title--orange { font-size: 22px; color: #5A2611; }
.hero__side-desc { font-size: 14px; margin: 0; }
.hero__side-desc--green { color: #3E5B53; }
.hero__side-desc--orange { color: #7A4226; }

/* ── Section header ── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-header__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.8px;
}
.section-header__sub {
  color: #8A8377;
  font-size: 14px;
  margin: 5px 0 0;
}
.section-header__link {
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.product-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f0eeeb;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.product-card__img--gradient {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img,
.product-card:hover .product-card__img--gradient {
  transform: scale(1.05);
}
.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.product-card__badge--discount { background: var(--orange); color: #fff; }
.product-card__badge--neuf { background: #065f46; color: #fff; }
.product-card__badge--occasion { background: #1e40af; color: #fff; }
.product-card__badge--reconditionne { background: #6b21a8; color: #fff; }
.product-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6B6660;
  transition: color .2s, background .2s, transform .2s;
}
.product-card__fav:hover {
  color: #e11d48;
  background: #fff;
  transform: scale(1.1);
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
}
.product-card__name {
  font-size: 14px;
  color: #1C1B19;
  line-height: 1.35;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.product-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.product-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}
.product-card__negotiable {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 2px;
}
.product-card__negotiable--yes {
  background: #fff7ed;
  color: #ea580c;
}
.product-card__negotiable--no {
  background: #f3f4f6;
  color: #9ca3af;
}

.product-card--compact .product-card__img-wrap {
  aspect-ratio: 4/3;
}
.product-card--compact .product-card__body {
  padding: 10px 10px 12px;
}
.product-card--compact .product-card__name {
  font-size: 13px;
  min-height: unset;
  -webkit-line-clamp: 1;
}
.product-card--compact .product-card__price {
  font-size: 14px;
}

/* ── Featured sellers ── */
.sellers-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 30px 32px;
  margin-bottom: 44px;
}
.sellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.seller-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.seller-card:hover {
  border-color: #E0D8CB !important;
  background: #FBFAF7 !important;
}
.seller-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, #2a9d8f, #264653);
}
.seller-card__body {
  min-width: 0;
  flex: 1;
}
.seller-card__name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.seller-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seller-card__meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #8A8377;
  font-size: 13px;
}
.seller-card__add-btn {
  background: #F4F1EB;
  border: none;
  border-radius: 9px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.seller-card__add-btn:hover {
  background: var(--navy) !important;
  color: #fff !important;
}

/* ── CTA banner ── */
.cta-banner {
  background: var(--navy);
  border-radius: 22px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner__body { max-width: 560px; }
.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -1px;
}
.cta-banner__desc {
  color: #C9C3B6;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.cta-banner__btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 13px;
  height: 56px;
  padding: 0 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(249,115,22,0.32);
}

/* ── Footer ── */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
}
.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer__brand { margin-bottom: 12px; }
.site-footer__brand-img { height: 28px; }
.site-footer__desc {
  color: #8A8377;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 260px;
}
.site-footer__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin: 0 0 14px;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #8A8377;
  font-size: 14px;
}
.site-footer__link { color: inherit; text-decoration: none; }
.site-footer__bottom {
  border-top: 1px solid var(--border);
}
.site-footer__bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer__legal { display: flex; gap: 20px; }

/* ── Section spacing ── */
.section { margin-bottom: 44px; }

/* ── Empty state ── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  font-size: 15px;
}
.empty-state--sm { padding: 32px; }
.sep { margin: 0 1px; }
.mb-16 { margin-bottom: 16px; }

/* ──── Seller waiting ──── */
.waiting-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.waiting-card {
  max-width: 540px;
  width: 100%;
  text-align: center;
}
.waiting-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF0E6, #FFE0C7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(249,115,22,.18);
}
.waiting-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.waiting-desc {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}
.waiting-desc strong { color: var(--text); }
.waiting-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.waiting-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.waiting-step__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.waiting-step__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.waiting-step__desc {
  color: var(--text-muted);
  font-size: 13px;
}
.waiting-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.waiting-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0 40px;
  text-decoration: none;
}
.waiting-footer {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 14px;
}
.waiting-footer a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

/* ──── Seller tracking ──── */
.tracking-main {
  max-width: 520px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}
.tracking-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EEF1F9, #D0D8EF);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.tracking-label {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.tracking-shop-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.tracking-shop-meta {
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 24px;
}
.tracking-badge-wrap {
  margin-bottom: 32px;
}
.tracking-footer-text {
  color: var(--text-sub);
  font-size: 13px;
  margin-bottom: 24px;
}
.tracking-contact {
  color: var(--text-muted);
  font-size: 13px;
}
.tracking-contact a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

/* ──── Become seller ──── */
.become-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.become-card {
  margin-bottom: 20px;
}
.become-card--last {
  margin-bottom: 28px;
}
.field__input--ifu {
  letter-spacing: 2px;
  font-size: 15px;
  font-weight: 600;
}
.field__hint {
  color: var(--text-muted);
  font-size: 11.5px;
  margin-top: 5px;
}
.field__tos {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 14px;
}
.field__tos a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

/* ──── Storefront / Product nav ──── */
.shop-nav {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.shop-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-nav__brand { text-decoration: none; }
.shop-nav__logo {
  height: 30px;
  filter: brightness(0) invert(1);
}
.shop-nav__link {
  color: #b8c8e8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Product detail nav ── */
.pd-nav {
  background: var(--navy);
  border-bottom: 2px solid rgba(255,255,255,0.06);
}
.pd-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pd-nav__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.pd-nav__brand {
  text-decoration: none;
  flex-shrink: 0;
}
.pd-nav__logo {
  height: 28px;
  filter: brightness(0) invert(1);
}
.pd-nav__sep {
  color: #7a90c4;
  font-size: 14px;
}
.pd-nav__shop-link {
  color: #b8c8e8;
  font-size: 13px;
  text-decoration: none;
}
.pd-nav__product-name {
  color: #fff;
  font-size: 13px;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-nav__sell-link {
  color: #b8c8e8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.pd-nav__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

/* ── Storefront banner ── */
.shop-banner {
  background: linear-gradient(135deg, #78350f 0%, #92400e 40%, #a16207 100%);
}

.avatar-gradient {
  background: linear-gradient(135deg, #2a9d8f, #264653);
}

.verified-badge { flex-shrink: 0; }

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .main-header__inner {
    padding: 14px 16px;
    gap: 12px;
  }
  .main-header__logo-img { height: 28px; }

  .search-form { max-width: 100%; height: 42px; }
  .search-form input { font-size: 14px; }
  .search-form__btn { padding: 0 14px; font-size: 13px; }

  .header-action-btn span { display: none; }
  .header-action-btn { gap: 0; }

  .utility-bar__inner { padding: 8px 16px; }

  .main-content { padding: 20px 16px 40px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero__content {
    max-width: 100%;
    padding: 28px 24px;
  }
  .hero__title {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .hero__desc { font-size: 14px; }
  .hero__cta { height: 44px; font-size: 14px; padding: 0 22px; }
  .hero__side { gap: 12px; }
  .hero__side-title--green,
  .hero__side-title--orange { font-size: 18px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-header__title { font-size: 20px; }

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

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }
  .site-footer__desc { max-width: 100%; }
  .site-footer__bottom-inner { flex-direction: column; text-align: center; }
  .site-footer__legal { flex-wrap: wrap; justify-content: center; gap: 12px; }

  .section { margin-bottom: 28px; }

  .sellers-section { padding: 24px 16px; }
  .sellers-grid { gap: 12px; }

  .cta-banner { padding: 28px 20px; }
  .cta-banner__title { font-size: 22px; }

  .category-list__inner { padding: 20px 16px 24px; }
  .category-list__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-list__title { font-size: 16px; }
  .cat-item { padding: 12px; gap: 10px; }
  .cat-item__icon { width: 36px; height: 36px; }
  .cat-item__label { font-size: 13px; }

  .search-section { padding: 16px; }
  .search-section .search-form--hero { height: 44px; }
  .search-section .search-form--hero input { font-size: 14px; }
  .search-section .search-form__btn { padding: 0 14px; font-size: 13px; }

  .pd-nav__inner { padding: 10px 12px; gap: 4px; }
  .pd-nav__left { gap: 4px; }
  .pd-nav__breadcrumb { gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; }
  .pd-nav__breadcrumb::-webkit-scrollbar { display: none; }
  .pd-nav__shop-link { font-size: 12px; white-space: nowrap; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
  .pd-nav__sep { font-size: 12px; flex-shrink: 0; }
  .pd-nav__product-name { font-size: 12px; max-width: 140px; flex-shrink: 1; }
  .pd-nav__logo { height: 22px; }
  .pd-nav__sell-link { display: none; }

  .shop-nav__inner { padding: 12px 16px; gap: 8px; }
  .shop-nav__link { display: none; }
}

@media (max-width: 480px) {
  .main-header__inner { gap: 8px; }

  .hero__title { font-size: 22px; }
  .hero__content { padding: 20px 16px; }

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

  .product-card__name { font-size: 12px; min-height: 32px; }
  .product-card__price { font-size: 13px; }
  .product-card__img-wrap { aspect-ratio: 4/3; }

  .hero__side-card { padding: 20px; }

  .site-footer__inner { padding: 24px 16px 20px; }

  .sellers-section { padding: 20px 12px; }
}

/* ── Search autocomplete dropdown ── */
.search-autocomplete-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 100;
  max-height: 480px;
  overflow-y: auto;
}
.autocomplete-group { padding: 8px 0; }
.autocomplete-group + .autocomplete-group { border-top: 1px solid var(--border); }
.autocomplete-group__title {
  padding: 4px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9A9387;
}
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
}
.autocomplete-item:hover { background: #F8F6F2; }
.autocomplete-item__thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.autocomplete-item__thumb--gradient { border-radius: 8px; }
.autocomplete-item__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F97316, #EA580C);
}
.autocomplete-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.autocomplete-item__name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.autocomplete-item__sub {
  font-size: 12px;
  color: #9A9387;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.autocomplete-item__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.autocomplete-empty {
  padding: 20px 14px;
  text-align: center;
  color: #9A9387;
  font-size: 14px;
}
.autocomplete-footer {
  display: block;
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-top: 1px solid var(--border);
}
.autocomplete-footer:hover { background: #F8F6F2; }

@media (max-width: 768px) {
  .search-autocomplete-dropdown {
    width: calc(100% - 32px);
    top: calc(100% - 0px);
  }
}

/* ── Shop search results card ── */
.shop-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.shop-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.shop-card:hover {
  border-color: var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.shop-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.shop-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.shop-card__name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-card__handle {
  font-size: 12px;
  color: #9A9387;
}
.shop-card__city {
  font-size: 12px;
  color: var(--navy);
  margin-top: 1px;
}

@media (max-width: 768px) {
  .shop-results-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Sticky CTA bar (mobile) ── */
.hide-mobile-cta { display: block; }

.sticky-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile-cta { display: none; }

  .sticky-cta-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  }

  body { padding-bottom: 72px; }

  .sticky-cta-bar__seller-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .sticky-cta-bar__avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
  }
  .sticky-cta-bar__avatar--fallback {
    background: linear-gradient(135deg, #2a9d8f, #264653);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sticky-cta-bar__price {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-width: 0;
  }
  .sticky-cta-bar__amount {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
  }
  .sticky-cta-bar__old {
    font-size: 12px;
    color: #9A9387;
    text-decoration: line-through;
  }
  .sticky-cta-bar__seller {
    font-size: 10px;
    color: #B0A99A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }
  .sticky-cta-bar__actions {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }
  .sticky-cta-bar__btn {
    border: none;
    border-radius: 10px;
    height: 40px;
    padding: 0 18px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .sticky-cta-bar__btn--primary {
    background: #2563EB;
    color: #fff;
  }
  .sticky-cta-bar__btn--secondary {
    background: #F3E8FF;
    color: #7C3AED;
    border: 1px solid #D8B4FE;
  }
  .sticky-cta-bar__btn--icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F3E8FF;
    color: #7C3AED;
    border: 1px solid #D8B4FE;
    border-radius: 10px;
    flex-shrink: 0;
  }
}
