/* v4.9 – Marketplace trust, enquiries, alerts and seller profiles */
.ecr-mkt-trust-fields{grid-column:1/-1;border:1px solid #e3e3df;border-radius:14px;padding:18px 20px;margin:8px 0 4px;background:#fafaf8}
.ecr-mkt-trust-fields legend{padding:0 7px;font-weight:800;color:#242424}
.ecr-mkt-trust-fields__checks{display:flex;flex-wrap:wrap;gap:10px 18px;margin:12px 0 6px}
.ecr-mkt-trust-fields__checks label{display:inline-flex;align-items:center;gap:7px;margin:0;font-size:14px;color:#3e3e3e}
.ecr-mkt-listing-signals,.ecr-card-notices{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.ecr-mkt-signal{display:inline-flex;align-items:center;min-height:27px;padding:5px 10px;border-radius:999px;background:#f1f1ed;color:#30302d;font-size:11px;line-height:1;font-weight:800;letter-spacing:.35px;text-transform:uppercase}
.ecr-mkt-signal-reserved{background:#e8e8e5;color:#343434}
.ecr-mkt-signal-reduced{background:#f8dc47;color:#171717}
.ecr-card-notices{margin:8px 0 7px}
.ecr-card-notices .ecr-mkt-signal{min-height:23px;padding:4px 8px;font-size:9px}
.ecr-mkt-single-extras{max-width:1240px;margin:26px auto 0;padding:0 20px}
.ecr-mkt-single-extras .ecr-alert{margin:0 0 20px}
.ecr-mkt-seller-strip{display:flex;align-items:center;gap:16px;border:1px solid #e0e0dc;border-radius:16px;background:#fff;padding:18px 20px;margin:0 0 20px;box-shadow:0 8px 26px rgba(20,20,15,.05)}
.ecr-mkt-seller-avatar{width:64px;height:64px;flex:0 0 64px;border-radius:50%;overflow:hidden;background:#eee}
.ecr-mkt-seller-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.ecr-mkt-seller-strip h3{margin:2px 0 3px;font-size:19px;line-height:1.2}
.ecr-mkt-seller-strip p{margin:0;color:#666;font-size:14px;line-height:1.45}
.ecr-mkt-seller-strip .ecr-card-meta{color:#888;font-size:10px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase}
.ecr-mkt-seller-strip .ecr-button{margin-left:auto;white-space:nowrap}
.ecr-mkt-trusted{display:inline-block;border-radius:999px;margin-left:6px;padding:4px 7px;background:#eceee9;color:#39704a;font-size:9px;letter-spacing:.5px;text-transform:uppercase;vertical-align:middle}
.ecr-mkt-contact-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:20px;margin:0 0 22px}
.ecr-mkt-contact-form,.ecr-mkt-safe-panel{border:1px solid #e1e1dd;border-radius:16px;background:#fff;padding:24px;box-shadow:0 8px 26px rgba(20,20,15,.04)}
.ecr-mkt-contact-form h2,.ecr-mkt-safe-panel h3{margin:3px 0 7px;color:#202020}
.ecr-mkt-contact-form > p,.ecr-mkt-safe-panel > p{color:#61615e;line-height:1.55}
.ecr-mkt-contact-form form{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:18px}
.ecr-mkt-contact-form form p{margin:0}
.ecr-mkt-contact-form form p:nth-of-type(4),.ecr-mkt-contact-form form p:nth-of-type(5){grid-column:1/-1}
.ecr-mkt-contact-form label,.ecr-mkt-report-form label{display:block;font-size:12px;font-weight:800;color:#343432}
.ecr-mkt-contact-form input,.ecr-mkt-contact-form textarea,.ecr-mkt-report-form input,.ecr-mkt-report-form textarea,.ecr-mkt-report-form select{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #d6d6d1;border-radius:8px;background:#fff;font:inherit;color:#262626}
.ecr-mkt-contact-form textarea{resize:vertical}
.ecr-mkt-contact-form .ecr-button{justify-self:start;margin-top:2px}
.ecr-mkt-safe-panel{background:#1e1e1c;color:#fff;border-color:#1e1e1c}
.ecr-mkt-safe-panel .ecr-card-meta{color:#f4d21a;font-size:10px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}
.ecr-mkt-safe-panel h3{color:#fff}
.ecr-mkt-safe-panel ul{margin:15px 0 20px;padding:0 0 0 19px;color:#dededb;font-size:14px;line-height:1.6}
.ecr-mkt-safe-panel details{border-top:1px solid rgba(255,255,255,.18);padding-top:15px}
.ecr-mkt-safe-panel summary{cursor:pointer;color:#f7d516;font-weight:800}
.ecr-mkt-report-form{display:grid;gap:10px;margin-top:12px}
.ecr-mkt-report-form .ecr-text-button{justify-self:start;color:#f7d516;border-bottom-color:rgba(247,213,22,.4)}
.ecr-mkt-hp{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;white-space:nowrap!important}
.ecr-mkt-recently-viewed{padding:24px;border:1px solid #e1e1dd;border-radius:16px;background:#f7f7f4;margin-bottom:4px}
.ecr-mkt-recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ecr-mkt-recent-card{display:flex;gap:10px;padding:10px;border:1px solid #e3e3df;border-radius:11px;background:#fff;color:#1f1f1f;text-decoration:none}
.ecr-mkt-recent-card:hover{border-color:#d7bd2d}
.ecr-mkt-recent-card__image{width:78px;height:58px;flex:0 0 78px;border-radius:7px;overflow:hidden;background:#ededeb}
.ecr-mkt-recent-card__image img{width:100%;height:100%;object-fit:cover}
.ecr-mkt-recent-card__copy{min-width:0}
.ecr-mkt-recent-card__copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25}
.ecr-mkt-recent-card__copy span{display:block;margin-top:5px;font-size:13px;font-weight:800}
.ecr-mkt-save-search{display:flex;align-items:center;gap:24px;max-width:1240px;margin:24px auto 0;padding:24px 26px;border-radius:16px;background:#1e1e1c;color:#fff}
.ecr-mkt-save-search > div{min-width:240px;flex:1}
.ecr-mkt-save-search .ecr-card-meta{margin:0 0 5px;color:#f7d516;font-size:10px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.ecr-mkt-save-search h2{margin:0 0 5px;color:#fff;font-size:22px}
.ecr-mkt-save-search p{margin:0;color:#dededb;font-size:14px;line-height:1.5}
.ecr-mkt-save-search-form{display:flex;gap:10px;align-items:center;min-width:min(450px,100%)}
.ecr-mkt-save-search-form input{flex:1;min-width:0;padding:11px;border:1px solid #4c4c47;border-radius:8px;background:#fff;font:inherit;color:#222}
.ecr-mkt-dashboard-extras{margin-top:22px}
.ecr-mkt-dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.ecr-mkt-mini-list{display:grid;gap:8px}
.ecr-mkt-mini-list article{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #e7e7e3}
.ecr-mkt-mini-list article:last-child{border-bottom:0}
.ecr-mkt-mini-list strong{font-size:14px}
.ecr-mkt-mini-list span{margin-left:auto;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#666}
.ecr-mkt-mini-list small{font-size:11px;color:#888}
.ecr-mkt-mini-list form{margin-left:auto}
.ecr-mkt-upgrade-list{display:grid;gap:8px}
.ecr-mkt-upgrade-list form{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e5e5e2}
.ecr-mkt-upgrade-list form:last-child{border-bottom:0}
.ecr-mkt-upgrade-list .ecr-mini-button{margin-left:auto}
.ecr-mkt-seller-profile{max-width:1240px;margin:0 auto;padding:0 20px}
.ecr-mkt-seller-profile__hero{display:flex;gap:22px;padding:34px;border-radius:18px;background:#1d1d1b;color:#fff;margin:0 0 24px}
.ecr-mkt-seller-profile__hero .ecr-mkt-seller-avatar{width:108px;height:108px;flex-basis:108px}
.ecr-mkt-seller-profile__hero .ecr-card-meta{margin:0 0 6px;color:#f7d516;font-size:10px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.ecr-mkt-seller-profile__hero h1{margin:0 0 8px;color:#fff;font-size:36px;line-height:1.1}
.ecr-mkt-seller-profile__hero p{max-width:760px;margin:6px 0;color:#dededb;line-height:1.55}
.ecr-mkt-seller-location{font-weight:800;color:#f7d516!important}
.ecr-mkt-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ecr-mkt-profile-card{overflow:hidden;border:1px solid #e0e0dc;border-radius:14px;background:#fff}
.ecr-mkt-profile-card__image{display:block;height:185px;background:#ececea}
.ecr-mkt-profile-card__image img{width:100%;height:100%;object-fit:cover}
.ecr-mkt-profile-card > div{padding:15px}
.ecr-mkt-profile-card .ecr-card-meta{margin:0 0 6px;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#7a7a76}
.ecr-mkt-profile-card h3{margin:0 0 10px;font-size:18px;line-height:1.2}
.ecr-mkt-profile-card h3 a{color:#222;text-decoration:none}
.ecr-mkt-profile-card strong{font-size:18px}
@media(max-width:800px){.ecr-mkt-single-extras{padding:0 14px}.ecr-mkt-seller-strip{align-items:flex-start;flex-wrap:wrap}.ecr-mkt-seller-strip .ecr-button{margin-left:80px}.ecr-mkt-contact-grid{grid-template-columns:1fr}.ecr-mkt-recent-grid{grid-template-columns:1fr}.ecr-mkt-save-search{display:block;padding:22px}.ecr-mkt-save-search-form{margin-top:16px;min-width:0;flex-wrap:wrap}.ecr-mkt-save-search-form input{width:100%;flex-basis:100%}.ecr-mkt-dashboard-columns{grid-template-columns:1fr}.ecr-mkt-seller-profile{padding:0 14px}.ecr-mkt-seller-profile__hero{padding:24px;gap:16px}.ecr-mkt-profile-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ecr-mkt-contact-form form{grid-template-columns:1fr}.ecr-mkt-contact-form form p:nth-of-type(4),.ecr-mkt-contact-form form p:nth-of-type(5){grid-column:auto}.ecr-mkt-seller-strip .ecr-button{margin-left:0;width:100%;text-align:center}.ecr-mkt-seller-profile__hero{display:block}.ecr-mkt-seller-profile__hero .ecr-mkt-seller-avatar{margin-bottom:14px}.ecr-mkt-profile-grid{grid-template-columns:1fr}.ecr-mkt-upgrade-list form{flex-wrap:wrap}.ecr-mkt-upgrade-list .ecr-mini-button{margin-left:0}}

/* v5.0 – Keep Marketplace engagement pages independent of Avada responsive typography. */
.ecr-mkt-single-extras,
.ecr-mkt-seller-profile{
  font-family:var(--ecr-ui-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif)!important;
  color:#252525!important;
}
.ecr-mkt-single-extras h1,
.ecr-mkt-single-extras h2,
.ecr-mkt-single-extras h3,
.ecr-mkt-seller-profile h1,
.ecr-mkt-seller-profile h2,
.ecr-mkt-seller-profile h3{
  font-family:var(--ecr-ui-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif)!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
}

.ecr-mkt-contact-form h2{
  margin:0 0 10px!important;
  color:#202020!important;
  font-size:38px!important;
  line-height:1.08!important;
}
.ecr-mkt-safe-panel h3{
  margin:0 0 10px!important;
  color:#ffffff!important;
  font-size:28px!important;
  line-height:1.12!important;
}
.ecr-mkt-recently-viewed .ecr-featured-head h2,
.ecr-mkt-seller-profile > .ecr-featured-head h2{
  color:#202020!important;
  font-size:31px!important;
  line-height:1.1!important;
}
.ecr-mkt-save-search h2{
  color:#ffffff!important;
  font-size:27px!important;
  line-height:1.12!important;
}
.ecr-mkt-seller-profile__hero h1{
  margin:0 0 8px!important;
  color:#ffffff!important;
  font-size:38px!important;
  line-height:1.08!important;
}
.ecr-mkt-profile-card h3,
.ecr-mkt-profile-card h3 a{
  color:#202020!important;
  font-size:18px!important;
  line-height:1.2!important;
}

/* Strong readable field text in buyer enquiry, safety and seller-profile forms. */
.ecr-mkt-contact-form input,
.ecr-mkt-contact-form textarea,
.ecr-mkt-report-form input,
.ecr-mkt-report-form textarea,
.ecr-mkt-report-form select,
.ecr-mkt-save-search-form input{
  background:#ffffff!important;
  color:#171717!important;
  border-color:#bfc0bb!important;
  font-family:var(--ecr-ui-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif)!important;
  font-weight:600!important;
  text-shadow:none!important;
}
.ecr-mkt-contact-form input::placeholder,
.ecr-mkt-contact-form textarea::placeholder,
.ecr-mkt-report-form input::placeholder,
.ecr-mkt-report-form textarea::placeholder,
.ecr-mkt-save-search-form input::placeholder{
  color:#59616c!important;
  opacity:1!important;
}
.ecr-mkt-contact-form input:-webkit-autofill,
.ecr-mkt-contact-form input:-webkit-autofill:hover,
.ecr-mkt-contact-form input:-webkit-autofill:focus,
.ecr-mkt-report-form input:-webkit-autofill,
.ecr-mkt-save-search-form input:-webkit-autofill{
  -webkit-text-fill-color:#171717!important;
  box-shadow:0 0 0 1000px #ffffff inset!important;
  transition:background-color 9999s ease-out 0s;
}
.ecr-mkt-contact-form label,
.ecr-mkt-report-form label{color:#202020!important;}
.ecr-mkt-contact-form > p{color:#4f555d!important;}
.ecr-mkt-safe-panel > p,
.ecr-mkt-safe-panel ul{color:#f1f1ed!important;}
.ecr-mkt-seller-profile__hero p{color:#f1f1ed!important;}
.ecr-mkt-seller-location{color:#f7d516!important;}

@media(max-width:760px){
  .ecr-mkt-contact-form h2{font-size:31px!important;}
  .ecr-mkt-safe-panel h3{font-size:24px!important;}
  .ecr-mkt-recently-viewed .ecr-featured-head h2,
  .ecr-mkt-seller-profile > .ecr-featured-head h2{font-size:27px!important;}
  .ecr-mkt-save-search h2{font-size:24px!important;}
  .ecr-mkt-seller-profile__hero h1{font-size:32px!important;}
}


/* v5.1 – Seller-profile containment, compact marketplace links and public listing views. */
.ecr-mkt-seller-strip{
  gap:18px;
  padding:18px!important;
  background:#ffffff!important;
}
.ecr-mkt-seller-strip__details{
  flex:1 1 360px;
  min-width:0;
  padding:12px 15px!important;
  border:1px solid #e5e4de!important;
  border-radius:13px!important;
  background:#f4f3ed!important;
}
.ecr-mkt-seller-strip__details h3{
  margin:2px 0 4px!important;
  padding:0!important;
  background:transparent!important;
  color:#171717!important;
  font-size:21px!important;
  line-height:1.14!important;
  text-shadow:none!important;
}
.ecr-mkt-seller-strip__details .ecr-card-meta{
  color:#6d5c00!important;
}
.ecr-mkt-seller-strip__details > p:not(.ecr-card-meta){
  color:#4e555b!important;
}

/* The standalone seller-profile page can sit on an Avada dark page background. Give its
   content a dedicated light surface so headings, cards and body copy remain readable. */
.ecr-mkt-seller-profile{
  padding:22px!important;
  border:1px solid #dcdcd6!important;
  border-radius:22px!important;
  background:#f5f5f1!important;
  box-shadow:0 14px 34px rgba(18,18,18,.10)!important;
}
.ecr-mkt-seller-profile__hero{
  margin:0 0 18px!important;
}
.ecr-mkt-seller-profile__listings{
  padding:20px!important;
  border:1px solid #deded8!important;
  border-radius:16px!important;
  background:#ffffff!important;
}
.ecr-mkt-seller-profile__listings .ecr-featured-head{
  align-items:center!important;
  margin:0 0 16px!important;
}
.ecr-mkt-seller-profile__listings .ecr-featured-head h2,
.ecr-mkt-recently-viewed .ecr-featured-head h2{
  margin:0!important;
  background:transparent!important;
  color:#202020!important;
  font-size:27px!important;
  line-height:1.14!important;
}

/* These were inheriting large Avada link typography. Keep them tidy and secondary to the listings. */
.ecr-mkt-head-link,
.ecr-mkt-recently-viewed .ecr-featured-head .ecr-mkt-head-link,
.ecr-mkt-seller-profile__listings .ecr-featured-head .ecr-mkt-head-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-height:34px!important;
  padding:8px 13px!important;
  border:1px solid #d1ad00!important;
  border-radius:999px!important;
  background:#fcdb00!important;
  color:#171717!important;
  font-family:var(--ecr-ui-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif)!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  text-shadow:none!important;
  white-space:nowrap!important;
}
.ecr-mkt-head-link:hover{
  background:#e9c900!important;
  border-color:#cba900!important;
  color:#171717!important;
}

@media(max-width:800px){
  .ecr-mkt-seller-profile{padding:15px!important;border-radius:18px!important;}
  .ecr-mkt-seller-profile__listings{padding:15px!important;}
  .ecr-mkt-seller-profile__listings .ecr-featured-head{align-items:flex-start!important;}
  .ecr-mkt-seller-strip__details{flex-basis:calc(100% - 82px);}
}
@media(max-width:560px){
  .ecr-mkt-seller-strip__details{flex-basis:100%;}
  .ecr-mkt-head-link{min-height:32px!important;padding:8px 12px!important;font-size:11px!important;}
}
