/* New History pantries: shared project chrome, with the existing room selector. */
body.bs39-refresh--pantry{background:#f6f4ee;color:#3e3436;font-family:BS39Montserrat,Arial,sans-serif;font-size:16px;--bs-primary:#3e3436;--bs-primary-rgb:62,52,54}
.bs39-refresh--pantry>.main{background:transparent}
.bs39-refresh--pantry main a{color:#3e3436}
.bs39-refresh--pantry .wrapper{width:min(1440px,calc(100% - 80px));max-width:none;margin-inline:auto;padding-inline:0}
.bs39-refresh--pantry .bs39-pantry-heading{padding-block:42px 16px}
.bs39-refresh--pantry .bs39-pantry-heading h1{font:800 clamp(28px,3vw,44px)/1.25 BS39Montserrat,Arial,sans-serif;color:#3e3436;text-transform:none}
.bs39-refresh--pantry .block-pantry{margin-block:24px 44px;padding:32px;border:1px solid #e3dbd1;border-radius:24px;background:#fffdfa;box-shadow:0 12px 32px #3e34360b;scroll-margin-top:120px}
.bs39-refresh--pantry .block-pantry .content{padding:0}
.bs39-refresh--pantry .block-pantry .content-title{font:800 clamp(22px,2vw,30px)/1.3 BS39Montserrat,Arial,sans-serif;color:#3e3436;margin:0 0 24px}
.bs39-refresh--pantry .block-pantry .blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.bs39-refresh--pantry .block-pantry .block-card{width:auto;max-width:none;display:flex;flex-direction:column;gap:16px;padding:0}
.bs39-refresh--pantry .block-pantry .card-section{font:700 17px/1.4 BS39Montserrat,Arial,sans-serif;color:#3e3436;margin:0}
.bs39-refresh--pantry .block-pantry .card-image{display:block;width:100%;height:240px;object-fit:contain;background:white;padding:12px;border:1px solid #3e3436;border-radius:14px}
.bs39-refresh--pantry .block-pantry .card-btn{display:flex;justify-content:center;align-items:center;padding:16px;background:#3e3436;color:white;font:700 14px/1.4 BS39Montserrat,Arial,sans-serif;border:1px solid #3e3436;border-radius:12px;text-decoration:none;width:100%;height:auto;margin:0}
.bs39-refresh--pantry .block-pantry .card-btn:hover{background:#514447}
.bs39-refresh--pantry.bs39-refresh--selector>.main{width:min(1440px,calc(100% - 80px));margin-inline:auto;padding-block:32px 48px}
.bs39-refresh--pantry .block-main{padding:24px 0 0;background:transparent}
.bs39-refresh--pantry .floor-select-container>.row,.bs39-refresh--pantry .floor-select-container,.bs39-refresh--pantry .floor-select-container .left,.bs39-refresh--pantry .floor-select-container .center{height:auto!important}
.bs39-refresh--pantry .floor-select-container .selector-text{color:#3e3436;font:400 15px/1.65 BS39Montserrat,Arial,sans-serif}
.bs39-refresh--pantry .floor-select-container .selector-text .title{font:800 22px/1.4 BS39Montserrat,Arial,sans-serif;color:#3e3436;text-transform:none;width:100%;border-color:#e3dbd1;margin-bottom:18px;padding-bottom:18px}
.bs39-refresh--pantry .floor-select-container .state{font:700 22px/1.4 BS39Montserrat,Arial,sans-serif;color:#3e3436;margin-bottom:20px}
.bs39-refresh--pantry .floor-select-container .floor-selector-container .current-section-box svg .section.current,.bs39-refresh--pantry .floor-select-container .floor-selector-container .current-section-box svg .section:hover{fill:#77b75f!important}
.bs39-refresh--pantry .floor-select-container .buttons button{color:#3e3436;border-color:#3e3436;background:transparent;font:600 14px/1.4 BS39Montserrat,Arial,sans-serif;padding:14px 20px;border-radius:10px}
.bs39-refresh--pantry .floor-select-container .buttons button:disabled{opacity:.4}
.bs39-refresh--pantry .floor-select-container .btn-primary{background:#3e3436;color:white;border-color:#3e3436}
.bs39-refresh--pantry .floor-select-container .room-info,.bs39-refresh--pantry .floor-select-container .room-info .title,.bs39-refresh--pantry .floor-select-container .block-order-form .block-title{color:#3e3436}
.bs39-refresh--pantry .floor-select-container .apartment-img img{max-width:100%;max-height:650px}
.bs39-refresh--pantry .floor-select-container .flat-planner-outer-container{min-height:300px}
/* Individual pantry: compact facts on the left, with no booking/download UI. */
.bs39-refresh--pantry .ni-pantry-card{align-items:flex-start;row-gap:28px}
.bs39-refresh--pantry .ni-pantry-card__details{padding-top:4px}
.bs39-refresh--pantry .ni-pantry-card__project{margin:0 0 8px;color:#77b75f;font:600 14px/1.5 BS39Montserrat,Arial,sans-serif}
.bs39-refresh--pantry .ni-pantry-card__title{margin:0 0 28px;color:#3e3436;font:800 22px/1.4 BS39Montserrat,Arial,sans-serif;text-transform:none}
.bs39-refresh--pantry .ni-pantry-card__facts{margin:0;font:400 16px/1.5 BS39Montserrat,Arial,sans-serif;color:#3e3436}
.bs39-refresh--pantry .ni-pantry-card__facts>div+div{margin-top:24px}
.bs39-refresh--pantry .ni-pantry-card__facts dt{font-weight:400;margin:0 0 4px}
.bs39-refresh--pantry .ni-pantry-card__facts dd{margin:0;font-weight:600}
.bs39-refresh--pantry .ni-pantry-card__image{min-width:0}
.bs39-refresh--pantry .ni-pantry-card .apartment-img{padding:12px 24px}
.bs39-refresh--pantry .ni-pantry-card .apartment-img img{display:block;max-width:100%;height:auto;object-fit:contain}
@media(max-width:767px){
  .bs39-refresh--pantry .ni-pantry-card__title{font-size:20px;margin-bottom:20px}
  .bs39-refresh--pantry .ni-pantry-card .apartment-img{padding:0}
}
@media(max-width:1199px){
  .bs39-refresh--pantry .floor-select-container .center{width:100%}
  .bs39-refresh--pantry .block-pantry .blocks{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .bs39-refresh--pantry .wrapper,.bs39-refresh--pantry.bs39-refresh--selector>.main{width:calc(100% - 32px)}
  .bs39-refresh--pantry .bs39-pantry-heading{padding-block:28px 0}
  .bs39-refresh--pantry .block-pantry{padding:20px;margin-block:24px;border-radius:18px}
  .bs39-refresh--pantry .block-pantry .blocks{grid-template-columns:1fr;gap:28px}
  .bs39-refresh--pantry .block-pantry .card-image{height:240px}
  .bs39-refresh--pantry .floor-select-container .selector-text .title{font-size:20px}
  .bs39-refresh--pantry .floor-select-container .state{font-size:18px}
  .bs39-refresh--pantry .floor-select-container .buttons button{padding:12px;font-size:12px}
  .bs39-refresh--pantry .floor-select-container .flat-planner-outer-container{min-height:0}
}
