/* Public catalogue theme layer: Modern + Gold (default Gold) */

html.theme-modern{
    --theme-fab-bg:linear-gradient(135deg,#159b91,#087c75);
    --theme-fab-ink:#fff;
    --theme-panel-bg:#fff;
    --theme-panel-line:#e7edf2;
    --theme-panel-ink:#142b45;
    --theme-panel-muted:#748396;
    --theme-accent:#159b91;
    --theme-accent-soft:#eef7f6;
    --theme-accent-ink:#087c75;
    --theme-check-ink:#fff;
}

html.theme-classic{
    --theme-fab-bg:linear-gradient(135deg,#159b91,#087c75);
    --theme-fab-ink:#fff;
    --theme-panel-bg:#fff;
    --theme-panel-line:#e7edf2;
    --theme-panel-ink:#142b45;
    --theme-panel-muted:#748396;
    --theme-accent:#159b91;
    --theme-accent-soft:#eef7f6;
    --theme-accent-ink:#087c75;
    --theme-check-ink:#fff;
}

/* Modern public shell: dark navy header, teal accents */
html.theme-modern .site-header{
    background:linear-gradient(90deg,#0f2740,#102b47);
    border-bottom-color:rgba(255,255,255,.08);
    box-shadow:0 3px 18px rgba(15,39,64,.18);
}
html.theme-modern .brand-name{color:#fff}
html.theme-modern .brand-caption{color:#7fe0d4}
html.theme-modern .brand-divider{background:rgba(255,255,255,.15)}
html.theme-modern .brand-logo{background:#fff;border-radius:8px;padding:4px;box-shadow:0 6px 16px rgba(0,0,0,.22)}
html.theme-modern .nav-link{color:#c7d8e8}
html.theme-modern .nav-link:hover{background:rgba(255,255,255,.08);color:#fff}
html.theme-modern .nav-link.active{background:#00897b;color:#fff}
html.theme-modern .header-home{background:#00897b;color:#fff;box-shadow:0 5px 14px rgba(0,137,123,.20)}
html.theme-modern .header-home:hover{background:#00695c}
html.theme-modern .menu-toggle{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#e2e8f0}
html.theme-modern .menu-toggle:hover{background:rgba(255,255,255,.12)}
html.theme-modern .menu-bars i{background:#e2e8f0}
html.theme-modern .lang-dropdown-toggle{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#e2e8f0}
html.theme-modern .lang-dropdown-toggle:hover{background:rgba(255,255,255,.12);color:#fff}

html.theme-gold{
    --navy:#1d1b17;
    --deep:#0c0c0e;
    --teal:#c9a227;
    --teal2:#a8841a;
    --ink:#1d1b17;
    --muted:#8b8272;
    --line:#e8dfcd;
    --bg:#f4eee2;
    --shadow:0 12px 35px rgba(46,36,12,.10);
    --ok-bg:#eef2dc;
    --ok:#5f7026;
    --ok-border:#e2e9cd;
    --bad-bg:#f9e5dd;
    --bad:#a8432a;
    --bad-border:#f2ddd1;

    --theme-fab-bg:linear-gradient(135deg,#e6c96a,#c9a227 55%,#a8841a);
    --theme-fab-ink:#1a1509;
    --theme-panel-bg:#fffdf8;
    --theme-panel-line:#e8dfcd;
    --theme-panel-ink:#1d1b17;
    --theme-panel-muted:#8b8272;
    --theme-accent:#c9a227;
    --theme-accent-soft:#f7eed4;
    --theme-accent-ink:#8a6a12;
    --theme-check-ink:#1a1509;
}

/* Header */
html.theme-gold .site-header{
    background:rgba(255,253,248,.97);
    border-bottom-color:var(--line);
    box-shadow:0 3px 18px rgba(46,36,12,.06);
}
html.theme-gold .brand-name{color:var(--ink)}
html.theme-gold .brand-caption{color:var(--teal2)}
html.theme-gold .brand-divider{background:var(--line)}
html.theme-gold .nav-link{color:#6d6350}
html.theme-gold .nav-link:hover{background:var(--theme-accent-soft);color:var(--teal2)}
html.theme-gold .nav-link.active{background:var(--teal);color:var(--on-gold,#1a1509)}
html.theme-gold .header-home{background:var(--teal);color:#1a1509;box-shadow:0 5px 14px rgba(168,132,26,.22)}
html.theme-gold .header-home:hover{background:var(--teal2)}
html.theme-gold .header-contact-strip{background:var(--deep);border-bottom-color:rgba(201,162,39,.35);color:#d8ceb9}
html.theme-gold .contact-strip-item{color:#d8ceb9}
html.theme-gold .contact-strip-item strong{color:#f6efdd}
html.theme-gold .contact-strip-item .ui-icon{color:var(--teal)}
html.theme-gold .menu-toggle{background:var(--theme-panel-bg);border-color:var(--line);color:var(--ink)}
html.theme-gold .menu-toggle:hover{background:var(--theme-accent-soft)}
html.theme-gold .menu-bars i{background:var(--ink)}
html.theme-gold .menu-panel{background:linear-gradient(120deg,#0c0c0e,#1a1712);color:#d8ceb9;border-top-color:rgba(201,162,39,.35)}
html.theme-gold .menu-label{color:var(--teal)}
html.theme-gold .menu-panel-link{background:rgba(255,255,255,.05);color:#f6efdd}
html.theme-gold .menu-panel-link:hover,
html.theme-gold .menu-panel-link.active{background:rgba(201,162,39,.16);color:#fff}
html.theme-gold .menu-contact-item{color:#d8ceb9}
html.theme-gold .menu-contact-item .ui-icon{color:var(--teal)}
html.theme-gold .menu-contact-login{background:var(--teal);color:#1a1509}
html.theme-gold .menu-contact-login:hover{background:var(--teal2)}

/* Hero and info hero */
html.theme-gold .hero{
    background:
        radial-gradient(circle at 85% 20%,rgba(201,162,39,.28),transparent 30%),
        linear-gradient(118deg,#0c0c0e,#1a1712 62%,#3a2f12 120%);
}
html.theme-gold .eyebrow{color:#e6c96a}
html.theme-gold .eyebrow:before{background:var(--teal)}
html.theme-gold .hero p{color:#d8ceb9}
html.theme-gold .hero .btn-primary{background:var(--teal);color:#1a1509}
html.theme-gold .hero .btn-primary:hover{background:var(--teal2)}
html.theme-gold .hero .btn-outline{border-color:var(--teal);color:#f6efdd;background:transparent}
html.theme-gold .hero .btn-outline:hover,
html.theme-gold .hero .btn-outline:focus{
    background:rgba(201,162,39,.18)!important;
    color:#fffdf8!important;
    border-color:var(--teal)!important;
}

/* Hero outline buttons keep light text on the dark hero */
.hero .btn-outline:hover,
.hero .btn-outline:focus{
    background:rgba(255,255,255,.12)!important;
    color:#fff!important;
    border-color:#fff!important;
}
html.theme-gold .info-hero{background:linear-gradient(118deg,#0c0c0e,#1a1712 70%,#3a2f12)}
html.theme-gold .info-hero p{color:#d8ceb9}

/* Buttons */
html.theme-gold .btn-primary{background:var(--teal);color:#1a1509;box-shadow:0 5px 14px rgba(168,132,26,.24)}
html.theme-gold .btn-primary:hover{background:var(--teal2)}
html.theme-gold .btn-outline{border-color:#d9cdb4;color:var(--teal2);background:var(--theme-panel-bg)}
html.theme-gold .btn-outline:hover{background:var(--theme-accent-soft)}
html.theme-gold .btn-light{background:var(--theme-accent-soft);color:var(--teal2)}
html.theme-gold .btn-whatsapp{background:#e7f7ef;color:#12805c}

/* Surfaces */
html.theme-gold .stat-card,
html.theme-gold .toolbar,
html.theme-gold .card,
html.theme-gold .project-card,
html.theme-gold .info-card,
html.theme-gold .form-card,
html.theme-gold .detail-panel,
html.theme-gold .map-card,
html.theme-gold .saved-card{
    background:var(--theme-panel-bg);
    border-color:var(--line);
}
html.theme-gold .stat-icon{background:var(--theme-accent-soft);color:var(--teal2)}
html.theme-gold .stat-card:nth-child(2) .stat-icon{background:#eff3e2;color:#5f7026}
html.theme-gold .stat-card:nth-child(3) .stat-icon{background:#f7efe3;color:#9a7b5a}
html.theme-gold .section-kicker,
html.theme-gold .project,
html.theme-gold .project-kicker,
html.theme-gold .view-more,
html.theme-gold .map-link,
html.theme-gold .quick-media-link{color:var(--teal2)}
html.theme-gold .field input:focus,
html.theme-gold .field select:focus,
html.theme-gold .form-field input:focus,
html.theme-gold .form-field textarea:focus,
html.theme-gold .form-field select:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--theme-accent-soft)}
html.theme-gold .field label,
html.theme-gold .form-field label{color:#7a7060}
html.theme-gold .field input,
html.theme-gold .field select,
html.theme-gold .form-field input,
html.theme-gold .form-field textarea,
html.theme-gold .form-field select{background:var(--theme-panel-bg);border-color:var(--line);color:var(--ink)}
html.theme-gold .filter-chip{background:var(--theme-accent-soft);color:var(--teal2)}
html.theme-gold .breadcrumbs a{color:var(--teal2)}
html.theme-gold .pagination a,
html.theme-gold .pagination span{background:var(--theme-panel-bg);border-color:var(--line);color:#6d6350}
html.theme-gold .pill{background:#f5efe3;border-color:var(--line);color:#6d6350}
html.theme-gold .pill.yes{background:var(--ok-bg);color:var(--ok);border-color:var(--ok-border)}
html.theme-gold .pill.no{background:var(--bad-bg);color:var(--bad);border-color:var(--bad-border)}
html.theme-gold .pill.booked{background:#fff4e5;color:#b26a00;border-color:#f3dfc2}
html.theme-gold .quick-modal{background:var(--theme-panel-bg)}
html.theme-gold .quick-body h2,
html.theme-gold .quick-body .price-large{color:var(--ink)}
html.theme-gold .card-body .price-row{border-top-color:var(--line)}
html.theme-gold .map-frame{background:#eee5d4}
html.theme-gold .skeleton-card{background:linear-gradient(100deg,#efe6d5 20%,#faf5ea 40%,#efe6d5 60%);background-size:200% 100%}

/* Detail pages */
html.theme-gold .detail-page{background:linear-gradient(180deg,#f1e9db 0,var(--bg) 370px)}
html.theme-gold .rental-panel{background:linear-gradient(145deg,var(--theme-panel-bg),#fbf7ee)!important;border-color:var(--line)!important}
html.theme-gold .rental-panel h2{color:var(--ink)!important}
html.theme-gold .rental-price-box{
    background:linear-gradient(135deg,#e6c96a,#c9a227 55%,#a8841a)!important;
    color:#1a1509!important;
    box-shadow:0 10px 24px rgba(168,132,26,.22),inset 0 0 0 1px rgba(255,255,255,.18);
}
html.theme-gold .rental-price-box .detail-label{color:#3b2f10!important}
html.theme-gold .rental-price-box .price-large{color:#1a1509!important}
html.theme-gold .price-period{color:#3b2f10!important}
html.theme-gold .rental-divider{background:var(--line)!important}
html.theme-gold .rental-availability .detail-label{color:var(--muted)!important}
html.theme-gold .side-note{color:var(--muted)!important}
html.theme-gold .contact-hint{background:var(--theme-accent-soft)!important;color:#4a4235!important}
html.theme-gold .contact-hint strong{color:var(--ink)!important}
html.theme-gold .contact-hint .contact-icon{background:var(--teal)!important;color:#1a1509!important}
html.theme-gold .rental-panel .btn-primary{background:var(--teal)!important;color:#1a1509!important}
html.theme-gold .rental-panel .btn-primary:hover{background:var(--teal2)!important}
html.theme-gold .rental-panel .btn-whatsapp{background:#e7f7ef!important;color:#12805c!important}

/* Pagination */
html.theme-gold .pagination .current{background:var(--teal);border-color:var(--teal);color:#1a1509}
html.theme-gold .pagination a:hover{border-color:var(--teal);color:var(--teal2);background:var(--theme-accent-soft)}

/* Footer */
html.theme-gold .site-footer{background:#0c0c0e;color:#c9bfa7}
html.theme-gold .footer-company{color:#f6efdd}
html.theme-gold .footer-links a{color:#c9bfa7}
html.theme-gold .footer-links a:hover{color:var(--teal)}
html.theme-gold .footer-note{color:#8f826a}

/* Language switcher */
html.theme-gold .lang-dropdown-toggle{background:var(--theme-panel-bg);border-color:var(--line);color:#6d6350}
html.theme-gold .lang-dropdown-toggle:hover{background:var(--theme-accent-soft);color:var(--teal2)}
html.theme-gold .lang-option{color:#6d6350}
html.theme-gold .lang-option:hover{background:var(--theme-accent-soft);color:var(--teal2)}
html.theme-gold .lang-option.active{background:var(--teal);color:#1a1509}

/* Mobile bar and cookies */
html.theme-gold .mobile-bar{background:var(--theme-panel-bg);border-top-color:var(--line)}
html.theme-gold .mobile-bar a{color:#6d6350}
html.theme-gold .mobile-bar .mobile-bar-primary{color:var(--teal2)}
html.theme-gold .cookie-notice{background:var(--theme-panel-bg);border-color:var(--line)}

/* Floating theme selector */
.public-theme-dock{
    position:fixed;
    right:18px;
    bottom:88px;
    z-index:90;
    margin:0;
    font-family:"DM Sans","Segoe UI",sans-serif;
    direction:ltr;
    text-align:left;
}
.public-theme-fab{
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
    padding:0;
    border:0;
    border-radius:50%;
    background:var(--theme-fab-bg);
    color:var(--theme-fab-ink);
    box-shadow:0 16px 34px rgba(15,23,42,.24),0 0 0 1px rgba(255,255,255,.12) inset;
    cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease;
}
.public-theme-fab:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 40px rgba(15,23,42,.28),0 0 0 1px rgba(255,255,255,.18) inset;
}
.public-theme-fab svg{width:23px;height:23px}
.public-theme-panel{
    position:absolute;
    right:0;
    bottom:66px;
    width:264px;
    padding:14px;
    border:1px solid var(--theme-panel-line);
    border-radius:16px;
    background:var(--theme-panel-bg);
    box-shadow:0 24px 54px rgba(15,23,42,.24);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.public-theme-dock.open .public-theme-panel{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.public-theme-head{
    display:flex;
    align-items:center;
    gap:10px;
    padding:1px 2px 12px;
    margin-bottom:7px;
    border-bottom:1px solid var(--theme-panel-line);
}
.public-theme-head-icon{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:10px;
    background:var(--theme-accent-soft);
    color:var(--theme-accent-ink);
}
.public-theme-head-icon svg{width:17px;height:17px}
.public-theme-head strong{
    display:block;
    color:var(--theme-panel-ink);
    font:800 12.5px "Manrope",sans-serif;
}
.public-theme-head span{
    display:block;
    margin-top:2px;
    color:var(--theme-panel-muted);
    font-size:9.5px;
}
.public-theme-close{
    display:grid;
    place-items:center;
    width:26px;
    height:26px;
    margin-left:auto;
    padding:0;
    border:0;
    border-radius:7px;
    background:transparent;
    color:var(--theme-panel-muted);
    font-size:18px;
    line-height:1;
    cursor:pointer;
}
.public-theme-close:hover{background:var(--theme-accent-soft);color:var(--theme-accent-ink)}
.public-theme-option{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    padding:9px;
    margin-bottom:4px;
    border:0;
    border-radius:10px;
    background:transparent;
    text-align:left;
    cursor:pointer;
}
.public-theme-option:last-child{margin-bottom:0}
.public-theme-option:hover{background:var(--theme-accent-soft)}
.public-theme-option.active{background:var(--theme-accent-soft);box-shadow:inset 0 0 0 1px var(--theme-accent)}
.public-theme-swatches{display:flex;flex:0 0 46px;align-items:center}
.public-theme-swatches i{
    display:block;
    width:18px;
    height:18px;
    margin-right:-5px;
    border-radius:50%;
    border:2px solid var(--theme-panel-bg);
    box-shadow:0 1px 4px rgba(15,23,42,.16);
}
.public-theme-option-text{min-width:0;flex:1 1 auto}
.public-theme-option-text strong{
    display:block;
    color:var(--theme-panel-ink);
    font-size:11.5px;
    font-weight:700;
}
.public-theme-option-text small{
    display:block;
    margin-top:2px;
    color:var(--theme-panel-muted);
    font-size:9px;
}
.public-theme-check{
    display:grid;
    place-items:center;
    width:18px;
    height:18px;
    flex:0 0 18px;
    border-radius:50%;
    background:var(--theme-accent);
    color:var(--theme-check-ink);
    font-size:10px;
    font-weight:800;
    opacity:0;
    transform:scale(.7);
    transition:.16s ease;
}
.public-theme-option.active .public-theme-check{opacity:1;transform:scale(1)}

@media(max-width:520px){
    .public-theme-dock{right:14px;bottom:80px}
    .public-theme-panel{width:min(264px,calc(100vw - 28px))}
}

/* Native-select fallback: the custom dropdown handles the visible menu,
   but these keep the accent correct in browsers that render options natively. */
select{accent-color:var(--theme-accent,#159b91)}
select option{background:var(--theme-panel-bg,#fff);color:var(--theme-panel-ink,#142b45)}
select option:hover,
select option:checked{background:var(--theme-accent-soft,#eef7f6);color:var(--theme-accent-ink,#087c75)}

/* Themed filter / form dropdowns */
.public-select{position:relative;width:100%}
.public-select-native{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    border:0!important;
    opacity:0!important;
    pointer-events:none!important;
}
.public-select-toggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
    height:46px;
    padding:0 13px;
    border:1px solid var(--theme-panel-line);
    border-radius:10px;
    background:var(--theme-panel-bg);
    color:var(--theme-panel-ink);
    font:500 13px "DM Sans","Segoe UI",sans-serif;
    text-align:left;
    cursor:pointer;
    transition:border-color .16s ease,box-shadow .16s ease;
}
.public-select-toggle:hover,
.public-select.open .public-select-toggle{
    border-color:var(--theme-accent);
    box-shadow:0 0 0 3px var(--theme-accent-soft);
}
.public-select-toggle > span:first-child{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.public-select-caret{
    color:var(--theme-accent);
    font-size:16px;
    line-height:1;
    flex:0 0 auto;
    transition:transform .16s ease;
}
.public-select.open .public-select-caret{transform:rotate(180deg)}
.public-select-menu{
    display:none;
    position:absolute;
    top:calc(100% + 5px);
    left:0;
    right:0;
    z-index:80;
    max-height:260px;
    overflow-y:auto;
    padding:5px;
    border:1px solid var(--theme-panel-line);
    border-radius:10px;
    background:var(--theme-panel-bg);
    box-shadow:0 18px 38px rgba(15,23,42,.18);
}
.public-select.open .public-select-menu{display:block}
.public-select-option{
    display:block;
    width:100%;
    padding:9px 10px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:var(--theme-panel-ink);
    font:600 12px "DM Sans","Segoe UI",sans-serif;
    text-align:left;
    cursor:pointer;
}
.public-select-option:hover,
.public-select-option:focus,
.public-select-option.selected{
    background:var(--theme-accent-soft);
    color:var(--theme-accent-ink);
}

@media print{
    .public-theme-dock{display:none!important}
}
