:root{--ph-blue:#0047AB;--ph-navy:#06366f;--ph-navy-deep:#031f45;--ph-gold:#C9A227;--ph-gold-light:#f1c957;--ph-red:#d11f2d;--ph-wine:#8B1E2D;--ph-cream:#F7F3E8;--ph-ink:#17375f}
html{font-size:16px}
body.ph39-site,body.ph39-catalog,body.ph39-detail,body.ph39-login{font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;font-size:16px!important;line-height:1.55!important}
body.ph39-site *,body.ph39-catalog *,body.ph39-detail *,body.ph39-login *{font-family:inherit!important;font-kerning:normal!important;font-feature-settings:"kern" 1!important;font-variant-ligatures:normal!important;letter-spacing:normal!important;word-spacing:normal!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;text-transform:none}
h1,h2,h3,.ph39-section-title h2,.detail-title-row h1,.detail-section-head h2{font-family:Georgia,"Times New Roman",serif!important;font-kerning:normal!important}

/* Brand/logo: transparent, balanced, no dark tile */
.ph39-brand,.ph39-brand.footer{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.ph39-brand img{width:192px!important;height:50px!important;object-fit:contain!important;object-position:left center!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 4px 10px rgba(0,0,0,.24)) drop-shadow(0 0 9px rgba(201,162,39,.16))!important}
.ph39-footer .ph39-brand.footer{width:max-content!important;max-width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
.ph39-footer .ph39-brand.footer img{width:220px!important;height:54px!important;object-fit:contain!important;object-position:left center!important;background:transparent!important}

/* Header and primary actions */
.ph39-header{position:sticky!important;top:0!important;z-index:90!important;backdrop-filter:blur(14px);background:linear-gradient(180deg,rgba(5,59,120,.98),rgba(3,42,87,.98))!important}
.ph39-menu a,.ph39-hotline,.ph40-admin-entry{font-size:14px!important}
.ph40-admin-entry{background:linear-gradient(145deg,#f0c54c,#C9A227)!important;color:#082f62!important;box-shadow:0 10px 28px rgba(201,162,39,.30),0 0 20px rgba(240,197,76,.16)!important}

/* Hero typography / spacing */
.ph39-hero-center{max-width:760px!important;margin-inline:auto!important;text-align:center!important}
.ph39-kicker{font-size:15px!important;font-weight:900!important;text-shadow:0 2px 10px rgba(0,0,0,.35)!important}
.ph39-hero-center h1 span{font-size:64px!important;line-height:1.02!important;white-space:normal!important;color:#f4c64f!important;text-shadow:0 5px 18px rgba(0,0,0,.42),0 0 16px rgba(201,162,39,.18)!important}
.ph39-hero-center h1 strong{font-size:50px!important;line-height:1.05!important;white-space:normal!important;color:#fff!important;text-shadow:0 5px 18px rgba(0,0,0,.40)!important}
.ph39-subtitle{font-size:22px!important}.ph39-values{font-size:16px!important;font-weight:800!important}
.ph39-service-card{min-height:116px!important;border-radius:14px!important}.ph39-service-card b{font-size:18px!important;line-height:1.18!important}.ph39-service-card small{font-size:13px!important;line-height:1.35!important}
.ph39-search label small{font-size:12px!important;font-weight:800!important;color:#40546e!important}.ph39-search input,.ph39-search select{font-size:14px!important}

/* Type tiles are truly clickable + 3D */
.ph39-type-grid button{cursor:pointer!important;position:relative!important;isolation:isolate!important;min-height:104px!important;border-radius:14px!important;box-shadow:0 12px 26px rgba(35,53,77,.10),0 0 0 1px rgba(201,162,39,.18)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
.ph39-type-grid button:hover,.ph39-type-grid button:focus-visible{transform:translateY(-7px) perspective(700px) rotateX(3deg)!important;border-color:var(--ph-gold)!important;box-shadow:0 20px 38px rgba(0,71,171,.18),0 0 26px rgba(201,162,39,.22)!important;outline:none!important}
.ph39-type-grid i{font-size:32px!important;text-shadow:0 4px 12px rgba(201,162,39,.20)!important}.ph39-type-grid span{font-size:13px!important;font-weight:800!important}

/* Cards and panels */
.ph39-panel,.ph39-consign-wrap,.advanced-filter-panel,.detail-media-card,.detail-contact-card,.detail-section{border:1px solid rgba(201,162,39,.42)!important;box-shadow:0 18px 42px rgba(0,49,104,.11),0 0 24px rgba(201,162,39,.08)!important}
.ph39-section-title h2{font-size:30px!important;line-height:1.15!important}
.ph39-home-card{border-radius:12px!important;overflow:hidden!important}.ph39-card-body h3{font-size:15px!important;line-height:1.3!important}.ph39-card-loc,.ph39-card-meta{font-size:12px!important}.ph39-card-price{font-size:18px!important;color:var(--ph-red)!important}

/* Consignment: force photo visible and copy readable */
.ph39-consign-banner{min-height:250px!important;grid-template-columns:45% 55%!important;border-radius:15px!important;overflow:hidden!important;background:linear-gradient(115deg,#8B1E2D 0%,#751521 46%,#4c0f17 100%)!important}
.ph39-consign-copy{padding:28px 25px!important;position:relative!important;z-index:2!important}.ph39-consign-copy small{font-size:14px!important;color:#ffd45b!important}.ph39-consign-copy h2{font-size:32px!important;line-height:1.08!important;color:#ffd45b!important;margin:8px 0 10px!important}.ph39-consign-copy p{font-size:15px!important;color:#fff!important;line-height:1.5!important}.ph39-consign-copy button{font-size:15px!important;padding:12px 22px!important;box-shadow:0 10px 25px rgba(0,0,0,.22),0 0 20px rgba(240,197,76,.14)!important}
.ph39-consign-photo{display:block!important;min-height:250px!important;background-image:linear-gradient(90deg,rgba(117,21,33,.55),transparent 34%),url('/assets/v40/consign-v40.jpg')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}

/* Fill the previously empty model/vision strip with image, larger type */
.ph39-about-strip{padding:8px 0 20px!important}
.ph39-about-grid{gap:18px!important}
.ph39-about-grid article{position:relative!important;overflow:hidden!important;isolation:isolate!important;min-height:230px!important;grid-template-columns:96px minmax(0,1fr)!important;padding:28px!important;border-radius:16px!important;align-items:center!important;box-shadow:0 20px 45px rgba(1,38,82,.24),0 0 28px rgba(201,162,39,.12)!important}
.ph39-about-grid article:before{content:"";position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;transform:scale(1.04);transition:transform .45s ease}
.ph39-about-grid article:first-child:before{background-image:linear-gradient(90deg,rgba(2,48,100,.97) 0%,rgba(2,48,100,.91) 52%,rgba(2,48,100,.42) 100%),url('/assets/v40/catalog-v40.jpg')}
.ph39-about-grid article:last-child:before{background-image:linear-gradient(90deg,rgba(2,48,100,.96) 0%,rgba(2,48,100,.87) 52%,rgba(2,48,100,.34) 100%),url('/assets/v40/detail-main.jpg')}
.ph39-about-grid article:after{content:"";position:absolute;right:-60px;bottom:-95px;width:320px;height:220px;border:2px solid rgba(240,197,76,.50);border-radius:50%;z-index:-1;filter:drop-shadow(0 0 16px rgba(240,197,76,.25))}
.ph39-about-grid article:hover:before{transform:scale(1.09)}
.ph39-about-icon{width:76px!important;height:76px!important;border-width:2px!important;font-size:36px!important;box-shadow:0 0 26px rgba(201,162,39,.22)!important;background:rgba(2,37,82,.44)!important}
.ph39-about-grid h2{font-size:30px!important;line-height:1.08!important;margin-bottom:12px!important;color:#ffd45b!important;text-shadow:0 3px 12px rgba(0,0,0,.35)!important}
.ph39-about-grid p{font-size:16px!important;line-height:1.65!important;color:#fff!important;max-width:570px!important;text-shadow:0 2px 8px rgba(0,0,0,.3)!important}

/* Footer: no empty logo tile, readable and clickable */
.ph39-footer-grid{align-items:start!important}.ph39-footer-grid>div{min-width:0!important}.ph39-footer-grid h3{font-size:14px!important;color:#fff!important}.ph39-footer-grid p,.ph39-footer-grid a,.ph39-footer-grid span{font-size:13px!important;line-height:1.55!important}
.ph39-footer-grid a{cursor:pointer!important;pointer-events:auto!important;position:relative!important;z-index:2!important}.ph40-footer-types a:hover{color:#ffd55d!important;text-shadow:0 0 14px rgba(255,213,93,.48)!important}
.ph39-footer input{font-size:14px!important}.ph39-footer button{font-size:14px!important;box-shadow:0 10px 22px rgba(201,162,39,.18)!important}

/* Catalog */
.ph39-catalog-hero h1{font-size:46px!important;line-height:1.12!important;color:#fff!important;text-shadow:0 4px 16px rgba(0,0,0,.28)!important}.ph39-catalog-hero p{font-size:16px!important;line-height:1.65!important;color:#f4f7fb!important;max-width:760px!important}.ph39-catalog-hero .tag{font-size:12px!important;color:#ffd253!important}
.ph39-catalog .advanced-filter-panel label{font-size:13px!important}.ph39-catalog .advanced-filter-panel input,.ph39-catalog .advanced-filter-panel select{font-size:14px!important}

/* Detail page contrast + image balance */
.ph39-detail .property-detail-hero{padding:34px 0 42px!important;background:radial-gradient(circle at 76% 10%,rgba(201,162,39,.18),transparent 30%),linear-gradient(120deg,#073f82,#0754a3)!important}
.ph39-detail .detail-breadcrumb{padding:10px 14px!important;border-radius:9px!important;background:rgba(2,35,77,.52)!important;color:#fff!important;font-size:13px!important;width:max-content!important;max-width:100%!important}.ph39-detail .detail-breadcrumb a,.ph39-detail .detail-breadcrumb b,.ph39-detail .detail-breadcrumb span{color:#fff!important;opacity:1!important}
.ph39-detail .detail-title-row h1{font-size:48px!important;line-height:1.08!important}.ph39-detail .detail-title-row>div>p{font-size:15px!important;color:#fff!important}.ph39-detail .detail-price small{font-size:14px!important}.ph39-detail .detail-price strong{font-size:34px!important;color:var(--ph-red)!important;text-shadow:0 2px 8px rgba(255,255,255,.24)!important}
.ph39-detail .detail-main-image{height:560px!important;background:#edf2f7!important}.ph39-detail .detail-main-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}.ph39-detail .detail-contact-card h2{font-size:30px!important}.ph39-detail .detail-description p{font-size:16px!important}.ph39-detail .detail-info-grid b{font-size:14px!important}
.ph39-detail .detail-bottom-cta{background-image:linear-gradient(90deg,rgba(3,48,101,.96),rgba(3,57,118,.84)),url('/assets/v40/detail-main.jpg')!important;background-position:center!important;background-size:cover!important;padding:44px 0!important}.ph39-detail .detail-bottom-cta h2{font-size:32px!important;line-height:1.2!important;color:#fff!important}

/* Login: stable, brand image at top, richer left panel */
.ph39-login-wrap{max-width:1080px!important;border:1px solid rgba(201,162,39,.35)!important;overflow:hidden!important}
.ph39-login-side{justify-content:space-between!important;align-items:flex-start!important;padding:42px!important;background-image:linear-gradient(100deg,rgba(3,43,92,.68),rgba(3,43,92,.28)),url('/assets/v40/hero-v40.jpg')!important;background-position:center!important}
.ph39-login-side .ph39-brand{height:auto!important}.ph39-login-side .ph39-brand img{width:250px!important;height:58px!important}
.ph39-login-side h1{font-size:46px!important;line-height:1.12!important}.ph39-login-side p{font-size:16px!important;line-height:1.65!important}
.ph39-login-form h2{font-size:36px!important}.ph39-login-form>p{font-size:15px!important}.ph39-login-form label{font-size:14px!important}.ph39-login-form input{height:50px!important;font-size:15px!important}.ph39-login-form button{height:50px!important;font-size:16px!important}.ph41-recovery-link{display:block;margin-top:12px;text-align:center;font-size:13px;font-weight:800;color:#8B1E2D!important}

/* universal glow + 3D */
.btn,.ph39-search-btn,.ph39-panel-tools button,.ph39-rent-tabs button,.catalog-mode-tabs button{transition:transform .2s ease,box-shadow .2s ease!important}.btn:hover,.ph39-search-btn:hover,.ph39-panel-tools button:hover,.catalog-mode-tabs button:hover{transform:translateY(-3px)!important;box-shadow:0 12px 28px rgba(0,71,171,.20),0 0 20px rgba(201,162,39,.14)!important}

@media(max-width:1100px){.ph39-about-grid article{min-height:205px!important}.ph39-about-grid h2{font-size:26px!important}.ph39-about-grid p{font-size:14px!important}}
@media(max-width:850px){.ph39-brand img{width:150px!important}.ph39-about-grid{grid-template-columns:1fr!important}.ph39-about-grid article{min-height:210px!important}.ph39-detail .detail-title-row h1{font-size:38px!important}.ph39-detail .detail-main-image{height:420px!important}}
@media(max-width:560px){.ph39-hero-center h1 span{font-size:38px!important}.ph39-hero-center h1 strong{font-size:31px!important}.ph39-service-card b{font-size:16px!important}.ph39-about-grid article{grid-template-columns:1fr!important;text-align:center!important;padding:24px 20px!important}.ph39-about-icon{margin:auto!important}.ph39-about-grid p{font-size:14px!important}.ph39-detail .detail-main-image{height:300px!important}.ph39-login-form{padding:28px!important}}
