/* CEGALIBRIS · recepción de libros de terceros */
.sell-section{
  text-align:left;
  background:#efe6d8;
  padding:86px max(6vw,30px);
  scroll-margin-top:90px;
}
.sell-layout{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);
  gap:clamp(28px,5vw,76px);
  max-width:1320px;
  margin:auto;
  align-items:start;
}
.sell-copy h2{
  max-width:710px;
  margin:11px 0 19px;
  font:500 clamp(39px,4.7vw,66px)/1.04 Georgia,"Times New Roman",serif;
  color:#17352d;
}
.sell-intro{
  max-width:640px;
  font-size:17px;
  color:#4e6257;
  line-height:1.64;
}
.sell-steps{
  display:grid;
  gap:0;
  margin:26px 0 25px;
  padding:0;
  list-style:none;
  max-width:650px;
}
.sell-steps li{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:17px 0;
  border-top:1px solid rgba(23,53,45,.16);
}
.sell-steps li:last-child{border-bottom:1px solid rgba(23,53,45,.16)}
.sell-steps .step-number{
  flex:0 0 30px;
  height:30px;
  border-radius:50%;
  background:#17352d;
  color:white;
  font-size:12px;
  font-weight:800;
  display:grid;
  place-items:center;
}
.sell-steps strong{display:block;font-size:15px;color:#17352d}
.sell-steps p{font-size:13px;line-height:1.55;color:#58675e;margin:4px 0 0}
.sell-rules{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px;
  margin-top:18px;
}
.sell-rule{
  background:rgba(255,255,255,.58);
  padding:18px;
  border:1px solid rgba(23,53,45,.09);
  border-radius:13px;
}
.sell-rule strong{display:block;font-size:15px;color:#17352d}
.sell-rule span{display:block;font-size:12px;color:#62736a;margin-top:7px;line-height:1.55}
.sell-small{max-width:640px;font-size:12px;line-height:1.65;color:#647268;margin:17px 0 0}
.sell-form-panel{
  background:#fffdf8;
  border:1px solid rgba(23,53,45,.12);
  border-radius:22px;
  padding:clamp(22px,3vw,36px);
  box-shadow:0 15px 45px rgba(23,53,45,.07);
}
.sell-form-panel h3{
  font:500 32px/1.15 Georgia,serif;
  margin:0 0 8px;
  color:#17352d;
}
.sell-form-panel .sell-panel-lead{margin:0 0 23px;font-size:13px;color:#67756d;line-height:1.6}
.sell-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.sell-field{display:grid;gap:6px}
.sell-field.full,.sell-photo-note,.sell-calc,.sell-agree,.sell-submit,.sell-after-note{grid-column:1/-1}
.sell-field label{font-size:12px;font-weight:750;color:#17352d}
.sell-field input,.sell-field select,.sell-field textarea{
  width:100%;
  min-width:0;
  font:inherit;
  font-size:14px;
  border:1px solid #cbd4cc;
  border-radius:10px;
  background:#fff;
  color:#182b22;
  padding:12px;
}
.sell-field input,.sell-field select{height:46px}
.sell-field textarea{min-height:79px;resize:vertical}
.sell-field input:focus,.sell-field select:focus,.sell-field textarea:focus{
  outline:2px solid rgba(156,90,59,.23);
  border-color:#9c5a3b;
}
.sell-photo-note{background:#f0eee7;border-radius:12px;padding:15px}
.sell-photo-note strong{display:block;font-size:13px;color:#17352d}
.sell-photo-note p{font-size:12px;line-height:1.6;margin:6px 0 0;color:#5e6d62}
.sell-calc{border:1px solid #b8ccbf;background:#edf4ee;border-radius:14px;padding:16px}
.sell-calc h4{margin:0 0 10px;font-size:13px;font-weight:800;color:#17352d}
.sell-calc-row{display:flex;justify-content:space-between;gap:12px;margin:8px 0;font-size:13px;color:#556c5c}
.sell-calc-row output{font-weight:800;color:#17352d;white-space:nowrap}
.sell-calc-row.is-total{border-top:1px solid #c8d8cd;padding-top:12px;margin-top:11px;font-size:16px}
.sell-calc-note{font-size:11px;color:#546e5d;margin:12px 0 0;line-height:1.5}
.sell-agree{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:12px;
  color:#59695e;
  line-height:1.5;
  cursor:pointer;
}
.sell-agree input{width:17px;height:17px;margin-top:2px;accent-color:#17352d;flex:none}
.sell-submit{width:100%;min-height:49px;background:#17352d;color:#fff;font-size:14px;border:0;border-radius:10px;cursor:pointer}
.sell-submit:hover{background:#285143}
.sell-submit:focus-visible{outline:3px solid #9c5a3b;outline-offset:3px}
.sell-after-note{margin:0;color:#6b776e;font-size:11px;line-height:1.6}
@media(max-width:1020px){.sell-layout{grid-template-columns:1fr}.sell-copy h2{max-width:780px}.sell-form-panel{max-width:760px}}
@media(max-width:760px){.sell-section{padding:62px 20px}.sell-rules{grid-template-columns:1fr 1fr}}
@media(max-width:510px){.sell-section{padding:55px 18px}.sell-form{grid-template-columns:1fr}.sell-rules{grid-template-columns:1fr}.sell-copy h2{font-size:42px}.sell-form-panel h3{font-size:28px}}

/* Fotografías para propuesta de venta */
.sell-photo-field input[type="file"]{height:auto;min-height:50px;padding:10px;background:#fff}
.sell-photo-field input[type="file"]::file-selector-button{
  border:0;border-radius:8px;background:#17352d;color:#fff;
  padding:8px 12px;margin-right:12px;font:inherit;font-size:12px;cursor:pointer
}
.sell-upload-hint{margin:0;font-size:11px;line-height:1.55;color:#69776d}
.sell-photo-preview{
  min-height:30px;overflow-wrap:anywhere;border-radius:10px;
  background:#f0eee7;color:#405c4c;font-size:12px;line-height:1.5;padding:10px 12px
}
.sell-send-status{
  grid-column:1/-1;background:#edf4ee;color:#274939;border-radius:10px;
  padding:12px;margin:0;font-size:12px;line-height:1.6
}
.sell-direct-link{
  grid-column:1/-1;text-align:center;display:inline-flex;align-items:center;
  justify-content:center;border:1px solid #17352d;color:#17352d;
  border-radius:10px;padding:12px;font-size:12px;font-weight:750
}
.sell-direct-link[hidden]{display:none!important}
