/* Getrix front-end — brand: #006FB7 #F8FCFF #FF9F63 #FF6505 */
:root{
  --gx-blue:#006FB7; --gx-bg:#F8FCFF; --gx-orange-l:#FF9F63; --gx-orange:#FF6505;
  --gx-ink:#16384f; --gx-muted:#5b7384; --gx-line:#e3eef6; --gx-radius:14px;
}
.getrix-portal,.getrix-single{ --gx-blue:#006FB7; --gx-bg:#F8FCFF; --gx-orange:#FF6505; color:var(--gx-ink); }
.getrix-single *,.getrix-portal *{ box-sizing:border-box; }
.gx-ic{ width:18px; height:18px; flex:0 0 auto; vertical-align:middle; }

/* ============ GRID + CARD ============ */
.getrix-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:22px; }
.getrix-card-item{ position:relative; display:flex; flex-direction:column; background:#fff;
  border:1px solid var(--gx-line); border-radius:var(--gx-radius); overflow:hidden;
  transition:box-shadow .2s,transform .2s; }
.getrix-card-item:hover{ box-shadow:0 12px 30px rgba(0,111,183,.15); transform:translateY(-3px); }
.getrix-card-item__img{ position:relative; height:210px; background:#dce8f1; overflow:hidden; }
.getrix-card-item__img .gx-card-cur{ width:100%; height:100%; object-fit:cover; display:block; }
.gx-card-overlay{ position:absolute; inset:0; z-index:1; }
.getrix-badges{ position:absolute; top:12px; left:12px; z-index:2; display:flex; gap:6px; flex-wrap:wrap; }
.getrix-badge{ background:var(--gx-blue); color:#fff; font-size:12px; font-weight:600;
  padding:5px 11px; border-radius:8px; letter-spacing:.02em; }
.getrix-badge--type{ background:rgba(22,56,79,.78); }
.gx-card-nav{ position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:34px; height:34px; border:0; border-radius:50%; background:rgba(255,255,255,.9);
  color:var(--gx-ink); display:flex; align-items:center; justify-content:center; cursor:pointer;
  opacity:0; transition:opacity .2s; box-shadow:0 2px 8px rgba(0,0,0,.18); }
.getrix-card-item:hover .gx-card-nav{ opacity:1; }
.gx-card-prev{ left:10px; } .gx-card-next{ right:10px; }
.gx-card-nav:hover{ background:#fff; color:var(--gx-orange); }
.getrix-count-pill{ position:absolute; bottom:12px; right:12px; z-index:2; background:rgba(0,0,0,.62);
  color:#fff; font-size:12px; padding:4px 9px; border-radius:8px; }
.getrix-card-item__body{ padding:14px 16px 18px; text-decoration:none; color:inherit; display:block; }
.getrix-price{ font-size:22px; font-weight:800; color:var(--gx-blue); }
.getrix-title{ font-size:15px; font-weight:600; margin:4px 0 2px; line-height:1.35; color:var(--gx-ink); }
.getrix-loc{ font-size:13px; color:var(--gx-muted); margin-bottom:12px; display:flex; align-items:center; gap:5px; }
.getrix-loc .gx-ic{ width:15px; height:15px; color:var(--gx-orange); }
.getrix-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.getrix-chips span{ display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--gx-ink);
  background:var(--gx-bg); border:1px solid var(--gx-line); padding:5px 10px; border-radius:8px; }
.getrix-chips .gx-ic{ width:15px; height:15px; color:var(--gx-blue); }

/* ============ FILTER BAR ============ */
.getrix-filters{ display:flex; flex-wrap:wrap; gap:10px; background:var(--gx-bg);
  border:1px solid var(--gx-line); border-radius:var(--gx-radius); padding:14px; margin-bottom:14px; }
.getrix-filters .gx-f{ flex:1 1 150px; min-width:120px; height:46px; padding:0 12px;
  border:1px solid var(--gx-line); border-radius:10px; background:#fff; color:var(--gx-ink); font-size:14px; }
.getrix-filters .gx-search{ flex:2 1 240px; }
.getrix-filters .gx-num{ flex:0 1 120px; }
.getrix-filters .gx-f:focus{ outline:none; border-color:var(--gx-blue); box-shadow:0 0 0 3px rgba(0,111,183,.15); }
.gx-reset{ height:46px; padding:0 20px; border:0; border-radius:10px; background:var(--gx-orange);
  color:#fff; font-weight:700; cursor:pointer; }
.gx-reset:hover{ filter:brightness(1.06); }
.getrix-resultbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; gap:12px; flex-wrap:wrap; }
.getrix-count{ font-size:14px; color:var(--gx-muted); font-weight:600; }
.gx-sort{ height:42px; border:1px solid var(--gx-line); border-radius:10px; padding:0 12px; background:#fff; color:var(--gx-ink); }
.getrix-results{ transition:opacity .2s; }
.getrix-results.is-loading{ opacity:.45; pointer-events:none; }
.getrix-empty{ padding:48px; text-align:center; color:var(--gx-muted); }

/* ============ PAGINATION ============ */
.getrix-pagination{ display:flex; gap:6px; justify-content:center; margin-top:28px; flex-wrap:wrap; }
.getrix-page{ min-width:42px; height:42px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--gx-line); border-radius:10px; text-decoration:none; color:var(--gx-ink); font-weight:600; }
.getrix-page:hover{ border-color:var(--gx-blue); color:var(--gx-blue); }
.getrix-page.is-active{ background:var(--gx-blue); color:#fff; border-color:var(--gx-blue); }

/* ============ SINGLE PAGE LAYOUT ============ */
.getrix-single{ max-width:1180px; margin:0 auto; }
.gx-sp{ display:grid; grid-template-columns:1fr 340px; gap:28px; align-items:start; }
.gx-sp__main{ min-width:0; }
.gx-sp__side{ position:sticky; top:24px; }

/* hero */
.gx-hero{ display:grid; grid-template-columns:2fr 1fr; gap:8px; height:420px; margin-bottom:14px; }
.gx-hero__main{ position:relative; border-radius:var(--gx-radius); overflow:hidden; background:#dce8f1; cursor:pointer; }
.gx-hero__cur{ width:100%; height:100%; object-fit:cover; display:block; }
.gx-hero__thumbs{ display:grid; grid-template-rows:repeat(4,1fr); gap:8px; }
.gx-hero__thumb{ position:relative; border-radius:12px; overflow:hidden; background:#dce8f1 center/cover no-repeat; cursor:pointer; }
.gx-hero__cap{ position:absolute; left:8px; bottom:8px; background:rgba(0,0,0,.6); color:#fff; font-size:11px; padding:3px 8px; border-radius:6px; }
.gx-hero__thumb.is-more::after{ content:''; position:absolute; inset:0; background:rgba(22,56,79,.62); }
.gx-hero__moreov{ position:absolute; inset:0; z-index:1; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:15px; }

/* media tabs */
.gx-mtabs{ margin-bottom:24px; }
.gx-mtabs__nav{ display:flex; gap:8px; flex-wrap:wrap; border-bottom:1px solid var(--gx-line); margin-bottom:16px; }
.gx-mtab{ display:inline-flex; align-items:center; gap:7px; background:none; border:0; cursor:pointer;
  padding:10px 14px; color:var(--gx-muted); font-weight:600; font-size:14px; border-bottom:2px solid transparent; margin-bottom:-1px; }
.gx-mtab .gx-ic{ color:var(--gx-blue); }
.gx-mtab.is-active{ color:var(--gx-blue); border-bottom-color:var(--gx-orange); }
.gx-mpanel{ display:none; } .gx-mpanel.is-active{ display:block; }

/* head */
.gx-sp-head{ margin:6px 0 22px; }
.gx-sp-head__t{ display:flex; align-items:flex-start; gap:12px; flex-wrap:wrap; }
.gx-sp-pin{ color:var(--gx-orange); flex:0 0 auto; margin-top:4px; } .gx-sp-pin .gx-ic{ width:26px; height:26px; }
.gx-sp-head__t > div:nth-child(2){ flex:1 1 260px; min-width:0; }
.gx-sp-title{ font-size:25px; line-height:1.25; margin:0 0 4px; color:var(--gx-ink); }
.gx-sp-loc{ color:var(--gx-muted); margin:0; font-size:14px; }
.gx-sp-price{ margin-left:auto; text-align:right; }
.gx-sp-price .getrix-price{ font-size:28px; } .gx-sp-price small{ color:var(--gx-muted); display:block; }
.gx-sp-quick{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; padding-top:16px; border-top:1px solid var(--gx-line); }
.gx-sp-qi{ display:inline-flex; align-items:center; gap:7px; font-size:14px; color:var(--gx-ink); }
.gx-sp-qi .gx-ic{ color:var(--gx-blue); }

/* sections */
.gx-sec{ padding:22px 0; border-top:1px solid var(--gx-line); }
.gx-sec__h{ font-size:19px; color:var(--gx-ink); margin:0 0 16px; }
.gx-desc{ line-height:1.7; color:#2a4a5c; position:relative; }
.gx-desc.is-clamped{ max-height:180px; overflow:hidden; -webkit-mask-image:linear-gradient(#000 60%,transparent); mask-image:linear-gradient(#000 60%,transparent); }
.gx-readmore{ margin-top:10px; background:none; border:0; color:var(--gx-blue); font-weight:700; cursor:pointer; padding:0; }
.gx-readmore:hover{ color:var(--gx-orange); }

.gx-speclist{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px 22px; }
.gx-spec{ display:flex; gap:12px; align-items:flex-start; }
.gx-spec__ic{ color:var(--gx-blue); margin-top:2px; } .gx-spec__ic .gx-ic{ width:20px; height:20px; }
.gx-spec__t{ display:flex; flex-direction:column; }
.gx-spec__l{ font-size:12px; color:var(--gx-muted); }
.gx-spec__v{ font-size:15px; font-weight:600; color:var(--gx-ink); }

.gx-amenities{ display:flex; flex-wrap:wrap; gap:9px; }
.gx-amenity{ display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--gx-ink);
  background:var(--gx-bg); border:1px solid var(--gx-line); padding:7px 12px; border-radius:9px; }
.gx-amenity .gx-ic{ width:15px; height:15px; color:var(--gx-orange); }

.getrix-gallery{ display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:10px; }
.getrix-gallery__item img{ width:100%; height:150px; object-fit:cover; border-radius:10px; display:block; }
.getrix-gallery--plans .getrix-gallery__item img{ object-fit:contain; background:#fff; border:1px solid var(--gx-line); }
.gx-corner{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.gx-corner__i{ position:relative; height:120px; border-radius:10px; background:#dce8f1 center/cover no-repeat; display:block; }
.gx-corner__i span{ position:absolute; left:7px; bottom:7px; background:rgba(0,0,0,.6); color:#fff; font-size:11px; padding:3px 7px; border-radius:6px; }

.getrix-embed{ position:relative; padding-top:56.25%; border-radius:var(--gx-radius); overflow:hidden; }
.getrix-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.getrix-map iframe{ width:100%; height:340px; border:0; border-radius:var(--gx-radius); }

.gx-sp-actions{ display:flex; gap:12px; padding:20px 0; border-top:1px solid var(--gx-line); flex-wrap:wrap; }
.gx-aopt{ display:inline-flex; align-items:center; gap:7px; background:#fff; border:1px solid var(--gx-line);
  border-radius:10px; padding:10px 16px; color:var(--gx-ink); font-weight:600; cursor:pointer; }
.gx-aopt:hover{ border-color:var(--gx-blue); color:var(--gx-blue); }
.gx-aopt .gx-ic{ color:var(--gx-blue); }

.getrix-grid--similar{ grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }

.gx-quicklinks__grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:10px; }
.gx-quicklink{ display:block; padding:12px 14px; background:var(--gx-bg); border:1px solid var(--gx-line);
  border-radius:10px; color:var(--gx-blue); text-decoration:none; font-size:14px; font-weight:600; }
.gx-quicklink:hover{ background:#fff; border-color:var(--gx-blue); }

/* contact box */
.gx-contact{ background:#fff; border:1px solid var(--gx-line); border-radius:var(--gx-radius);
  padding:20px; box-shadow:0 8px 26px rgba(0,111,183,.08); }
.gx-contact__h{ font-size:16px; margin:0 0 16px; color:var(--gx-ink); }
.gx-contact__agent{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.gx-contact__avatar{ width:44px; height:44px; border-radius:50%; background:var(--gx-blue); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:18px; }
.gx-contact__name{ font-weight:700; color:var(--gx-ink); }
.gx-btn-email,.gx-btn-phone{ display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; padding:13px; border-radius:11px; text-decoration:none; font-weight:700; margin-bottom:10px; color:#fff; }
.gx-btn-email{ background:#006FB7; } .gx-btn-email:hover{ filter:brightness(1.07); color:#fff; }
.gx-btn-phone{ background:#FF6505; } .gx-btn-phone:hover{ filter:brightness(1.07); color:#fff; }
.gx-btn-email .gx-ic,.gx-btn-phone .gx-ic{ color:#fff; }
.gx-contact__ref{ margin-top:6px; font-size:13px; color:var(--gx-muted); text-align:center; }

/* ============ RESPONSIVE ============ */
@media (max-width:980px){
  .gx-sp{ grid-template-columns:1fr; }
  .gx-sp__side{ position:static; order:-1; }
  .gx-contact{ box-shadow:none; }
}
@media (max-width:680px){
  .gx-hero{ grid-template-columns:1fr; height:auto; }
  .gx-hero__main{ height:260px; }
  .gx-hero__thumbs{ grid-template-rows:none; grid-template-columns:repeat(4,1fr); }
  .gx-hero__thumb{ height:70px; }
  .gx-sp-price{ margin-left:0; text-align:left; }
  .gx-sp-head__t{ gap:8px; }
  .gx-sp-title{ font-size:21px; }
  .getrix-filters .gx-f,.getrix-filters .gx-search,.getrix-filters .gx-num{ flex:1 1 100%; }
  .gx-reset{ width:100%; }
  .getrix-gallery{ grid-template-columns:repeat(2,1fr); }
}
