@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root{
  --font-heading:'Playfair Display', serif;
  --font-body:'Inter', sans-serif;
  --bg:#f7f5f1;
  --surface:#fffdf8;
  --surface-soft:#efe9de;
  --text:#1f2622;
  --muted:#66706b;
  --green:#2f6b57;
  --green-dark:#16382f;
  --green-soft:#e7f0ec;
  --gold:#c9a56d;
  --border:rgba(31, 38, 34, 0.12);
  --shadow:0 18px 45px rgba(22, 56, 47, 0.10);
}

body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
}

.sell-page{
  background:
    radial-gradient(circle at top center, rgba(233, 223, 206, 0.42), transparent 24%),
    linear-gradient(180deg, #f7f5f1 0%, #fbf9f5 100%);
  padding:22px 0 48px;
}

.sell-page__container{
  max-width:1180px;
}

.sell-hero{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) 340px;
  gap:18px;
  align-items:stretch;
  margin-bottom:20px;
}

.sell-hero__copy,
.sell-status-card,
.sell-process,
.sell-route-card{
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow);
}

.sell-hero__copy{
  padding:22px;
  border-radius:22px;
}

.sell-hero__copy h1{
  margin:14px 0 8px;
  max-width:640px;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:clamp(1.8rem, 2.7vw, 2.55rem);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.03em;
}

.sell-hero__copy p{
  max-width:560px;
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.62;
}

.sell-hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.sell-hero__facts{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.sell-hero__facts span{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:0 11px;
  border-radius:999px;
  background:#f2eee5;
  color:#4e5b55;
  font-size:.72rem;
  font-weight:700;
}

.sell-status-card{
  padding:18px;
  border-radius:22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(180deg, #fffdf8, #f8f3ea);
}

.sell-status-card__kicker{
  display:inline-block;
  margin-bottom:10px;
  color:var(--green);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.sell-status-card h2{
  margin:0 0 8px;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:1.35rem;
  line-height:1.12;
}

.sell-status-card p{
  margin:0;
  color:var(--muted);
  font-size:.82rem;
  line-height:1.56;
}

.sell-process{
  padding:20px;
  border-radius:22px;
  margin-bottom:18px;
}

.sell-process__intro{
  max-width:680px;
  margin-bottom:16px;
}

.sell-process__kicker{
  display:inline-block;
  margin-bottom:10px;
  color:var(--green);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.sell-process__intro h2{
  margin:0 0 7px;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:1.6rem;
  line-height:1.1;
}

.sell-process__intro p{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.62;
}

.sell-process__grid,
.sell-route-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

.sell-process-card{
  padding:16px 15px;
  border-radius:18px;
  background:#fbf8f2;
  border:1px solid rgba(31, 38, 34, 0.08);
}

.sell-process-card__number{
  width:34px;
  height:34px;
  margin-bottom:10px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--green-soft);
  color:var(--green-dark);
  font-size:.8rem;
  font-weight:800;
}

.sell-process-card h3,
.sell-route-card h3{
  margin:0 0 8px;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:1rem;
  line-height:1.16;
}

.sell-process-card p{
  margin:0;
  color:var(--muted);
  font-size:.8rem;
  line-height:1.54;
}

.sell-route-card{
  padding:18px;
  border-radius:20px;
}

.sell-route-card--soft{
  background:#fbf8f2;
}

.sell-route-card__kicker{
  display:inline-block;
  margin-bottom:10px;
  color:var(--green);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.sell-route-card__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.sell-route-card__list li{
  position:relative;
  padding-left:15px;
  color:#52605b;
  font-size:.8rem;
  line-height:1.52;
}

.sell-route-card__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.52rem;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--gold);
}

.sell-intro{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:16px;
  align-items:start;
  margin-bottom:18px;
}

.sell-intro__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:0 11px;
  border-radius:999px;
  background:var(--green-soft);
  color:var(--green-dark);
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.sell-intro__copy h1{
  margin:14px 0 7px;
  max-width:580px;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:clamp(1.65rem, 2.4vw, 2.3rem);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.03em;
}

.sell-intro__copy p{
  max-width:520px;
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.6;
}

.sell-intro__aside{
  padding:14px 16px;
  border-radius:16px;
  background:#fbf8f2;
  border:1px solid var(--border);
}

.sell-intro__aside-kicker{
  display:inline-block;
  margin-bottom:8px;
  color:var(--green);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.sell-intro__aside-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}

.sell-intro__aside-list li{
  position:relative;
  padding-left:14px;
  color:#52605b;
  font-size:.78rem;
  line-height:1.5;
}

.sell-intro__aside-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.58rem;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gold);
}

.sell-form-card{
  padding:18px;
  border-radius:20px;
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.sell-form-card__head{
  padding-bottom:14px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(31, 38, 34, 0.08);
}

.sell-form-card__badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 9px;
  border-radius:999px;
  background:#f2eee5;
  color:var(--green-dark);
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.sell-form-card__head h2{
  margin:10px 0 4px;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:1.45rem;
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.02em;
}

.sell-form-card__head p{
  max-width:620px;
  margin:0;
  color:var(--muted);
  font-size:.84rem;
  line-height:1.58;
}

.listing-wizard__progress{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  margin-bottom:10px;
}

.listing-wizard__progress-item{
  border:1px solid rgba(31, 38, 34, 0.08);
  background:#fbf8f2;
  border-radius:16px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  text-align:left;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.listing-wizard__progress-item:hover{
  transform:translateY(-1px);
  border-color:rgba(47, 107, 87, 0.24);
}

.listing-wizard__progress-item span,
.listing-wizard__progress-item strong{
  display:block;
}

.listing-wizard__progress-item span{
  margin-bottom:0;
  color:var(--green);
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  flex-shrink:0;
}

.listing-wizard__progress-item strong{
  color:#33403a;
  font-size:.82rem;
  font-weight:700;
  line-height:1.2;
}

.listing-wizard__progress-item.is-active{
  background:var(--green-soft);
  border-color:rgba(47, 107, 87, 0.26);
}

.listing-wizard__progress-item.is-active strong,
.listing-wizard__progress-item.is-complete strong{
  color:var(--green-dark);
}

.listing-wizard__progress-item.is-complete{
  background:#f2eee5;
}

.listing-wizard__step{
  display:block;
}

.listing-wizard__step-head{
  margin-bottom:14px;
}

.listing-wizard__step-head span{
  display:inline-block;
  margin-bottom:4px;
  color:var(--green);
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.listing-wizard__step-head h3{
  margin:0 0 6px;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:1rem;
  line-height:1.16;
}

.listing-wizard__step-head p{
  margin:0;
  color:var(--muted);
  font-size:.82rem;
  line-height:1.54;
}

.listing-helper{
  margin-bottom:16px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(31, 38, 34, 0.08);
  background:#fbf8f2;
}

.listing-helper__head{
  display:grid;
  gap:4px;
  margin-bottom:12px;
}

.listing-helper__head strong{
  color:var(--text);
  font-size:.88rem;
  font-weight:700;
}

.listing-helper__head span{
  color:var(--muted);
  font-size:.77rem;
  line-height:1.5;
}

.listing-helper__grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) auto;
  gap:10px;
  align-items:end;
}

.listing-helper__field{
  display:grid;
  gap:6px;
}

.listing-helper__field label{
  color:#34413b;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.listing-helper__input{
  min-height:44px !important;
  font-size:.82rem !important;
}

.listing-helper__actions{
  display:flex;
}

.listing-helper__button{
  min-height:44px !important;
  white-space:nowrap;
}

.listing-price-field{
  position:relative;
}

.listing-price-field__prefix{
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  color:#51605a;
  font-size:.84rem;
  font-weight:700;
  pointer-events:none;
  z-index:1;
}

.listing-price-field .form-control{
  padding-left:30px !important;
}

.listing-price-field__hint{
  margin-top:6px;
  color:var(--muted);
  font-size:.74rem;
  line-height:1.5;
}

.listing-price-field__hint span{
  color:var(--green-dark);
  font-weight:700;
}

.listing-sleeps-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:#f2eee5;
  border:1px solid rgba(31, 38, 34, 0.08);
}

.listing-sleeps-summary__label{
  color:#51605a;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.listing-sleeps-summary strong{
  color:var(--green-dark);
  font-size:.95rem;
  font-weight:800;
}

.listing-ai-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  padding:12px 14px;
  border-radius:14px;
  background:#fbf8f2;
  border:1px solid rgba(31, 38, 34, 0.08);
}

.listing-ai-tools__copy{
  display:grid;
  gap:4px;
}

.listing-ai-tools__copy strong{
  color:var(--text);
  font-size:.84rem;
  font-weight:700;
}

.listing-ai-tools__copy span{
  color:var(--muted);
  font-size:.76rem;
  line-height:1.5;
}

.listing-ai-tools__button{
  min-width:146px;
  flex-shrink:0;
}

.listing-ai-tools__button.is-loading{
  opacity:.75;
}

.listing-ai-status{
  min-height:18px;
  margin-top:7px;
  font-size:.75rem;
  font-weight:600;
}

.listing-ai-status[data-tone="pending"]{
  color:#6f6248;
}

.listing-ai-status[data-tone="success"]{
  color:var(--green-dark);
}

.listing-ai-status[data-tone="error"]{
  color:#a24832;
}

.sell-form-section{
  padding:17px 0;
  border-bottom:1px solid rgba(31, 38, 34, 0.08);
}

.sell-form-section:last-of-type{
  border-bottom:none;
  padding-bottom:12px;
}

.sell-form-section__head{
  margin-bottom:12px;
}

.sell-form-section__head span{
  display:inline-block;
  margin-bottom:4px;
  color:var(--green);
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.sell-form-section__head h3{
  margin:0;
  color:var(--text);
  font-family:var(--font-heading);
  font-size:.92rem;
  font-weight:700;
  line-height:1.2;
}

.sell-page .form-label{
  margin-bottom:6px;
  color:#34413b;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.sell-page .form-control,
.sell-page .form-select{
  min-height:46px;
  padding-inline:13px;
  border-radius:12px;
  border:1px solid rgba(31, 38, 34, 0.10);
  background:#fffdf9;
  color:var(--text);
  font-family:var(--font-body);
  font-size:.84rem;
  box-shadow:none !important;
}

.sell-page textarea.form-control{
  min-height:132px;
  padding:13px;
  resize:vertical;
}

.sell-page .form-control:focus,
.sell-page .form-select:focus{
  border-color:rgba(47, 107, 87, 0.42);
  box-shadow:0 0 0 .22rem rgba(47, 107, 87, 0.10) !important;
}

.sell-page .form-text{
  margin-top:5px;
  color:var(--muted);
  font-size:.74rem;
  line-height:1.5;
}

.sell-alert{
  margin:8px 0 14px;
  border:none;
  border-radius:12px;
  background:#fff2eb;
  color:#94432f;
  box-shadow:none;
}

.form-file-zone{
  min-height:128px;
  border:1.5px dashed rgba(47, 107, 87, 0.2);
  border-radius:16px;
  background:linear-gradient(180deg, #fcfaf6, #f4ede3);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:16px;
  text-align:center;
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}

.form-file-zone:hover{
  border-color:rgba(47, 107, 87, 0.32);
  background:linear-gradient(180deg, #fffdf8, #f0e9dd);
  transform:translateY(-1px);
}

.form-file-zone.is-dragover{
  border-color:rgba(47, 107, 87, 0.48);
  background:linear-gradient(180deg, #fffef9, #ebe3d6);
  box-shadow:0 16px 32px rgba(47, 107, 87, 0.08);
}

.file-icon{
  font-size:1.35rem;
  line-height:1;
}

.form-file-zone p{
  margin:0;
  color:#51605a;
  font-size:.8rem;
  line-height:1.48;
}

.form-file-zone strong{
  color:var(--text);
}

.file-help{
  color:var(--muted) !important;
  font-size:.72rem !important;
}

.file-label{
  margin-top:8px;
  color:var(--green-dark);
  font-size:.74rem;
  font-weight:700;
  line-height:1.48;
}

.upload-preview{
  margin-top:16px;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(31, 38, 34, 0.08);
  background:#fbf8f2;
}

.upload-preview__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.upload-preview__head strong{
  color:var(--text);
  font-size:.84rem;
  font-weight:800;
}

.upload-preview__head span{
  color:var(--muted);
  font-size:.74rem;
  font-weight:700;
}

.upload-preview__grid{
  display:flex;
  align-items:flex-start;
  gap:12px;
  overflow-x:auto;
  padding:2px 2px 8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(47, 107, 87, 0.35) transparent;
}

.upload-preview__grid::-webkit-scrollbar{
  height:8px;
}

.upload-preview__grid::-webkit-scrollbar-thumb{
  background:rgba(47, 107, 87, 0.28);
  border-radius:999px;
}

.upload-preview-card{
  flex:0 0 164px;
  width:164px;
  min-width:164px;
  max-width:164px;
  overflow:hidden;
  border-radius:18px;
  background:#18332a;
  border:1px solid rgba(31, 38, 34, 0.08);
  box-shadow:0 16px 32px rgba(16, 24, 40, 0.14);
}

.upload-preview-card__image{
  width:100%;
  min-width:164px;
  max-width:164px;
  height:108px;
  min-height:108px;
  max-height:108px;
  object-fit:cover;
  display:block;
  background:#efe7da;
}

.upload-preview-card__meta{
  display:grid;
  gap:8px;
  padding:11px 12px 12px;
  background:linear-gradient(180deg, rgba(14, 28, 22, 0.14), rgba(14, 28, 22, 0.88));
}

.upload-preview-card__meta strong{
  color:#fff7ea;
  font-size:.72rem;
  line-height:1.4;
  word-break:break-word;
}

.upload-preview-card__remove{
  justify-self:flex-start;
  padding:0;
  border:none;
  background:none;
  color:#f5c87a;
  font-size:.72rem;
  font-weight:800;
  cursor:pointer;
}

.upload-preview-card__remove:hover{
  color:#fff0cf;
}

.form-submit-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top:14px;
}

.form-submit-row--split{
  justify-content:space-between;
  align-items:center;
}

.form-submit-row--split > .btn-outline-secondary{
  min-height:40px;
  padding:0 14px;
  font-size:.8rem;
  border-radius:999px;
}

.form-submit-row__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.sell-page .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:12px;
  font-family:var(--font-body);
  font-size:.84rem;
  font-weight:700;
  line-height:1;
  text-align:center;
}

.btn-accent{
  border:none;
  background:linear-gradient(180deg, var(--green), var(--green-dark));
  color:#fff;
  box-shadow:0 14px 24px rgba(22, 56, 47, 0.14);
}

.btn-accent:hover{
  color:#fff;
  transform:translateY(-1px);
}

.sell-page .btn-outline-secondary{
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
}

.sell-page .btn-outline-secondary:hover{
  background:#f5f0e8;
  color:var(--text);
  border-color:rgba(47, 107, 87, 0.24);
}

@media (max-width: 991.98px){
  .sell-hero,
  .sell-route-grid{
    grid-template-columns:1fr;
  }

  .sell-process__grid{
    grid-template-columns:1fr;
  }

  .sell-intro{
    grid-template-columns:1fr;
  }

  .sell-intro__aside{
    max-width:520px;
  }

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

  .listing-helper__grid{
    grid-template-columns:1fr;
  }

  .listing-ai-tools{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 767.98px){
  .sell-page{
    padding:16px 0 36px;
  }

  .sell-intro{
    gap:12px;
    margin-bottom:14px;
  }

  .sell-intro__copy h1{
    font-size:1.85rem;
  }

  .sell-form-card{
    padding:15px;
    border-radius:18px;
  }

  .sell-form-card__head h2{
    font-size:1.28rem;
  }

  .sell-hero__copy,
  .sell-status-card,
  .sell-process,
  .sell-route-card{
    padding:16px;
    border-radius:18px;
  }

  .sell-process__intro h2{
    font-size:1.35rem;
  }

  .listing-wizard__progress{
    grid-template-columns:1fr;
  }

  .sell-form-section{
    padding:14px 0;
  }

  .form-submit-row{
    flex-direction:column;
    align-items:stretch;
  }

  .upload-preview__head{
    flex-direction:column;
    align-items:flex-start;
  }

  .upload-preview-card{
    flex-basis:146px;
    width:146px;
    min-width:146px;
    max-width:146px;
  }

  .upload-preview-card__image{
    height:96px;
    min-width:146px;
    max-width:146px;
    min-height:96px;
    max-height:96px;
  }

  .form-submit-row .btn,
  .form-submit-row__actions{
    width:100%;
  }

  .form-submit-row--split > .btn-outline-secondary{
    width:auto;
    align-self:flex-start;
  }

  .form-submit-row--split > .btn-accent{
    width:100%;
  }

  .form-submit-row__actions{
    display:grid;
  }
}
