@layer yg-shell {
 @media(min-width:1101px),(pointer:fine){
  body.yg-shell-active>header#header.site-header,body.yg-shell-active>#yg-shared-desktop-footer{visibility:visible!important;display:block!important}
  body.yg-shell-active>footer#footer{display:none!important}
  body.yg-shell-active>#yg-desktop-root{display:block!important}
  body.yg-shell-native>#yg-desktop-root{display:contents!important}
  body.yg-shell-native>#yg-desktop-root>.homepage-object-overlay{display:contents!important}
  body.yg-shell-active.yg-shell-native>main{display:block!important;visibility:visible!important}
  body.yg-shell-app>main{display:none!important}
  body.yg-shell-app>#yg-desktop-root{padding-top:85px!important;min-height:calc(100svh - var(--wp-admin--admin-bar--height,0px))!important}
  body.yg-shell-native:not(.home):not(.yg-pc-cover-page):not(.ygmd-v5-active)>main{padding-top:85px}
  body.yg-shell-active #yg-shared-desktop-footer{margin-top:0!important}
  #yg-shell-status{position:fixed;left:0;right:0;top:calc(85px + var(--wp-admin--admin-bar--height,0px));height:2px;z-index:1001;pointer-events:none;background:#1686e9;transform:scaleX(0);transform-origin:left;opacity:0;transition:opacity .18s,transform .7s ease}
  body.yg-shell-loading #yg-shell-status{opacity:1;transform:scaleX(.84)}
  /* Shared shell header is z1000; every object dialog must cover it. */
  body.yg-shell-active .modal-backdrop{z-index:1100!important}
  body.yg-shell-active .modal-backdrop.lightbox-modal{z-index:1130!important}
  body.yg-shell-active main[aria-busy=true]{cursor:progress}
  body.yg-shell-active main h1[tabindex="-1"]:focus{outline:none!important}
 }
}
@media(prefers-reduced-motion:reduce){#yg-shell-status{transition:none}}

/* Desktop quick view */
.qd-drawer *{box-sizing:border-box}
.qd-drawer h2,.qd-drawer h3,.qd-drawer p,.qd-drawer dl,.qd-drawer dd{margin:0}
.qd-drawer button,.qd-drawer input{font:inherit;color:inherit}
.qd-drawer button{cursor:pointer}
.qd-drawer a{color:inherit;text-decoration:none}
.qd-drawer [hidden]{display:none!important}
.qd-drawer :focus-visible{outline:2px solid #e3e3e3;outline-offset:3px}
.qd-drawer{position:absolute;inset:0 0 0 auto;width:min(var(--width,520px),100%);height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;
  --surface:#202528;--head:#242a2e;--footer:#252b2f;--ink:#f5f7f8;--muted:#bac3c9;--line:#49535b;--soft-line:#3b444b;--price-panel:#272f35;--accent:#a5d5ff;
  background:var(--surface);color:var(--ink);transform:translate3d(101%,0,0);
  transition:transform 525ms cubic-bezier(.19,.86,.24,1),visibility 0s 525ms;visibility:hidden;
  border-left:1px solid #6b747b;box-shadow:-16px 0 52px #0005
}
.qd-drawer .qd-drawer-head{padding:15px 19px;display:flex;gap:8px;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--soft-line);background:var(--head)}
.qd-drawer .qd-identity{min-width:0;display:grid;gap:5px}
.qd-drawer .qd-identity-project{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px}
.qd-drawer .qd-identity h2{font-size:27px;line-height:1.15;letter-spacing:-.045em;white-space:normal}
.qd-drawer .qd-identity p{color:var(--muted);font-size:12px}
.qd-drawer .qd-status{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;font-weight:700}
.qd-drawer .qd-status::before{content:"";width:6px;height:6px;border-radius:50%;background:#c2c2c2}
.qd-drawer .qd-head-tools{display:flex;gap:6px}
.qd-drawer .qd-icon-btn{height:34px;width:34px;padding:0;display:inline-grid;place-items:center;flex-shrink:0;border-radius:50%;border:1px solid var(--line);background:transparent}
.qd-drawer .qd-icon-btn:hover{background:color-mix(in srgb,var(--surface),var(--ink) 12%)}
.qd-drawer .qd-icon-btn[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}
.qd-drawer .qd-drawer-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:14px 19px 19px;display:grid;align-content:start;gap:11px}
.qd-drawer .qd-gallery{display:grid;gap:7px;min-width:0}
.qd-drawer .qd-main-image{position:relative;display:block;width:100%;height:clamp(182px,31.3vh,288px);padding:0;overflow:hidden;background:#fbfaf8;color:#2b3034;border:1px solid #9da4a7;border-radius:11px}
.qd-drawer .qd-main-image img{display:block;width:100%;height:100%;object-fit:contain;padding:5px 16px}
.qd-drawer .qd-main-image.qd-is-photo img{object-fit:cover;padding:0}
.qd-drawer .qd-zoom{position:absolute;right:9px;bottom:9px;display:grid;place-items:center;width:34px;height:34px;color:#fff;background:#1c232ade;border-radius:7px}
.qd-drawer .qd-gallery-bar{display:grid;grid-template-columns:29px minmax(0,1fr) 29px;gap:7px;align-items:center}
.qd-drawer .qd-gallery-bar .qd-icon-btn{width:29px;height:29px}
.qd-drawer .qd-gallery-bar .qd-icon-btn svg{width:15px;height:15px}
.qd-drawer .qd-thumbs{position:relative;display:flex;gap:6px;padding:2px;overflow-x:auto;scrollbar-width:none}
.qd-drawer .qd-thumbs::-webkit-scrollbar{display:none}
.qd-drawer .qd-thumb{padding:0;overflow:hidden;height:43px;flex:0 0 64px;background:#f1f1ec;border:1px solid var(--line);border-radius:7px}
.qd-drawer .qd-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.qd-drawer .qd-thumb[aria-current=true]{outline:2px solid #e4e4e4;outline-offset:0}
.qd-drawer .qd-slide-caption{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;line-height:1.4;color:var(--muted)}
.qd-drawer .qd-counter{white-space:nowrap;font-variant-numeric:tabular-nums}
.qd-drawer .qd-cost{display:grid;gap:8px;min-width:0}
.qd-drawer .qd-cost-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.qd-drawer .qd-price-cell,.qd-drawer .qd-mortgage-cell{min-width:0;display:grid;align-content:start;gap:3px;padding:11px 12px;background:var(--price-panel);border:1px solid var(--line);border-radius:10px}
.qd-drawer .qd-mortgage-cell{align-content:center}
.qd-drawer .qd-term-label,.qd-drawer .qd-previous,.qd-drawer .qd-est-terms{font-size:11px;font-weight:600;line-height:1.35;color:var(--muted)}
.qd-drawer .qd-term-label{font-weight:700;color:var(--ink)}
.qd-drawer .qd-previous{width:max-content;text-decoration-thickness:1px}
.qd-drawer .qd-amount{color:var(--ink);white-space:nowrap;font-size:clamp(20px,2.25vw,32px);line-height:1.17;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.qd-drawer .qd-finance-trigger{border:0;background:transparent;padding:0}
.qd-drawer .qd-repair-toggle{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 11px;border-radius:9px;border:1px solid var(--line);cursor:pointer;transition:border-color .22s ease,background .22s ease}
.qd-drawer .qd-repair-copy{display:grid;gap:2px;font-size:13px;line-height:1.25}
.qd-drawer .qd-repair-copy > span{font-size:11px;color:var(--muted)}
.qd-drawer .qd-repair-control{position:absolute;right:11px;top:50%;transform:translateY(-50%);width:42px;height:27px;opacity:0;cursor:pointer;margin:0}
.qd-drawer .qd-track{pointer-events:none;width:43px;height:25px;flex-shrink:0;border-radius:20px;background:#5a656e;box-shadow:inset 0 0 0 1px #ffffff42;transition:background .25s ease}
.qd-drawer .qd-track::after{display:block;content:"";height:19px;width:19px;margin:3px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0003;transform:translateX(0);transition:transform .27s cubic-bezier(.26,.8,.3,1)}
.qd-drawer .qd-repair-control:checked + .qd-track{background:#1178c9}
.qd-drawer .qd-repair-control:checked + .qd-track::after{transform:translateX(18px)}
.qd-drawer .qd-repair-control:focus-visible + .qd-track{outline:2px solid #e3e3e3;outline-offset:3px}
.qd-drawer .qd-calculator{display:grid;gap:8px;padding:10px;border-radius:10px;background:var(--price-panel);border:1px solid var(--line)}
.qd-drawer .qd-calculator fieldset{margin:0;padding:0;border:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.qd-drawer .qd-calculator legend{padding:0;padding-bottom:8px;font-weight:700;font-size:14px}
.qd-drawer .qd-calculator fieldset label{display:grid;gap:4px;font-size:11px;color:var(--muted)}
.qd-drawer .qd-calculator input[type=number]{width:100%;border-radius:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:7px}
.qd-drawer .qd-calculator p{font-size:11px;color:var(--muted)}
.qd-drawer .qd-parameters,.qd-drawer .qd-description{display:grid;gap:7px;min-width:0}
.qd-drawer .qd-parameters h3,.qd-drawer .qd-description h3{font-size:16px;line-height:1.2}
.qd-drawer .qd-specs{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;font-size:13px}
.qd-drawer .qd-specs div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid var(--soft-line)}
.qd-drawer .qd-specs dt{color:var(--muted)}
.qd-drawer .qd-specs dd{font-weight:700;text-align:right}
.qd-drawer .qd-description p{font-size:13px;line-height:1.5;color:var(--muted)}
.qd-drawer .qd-drawer-footer{display:flex;align-items:center;gap:9px;padding:11px 19px 13px;border-top:1px solid var(--line);background:var(--footer)}
.qd-drawer .qd-primary,.qd-drawer .qd-object-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:13px;font-weight:700;border-radius:8px;height:43px;border:1px solid var(--line);padding:0 12px}
.qd-drawer .qd-primary{background:#f1f1f1;border-color:#fff;color:#242424}
.qd-drawer .qd-primary:hover{background:#fff}
.qd-drawer .qd-object-link:hover{border-color:var(--accent)}
.qd-drawer .qd-object-link svg{width:16px}
.qd-drawer .qd-footer-tools{display:flex;gap:6px;margin-left:auto}
.qd-drawer .qd-assistant-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-height:785px){
  .qd-drawer .qd-drawer-head{padding-block:10px}
  .qd-drawer .qd-drawer-content{gap:10px;padding-block:10px}
  .qd-drawer .qd-main-image{height:clamp(145px,29vh,226px)}
  .qd-drawer .qd-drawer-footer{padding-block:8px}
  .qd-drawer .qd-primary,.qd-drawer .qd-object-link{height:40px}
}
@media(max-width:650px){
  .qd-drawer{width:100%}
  .qd-drawer .qd-identity h2{font-size:21px}
  .qd-drawer .qd-drawer-head,.qd-drawer .qd-drawer-content,.qd-drawer .qd-drawer-footer{padding-inline:10px}
  .qd-drawer .qd-specs div{display:grid;gap:2px;justify-content:start}
  .qd-drawer .qd-specs dd{text-align:left}
}
@media(prefers-reduced-motion:reduce){
  .qd-drawer,.qd-drawer .qd-track,.qd-drawer .qd-track::after,.qd-drawer .qd-repair-toggle{transition:none!important}
}


/* Compact drawer review */
.qd-drawer{--width:438px;--heart:#ff586c;--section:#272d31}
.qd-drawer .qd-drawer-head,.qd-drawer .qd-drawer-content,.qd-drawer .qd-drawer-footer{padding-inline:14px}
.qd-drawer .qd-drawer-head{padding-block:14px}
.qd-drawer .qd-identity h2{font-size:23px}
.qd-drawer .qd-drawer-content{gap:17px}
.qd-drawer .qd-main-image{height:clamp(165px,29vh,252px)}
.qd-drawer .qd-drawer-footer{box-shadow:0 -6px 18px #0003}
.qd-drawer .qd-cost{gap:9px}
.qd-drawer .qd-cost-row{gap:0;background:var(--price-panel);border:1px solid var(--line);border-radius:11px;overflow:hidden}
.qd-drawer .qd-price-cell,.qd-drawer .qd-mortgage-cell{
  display:grid;grid-template-rows:15px 32px minmax(29px,auto);align-content:start;
  gap:2px;border:0;border-radius:0;padding:11px 10px 8px;background:none
}
.qd-drawer .qd-mortgage-cell{border-left:1px solid var(--line)}
.qd-drawer .qd-price-cell .qd-amount,.qd-drawer .qd-mortgage-cell .qd-amount{font-size:25px;line-height:32px;letter-spacing:-.047em}
.qd-drawer .qd-price-cell .qd-amount{display:block}
.qd-drawer .qd-previous-line{font-size:11px;line-height:1.4;color:var(--muted)}
.qd-drawer .qd-previous-line > span{margin-right:3px}
.qd-drawer .qd-repair-toggle{min-height:50px;padding:8px 10px}
.qd-drawer .qd-detail-section{min-width:0;display:grid;gap:9px;padding-top:13px;border-top:1px solid var(--line)}
.qd-drawer .qd-detail-section h3{font-size:16px;line-height:1.25;letter-spacing:-.02em}
.qd-drawer .qd-detail-section p{line-height:1.57;font-size:13px;color:var(--muted)}
.qd-drawer .qd-specs{display:grid;grid-template-columns:minmax(0,1fr);gap:0;font-size:13px}
.qd-drawer .qd-specs div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:8px 0;border-top:1px solid var(--soft-line)}
.qd-drawer .qd-specs div:first-child{border-top:0}
.qd-drawer .qd-specs dt{color:var(--muted)}
.qd-drawer .qd-specs dt small{display:block;font-size:11px;margin-top:1px}
.qd-drawer .qd-specs dd{font-weight:700;text-align:right;color:var(--ink);white-space:nowrap}
@media(max-height:785px){
  .qd-drawer .qd-drawer-head{padding-block:10px}
  .qd-drawer .qd-drawer-content{gap:13px}
  .qd-drawer .qd-main-image{height:clamp(148px,27vh,216px)}
}
@media(max-width:650px){
  .qd-drawer{width:100%}
  .qd-drawer .qd-drawer-head,.qd-drawer .qd-drawer-content,.qd-drawer .qd-drawer-footer{padding-inline:10px}
}



.qd-drawer{
  --surface:#21262a;--head:#2a3035;--footer:#292f34;--line:#59626a;--soft-line:#424b52;
  --section:#2a3035;--price-panel:#2b3339;--ridge:#ffffff19;
  background:var(--surface);
  box-shadow:-26px 0 58px #0007,-1px 0 0 var(--ridge),inset 2px 0 0 var(--ridge);
}
.qd-drawer .qd-drawer-head{
  background:linear-gradient(160deg,var(--head),var(--surface));
  box-shadow:inset 0 1px 0 var(--ridge),0 5px 13px #0002;
}
.qd-drawer .qd-drawer-content::-webkit-scrollbar{display:none}
.qd-drawer .qd-drawer-footer{
  background:linear-gradient(180deg,var(--footer),var(--head));
  box-shadow:inset 0 1px 0 var(--ridge),0 -8px 18px #0003;
}
.qd-drawer .qd-gallery{
  padding:7px;gap:8px;
  border:1px solid var(--line);border-radius:13px;background:var(--section);
  box-shadow:inset 0 1px 0 var(--ridge),0 5px 10px #0002;
}
.qd-drawer .qd-main-image{height:clamp(160px,27.5vh,239px);border-radius:9px;box-shadow:0 2px 8px #0004}
.qd-drawer .qd-thumb,.qd-drawer .qd-icon-btn,.qd-drawer .qd-primary,.qd-drawer .qd-object-link{
  transition:background-color 170ms ease,color 170ms ease,border-color 170ms ease,box-shadow 170ms ease;
}
.qd-drawer .qd-thumb{height:41px;flex-basis:57px}
.qd-drawer .qd-thumb[aria-current=true]{box-shadow:inset 0 0 0 1px #555}
.qd-drawer .qd-cost-row{box-shadow:inset 0 1px 0 var(--ridge),0 4px 13px #0003}

.qd-drawer .qd-previous-line .qd-previous{color:inherit;text-decoration-thickness:1.15px}
.qd-drawer .qd-repair-toggle{
  background:var(--section);box-shadow:inset 0 1px 0 var(--ridge);
  transition:background 220ms ease,border-color 220ms ease,box-shadow 220ms ease;
}
.qd-drawer [data-action=heart][aria-pressed=true]{
  color:var(--heart);border-color:color-mix(in srgb,var(--heart),transparent 38%);
  background:color-mix(in srgb,var(--heart) 14%,var(--head));
  box-shadow:0 1px 11px color-mix(in srgb,var(--heart),transparent 85%);
}
.qd-drawer [data-action=heart][aria-pressed=true] svg{fill:var(--heart)}
.qd-drawer .qd-primary{box-shadow:0 3px 8px #08141b5e,inset 0 1px 0 #ffffff26}
.qd-drawer .qd-parameters{gap:11px}
.qd-drawer .qd-actual-area{border:1px solid var(--line);border-radius:10px;background:var(--section);padding:9px 10px;box-shadow:inset 0 1px 0 var(--ridge)}
.qd-drawer .qd-actual-area div{display:flex;align-items:baseline;justify-content:space-between;gap:9px}
.qd-drawer .qd-actual-area dt{color:var(--muted);font-size:12px;font-weight:700}
.qd-drawer .qd-actual-area dd{font-size:19px;color:var(--ink);font-weight:700;white-space:nowrap;letter-spacing:-.03em}
.qd-drawer .qd-room-group,.qd-drawer .qd-property-group{display:grid;gap:5px}
.qd-drawer .qd-room-group h4,.qd-drawer .qd-property-group h4{margin:0;font-size:14px;line-height:1.3;font-weight:700}
.qd-drawer .qd-specs div{padding:5px 0}
.qd-drawer .qd-specs dd{font-variant-numeric:tabular-nums}
.qd-drawer .qd-property-group{padding-top:8px;border-top:1px solid var(--soft-line)}
/* Approved detail treatment from the first graphite concept. */
.qd-drawer .qd-description{padding:11px;background:#272e33;border:1px solid var(--line);border-radius:10px;box-shadow:inset 0 1px 0 var(--ridge)}
@media(max-height:785px){
  .qd-drawer .qd-main-image{height:clamp(139px,25vh,200px)}
  .qd-drawer .qd-thumb{height:35px}
}
@media(prefers-reduced-motion:reduce){
  .qd-drawer .qd-thumb,.qd-drawer .qd-icon-btn,.qd-drawer .qd-primary,.qd-drawer .qd-object-link,.qd-drawer .qd-repair-toggle{transition:none!important}
}
.qd-drawer{
  overflow:hidden;border-radius:22px 0 0 22px;
  --ink:#f5f5f5;--muted:#c1c1c1;--line:#646464;--soft-line:#555;--accent:#e7e7e7;
  --glass-edge:#d4d4d473;
  --glass-pane:linear-gradient(150deg,#e8e8e844 0%,#aaaaaa23 44%,#2222224d 100%);
  --glass-elevation:inset 0 1px 0 #fff3,inset 0 -1px 0 #0004,0 8px 18px #0808084d;
  border-left:1px solid #dedede56;
  background:linear-gradient(150deg,#373737 0%,#2a2a2a 48%,#202020 100%);
  box-shadow:-25px 0 65px #040a0ba1,inset 1px 0 0 #ffffff29;
}
@supports (backdrop-filter: blur(1px)){
  .qd-drawer{
    background:linear-gradient(150deg,#30303075 0%,#23232391 49%,#171717c4 100%);
    backdrop-filter:blur(20px) saturate(.25) brightness(.76);
  }
}
.qd-drawer .qd-drawer-head{
  background:linear-gradient(155deg,#ededed1a,#20202038);
  border-bottom-color:#d4d4d444;
  padding-block:17px 14px;
}
.qd-drawer .qd-gallery{padding:8px}
.qd-drawer :is(.qd-gallery,.qd-price-cell,.qd-mortgage-cell,.qd-repair-toggle,.qd-actual-area,.qd-description,.qd-calculator){
  border:1px solid var(--glass-edge);
  border-radius:14px;
  background:var(--glass-pane);
  box-shadow:var(--glass-elevation);
}
.qd-drawer .qd-main-image{border-radius:9px}
.qd-drawer .qd-slide-caption{padding:0 2px 1px}
.qd-drawer .qd-cost-row{gap:8px;overflow:visible;border:0;background:none;box-shadow:none}
.qd-drawer .qd-price-cell,.qd-drawer .qd-mortgage-cell{
  padding:11px 9px 10px;grid-template-rows:16px 32px 31px;gap:2px;justify-items:center;text-align:center;
}

.qd-drawer .qd-term-label{font-size:12px;font-weight:700;line-height:16px;color:var(--muted)}
.qd-drawer .qd-amount{font-size:25px;line-height:32px;color:var(--ink)}
.qd-drawer .qd-previous-line{font-size:11px;line-height:17px;color:var(--muted);align-self:center}
.qd-drawer .qd-previous-line .qd-previous{color:#de9696}
.qd-drawer .qd-finance-trigger{
  min-height:31px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;
  border:1px solid #d9d9d980;border-radius:7px;background:#ffffff16;color:#f3f3f3;
  font-size:11px;font-weight:700;white-space:nowrap;
  transition:background-color 160ms ease,border-color 160ms ease;
}
.qd-drawer .qd-finance-trigger:hover,.qd-drawer .qd-finance-trigger[aria-expanded=true]{
  background:#ffffff30;border-color:#eeeeee;
}
.qd-drawer .qd-terms-chevron{display:inline-flex;transform:rotate(90deg);transition:transform 160ms ease}
.qd-drawer .qd-terms-chevron svg{width:12px;height:12px}
.qd-drawer .qd-finance-trigger[aria-expanded=true] .qd-terms-chevron{transform:rotate(-90deg)}

.qd-drawer .qd-detail-section :is(h3,h4){text-align:center;color:var(--ink)}
@media(prefers-reduced-motion:reduce){.qd-drawer .qd-finance-trigger,.qd-drawer .qd-terms-chevron{transition:none}}

.qd-drawer .qd-repair-control:checked + .qd-track{background:#34c759}
.qd-drawer .qd-drawer-footer{
  position:relative;
  background:linear-gradient(153deg,#4b4b4ba8,#202020d1 83%);
  border-top-color:#d3d3d37a;
}
.qd-drawer .qd-drawer-footer::before{
  content:"";position:absolute;pointer-events:none;left:0;right:0;bottom:100%;height:19px;
  background:linear-gradient(transparent,#222222b3);opacity:0;transition:opacity 140ms ease;
}
.qd-drawer.qd-has-more .qd-drawer-footer::before{opacity:1}
@media(max-height:785px){.qd-drawer .qd-drawer-head{padding-block:12px 10px}}
@media(max-width:650px){.qd-drawer{border-radius:0}}
@media(prefers-reduced-motion:reduce){.qd-drawer .qd-drawer-footer::before{transition:none}}


.modal-backdrop.quick-modal:has(>.modal>.qd-drawer){
  position:fixed!important;inset:0!important;width:auto!important;height:100dvh!important;
  display:flex!important;align-items:stretch!important;justify-content:flex-end!important;
  padding:0!important;overflow:hidden!important;background:linear-gradient(90deg,#0a101141,#1017182b)!important;
  backdrop-filter:none!important;
}
.quick-modal:has(.qd-drawer)>.modal{
  position:relative!important;width:min(438px,100vw)!important;max-width:auto!important;height:100dvh!important;max-height:100dvh!important;
  margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important;
  border:0!important;border-radius:22px 0 0 22px!important;box-shadow:none!important;backdrop-filter:none!important;
  animation:qd-slide-in .52s cubic-bezier(.19,.86,.24,1) both;
}
.quick-modal:has(.qd-drawer)>.modal:focus{outline:none}
.quick-modal:has(.qd-drawer)>.modal>.close{
  position:absolute!important;top:16px!important;right:14px!important;z-index:4;
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  padding:0;display:grid;place-items:center;color:#f5f5f5;
  border:1px solid #777;background:#ffffff08;border-radius:50%;
}
.quick-modal:has(.qd-drawer)>.modal>.close svg{height:19px;width:19px}
.quick-modal:has(.qd-drawer)>.modal>.close:hover{background:#ffffff28}
.qd-drawer{
  width:100%;height:100%;position:relative;inset:auto;
  visibility:visible;transform:none;transition:none;font-family:Manrope,Arial,sans-serif;
}
.qd-drawer .qd-drawer-head{padding-right:54px}
.qd-drawer .qd-identity h2{margin:0;letter-spacing:-.045em}
.qd-drawer .qd-main-image img{animation:qd-photo-in .24s ease-out both}
.qd-drawer .qd-cost-row.qd-single-cost{grid-template-columns:minmax(0,1fr)}
.qd-drawer .qd-finance-trigger span{font-size:15px}
.qd-drawer .qd-calculator fieldset{grid-template-columns:1fr 1fr}
.qd-drawer .qd-finish p,.qd-drawer .qd-description p{overflow-wrap:anywhere}
.qd-drawer .qd-drawer-content{overscroll-behavior:contain}
.qd-drawer .qd-identity,.qd-drawer .qd-gallery,.qd-drawer .qd-cost-row,.qd-drawer .qd-cost>.qd-repair-toggle{
  animation:qd-pane-in .43s cubic-bezier(.22,.7,.26,1) both;
}
.qd-drawer .qd-gallery{animation-delay:.045s}
.qd-drawer .qd-cost-row{animation-delay:.11s}
.qd-drawer .qd-cost>.qd-repair-toggle{animation-delay:.18s}
.qd-drawer .qd-favorite[aria-pressed=true] svg{animation:qd-heart .33s ease-out both}
body:has(.quick-modal .qd-drawer) :is(.selection-dock,.yg-selection-dock){visibility:hidden!important;pointer-events:none!important}
@keyframes qd-slide-in{from{transform:translateX(101%)}to{transform:translateX(0)}}
@keyframes qd-pane-in{from{opacity:.55;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes qd-photo-in{from{opacity:.55}to{opacity:1}}
@keyframes qd-heart{0%{transform:scale(.78)}58%{transform:scale(1.2)}100%{transform:scale(1)}}
@media(max-height:785px){.quick-modal:has(.qd-drawer)>.modal>.close{top:12px!important}}
@media(prefers-reduced-motion:reduce){
  .quick-modal:has(.qd-drawer)>.modal,.qd-drawer *{animation:none!important}
}


/* Keep the drawer controls independent of the shared button and heading styles. */
.quick-modal .qd-drawer .qd-identity h2{font:700 23px/1.15 Manrope,Arial,sans-serif!important;letter-spacing:-.045em!important}
.quick-modal .qd-drawer .qd-detail-section h3{font:700 16px/1.25 Manrope,Arial,sans-serif!important;letter-spacing:-.02em!important}
.quick-modal .qd-drawer .qd-drawer-content h4{font:700 14px/1.3 Manrope,Arial,sans-serif!important}
.quick-modal .qd-drawer .qd-main-image{background:#fbfaf8!important;border:1px solid #9da4a7!important;border-radius:9px!important}
.quick-modal .qd-drawer .qd-icon-btn{
  background:#ffffff06!important;color:#f5f5f5!important;border:1px solid #707070!important;border-radius:50%!important;
}
.quick-modal .qd-drawer .qd-icon-btn:hover{background:#ffffff25!important}
.quick-modal .qd-drawer .qd-icon-btn.qd-favorite[aria-pressed=true]{color:#ff586c!important;border-color:#ff586c9f!important;background:#ff586c1c!important}
#yg-desktop-root .quick-modal .qd-drawer .qd-previous-line del{color:#de9696!important;-webkit-text-fill-color:#de9696!important}
.quick-modal .qd-drawer .qd-finance-trigger{
  font:700 11px/1 Manrope,Arial,sans-serif!important;color:#f3f3f3!important;
  background:#ffffff16!important;border:1px solid #d9d9d980!important;border-radius:7px!important;
}
.quick-modal .qd-drawer .qd-finance-trigger:is(:hover,[aria-expanded=true]){background:#ffffff30!important;border-color:#eee!important}
.quick-modal .qd-drawer .qd-primary,.quick-modal .qd-drawer .qd-object-link{
  font:700 13px/1 Manrope,Arial,sans-serif!important;border-radius:8px!important;
}
.quick-modal .qd-drawer .qd-primary{background:#f1f1f1!important;color:#242424!important;-webkit-text-fill-color:#242424!important;border:1px solid #fff!important}
.quick-modal .qd-drawer .qd-primary:hover{background:#fff!important}
.quick-modal .qd-drawer .qd-object-link{background:transparent!important;color:#f5f5f5!important;border:1px solid #777!important}
.quick-modal .qd-drawer .qd-object-link:hover{background:#ffffff16!important}



/* Match the shared glass cards on the home page. */
#yg-desktop-root .quick-modal .qd-drawer{
  --qd-native-edge:rgba(233,245,244,.58);
  --qd-native-fill:linear-gradient(132deg,rgba(235,245,244,.15) 0%,rgba(225,239,237,.055) 26%,rgba(14,27,29,.13) 58%,rgba(8,19,22,.26) 100%);
  --qd-native-shadow:inset 0 1px rgba(255,255,255,.66),inset 1px 0 rgba(244,253,252,.24),inset -1px 0 rgba(228,241,241,.08),inset 0 -1px rgba(0,8,12,.46),0 3px 5px rgba(0,0,0,.16),0 16px 26px -12px rgba(0,0,0,.48),0 32px 54px -24px rgba(0,0,0,.64);
  --ink:#f4f6f5;
  --muted:#c2cecc;
  --soft-line:#e5eeeb45;
  --line:#eaf2ef90;
  background:linear-gradient(150deg,#132327,#091719);
  border-left-color:#e9f5f475;
  box-shadow:-25px 0 65px #040a0b8c,inset 1px 0 0 #eff9f330;
}
@supports (backdrop-filter:blur(1px)){
  #yg-desktop-root .quick-modal .qd-drawer{
    background:linear-gradient(150deg,#112224a8 0%,#0b1b1dc2 46%,#08171adb 100%);
    backdrop-filter:blur(12px) saturate(1.08);
  }
}
#yg-desktop-root .quick-modal .qd-drawer :is(.qd-drawer-head,.qd-drawer-footer){
  background:linear-gradient(130deg,#152528e2,#0e1b1df2);
  border-color:#e9f5f475;
}
#yg-desktop-root .quick-modal .qd-drawer.qd-has-more .qd-drawer-footer::before{
  background:linear-gradient(transparent,#0d1b1cb3);
}
#yg-desktop-root .quick-modal .qd-drawer :is(.qd-gallery,.qd-price-cell,.qd-mortgage-cell,.qd-repair-toggle,.qd-actual-area,.qd-description,.qd-calculator){
  border:1px solid var(--qd-native-edge);
  border-radius:12px;
  background:var(--qd-native-fill);
  box-shadow:var(--qd-native-shadow);
}
#yg-desktop-root .quick-modal .qd-drawer :is(.qd-amount,.qd-actual-area dd){
  color:#f4f6f5!important;-webkit-text-fill-color:#f4f6f5!important;
}
#yg-desktop-root .quick-modal .qd-drawer .qd-primary{
  color:#172022!important;-webkit-text-fill-color:#172022!important;
  background:#f8faf9!important;border:1px solid #eaf2efb3!important;border-radius:9px!important;
  box-shadow:inset 0 1px #fff,0 3px 12px #0000001f;
}
#yg-desktop-root .quick-modal .qd-drawer :is(.qd-object-link,.qd-finance-trigger){
  background:#ffffff09!important;border:1px solid #eaf2efb3!important;border-radius:9px!important;
  box-shadow:inset 0 1px #ffffff1a;
}
#yg-desktop-root .quick-modal .qd-drawer :is(.qd-object-link,.qd-finance-trigger):is(:hover,[aria-expanded=true]){
  background:#ffffff22!important;
}
#yg-desktop-root .quick-modal .qd-drawer .qd-favorite[aria-pressed=true]{
  color:#ef4d63!important;border-color:#ef4d6380!important;background:#ef4d631c!important;
}
#yg-desktop-root .quick-modal .qd-drawer .qd-favorite[aria-pressed=true] :is(svg,svg path){
  color:#ef4d63!important;fill:#ef4d63!important;stroke:#ef4d63!important;
}
#yg-desktop-root .quick-modal .qd-drawer .qd-favorite[aria-pressed=false] :is(svg,svg path){
  color:#f4f6f5!important;fill:none!important;stroke:#f4f6f5!important;
}
body.admin-bar .modal-backdrop.quick-modal:has(>.modal>.qd-drawer){
  top:var(--wp-admin--admin-bar--height,32px)!important;height:auto!important;
}
body.admin-bar .quick-modal:has(.qd-drawer)>.modal{
  height:100%!important;max-height:100%!important;
}

#yg-desktop-root .quick-modal .qd-drawer .qd-specs dt { min-width: 0; overflow-wrap: anywhere; }
#yg-desktop-root .quick-modal .qd-drawer .qd-specs dd { min-width: 0; max-width: 56%; white-space: normal; overflow-wrap: anywhere; }
#yg-desktop-root .quick-modal .qd-drawer .qd-plan-note { color: var(--muted); font-size: 12px; line-height: 1.45; }

@media (min-width: 981px) {
  .yg-desktop-select {
    --yg-picker-background: linear-gradient(135deg,#263a3e,#102024);
    --yg-picker-outline: #dcece697;
    --yg-picker-ink: #f4f6f5;
    --yg-picker-accent: #dcece7;
    border-radius: 8px;
    cursor: pointer;
  }
  .yg-desktop-select option { color: #f4f6f5; background: #223539; }
  #yg-mortgage-approved :is(.form-body,.bank-inline) :is(.number-field,select.yg-desktop-select),
  #yg-mortgage-approved .catalogue-chooser .dc-area input[type=text] {
    color: #f4f6f5;
    border-color: #b7cec088;
    background: linear-gradient(145deg,#324448,#1d3034);
    box-shadow: inset 0 1px #eefbf320;
    transition: border-color .18s ease, box-shadow .18s ease;
  }
  #yg-mortgage-approved :is(.form-body,.bank-inline) .number-field,
  #yg-mortgage-approved :is(.form-body,.bank-inline) select.yg-desktop-select { border-radius: 8px; }
  #yg-mortgage-approved :is(.form-body,.bank-inline) .number-field:focus-within,
  #yg-mortgage-approved :is(.form-body,.bank-inline,.catalogue-chooser) select.yg-desktop-select:focus-visible,
  #yg-mortgage-approved .catalogue-chooser .dc-area input[type=text]:focus {
    border-color: #bce4d7;
    box-shadow: 0 0 0 2px #bce4d738, inset 0 1px #eefbf328;
    outline: none;
  }
  #yg-mortgage-approved :is(.form-body,.bank-inline) .number-field.invalid {
    border-color: #ffb1ad;
    box-shadow: 0 0 0 2px #ed8b8041;
  }
  #yg-mortgage-approved :is(.form-body,.bank-inline) .number-field :is(.numeric-rolling,input) {
    color: #f4f6f5;
    font-variant-numeric: tabular-nums;
  }
  #yg-mortgage-approved :is(.form-body,.bank-inline) .number-field .numeric-editor:not(:focus-within) input {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  #yg-mortgage-approved :is(.form-body,.bank-inline) .number-field .numeric-editor:focus-within input {
    color: #f4f6f5;
    -webkit-text-fill-color: #f4f6f5;
    caret-color: #bce4d7;
  }
  #yg-mortgage-approved .bank-inline .stepper button {
    color: #f4f6f5;
    border-color: #b7cec088;
    border-radius: 8px;
    background: linear-gradient(145deg,#324448,#1d3034);
  }
  #yg-mortgage-approved .bank-inline .stepper button:focus-visible { outline: 2px solid #bce4d7; outline-offset: 2px; }
  #yg-mortgage-approved .bank-inline .stepper button:disabled { opacity: .55; }
  @supports (appearance: base-select) {
    .yg-desktop-select, .yg-desktop-select::picker(select) { appearance: base-select; }
    .yg-desktop-select::picker-icon {
      color: #e3f3ee;
      transition: rotate .18s ease;
    }
    .yg-desktop-select:open::picker-icon { rotate: 180deg; }
    .yg-desktop-select::picker(select) {
      margin: 5px 0;
      border: 1px solid var(--yg-picker-outline);
      border-radius: 12px;
      padding: 5px;
      background: var(--yg-picker-background);
      color: var(--yg-picker-ink);
      font: 600 13px/1.35 Manrope, sans-serif;
      box-shadow: inset 0 1px #fff4, 0 12px 26px #02080999;
      max-height: min(300px, 45vh);
      overflow-y: auto;
      scrollbar-width: thin;
      animation: yg-desktop-picker-open .22s cubic-bezier(.22,.72,.25,1) both;
    }
    .yg-desktop-select option {
      gap: 8px;
      min-height: 35px;
      padding: 8px;
      border-radius: 6px;
      background: transparent;
      color: var(--yg-picker-ink);
    }
    .yg-desktop-select option:checked {
      background: var(--yg-picker-accent);
      color: #172528;
    }
    .yg-desktop-select option:not(:checked):is(:hover,:focus-visible) { background: #def5ef27; }
    .yg-desktop-select option::checkmark { order: 2; margin-left: auto; }
    .yg-desktop-select option:checked::checkmark { color: #172528; -webkit-text-fill-color: #172528; font-weight: 800; }
  }
}
@keyframes yg-desktop-picker-open {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  @supports (appearance: base-select) {
    .yg-desktop-select::picker(select) { animation: none; }
    .yg-desktop-select::picker-icon { transition: none; }
  }
}

@media (min-width: 981px) {
  #yg-desktop-root .quick-modal .qd-drawer .qd-calculator fieldset {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
  }
  #yg-desktop-root .quick-modal .qd-drawer .qd-term-tile {
    min-width: 0;
    display: grid;
    align-content: space-between;
    gap: 5px;
    padding: 7px 8px;
    border: 1px solid #d8eee266;
    border-radius: 8px;
    background: linear-gradient(132deg,#ebf5f426,#e1efed0c 27%,#0e1b1d21 59%,#08131642);
    box-shadow: inset 0 1px #f4fbf32c;
    color: #d6e2df;
    font: 600 11px/1.25 Manrope, sans-serif;
  }
  #yg-desktop-root .quick-modal .qd-drawer .qd-term-tile span { color: #d6e2df; }
  #yg-desktop-root .quick-modal .qd-drawer .qd-term-editor {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #d7ebdc56;
  }
  #yg-desktop-root .quick-modal .qd-drawer .qd-term-tile :is(input,select) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    margin: 0;
    padding: 4px 2px;
    font: 700 16px/1.3 Manrope, sans-serif;
    font-variant-numeric: tabular-nums;
    color: #f4f6f5;
    background: transparent;
    border: 0;
  }
  #yg-desktop-root .quick-modal .qd-drawer .qd-term-tile select { padding-inline: 4px 6px; }
  #yg-desktop-root .quick-modal .qd-drawer .qd-term-tile :is(input,select):focus-visible { outline: 2px solid #cce9e0; }
  #yg-desktop-root .quick-modal .qd-drawer .qd-rate-tile > strong {
    align-self: center; color: #d3eee4; font-size: 22px; font-weight: 750; line-height: 1.3;
  }
  #yg-desktop-root .quick-modal .qd-drawer .qd-calculator { animation: yg-desktop-picker-open .22s ease both; }
  .yg-desktop-layer .glass-select-menu {
    border: 1px solid #dcece697!important;
    border-radius: 12px!important;
    padding: 5px!important;
    background: linear-gradient(135deg,#263a3e,#102024)!important;
    box-shadow: inset 0 1px #fff4, 0 12px 26px #02080999!important;
    animation: yg-desktop-picker-open .22s cubic-bezier(.22,.72,.25,1) both!important;
  }
  .yg-desktop-layer .glass-select-menu [role=option] {
    border-radius: 6px!important;
    color: #f4f6f5!important;
    font: 600 13px/1.35 Manrope,sans-serif!important;
  }
  body:is(.yg-desktop-ready,.yg-desktop-overlay-ready) :is(#yg-desktop-root,.yg-desktop-layer) .glass-select-menu [role=option][aria-selected=true] {
    color: #172528!important;
    -webkit-text-fill-color: #172528!important;
    background: #dcece7!important;
  }
  body:is(.yg-desktop-ready,.yg-desktop-overlay-ready) :is(#yg-desktop-root,.yg-desktop-layer) .glass-select-menu [role=option][aria-selected=true] :is(span,svg,svg path) {
    color: #172528!important;
    -webkit-text-fill-color: #172528!important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #yg-desktop-root .quick-modal .qd-drawer .qd-calculator { animation: none; }
  .yg-desktop-layer .glass-select-menu { animation: none!important; }
}


/* Vertical cards in the desktop property catalogue. The explicit list view uses its own card renderer. */
#yg-desktop-root .property-grid:not(.list-view):has(> .vcat-card){
  --vcat-min:clamp(200px,16.9vw,242px);
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--vcat-min)),1fr))!important;
  gap:clamp(10px,.9vw,15px)!important;
  grid-template-rows:none!important;grid-auto-rows:auto!important;align-items:stretch;
}
#yg-desktop-root .property-grid>.vcat-card{
  display:flex!important;flex-direction:column;min-width:0;max-width:none;min-height:0!important;
  height:auto!important;grid-template-columns:none!important;gap:8px!important;padding:9px!important;
  border:1px solid #e9f5f48a!important;border-radius:12px!important;overflow:hidden;
  background:linear-gradient(132deg,#ebf5f426,#0e1b1d21),#172427!important;
  box-shadow:inset 0 1px #ffffffa8,0 8px 16px #0004!important;backdrop-filter:none!important;
}
#yg-desktop-root .property-grid>.vcat-card>*{min-width:0}
#yg-desktop-root .vcat-card .vcat-media{position:relative;overflow:hidden;border-radius:7px;flex:none;aspect-ratio:3/2;background:#f2f5f3}
#yg-desktop-root .vcat-card .vcat-preview{
  display:block!important;width:100%!important;height:100%!important;position:static!important;inset:auto!important;
  padding:0!important;border:none!important;border-radius:0!important;background:#f2f5f3!important;
}
#yg-desktop-root .vcat-card .vcat-preview img{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;transition:transform .22s ease;
}
#yg-desktop-root .vcat-card .vcat-plan .vcat-preview img{object-fit:contain!important;padding:5px}
#yg-desktop-root .vcat-card .vcat-preview:hover img{transform:scale(1.025)}
#yg-desktop-root .vcat-card .favorite-control{
  position:absolute!important;top:7px!important;right:7px!important;left:auto!important;z-index:2;
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;
  display:grid!important;place-items:center;border:1px solid #f3faf636!important;border-radius:50%!important;
  background:#213135ef!important;color:#f4f6f5!important;
}
#yg-desktop-root .vcat-card .favorite-control svg{width:17px;height:17px}
#yg-desktop-root .vcat-card .favorite-control[aria-pressed=true] :is(svg,path){
  color:#ef4d63!important;fill:#ef4d63!important;stroke:#ef4d63!important;
}
#yg-desktop-root .vcat-card .vcat-identity{text-align:center;display:grid;gap:4px}
#yg-desktop-root .vcat-card .vcat-title{
  display:block;min-height:1.25em;align-content:center;
  font:700 clamp(14px,1vw,18px)/1.25 Manrope,Arial,sans-serif!important;
  color:#f3f8f6!important;text-decoration:none;overflow-wrap:anywhere;
}
#yg-desktop-root .vcat-card .vcat-title:hover{text-decoration:underline;text-underline-offset:3px}
#yg-desktop-root .vcat-card .vcat-meta{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:11px}
#yg-desktop-root .vcat-card .vcat-meta>span{max-width:100%;overflow-wrap:anywhere}
#yg-desktop-root .vcat-card .vcat-facts{margin:0!important;border-block:1px solid #d6e1e047;font-size:12px}
#yg-desktop-root .vcat-card .vcat-facts>div{
  display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1fr);gap:4px;align-items:baseline;
  padding:4px 2px;
}
#yg-desktop-root .vcat-card .vcat-facts>div+div{border-top:1px solid #d6e1e047}
#yg-desktop-root .vcat-card .vcat-facts dt{color:#d6e1e0!important}
#yg-desktop-root .vcat-card .vcat-facts dd{margin:0;color:#f3f8f6!important;font-weight:700;text-align:right;overflow-wrap:anywhere}
#yg-desktop-root .vcat-card .vcat-price{
  display:grid;align-content:end;justify-items:center;gap:4px;text-align:center;margin-top:auto;min-height:58px
}
#yg-desktop-root .vcat-card .vcat-price>strong{
  color:#f3f8f6!important;font:700 clamp(18px,1.43vw,25px)/1.15 Manrope,Arial,sans-serif!important;
  overflow-wrap:anywhere;font-variant-numeric:tabular-nums;
}
#yg-desktop-root .vcat-card .vcat-price>small{
  display:block;background:#e1efed22;color:#f2f8fa!important;padding:2px 7px;border-radius:12px;
  font-size:11px;font-weight:700;line-height:1.45;
}
#yg-desktop-root .vcat-card .vcat-price :is(del,.old-price){font-size:12px;line-height:1.15;color:#de9696!important;-webkit-text-fill-color:#de9696!important}
#yg-desktop-root .vcat-card .vcat-actions{
  display:grid;grid-template-columns:minmax(0,1fr) 32px 32px;gap:5px;align-items:stretch;
}
#yg-desktop-root .vcat-card :is(.vcat-details,.vcat-icon){
  display:flex!important;align-items:center;justify-content:center;min-width:0;min-height:34px!important;
  gap:5px;padding:4px!important;border-radius:7px!important;text-decoration:none;
  border:1px solid #e9f5f472!important;color:#f4f6f5!important;background:#ffffff09!important;
}
#yg-desktop-root .vcat-card .vcat-details{
  background:#f8faf9!important;border-color:#f8faf9!important;color:#172022!important;
  -webkit-text-fill-color:#172022!important;font:600 12px/1.2 Manrope,Arial,sans-serif!important;
}
#yg-desktop-root .vcat-card .vcat-details svg{color:#172022!important;stroke:#172022!important}
#yg-desktop-root .vcat-card .vcat-details:hover{background:#dcebe8!important}
#yg-desktop-root .vcat-card .vcat-icon:is(:hover,[aria-pressed=true]){background:#e1efed33!important;border-color:#e9f5f4b3!important}
#yg-desktop-root .vcat-card :is(a,button):focus-visible{outline:2px solid #d5efea!important;outline-offset:-2px!important}
@media(prefers-reduced-motion:reduce){
  #yg-desktop-root .vcat-card .vcat-preview img{transition:none!important}
}

@layer yg-shell {
  /* Clear the project media after the introductory copy has been shown. */
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero {
    --project-intro-delay: 3s;
    --project-intro-fade: 650ms;
    --project-intro-hit-test: auto;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero:has(> .project-hero-gallery img, > .yg-gres-video-surface) > .wrap,
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero .gallery-viewport::after,
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero .yg-gres-video-surface::after {
    /* Keep the delayed state change under the general reduced-motion reset. */
    animation: yg-project-intro-fade var(--project-intro-fade) ease-in-out var(--project-intro-delay) forwards !important;
  }

  /* Transparent breadcrumbs must not intercept clicks on the media. */
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero > .wrap a {
    pointer-events: var(--project-intro-hit-test) !important;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero:has(> .wrap:focus-within) > .wrap,
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero:has(> .wrap:focus-within) .gallery-viewport::after,
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero:has(> .wrap:focus-within) .yg-gres-video-surface::after {
    animation: none !important;
  }

  @keyframes yg-project-intro-fade {
    from { opacity: 1; --project-intro-hit-test: auto; }
    to { opacity: 0; --project-intro-hit-test: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-hero {
      --project-intro-fade: 1ms;
    }
  }
}

@layer yg-shell {
  @media (min-width: 1101px), (pointer: fine) {
    /* The project cover already reserves its own space for the desktop header. */
    html body.yg-shell-app > #yg-desktop-root:has(> .project-page) {
      padding-top: 0 !important;
    }
    html body.yg-shell-app > #yg-desktop-root > .project-page > .project-hero {
      padding-top: calc(var(--header-height) + 25px + var(--wp-admin--admin-bar--height, 0px)) !important;
    }
  }

  :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-property-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
  }
  :is(#yg-desktop-root, .yg-desktop-layer) .project-page .project-property-types > li {
    padding: 6px 11px;
    border: 1px solid #d1e6ec30;
    border-radius: 999px;
    color: #d9e7e8;
    background: #ffffff0a;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Desktop favorites and comparison share the same dialog wrapper. */
@media (min-width: 981px) {
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal > .modal {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    align-items: center;
    gap: 13px 14px;
    width: min(var(--selection-width, 767px), calc(100vw - 44px));
    padding: 17px 18px 18px;
  }

  .modal-backdrop.saved-modal > .modal:has(> .saved-empty) { --selection-width: 460px; }
  .modal-backdrop.saved-modal > .modal:has(.compare-grid > article:only-child) { --selection-width: 546px; }
  .modal-backdrop.saved-modal > .modal:has(.compare-grid > article:nth-child(2)) { --selection-width: 668px; }
  .modal-backdrop.saved-modal > .modal:has(.saved-cards > .property-card:nth-child(3), .compare-grid > article:nth-child(3)) { --selection-width: 862px; }
  .modal-backdrop.saved-modal > .modal:has(.saved-cards > .property-card:nth-child(4)) { --selection-width: 1132px; }
  .modal-backdrop.saved-modal > .modal:has(.saved-cards > .property-card:nth-child(5)) { --selection-width: 1390px; }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal > .modal > .eyebrow { display: none; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal > .modal > h2 {
    grid-area: 1 / 1;
    margin: 0;
    font-size: 27px;
    line-height: 1.15;
    white-space: nowrap;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal > .modal > .close {
    top: 16px;
    right: 16px;
    width: 35px;
    height: 35px;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal > .modal > .panel-toolbar {
    grid-area: 1 / 2;
    justify-content: flex-end;
    gap: 6px 8px;
    margin: 0;
    padding: 0 44px 0 0;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal > .modal > .panel-toolbar p {
    margin: 0 auto 0 0;
    font-size: 13px;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal > .modal > .panel-toolbar .button {
    min-height: 35px;
    padding: 6px 9px;
    gap: 5px;
    font-size: 12px;
    white-space: nowrap;
  }

  .modal-backdrop.saved-modal > .modal > .panel-toolbar .button svg { width: 16px; height: 16px; flex: none; }
  .modal-backdrop.saved-modal > .modal > :is(.saved-group, .saved-empty, .compare-grid, .compare-guidance) { grid-column: 1 / -1; min-width: 0; }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .saved-group h3 {
    margin: 0 0 8px;
    font-size: 17px;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .saved-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(202px, 1fr));
    gap: 12px;
    margin: 0;
  }

  .modal-backdrop.saved-modal .saved-cards > .property-card { min-width: 0; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .saved-cards:has(> .property-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .saved-cards:has(> .property-card:only-child) {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 286px);
    margin-inline: auto;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(202px, 1fr));
    gap: 12px;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .compare-grid > article {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 0;
    padding: 10px;
  }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .compare-grid img { height: 143px; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .compare-grid h3 { margin: 8px 0 4px; min-height: 0; font-size: 16px; }
  .modal-backdrop.saved-modal .compare-grid dl { flex: 1; margin: 0; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .compare-grid dl div { gap: 8px; padding: 6px 0; }
  .modal-backdrop.saved-modal .compare-grid dd { min-width: 0; overflow-wrap: anywhere; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .compare-grid .button { margin-top: 8px; min-height: 34px; padding: 6px; }

  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .compare-guidance { margin: 0; padding: 8px 11px; font-size: 13px; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .saved-empty { padding: 12px 0 5px; }
  .modal-backdrop.saved-modal .saved-empty > svg { width: 40px; height: 40px; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .saved-empty h3 { margin: 8px 0 5px; }
  body:is(.yg-desktop-ready, .yg-desktop-overlay-ready) :is(#yg-desktop-root, .yg-desktop-layer) .modal-backdrop.saved-modal .saved-empty p { margin: 0 0 12px; }
}

/* Match the shared desktop footer to the homepage on every route. */
@layer yg-release {
  body.yg-shell-active > #yg-shared-desktop-footer {
    font-family: Manrope, Arial, sans-serif !important;
    line-height: normal !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer * {
    line-height: normal !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer :is(span, strong, small, a, button, svg, path) {
    color: #e5edf1 !important;
    -webkit-text-fill-color: currentColor !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer :is(.yg-df-requisites, .yg-df-requisites *) {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer .yg-df-requisites span {
    color: #d2dce1 !important;
    font-weight: 500 !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer :is(svg, path) {
    stroke: currentColor !important;
    fill: none !important;
    opacity: 1 !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer .yg-df-contact-role small {
    color: #c5d1d7 !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer :is(.yg-df-phone, .yg-df-action) {
    color: #fff !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer .yg-df-action {
    background: rgba(29, 39, 45, .76) !important;
    border-color: rgba(229, 239, 245, .64) !important;
  }

  body.yg-shell-active > #yg-shared-desktop-footer .yg-df-action:hover {
    background: rgba(67, 83, 94, .85) !important;
  }
}

#yg-desktop-root .yg-catalog-v2 {
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

#yg-desktop-root .yg-catalog-v2 > main.ygv-content {
  min-height: 0 !important;
  padding-bottom: 26px !important;
}

#yg-desktop-root .yg-catalog-v2 .ygv-panorama-scene {
  mask-image: linear-gradient(#000 0% 65%, transparent 100%);
}


@layer yg-shell {
  body.yg-shell-app > #yg-desktop-root:has(.yg-catalog-v2) {
    min-height: 0 !important;
  }
}

@layer yg-release {
body.yg-shell-active:has(> #yg-desktop-root .yg-catalog-v2) > #yg-shared-desktop-footer {
  background-image:
    linear-gradient(rgba(17, 23, 25, .59), rgba(17, 23, 25, .65)),
    url("/wp-content/uploads/2026/09/home-anthracite-garden-bg-20260930.webp") !important;
  background-position: center, center 71% !important;
  background-size: cover, 100% auto !important;
  background-repeat: no-repeat !important;
}
}
