/* BoiJunto V5 — only product detail page. Scoped to keep the rest of the theme untouched.
 * Font scale follows Bootstrap (1rem body, modest clamp headings, 576/768/992px breakpoints).
 */
.bc-page-boi{--bc-p5-ink:#242c30;--bc-p5-muted:#626c72;--bc-p5-stroke:#e8e5e1;--bc-p5-paper:#fff;--bc-p5-soft:#fff8f1;--bc-p5-orange:var(--button,#c94d05);--bc-p5-green:#16734a;color:var(--bc-p5-ink)}
.bc-page-boi .tiny-top{display:none}
.bc-page-boi .head-row{min-height:68px;padding-block:8px}
.bc-page-boi .bc-search-row{display:none}
.bc-page-boi .brand-icon{height:40px;width:40px;border-radius:9px}
.bc-page-boi .brand-icon .bc-icon{height:30px;width:30px}
.bc-page-boi .brand-title{font-size:1.28rem}
.bc-page-boi .site-main{background:#faf8f5}
.bc-page-boi .flash-wrap{padding-top:0}
.bc-page-boi .bc-product-page{padding-top:12px;padding-bottom:36px;max-width:1260px}
.bc-page-boi .bc-product-breadcrumb{font-size:.79rem;display:flex;gap:8px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--bc-p5-muted);margin-bottom:12px;min-height:20px}
.bc-product-breadcrumb a{color:#8a4a25;text-decoration:none;flex-shrink:0}
.bc-product-breadcrumb a:hover{text-decoration:underline}
.bc-product-breadcrumb span[aria-current]{min-width:0;overflow:hidden;text-overflow:ellipsis}
.bc-product-layout{display:grid;grid-template-columns:minmax(0,1.09fr) minmax(0,1fr);gap:clamp(12px,1.7vw,24px);align-items:start}
.bc-product-media,.bc-product-buy{min-width:0}
.bc-product-photo{height:clamp(315px,36vw,480px);border:1px solid #e6e0d8;background:linear-gradient(125deg,#f6f0e6,#e9e4db 55%,#f5ede4);position:relative;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #2213060e}
.bc-product-photo-link{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;cursor:zoom-in}
.bc-product-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .2s ease}
@media(hover:hover){.bc-product-photo-link:hover img{transform:scale(1.035)}}
.bc-photo-badges{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:6px;flex-wrap:wrap;pointer-events:none}
.bc-photo-badge{display:inline-flex;align-items:center;gap:7px;background:#fff;color:#34413c;padding:6px 10px;border-radius:6px;font-size:.71rem;font-weight:750;box-shadow:0 2px 8px #00000012;line-height:1.2}
.bc-photo-badge-open{background:#e9faef;color:#116038}
.bc-photo-badge-closed{background:#fff0e6;color:#924b18}
.bc-photo-badge-featured{background:#fff5d6;color:#785a0a}
.bc-badge-dot{background:currentColor;width:7px;height:7px;border-radius:50%}
.bc-zoom-hint{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:5px;pointer-events:none;background:#ffffffed;padding:6px 9px;border-radius:6px;font-size:.73rem;font-weight:600;color:#293238}
.bc-zoom-hint svg{height:15px;width:15px}
.bc-photo-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px}
.bc-photo-summary>span{display:inline-flex;align-items:center;gap:6px;border:1px solid #e8e0d8;color:#525a59;background:#fff;border-radius:7px;padding:7px 9px;font-size:.78rem;line-height:1.1;font-weight:600;max-width:100%}
.bc-photo-summary .bc-icon{width:17px;height:17px;color:#a75021}
.bc-product-buy{background:var(--bc-p5-paper);border:1px solid var(--bc-p5-stroke);border-radius:12px;padding:clamp(14px,1.55vw,22px);box-shadow:0 4px 20px #3625120b}
.bc-product-overline{display:flex;align-items:center;gap:10px;justify-content:space-between;color:#91491d;font-size:.68rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase}
.bc-product-overline>span:first-child{display:inline-flex;gap:6px;align-items:center}
.bc-product-overline svg{width:17px;height:17px}
.bc-product-id{font-size:.69rem;letter-spacing:0;text-transform:none;color:#85898c;font-weight:500}
.bc-page-boi .bc-product-buy h1{font-size:clamp(1.4rem,1.6vw + .9rem,1.93rem);line-height:1.16;letter-spacing:-.028em;color:var(--bc-p5-ink);font-weight:800;margin:7px 0 6px;overflow-wrap:anywhere}
.bc-product-location{font-size:.81rem;color:var(--bc-p5-muted);display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 12px;line-height:1.35}
.bc-product-location svg{height:16px;width:16px;color:#cf5c23}
.bc-location-note{color:#808385}
.bc-product-progress{border:1px solid #e8ece8;background:#f9fbf9;border-radius:9px;padding:11px 12px 10px}
.bc-progress-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:.77rem;color:#525d56;margin-bottom:9px}
.bc-progress-heading strong{font-weight:750;color:#2b4234}
.bc-progress-heading b{color:var(--bc-p5-green);font-weight:800;font-size:.89rem}
.bc-progress-track{height:9px;border-radius:5px;background:#e2e9e3;overflow:hidden}
.bc-progress-track .bc-progress-fill{height:100%;background:linear-gradient(90deg,#31985e,#16834d);border-radius:5px;transition:width .3s ease}
.bc-quota-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:10px}
.bc-quota-stats>div{min-width:0;text-align:center;border-right:1px solid #e3e8e4;padding:1px 4px}
.bc-quota-stats>div:last-child{border:0}
.bc-quota-stats strong{display:block;font-size:1.13rem;line-height:1.2;font-weight:800;color:#25362b;font-variant-numeric:tabular-nums}
.bc-quota-stats span{display:flex;align-items:center;justify-content:center;gap:4px;line-height:1.25;margin-top:2px;font-size:.68rem;color:#5d6c63}
.bc-stat-indicator{display:inline-block;width:6px;height:6px;border-radius:50%;flex:0 0 6px}
.bc-free{background:#16834d}.bc-sold{background:#a9b8ac}.bc-held{background:#dd9b2d}
.bc-offer-price{margin-top:11px;display:flex;align-items:center;justify-content:space-between;gap:13px;border-bottom:1px solid #ece9e5;padding-bottom:11px}
.bc-offer-price>div{min-width:0}
.bc-price-label,.bc-price-estimate small{display:block;font-size:.73rem;color:var(--bc-p5-muted);line-height:1.2}
.bc-offer-price strong{color:var(--bc-p5-orange);font-weight:850;font-size:clamp(1.65rem,2.35vw,2.12rem);letter-spacing:-.045em;line-height:1.15;white-space:nowrap;display:block;margin-top:2px}
.bc-offer-price small,.bc-price-estimate span{font-size:.67rem;color:#737b7d;display:block;line-height:1.4}
.bc-price-estimate{background:var(--bc-p5-soft);padding:8px 10px;border-radius:7px;max-width:48%;text-align:right}
.bc-price-estimate b{display:block;font-weight:800;font-size:.87rem;color:#483e32;white-space:normal;overflow-wrap:anywhere;line-height:1.2;margin:3px 0}
.bc-product-purchase{margin-top:11px}
.bc-purchase-controls{display:grid;grid-template-columns:minmax(120px,1fr) 142px minmax(135px,1fr);gap:8px;align-items:center;margin-bottom:11px}
.bc-purchase-controls>label{font-size:.79rem;font-weight:750;line-height:1.25;margin:0;color:#49514c}
.bc-purchase-qty{display:grid;grid-template-columns:35px minmax(42px,1fr) 35px;border:1px solid #d4d7d2;border-radius:7px;overflow:hidden;min-height:42px;background:#fff;align-items:stretch}
.bc-purchase-qty button{font-size:1.35rem;background:#f8f7f5;color:#353a37;border:0;display:flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation}
.bc-purchase-qty button:hover{background:#f4e9dc;color:var(--bc-p5-orange)}
.bc-purchase-qty button:disabled{opacity:.4;cursor:not-allowed}
.bc-purchase-qty input{min-width:0;width:100%;border:0;outline:0;text-align:center;font-size:1.05rem;font-weight:800;appearance:textfield;background:#fff;color:#27352a;padding:0 2px}
.bc-purchase-qty input::-webkit-inner-spin-button,.bc-purchase-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.bc-purchase-subtotal{text-align:right;white-space:nowrap}
.bc-purchase-subtotal span{display:block;color:#63716a;font-size:.69rem}
.bc-purchase-subtotal strong{font-weight:850;color:#283a31;font-size:1.12rem;font-variant-numeric:tabular-nums}
.bc-page-boi .bc-primary-checkout{display:flex;width:100%;height:46px;justify-content:center;gap:7px;background:var(--bc-p5-orange);color:#fff;box-shadow:none!important;border:0;border-radius:7px!important;font-size:.94rem;font-weight:800;padding:9px 12px;text-decoration:none}
.bc-page-boi .bc-primary-checkout:hover{background:color-mix(in srgb,var(--bc-p5-orange) 85%,#000);transform:none;color:#fff}
.bc-primary-checkout .bc-icon{width:18px;height:18px}
.bc-buy-reassurance{display:flex;gap:7px 12px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:10px;color:#647069;font-size:.69rem;line-height:1.3}
.bc-buy-reassurance span{white-space:nowrap}
.bc-product-unavailable{margin:12px 0 0;padding:10px;border:1px solid #edcfba;border-radius:8px;background:#fff7f1;color:#69492d}
.bc-product-unavailable strong{font-size:.88rem}.bc-product-unavailable p{font-size:.8rem;margin:4px 0 8px}.bc-product-unavailable .btn{font-size:.82rem;padding:8px 12px}
.bc-product-details{margin:14px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px}
.bc-detail-disclosure{border:1px solid #e9e4de;border-radius:9px;background:#fff;min-width:0;overflow:hidden}
.bc-detail-disclosure>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 13px;font-size:.82rem;font-weight:750;color:#34413a;min-height:46px}
.bc-detail-disclosure>summary::-webkit-details-marker{display:none}
.bc-detail-disclosure>summary>span:first-child{display:flex;gap:7px;align-items:center;min-width:0}
.bc-detail-disclosure>summary .bc-icon{height:17px;width:17px;color:#b35b2d;flex:0 0 17px}
.bc-detail-disclosure[open]>summary{border-bottom:1px solid #e9e4de}
.bc-detail-disclosure[open]>summary>span:last-child{transform:rotate(45deg)}
.bc-disclosure-content{padding:12px 14px 14px;font-size:.84rem;color:#566058;line-height:1.55;overflow-wrap:anywhere}
.bc-disclosure-content p{margin:0 0 9px;font-size:.83rem;color:#565f58;line-height:1.55}
.bc-disclosure-content p:last-child{margin-bottom:0}
.bc-products-preview{display:grid;grid-template-columns:1fr;gap:5px;margin-bottom:12px}
.bc-products-preview>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #f1efec;padding:5px 0;font-size:.78rem}
.bc-products-preview strong{font-weight:650;color:#35453a}.bc-products-preview span{text-align:right;color:#68746d}
.bc-product-video{aspect-ratio:16/9;width:100%;background:#191919;border-radius:7px;overflow:hidden}.bc-product-video iframe{height:100%;width:100%;border:0}
.bc-mobile-purchase{display:none}
.bc-detail-lightbox{border:0;padding:10px;background:#17191bee;max-width:min(95vw,1050px);max-height:95dvh;border-radius:10px;overflow:auto;box-shadow:0 18px 80px #0007}
.bc-detail-lightbox::backdrop{background:#050607d9}
.bc-detail-lightbox img{display:block;max-width:90vw;max-height:85dvh;object-fit:contain}
.bc-detail-lightbox form{position:sticky;top:0;text-align:right;z-index:2}
.bc-detail-lightbox button{background:#fff;color:#222;border:0;font-size:1rem;min-width:36px;min-height:36px;border-radius:6px}
.bc-product-page a:focus-visible,.bc-product-page button:focus-visible,.bc-product-page input:focus-visible,.bc-product-page summary:focus-visible{outline:3px solid #165cbe;outline-offset:2px}
@media(max-width:991.98px){
 .bc-product-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 .bc-product-photo{height:clamp(260px,42vw,420px)}
 .bc-product-buy{padding:13px}
 .bc-purchase-controls{grid-template-columns:1fr 120px;row-gap:8px}
 .bc-purchase-subtotal{grid-column:1/-1;text-align:left;display:flex;align-items:center;justify-content:space-between;padding-inline:2px}
 .bc-quota-stats span{font-size:.63rem}
 .bc-buy-reassurance{font-size:.64rem}
}
@media(max-width:767.98px){
 .bc-page-boi .head-row{min-height:62px}
 .bc-page-boi .bc-product-page{padding-top:8px;padding-bottom:90px}
 .bc-product-breadcrumb{margin-bottom:7px!important}
 .bc-product-layout{grid-template-columns:1fr;gap:10px}
 .bc-product-photo{height:clamp(185px,30vh,265px);border-radius:9px}
 .bc-product-buy{padding:12px 13px 14px}
 .bc-page-boi .bc-product-buy h1{font-size:clamp(1.25rem,4.1vw,1.53rem);margin:5px 0}
 .bc-product-location{margin-bottom:9px}
 .bc-photo-summary{margin-top:6px;gap:5px}
 .bc-photo-summary>span{font-size:.72rem;padding:6px 8px}
 .bc-progress-heading{font-size:.72rem;margin-bottom:6px}
 .bc-product-progress{padding:9px 9px 8px}
 .bc-quota-stats{margin-top:7px}
 .bc-quota-stats strong{font-size:1.03rem}
 .bc-offer-price{margin-top:9px;padding-bottom:8px}
 .bc-offer-price strong{font-size:1.55rem}
 .bc-price-estimate b{font-size:.81rem}
 .bc-product-purchase{margin-top:8px}
 .bc-purchase-controls{grid-template-columns:1fr auto auto;gap:8px;margin-bottom:0}
 .bc-purchase-controls label{font-size:.77rem}
 .bc-purchase-qty{width:125px}
 .bc-purchase-subtotal{display:none}
 .bc-product-purchase>.bc-primary-checkout{display:none}
 .bc-buy-reassurance{display:none}
 .bc-product-details{grid-template-columns:1fr;gap:7px;margin-top:10px}
 .bc-detail-disclosure>summary{min-height:42px;padding:9px 12px}
 .bc-mobile-purchase{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-top:1px solid #e7e2dc;box-shadow:0 -5px 24px #14140a13;padding:10px max(14px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left));min-height:74px}
 .bc-mobile-total{display:grid;gap:1px;min-width:100px}
 .bc-mobile-total small{color:#6a726e;font-size:.68rem;line-height:1.2}
 .bc-mobile-total strong{color:#b24a0d;font-size:1.17rem;line-height:1.25;font-weight:850;white-space:nowrap;font-variant-numeric:tabular-nums}
 .bc-mobile-buy-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--bc-p5-orange);color:white!important;border-radius:7px;padding:10px 14px;font-size:.88rem;font-weight:800;min-height:47px;white-space:nowrap;text-decoration:none;flex:1;max-width:245px}
 .bc-mobile-buy-btn .bc-icon{width:17px;height:17px}
 .bc-product-unavailable{margin-top:9px}
}
@media(max-width:575.98px){
 .bc-page-boi .head-row{min-height:55px;padding-block:6px}
 .bc-page-boi .brand-icon{height:35px;width:35px}
 .bc-page-boi .brand-icon .bc-icon{height:27px;width:27px}
 .bc-page-boi .brand-title{font-size:1.05rem}
 .bc-page-boi .bc-product-page{padding-inline:12px}
 .bc-product-breadcrumb{font-size:.71rem}
 .bc-product-photo{height:clamp(160px,25vh,218px)}
 .bc-photo-badges{top:8px;left:8px;right:8px}
 .bc-photo-badge{padding:5px 7px;font-size:.65rem}
 .bc-photo-summary>span:nth-child(n+4){display:none}
 .bc-product-overline{font-size:.63rem}
 .bc-page-boi .bc-product-buy h1{font-size:1.26rem}
 .bc-product-location{font-size:.74rem}
 .bc-quota-stats span{font-size:.61rem}
 .bc-offer-price strong{font-size:1.51rem}
 .bc-zoom-hint{font-size:.66rem;padding:5px 6px;bottom:7px;right:7px}
 .bc-zoom-hint svg{height:13px;width:13px}
 .bc-price-estimate{padding:6px 7px}
 .bc-purchase-qty{width:112px;grid-template-columns:31px minmax(45px,1fr) 31px;min-height:38px}
 .bc-purchase-controls{grid-template-columns:1fr 112px}
 .bc-purchase-controls>label{font-size:.72rem}
 .bc-mobile-purchase{padding-inline:12px}
}
@media(max-width:360px){
 .bc-location-note{display:none}
 .bc-photo-summary>span:nth-child(n+3){display:none}
 .bc-quota-stats span{font-size:.57rem}
 .bc-purchase-controls{grid-template-columns:1fr 106px}
 .bc-purchase-qty{width:106px}
 .bc-mobile-buy-btn{font-size:.78rem;padding-inline:10px}
 .bc-mobile-total strong{font-size:1.04rem}
}
@media(prefers-reduced-motion:reduce){.bc-product-photo img,.bc-progress-fill{transition:none}}
/* On the detail route, the header becomes a single compact row on phones.
   The selected municipality remains visible in the product block itself. */
@media(max-width:991.98px){
 .bc-page-boi .main-header .head-row{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:10px;min-height:54px;padding-block:6px}
 .bc-page-boi .main-header .head-row>.brand{order:0;flex:0 1 auto;min-width:0}
 .bc-page-boi .main-header .bc-city-select{display:none!important}
 .bc-page-boi .main-header .head-links{order:0;display:flex!important;flex:0 0 auto;width:auto;margin:0 0 0 auto;padding:0;border:0;justify-content:flex-end;gap:0}
 .bc-page-boi .main-header .head-links>a:not(:last-child){display:none!important}
 .bc-page-boi .main-header .head-links>a:last-child{display:inline-flex!important;font-size:.79rem!important;min-height:36px;padding:7px 11px;max-width:115px}
}
