/* SIMSAR_PRODUCTION_WEB_V6
   Production UI polish only. No backend workflow changes. */

:root{
  --s6-radius:22px;
  --s6-small-radius:14px;
  --s6-gap:14px;
}

/* Make the live marketplace feel like the product, not a presentation deck. */
.main{padding-top:16px}
.topbar{
  min-height:66px;
  margin-bottom:16px;
  padding:8px 0;
}
.topbar h1{font-size:22px;letter-spacing:-.45px}
.topbar p{font-size:13px;margin-top:2px}
.top-search{height:46px;border-radius:14px}
.icon-btn{width:44px;height:44px;border-radius:14px}
.btn{border-radius:13px;padding:10px 14px}

.hero{
  min-height:430px;
  border-radius:30px;
  background:#071d5b;
}
.hero-content{
  min-height:430px;
  padding:34px;
  gap:22px;
}
.hero-copy h2{
  max-width:760px;
  font-size:clamp(36px,4.6vw,62px);
  line-height:.98;
  letter-spacing:-2px;
  margin:16px 0 14px;
}
.hero-copy p{font-size:16px;line-height:1.6;max-width:680px}
.hero-actions{margin-top:18px}
.eyebrow{padding:8px 11px;font-size:11px}
.phone-preview{width:min(330px,100%);border-radius:34px;padding:11px}
.phone-head{padding:15px;border-radius:26px 26px 14px 14px}
.phone-head b{font-size:18px}
.phone-img{height:175px}
.phone-card{border-radius:22px}
.phone-body{padding:13px}

.search-card,.filter-bar{
  margin:16px 0;
  border-radius:20px;
  padding:10px;
  gap:8px;
}
.search-card input,.search-card select,.filter-bar input,.filter-bar select{
  min-height:42px;
  border-radius:12px;
}

.kpis{gap:10px;margin:14px 0 22px}
.kpis>div{padding:15px;border-radius:18px}
.kpis b{font-size:25px}
.kpis span{font-size:11px}
.section-head{margin:20px 0 12px}
.section-head h2{font-size:22px;margin-bottom:3px}
.section-head p{font-size:13px;margin-top:0}
.segmented{padding:3px;border-radius:13px}
.segmented button{padding:8px 11px;border-radius:10px}

/* Compact production property cards. */
.property-grid{
  gap:14px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.property-card{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(16,24,40,.075);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.property-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(16,24,40,.11);
  border-color:#d6e6ff;
}
.property-img{height:205px}
.property-body{padding:14px}
.property-top{gap:8px}
.property-top h3{font-size:16px;line-height:1.28;margin:0}
.price{font-size:16px;white-space:nowrap}
.location{font-size:12px;margin:7px 0 11px}
.features{gap:6px}
.features>div{padding:9px 6px;border-radius:12px}
.features b{font-size:15px}
.features span{font-size:9px}
.more-row{gap:5px;margin-top:7px}
.more-row>div{padding:7px 5px;border-radius:10px}
.more-row b{font-size:12px}
.more-row span{font-size:8px}
.card-actions{gap:7px;margin-top:11px}
.card-actions .btn{padding:9px 10px;font-size:12px}
.badges{gap:5px}
.badge{padding:6px 8px;font-size:9px}
.heart{width:38px;height:38px;border-radius:12px}
.img-meta{font-size:10px}
.simsar-v6-type{
  display:inline-flex;
  align-items:center;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(7,91,255,.9);
  color:#fff;
  font-size:9px;
  font-weight:900;
  line-height:1;
}

/* Explore production toolbar. */
.simsar-v6-explore-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 12px;
  min-height:38px;
}
.simsar-v6-results{
  color:var(--muted);
  font-size:12px;
  font-weight:850;
}
.simsar-v6-sort-wrap{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;font-weight:850}
.simsar-v6-sort{
  min-height:36px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--card);
  color:var(--ink);
  font-weight:850;
  outline:none;
}
.simsar-v6-empty{
  grid-column:1/-1;
  padding:34px 20px;
  border:1px dashed #cbd5e1;
  border-radius:20px;
  background:var(--card);
  text-align:center;
  color:var(--muted);
  box-shadow:0 10px 24px rgba(16,24,40,.04);
}
.simsar-v6-empty b{display:block;color:var(--ink);font-size:17px;margin-bottom:5px}
.simsar-v6-empty p{margin:0 0 14px;font-size:13px}

/* Modal/details are easier to scan and less oversized. */
.modal-panel{border-radius:26px}
.modal-head{padding:17px 20px}
.modal-head h2{font-size:24px}
.modal-body{padding:18px 20px}
.detail-layout{gap:16px}
.detail-image{height:360px;border-radius:22px}
.thumbs{gap:7px;margin-top:7px}
.thumb{height:72px;border-radius:13px}
.detail-info,.advanced-info,.reward-preview{gap:7px}
.detail-info div,.advanced-info div,.reward-preview div{padding:9px 10px;border-radius:12px;font-size:12px}
.modal-actions{gap:7px;margin-top:10px}

/* Project and compare cards follow the same compact visual language. */
.project-grid,.compare-grid{gap:14px}
.project-card,.compare-card{border-radius:22px}
.compare-card{padding:14px}
.compare-card img{height:155px;border-radius:16px}
.compare-row{padding:7px 0;font-size:12px}
.table-card{border-radius:20px;margin-top:14px}
th,td{padding:12px 14px;font-size:12px}
.notifications-list{gap:8px}
.notification{border-radius:16px;padding:11px}
.notification i{width:40px;height:40px;border-radius:13px}

/* V6 mobile bottom nav: five primary destinations only. */
.mobile-nav.simsar-v6-mobile-nav{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:3px;
  padding:6px;
  border-radius:20px;
}
.mobile-nav.simsar-v6-mobile-nav button{
  min-width:0;
  padding:7px 2px;
  border-radius:14px;
  font-size:17px;
}
.mobile-nav.simsar-v6-mobile-nav button span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.simsar-v6-more-backdrop{
  position:fixed;
  inset:0;
  display:none;
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(5px);
  z-index:89;
}
.simsar-v6-more-backdrop.show{display:block}
.simsar-v6-more-sheet{
  position:fixed;
  left:12px;
  right:12px;
  bottom:82px;
  display:none;
  z-index:90;
  max-height:min(68vh,560px);
  overflow:auto;
  padding:12px;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--card);
  box-shadow:0 28px 80px rgba(16,24,40,.28);
}
.simsar-v6-more-sheet.show{display:block}
.simsar-v6-more-head{display:flex;align-items:center;justify-content:space-between;padding:5px 5px 10px}
.simsar-v6-more-head b{font-size:15px}
.simsar-v6-more-close{border:0;background:#eef5ff;color:var(--blue);width:34px;height:34px;border-radius:11px;font-size:18px;font-weight:900}
.simsar-v6-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.simsar-v6-more-grid button{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  color:var(--ink);
  text-align:left;
  padding:10px 11px;
  font-weight:850;
}
.simsar-v6-more-grid button i{
  width:31px;height:31px;border-radius:10px;display:grid;place-items:center;
  background:#eef5ff;color:var(--blue);font-style:normal;font-weight:1000;
}

@media(max-width:1300px){
  .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .main{padding:10px 12px 82px}
  .topbar{gap:9px;margin-bottom:10px}
  .top-title p{display:none}
  .top-search{max-width:none;width:100%}
  .top-actions{gap:6px;overflow-x:auto;padding-bottom:2px}
  .top-actions .btn{padding:9px 11px;white-space:nowrap}
  .hero{border-radius:22px}
  .hero-content{padding:22px 18px}
  .hero-copy h2{font-size:36px;letter-spacing:-1.3px}
  .hero-copy p{font-size:14px}
  .search-card,.filter-bar{grid-template-columns:1fr 1fr!important;border-radius:16px}
  .search-card input:first-child,.filter-bar input:first-child{grid-column:1/-1}
  .search-card .btn,.filter-bar .btn{grid-column:1/-1}
  .kpis{grid-template-columns:repeat(2,1fr)!important}
  .property-grid{grid-template-columns:1fr!important;gap:10px}
  .property-img{height:210px}
  .property-card{border-radius:18px}
  .property-body{padding:12px}
  .section-head{margin:16px 0 10px}
  .section-head h2{font-size:19px}
  .simsar-v6-explore-bar{align-items:flex-start;flex-direction:column}
  .simsar-v6-sort-wrap{width:100%;justify-content:space-between}
  .simsar-v6-sort{flex:1;max-width:220px}
  .detail-image{height:270px}
  .thumbs{grid-template-columns:repeat(4,1fr)}
  .thumb{height:58px}
  .mobile-nav{display:grid}
}
@media(min-width:901px){
  .simsar-v6-more-sheet,.simsar-v6-more-backdrop{display:none!important}
}
