
:root{
  --cgst-orange:#f47a20;
  --cgst-orange-dark:#dd6713;
  --cgst-text:#141414;
  --cgst-muted:#666;
  --cgst-border:#e9e4de;
  --cgst-bg:#fffaf6;
  --cgst-card:#ffffff;
  --cgst-shadow:0 12px 28px rgba(19,21,24,.08);
  --cgst-radius:22px;
}

.cgst-rental-page-shell,
.cgst-rental-page-shell *{ box-sizing:border-box; }

.cgst-shell{
  width:min(1560px, calc(100% - 12px));
  max-width:none;
  margin:0 !important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.cgst-rental-page-shell{
  color:var(--cgst-text);
  padding:2px 0 48px !important;
  margin-top:0 !important;
}

.cgst-rental-breadcrumb{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
  margin:2px 0 8px !important;
  padding:0 !important;
  font-size:14px;
  font-weight:700;
}
.cgst-rental-breadcrumb a{
  color:var(--cgst-orange) !important;
  text-decoration:none !important;
}
.cgst-rental-breadcrumb .sep{
  margin:0 .45rem;
  color:#9a8e82;
}
.cgst-rental-breadcrumb .current{
  color:#7d6f62;
}

.cgst-browse-hero{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-end;
  margin-bottom:18px;
  padding:26px 28px;
  border:1px solid rgba(244,122,32,.14);
  background:linear-gradient(135deg,#fff7f0 0%,#ffffff 60%);
  border-radius:28px;
  box-shadow:var(--cgst-shadow);
  width:100%;
}
.cgst-browse-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:800;
  color:var(--cgst-orange);
  margin-bottom:10px;
}
.cgst-browse-eyebrow:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--cgst-orange);
}
.cgst-browse-hero h1{
  margin:0 0 8px;
  font-size:clamp(28px,3vw,40px);
  line-height:1.05;
  color:#1b1b1b;
}
.cgst-browse-hero p{
  margin:0;
  max-width:760px;
  color:#6f6256;
  font-size:15px;
}

.cgst-filter-toggle,
.cgst-toolbar-submit,
.cgst-empty-btn{
  border:none;
  border-radius:16px;
  background:linear-gradient(135deg,var(--cgst-orange) 0%,#ff9a52 100%);
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(244,122,32,.22);
}
.cgst-filter-toggle,
.cgst-toolbar-submit{ min-height:50px; padding:0 18px; }
.cgst-empty-btn{ display:inline-flex; min-height:48px; align-items:center; justify-content:center; padding:0 18px; }
.cgst-active-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
}
.cgst-chip{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  background:#fff2e8;
  color:#a04f10;
  border:1px solid rgba(244,122,32,.18);
  font-weight:700;
  font-size:13px;
}
.cgst-clear-filters{
  color:var(--cgst-orange) !important;
  text-decoration:none !important;
  font-weight:700;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(244,122,32,.18);
  background:#fff;
}

.cgst-browse-layout{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.cgst-browse-sidebar{ position:sticky; top:110px; }
.cgst-sidebar-card,
.cgst-browse-main{
  background:var(--cgst-card);
  border:1px solid var(--cgst-border);
  border-radius:var(--cgst-radius);
  box-shadow:var(--cgst-shadow);
}
.cgst-sidebar-card{ padding:18px; }
.cgst-sidebar-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px;
}
.cgst-sidebar-head h2{ margin:0; font-size:20px; }
.cgst-sidebar-head a{ color:var(--cgst-orange)!important; text-decoration:none!important; font-weight:700; font-size:14px; }

.cgst-browse-tree{ list-style:none; margin:0; padding:0; }
.cgst-tree-item + .cgst-tree-item{ margin-top:8px; }
.cgst-tree-link{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 14px; border-radius:16px; text-decoration:none!important; color:#2c2c2c!important;
  background:#fff; border:1px solid transparent; transition:all .2s ease;
}
.cgst-tree-item.is-active > .cgst-tree-link,
.cgst-tree-link:hover{
  background:linear-gradient(135deg,#ffefe2 0%,#fff8f2 100%);
  border-color:rgba(244,122,32,.22);
  color:var(--cgst-orange-dark)!important;
}
.cgst-tree-name{ font-weight:700; line-height:1.3; }
.cgst-tree-count{
  font-size:12px; min-width:28px; height:28px; display:inline-flex; justify-content:center; align-items:center;
  border-radius:999px; background:#f6f1ea; color:#66594f;
}

.cgst-browse-main{ padding:18px 12px 18px 18px; }
.cgst-browse-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px 180px;
  gap:12px;
  margin-bottom:16px;
  width:100%;
}
.cgst-browse-toolbar input,
.cgst-browse-toolbar select{
  width:100%;
  min-height:50px;
  border:1px solid #e7ddd4;
  border-radius:16px;
  padding:0 16px;
  color:#212121;
  background:#fff;
  outline:none;
  font-size:14px;
}
.cgst-browse-toolbar input:focus,
.cgst-browse-toolbar select:focus{
  border-color:rgba(244,122,32,.4);
  box-shadow:0 0 0 4px rgba(244,122,32,.12);
}
.cgst-results-head{
  margin:8px 0 16px;
  color:#7c6d61;
  font-size:14px;
}
.cgst-results-head strong{ color:#171717; }

.cgst-rental-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.cgst-browse-card{
  border:1px solid #ebe4db;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 30px rgba(16,18,22,.06);
}
.cgst-browse-card-media{
  display:block;
  aspect-ratio:1/.72;
  background:#f4f5f7;
  overflow:hidden;
}
.cgst-browse-card-media img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.cgst-browse-card-placeholder{
  display:grid; place-items:center; width:100%; height:100%; color:#8a93a7; font-weight:700;
}
.cgst-browse-card-body{ padding:16px; }
.cgst-browse-card-tax{ margin-bottom:8px; font-size:13px; color:#7c6d61; }
.cgst-browse-card-tax a{ text-decoration:none; color:inherit; }
.cgst-browse-card-body h3{ margin:0 0 10px; font-size:20px; line-height:1.3; }
.cgst-browse-card-body h3 a{ text-decoration:none; color:#171717; }
.cgst-browse-card-price{ font-weight:800; color:var(--cgst-orange-dark); }
.cgst-browse-card-price span{ font-weight:600; color:#6f6256; }

.cgst-rental-empty{
  padding:22px;
  border:1px solid #ebe4db;
  border-radius:24px;
  background:#fff;
  box-shadow:0 14px 30px rgba(16,18,22,.06);
}
.cgst-rental-empty h3{ margin:0 0 8px; }
.cgst-rental-empty p{ margin:0 0 14px; color:#6f6256; }

.cgst-rental-pagination ul{
  list-style:none;
  display:flex;
  gap:8px;
  padding:0;
  margin:20px 0 0;
}
.cgst-rental-pagination a,
.cgst-rental-pagination span{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid #ebe4db;
  text-decoration:none;
  color:#171717;
  background:#fff;
}
.cgst-rental-pagination .current{ background:#fff2e8; color:#a04f10; border-color:rgba(244,122,32,.18); }

.cgst-sidebar-overlay{ display:none; }

@media (max-width: 1024px){
  .cgst-browse-layout{ grid-template-columns:1fr; }
  .cgst-browse-sidebar{
    position:fixed; top:0; left:0; bottom:0; width:min(92vw,360px); z-index:1200;
    background:#fff; padding:14px; overflow:auto; transform:translateX(-100%); transition:transform .22s ease;
    box-shadow:0 24px 48px rgba(15,23,42,.18);
  }
  body.cgst-filters-open .cgst-browse-sidebar{ transform:translateX(0); }
  .cgst-sidebar-overlay{
    position:fixed; inset:0; background:rgba(15,23,42,.35); z-index:1190; opacity:0; visibility:hidden; transition:all .2s ease;
    display:block;
  }
  body.cgst-filters-open .cgst-sidebar-overlay{ opacity:1; visibility:visible; }
}

@media (max-width: 767px){
  .cgst-shell{ width:min(100%, calc(100% - 12px)); }
  .cgst-rental-page-shell{ padding-top:2px !important; }
  .cgst-rental-breadcrumb{ margin-top:2px !important; margin-bottom:6px !important; }
  .cgst-browse-hero{
    padding:20px 18px;
    align-items:flex-start;
    flex-direction:column;
  }
  .cgst-filter-toggle{ margin-top:10px; }
  .cgst-browse-toolbar{
    grid-template-columns:minmax(0,1fr) 160px;
  }
  .cgst-toolbar-submit{ grid-column:1 / -1; }
  .cgst-rental-grid{ grid-template-columns:1fr; }
  .cgst-active-filters{ margin-bottom:14px; }
}
