/* =========================================================
   REGIONAL AUTOSELECTIONS
   SELL A CAR PAGE
   ========================================================= */

:root{
  --sell-navy:#07152f;
  --sell-navy2:#0d2348;
  --sell-gold:var(--gold,#f2b300);
  --sell-ink:var(--ink,#07152f);
  --sell-muted:var(--muted,#687386);
  --sell-line:var(--line,#e8edf3);
  --sell-bg:#f6f8fb;
  --sell-white:#fff;
  --sell-ease:var(
    --ease,
    cubic-bezier(.2,.8,.2,1)
  );
  --sell-shadow:0 18px 45px rgba(7,21,47,.09);
  --sell-shadow-lg:0 28px 70px rgba(7,21,47,.16);
}


/* =========================================================
   GLOBAL
   ========================================================= */

body.locked{
  overflow:hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.sell-hero{position:relative;overflow:hidden;height:75vh;min-height:520px;max-height:720px;padding:clamp(35px,5vh,70px) 0;color:#fff;display:flex;align-items:center;background:#07152f}

.sell-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(7,21,47,.92) 0%,rgba(7,21,47,.72) 48%,rgba(7,21,47,.3) 100%),
    url("assets/background6.jpg") center/cover;
}

.sell-hero:before,
.sell-hero:after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}

.sell-hero:before{
  width:520px;
  height:520px;
  right:-180px;
  top:-250px;
  background:rgba(242,179,0,.08);
  border:1px solid rgba(255,255,255,.08);
}

.sell-hero:after{
  width:400px;
  height:400px;
  left:-210px;
  bottom:-270px;
  background:rgba(255,255,255,.035);
}

.sell-hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.7fr);
  gap:clamp(35px,5vw,70px);
  align-items:center;
}

.sell-hero-copy{
  position:relative;
  z-index:2;
}

.sell-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  color:var(--sell-gold);
}

.sell-eyebrow i{
  font-size:14px;
}

.sell-hero h1{
  max-width:760px;
  margin:12px 0 16px;
  font-size:clamp(2.5rem,4.6vw,4.3rem);
  line-height:1.04;
  letter-spacing:-.055em;
}

.sell-hero h1 strong{
  color:var(--sell-gold);
}

.sell-hero-copy>p{
  max-width:680px;
  margin:0 0 22px;
  color:#d6dfec;
  font-size:13px;
  line-height:1.75;
}

.sell-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:20px 0 24px;
}

.sell-points span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#eef3fb;
  font-size:10px;
  font-weight:700;
  backdrop-filter:blur(8px);
}

.sell-points i{
  color:var(--sell-gold);
}

.sell-hero .btn.primary{
  min-height:49px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid var(--sell-gold);
  border-radius:12px;
  background:var(--sell-gold);
  color:var(--sell-ink);
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(242,179,0,.2);
  transition:.25s var(--sell-ease);
}

.sell-hero .btn.primary:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 35px rgba(242,179,0,.28);
  filter:brightness(1.03);
}


/* =========================================================
   HERO STATS
   ========================================================= */

.sell-stats{
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}

.sell-stats>div{
  position:relative;
  min-height:145px;
  padding:25px 21px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.13),
      rgba(255,255,255,.045)
    );
  box-shadow:0 25px 65px rgba(0,0,0,.18);
  backdrop-filter:blur(15px);
  transition:.28s var(--sell-ease);
}

.sell-stats>div:hover{
  transform:translateY(-6px);
  border-color:rgba(242,179,0,.45);
  box-shadow:0 30px 75px rgba(0,0,0,.25);
}

.sell-stats>div:first-child{
  border-top:2px solid var(--sell-gold);
}

.sell-stats strong{
  display:block;
  margin-bottom:6px;
  color:#fff;
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
}

.sell-stats span{
  color:#aeb9c9;
  font-size:9px;
  line-height:1.5;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}


/* =========================================================
   PROCESS
   ========================================================= */

.sell-process{
  padding:58px 0;
  background:var(--sell-bg);
}

.process-heading{
  margin-bottom:38px;
}

.process-heading>span{
  display:inline-flex;
  align-items:center;
  color:#a87400;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
}

.process-heading h2{
  max-width:750px;
  margin:10px 0 0;
  color:var(--sell-ink);
  font-size:clamp(2rem,3.7vw,3.25rem);
  line-height:1.13;
  letter-spacing:-.045em;
}

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

.process-grid>div{
  position:relative;
  overflow:hidden;
  min-height:210px;
  padding:26px 23px;
  border:1px solid var(--sell-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 7px 20px rgba(7,21,47,.04);
  transition:.28s var(--sell-ease);
}

.process-grid>div:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:var(--sell-gold);
  transform:scaleX(0);
  transform-origin:left;
  transition:.3s var(--sell-ease);
}

.process-grid>div:hover{
  transform:translateY(-7px);
  border-color:rgba(242,179,0,.4);
  box-shadow:var(--sell-shadow);
}

.process-grid>div:hover:before{
  transform:scaleX(1);
}

.process-grid b{
  position:absolute;
  right:19px;
  top:16px;
  color:#e9edf2;
  font-size:29px;
  font-weight:800;
}

.process-grid i{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  margin-bottom:17px;
  border-radius:14px;
  background:#fff7df;
  color:#bd8500;
  font-size:19px;
}

.process-grid h3{
  margin:0 0 8px;
  color:var(--sell-ink);
  font-size:14px;
}

.process-grid p{
  margin:0;
  color:var(--sell-muted);
  font-size:11px;
  line-height:1.7;
}


/* =========================================================
   SELL MODAL
   ========================================================= */

.sell-modal{
  position:fixed;
  inset:0;
  z-index:5000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.sell-modal.show{
  display:flex;
}

.sell-modal-bg{
  position:absolute;
  inset:0;
  background:rgba(4,13,29,.74);
  backdrop-filter:blur(7px);
}

.sell-modal-box{
  position:relative;
  width:min(1000px,100%);
  max-height:94vh;
  overflow:auto;
  border-radius:22px;
  background:#fff;
  box-shadow:0 35px 100px rgba(0,0,0,.38);
  animation:sellIn .25s var(--sell-ease);
}

@keyframes sellIn{
  from{
    opacity:0;
    transform:translateY(18px) scale(.985);
  }

  to{
    opacity:1;
    transform:none;
  }
}


/* =========================================================
   SELL MODAL HEADER
   ========================================================= */

.sell-modal-head{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:28px 32px;
  border-bottom:1px solid var(--sell-line);
  background:
    linear-gradient(
      135deg,
      #fff,
      #fffaf0
    );
}

.sell-modal-head>div{
  min-width:0;
}

.sell-modal-head span{
  display:block;
  color:#a87400;
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em;
}

.sell-modal-head h2{
  margin:6px 0 5px;
  color:var(--sell-ink);
  font-size:25px;
  line-height:1.15;
}

.sell-modal-head p{
  margin:0;
  color:var(--sell-muted);
  font-size:12px;
}

.sell-modal-head button{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border:1px solid var(--sell-line);
  border-radius:12px;
  background:#fff;
  color:var(--sell-ink);
  font-size:17px;
  cursor:pointer;
  transition:.22s var(--sell-ease);
}

.sell-modal-head button:hover{
  transform:rotate(90deg);
  border-color:#f0c75d;
  background:#fff7df;
}


/* =========================================================
   SELL FORM
   ========================================================= */

#sellForm{
  padding:5px 32px 30px;
}

.sell-section{
  padding:22px 0;
  border-bottom:1px solid var(--sell-line);
}

.sell-section-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:20px;
}

.sell-section-title>i{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  flex:0 0 44px;
  border-radius:13px;
  background:#fff7df;
  color:#b27d00;
  font-size:17px;
}

.sell-section-title>div{
  min-width:0;
}

.sell-section-title span{
  display:block;
  color:#a87400;
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
}

.sell-section-title h3{
  margin:3px 0 0;
  color:var(--sell-ink);
  font-size:14px;
}


/* =========================================================
   FORM FIELDS
   ========================================================= */

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

.sell-fields label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#465266;
  font-size:11px;
  font-weight:700;
}

.sell-fields label.wide{
  grid-column:1/-1;
}

.sell-fields label b{
  color:#c52525;
}

.sell-fields input,
.sell-fields select,
.sell-fields textarea{
  width:100%;
  min-height:46px;
  padding:11px 13px;
  border:1px solid var(--sell-line);
  border-radius:11px;
  background:#fff;
  color:var(--sell-ink);
  font:inherit;
  font-size:13px !important;
  transition:.2s var(--sell-ease);
}

.sell-fields textarea{
  min-height:120px;
  resize:vertical;
}

.sell-fields input::placeholder,
.sell-fields textarea::placeholder{
  color:#a0a9b6;
}

.sell-fields input:focus,
.sell-fields select:focus,
.sell-fields textarea:focus{
  outline:none;
  border-color:rgba(242,179,0,.8);
  box-shadow:0 0 0 4px rgba(242,179,0,.12);
}

.sell-fields input:disabled,
.sell-fields select:disabled{
  background:#f4f6f8;
  color:#9aa4b2;
  cursor:not-allowed;
}


/* =========================================================
   PHOTO NOTICE
   ========================================================= */

.photo-notice{
  display:flex;
  align-items:flex-start;
  gap:11px;
  margin:4px 0 17px;
  padding:14px 15px;
  border:1px solid #f0dfad;
  border-radius:13px;
  background:#fffaf0;
  color:#6d5a2a;
  font-size:10px;
  line-height:1.65;
}

.photo-notice i{
  margin-top:2px;
  flex:0 0 auto;
  color:#bd8500;
}

.photo-notice strong{
  color:var(--sell-ink);
}


/* =========================================================
   PHOTO TOTAL
   ========================================================= */

.photo-total{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:15px;
  padding:12px 14px;
  border:1px solid var(--sell-line);
  border-radius:12px;
  background:#f7f9fb;
}

.photo-total i{
  color:#bd8500;
  font-size:14px;
}

.photo-total strong{
  color:var(--sell-ink);
  font-size:11px;
}

.photo-total span{
  margin-left:auto;
  color:#a87400;
  font-size:10px;
  font-weight:800;
}


/* =========================================================
   UPLOAD GROUP
   ========================================================= */

.upload-group{
  margin-top:15px;
  border:1px solid var(--sell-line);
  border-radius:15px;
  background:#fff;
  overflow:hidden;
}

.upload-heading{
  display:flex;
  align-items:center;
  gap:11px;
  padding:15px 16px;
  border-bottom:1px solid var(--sell-line);
  background:#fafbfc;
}

.upload-heading>i{
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  flex:0 0 35px;
  border-radius:10px;
  background:#fff7df;
  color:#bd8500;
  font-size:13px;
}

.upload-heading>div{
  min-width:0;
  flex:1;
}

.upload-heading strong{
  display:block;
  color:var(--sell-ink);
  font-size:10px;
  line-height:1.4;
}

.upload-heading span{
  display:block;
  margin-top:3px;
  color:#929cab;
  font-size:8px;
  line-height:1.5;
}

.upload-heading em{
  flex:0 0 auto;
  font-style:normal;
  color:var(--sell-ink);
  font-size:9px;
  font-weight:800;
}


/* =========================================================
   UPLOAD GRID
   ========================================================= */

.upload-grid,
.video-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  padding:10px;
}

.upload-grid label,
.video-grid label{
  position:relative;
  min-height:88px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  overflow:hidden;
  border:1px dashed #cbd3de;
  border-radius:11px;
  background:#fafbfc;
  color:#8b95a4;
  font-size:9px;
  text-align:center;
  cursor:pointer;
  transition:.22s var(--sell-ease);
}

.upload-grid label:hover,
.video-grid label:hover,
.upload-grid label.uploaded,
.video-grid label.uploaded{
  border-color:var(--sell-gold);
  background:#fffaf0;
  color:var(--sell-ink);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(7,21,47,.06);
}

.upload-grid label>i,
.video-grid label>i{
  color:#bd8500;
  font-size:16px;
}

.upload-grid label span,
.video-grid label span{
  max-width:95%;
  line-height:1.3;
}

.upload-grid label small,
.video-grid label small{
  color:#a0a9b7;
  font-size:7px;
  line-height:1.3;
}

.upload-grid input,
.video-grid input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}


/* =========================================================
   FILE PREVIEW
   ========================================================= */

.file-preview{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:5px;
  background:#fff;
  color:var(--sell-ink);
  font-size:7px;
}

.file-preview img{
  width:100%;
  height:58px;
  object-fit:cover;
  border-radius:7px;
}

.file-preview span{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.file-preview i{
  margin-right:3px;
  color:#1fa463;
}


/* =========================================================
   VIDEO GRID
   ========================================================= */

.video-grid{
  grid-template-columns:repeat(3,1fr);
}


/* =========================================================
   DEFECT CONFIRMATION
   ========================================================= */

.defect-confirm{
  margin-top:16px;
  padding:15px 16px;
  border:1px solid #f0dfad;
  border-radius:13px;
  background:#fffaf0;
}

.defect-confirm>label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#687386;
  font-size:10px;
  line-height:1.65;
}

.defect-confirm input{
  width:17px;
  height:17px;
  flex:0 0 17px;
  margin-top:1px;
  accent-color:var(--sell-gold);
}

.defect-confirm strong{
  color:var(--sell-ink);
}


/* =========================================================
   PRIVACY
   ========================================================= */

.sell-privacy{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:22px;
  padding:15px 16px;
  border-radius:13px;
  background:#f7f9fb;
  color:var(--sell-muted);
  font-size:10px;
  line-height:1.7;
}

.sell-privacy i{
  margin-top:2px;
  color:#b27d00;
}

.sell-privacy strong{
  color:var(--sell-ink);
}


/* =========================================================
   FORM ACTIONS
   ========================================================= */

.sell-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin-top:22px;
}

.sell-cancel{
  min-height:47px;
  padding:0 20px;
  border:1px solid var(--sell-line);
  border-radius:12px;
  background:#fff;
  color:#536174;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:.2s var(--sell-ease);
}

.sell-cancel:hover{
  background:#f7f9fb;
  transform:translateY(-2px);
}

.sell-actions .btn.primary{
  min-height:47px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid var(--sell-gold);
  border-radius:12px;
  background:var(--sell-gold);
  color:var(--sell-ink);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(242,179,0,.16);
  transition:.25s var(--sell-ease);
}

.sell-actions .btn.primary:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 30px rgba(242,179,0,.25);
}

.sell-actions .btn.primary:disabled{
  opacity:.7;
  cursor:not-allowed;
  transform:none;
}

.sell-response{
  margin:17px 0 0;
  text-align:center;
  color:var(--sell-muted);
  font-size:10px;
  line-height:1.5;
}

.sell-response i{
  margin-right:4px;
  color:var(--sell-gold);
}


/* =========================================================
   M-PESA MODAL
   Matches Trade-In modal styling
   ========================================================= */

.mpesa-modal{
  position:fixed;
  inset:0;
  z-index:6000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.mpesa-modal.show{
  display:flex;
}

.mpesa-modal-bg{
  position:absolute;
  inset:0;
  background:rgba(4,13,29,.72);
  backdrop-filter:blur(7px);
}

.mpesa-box{
  position:relative;
  width:min(540px,100%);
  max-height:92vh;
  overflow:auto;
  padding:0;
  border-radius:22px;
  background:#fff;
  box-shadow:0 35px 100px rgba(0,0,0,.35);
  animation:sellIn .25s var(--sell-ease);
}

.mpesa-close{
  position:absolute;
  z-index:2;
  top:18px;
  right:18px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid var(--sell-line);
  border-radius:12px;
  background:#fff;
  color:var(--sell-ink);
  cursor:pointer;
  transition:.22s var(--sell-ease);
}

.mpesa-close:hover{
  transform:rotate(90deg);
  background:#fff7df;
  border-color:#f0c75d;
}

.mpesa-head{
  padding:30px 32px 24px;
  border-bottom:1px solid var(--sell-line);
  background:linear-gradient(135deg,#fff,#fffaf0);
}

.mpesa-head>span{
  display:block;
  margin-bottom:7px;
  color:#a87400;
  font-size:9px;
  font-weight:800;
  letter-spacing:.14em;
}

.mpesa-head h2{
  margin:0;
  color:var(--sell-ink);
  font-size:25px;
  line-height:1.15;
}

.mpesa-head h2 strong{
  color:#00a651;
}

.mpesa-vehicle{
  margin:20px 32px 0;
  padding:14px 15px;
  border:1px solid var(--sell-line);
  border-radius:13px;
  background:#f7f9fb;
}

.mpesa-vehicle small{
  display:block;
  margin-bottom:5px;
  color:var(--sell-muted);
  font-size:9px;
  font-weight:700;
}

.mpesa-vehicle strong{
  display:block;
  color:var(--sell-ink);
  font-size:13px;
}

#mpesaForm{
  padding:22px 32px 30px;
}

#mpesaForm>label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#465266;
  font-size:11px;
  font-weight:700;
}

.mpesa-amount,
.mpesa-phone{
  display:flex;
  align-items:center;
  min-height:48px;
  overflow:hidden;
  border:1px solid var(--sell-line);
  border-radius:11px;
  background:#fff;
  transition:.2s var(--sell-ease);
}

.mpesa-amount:focus-within,
.mpesa-phone:focus-within{
  border-color:rgba(242,179,0,.8);
  box-shadow:0 0 0 4px rgba(242,179,0,.12);
}

.mpesa-amount span,
.mpesa-phone span{
  display:flex;
  align-items:center;
  align-self:stretch;
  padding:0 13px;
  background:#f7f9fb;
  border-right:1px solid var(--sell-line);
  color:var(--sell-ink);
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}

.mpesa-amount input,
.mpesa-phone input{
  width:100%;
  min-height:46px;
  padding:10px 13px;
  border:0;
  outline:0;
  background:#fff;
  color:var(--sell-ink);
  font:inherit;
  font-size:14px !important;
}

#mpesaForm label>small{
  color:var(--sell-muted);
  font-size:9px;
  font-weight:500;
}

.mpesa-presets{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:12px 0 20px;
}

.mpesa-presets button{
  min-height:40px;
  border:1px solid var(--sell-line);
  border-radius:10px;
  background:#fff;
  color:var(--sell-ink);
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  transition:.2s var(--sell-ease);
}

.mpesa-presets button:hover{
  border-color:var(--sell-gold);
  background:#fffaf0;
  transform:translateY(-2px);
}

.mpesa-steps{
  display:grid;
  gap:9px;
  margin:20px 0;
  padding:15px;
  border-radius:13px;
  background:#f7f9fb;
}

.mpesa-steps>div{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--sell-muted);
  font-size:10px;
  line-height:1.5;
}

.mpesa-steps b{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  flex:0 0 25px;
  border-radius:50%;
  background:#fff7df;
  color:#a87400;
  font-size:10px;
}

.mpesa-submit{
  width:100%;
  min-height:49px;
  margin-top:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid #00a651;
  border-radius:12px;
  background:#00a651;
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 25px rgba(0,166,81,.15);
  transition:.25s var(--sell-ease);
}

.mpesa-submit:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 30px rgba(0,166,81,.23);
}

.mpesa-status{
  min-height:18px;
  margin:12px 0 0;
  text-align:center;
  color:var(--sell-muted);
  font-size:10px;
}

.mpesa-secure{
  margin-top:15px;
  padding:11px;
  border-radius:10px;
  background:#f7f9fb;
  color:var(--sell-muted);
  font-size:8px;
  line-height:1.6;
  text-align:center;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.sell-hero .btn.primary:focus-visible,
.sell-modal-head button:focus-visible,
.sell-cancel:focus-visible,
.sell-actions .btn.primary:focus-visible,
.upload-grid label:focus-within,
.video-grid label:focus-within,
.mpesa-close:focus-visible,
.mpesa-submit:focus-visible,
.mpesa-presets button:focus-visible{
  outline:3px solid rgba(242,179,0,.35);
  outline-offset:2px;
}

/* ====== RESPONSIVE: TABLETS & SMALL LAPTOPS ====== */
@media (max-width: 992px) {
  .sell-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sell-stats {
    max-width: 500px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====== RESPONSIVE: TABLETS & LARGE PHONES ====== */
@media (max-width: 768px) {
  .sell-hero {
    height: auto;
    min-height: 0;
    padding: 40px 0;
  }
  .sell-hero-inner {
    gap: 24px;
  }
  .sell-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .sell-hero-copy > p {
    font-size: 12px;
  }
  .sell-points {
    margin: 15px 0 20px;
  }
  .sell-points span {
    font-size: 9px;
    padding: 6px 9px;
  }
  .sell-hero .btn.primary {
    width: 100%;
    justify-content: center;
  }
  .sell-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .sell-stats > div {
    min-height: 110px;
    padding: 18px 15px;
  }
  .sell-stats strong {
    font-size: 22px;
  }
  .sell-stats span {
    font-size: 8px;
  }

  /* Process cards – two columns */
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .process-grid > div {
    min-height: auto;
    padding: 20px 15px;
  }
  .process-grid b {
    font-size: 24px;
    right: 10px;
    top: 8px;
  }
  .process-grid i {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 12px;
  }
  .process-grid h3 {
    font-size: 12px;
  }
  .process-grid p {
    font-size: 9px;
  }

  /* Modal */
  .sell-modal-box {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .sell-modal-head {
    padding: 18px 20px;
  }
  #sellForm {
    padding: 5px 20px 25px;
  }
  .sell-section {
    padding: 16px 0;
  }
  .sell-fields {
    grid-template-columns: 1fr; /* single column */
  }
  .sell-fields label.wide {
    grid-column: auto;
  }
  .sell-actions {
    flex-direction: column-reverse;
  }
  .sell-cancel,
  .sell-actions .btn.primary {
    width: 100%;
  }

  /* Upload grids – two columns */
  .upload-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .upload-grid label,
  .video-grid label {
    min-height: 80px;
  }
}

/* ====== RESPONSIVE: SMALL PHONES (<= 480px) ====== */
@media (max-width: 480px) {
  .sell-hero h1 {
    font-size: 1.8rem;
  }
  .sell-stats > div {
    min-height: 90px;
    padding: 14px 12px;
  }
  .sell-stats strong {
    font-size: 18px;
  }
  .sell-stats span {
    font-size: 7px;
  }

  .process-grid {
    gap: 8px;
  }
  .process-grid > div {
    padding: 16px 12px;
    border-radius: 14px;
  }
  .process-grid b {
    font-size: 20px;
    right: 8px;
    top: 6px;
  }
  .process-grid i {
    width: 34px;
    height: 34px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .process-grid h3 {
    font-size: 11px;
  }
  .process-grid p {
    font-size: 8px;
  }

  .upload-grid {
    gap: 6px;
    padding: 6px;
  }
  .upload-grid label,
  .video-grid label {
    min-height: 65px;
    font-size: 8px;
  }
  .upload-grid label > i,
  .video-grid label > i {
    font-size: 14px;
  }
  .mpesa-presets {
    grid-template-columns: 1fr 1fr;
  }
}