/* BBoutique v0.5.0 — Products view bridged to canonical Catalogue cards.
 * No product Shortlist controls: photo-only sharing uses BK-CFN helper. */

/* The Services route normally constrains .bosky-contact-page to 760px and a
 * grid; unlike Catalogue, the Boutique card surface must be full-bleed. */
html body .bosky-contact-page.bk-bboutique-view {
  --bosky-blue:#A9DFF2;--bosky-navy:#17324D;--bosky-orange:#F28C28;
  display:block!important;box-sizing:border-box!important;
  position:relative!important;left:50%!important;transform:translateX(-50%)!important;
  width:min(1100px,calc(100vw - 16px))!important;
  max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;gap:0!important;
  color:#17324d;
}
html body .bk-bboutique-view .bk-bboutique-path{display:flex;gap:7px;align-items:center;margin:3px 0 10px;font-size:12px}
html body .bk-bboutique-view .bk-bboutique-path a{color:#2789a2;text-decoration:none;font-weight:750}
html body .bk-bboutique-view .bk-bboutique-topline {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;margin:2px 0 10px!important;min-height:36px!important}
html body .bk-bboutique-view .bk-bboutique-location{color:#38596a;font-size:13px;font-weight:600}
html body .bk-bboutique-view .bk-bboutique-share{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;margin:0!important;padding:7px 10px!important;min-height:34px!important;border:1px solid #cfe0e8!important;border-radius:11px!important;color:#285a6a!important;background:#f8fdff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap;cursor:pointer}

/* The published Products grid is the actual Catalogue renderer. Its columns,
 * card media ratio, edge breathing room and title font come from card-parity.css. */
html body .bk-bboutique-view .bosky-cat-wrap{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
html body .bk-bboutique-view .bosky-cat-wrap .bosky-cat-grid,
html body .bk-bboutique-view .bk-bboutique-category-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0 1px 6px!important;box-sizing:border-box!important}

/* Landing categories reuse the same three-column, image-first Catalogue tiles. */
html body .bk-bboutique-view .bk-bboutique-category-card{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:1px solid #edf1f3!important;border-radius:15px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 5px 16px rgba(23,50,77,.055)!important;box-sizing:border-box!important}
html body .bk-bboutique-view .bk-bboutique-category-card .bosky-cat-media{position:relative!important;display:block!important;width:100%!important;aspect-ratio:4/5!important;height:auto!important;overflow:hidden!important;background:#eef2f4!important}
html body .bk-bboutique-view .bk-bboutique-category-card .bosky-cat-media img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;padding:0!important}
html body .bk-bboutique-view .bk-bboutique-category-card .bosky-cat-body{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
 flex:0 0 54px!important;height:54px!important;min-height:54px!important;max-height:54px!important;
 width:100%!important;min-width:0!important;padding:5px 4px!important;box-sizing:border-box!important;
}
html body .bk-bboutique-view .bk-bboutique-category-card .bosky-cat-title{
 display:block!important;font-size:clamp(10px,2.35vw,12px)!important;font-weight:700!important;
 line-height:1.25!important;min-height:0!important;max-height:none!important;width:100%!important;
 overflow:visible!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
 -webkit-line-clamp:unset!important;text-align:center!important;overflow-wrap:break-word!important;
}
html body .bk-bboutique-view .bk-bboutique-category-card.is-coming-soon{opacity:1!important}

/* Catalogue owns the card DOM, imagery and title typography. Product cards
 * have only the single native-photo-share control in the card footer. */
/* The sole Custom Shop action fills the exact card interior width. Its
 * wrapper has the same 6px inset as the canonical Catalogue card. */
html body .bk-bboutique-view .bk-bboutique-catalogue .bk-bboutique-grid > article.bosky-cat-card .bosky-cat-actions {
 display:flex!important;flex:0 0 auto!important;align-items:stretch!important;
 justify-content:stretch!important;gap:0!important;grid-template-columns:1fr!important;
 min-width:0!important;max-width:none!important;width:calc(100% - 12px)!important;
 margin:auto 6px 8px!important;padding:0!important;box-sizing:border-box!important;
}
html body .bk-bboutique-view .bk-bboutique-catalogue .bk-bboutique-grid > article.bosky-cat-card .bosky-cat-actions > button.bk-bboutique-photo-share {
 display:flex!important;position:relative!important;flex:1 1 100%!important;
 align-items:center!important;justify-content:center!important;gap:0!important;
 min-width:0!important;width:100%!important;max-width:none!important;
 height:43px!important;min-height:43px!important;max-height:none!important;
 padding:9px 6px!important;margin:0!important;border:1px solid #b8decf!important;
 background:#e0f8ed!important;color:#196c53!important;border-radius:10px!important;
 box-shadow:none!important;box-sizing:border-box!important;cursor:pointer!important;
 pointer-events:auto!important;z-index:20!important;
}
html body .bk-bboutique-view .bk-bboutique-photo-share svg{width:21px;height:21px}
html body .bk-bboutique-view .bk-bboutique-photo-share:focus-visible{outline:2px solid #143b57;outline-offset:2px}
.bk-bboutique-empty{padding:18px;border:1px solid #dbe7ed;border-radius:12px;background:#f9fcfe;color:#527280}
.bk-bboutique-live{font-size:12px;color:#37637b;min-height:1em;text-align:center;margin:4px 0}

/* v0.5.0 — keep active Hand Knits link and inactive category media identical. */
html body .bk-bboutique-view .bk-bboutique-category-card > .bosky-cat-media{
  flex:0 0 auto!important;align-self:stretch!important;box-sizing:border-box!important;
  border:0!important;margin:0!important;padding:0!important;
}

/* v0.6 — small, scoped Details tab and product editor; Catalogue tiles remain authoritative. */
html body .bk-bboutique-view .bk-bboutique-head-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;flex:0 0 auto!important}
html body .bk-bboutique-view .bk-bboutique-details-toggle{
 display:inline-flex!important;gap:3px!important;align-items:center!important;justify-content:center!important;
 min-height:34px!important;margin:0!important;padding:6px 7px!important;
 border:0!important;background:transparent!important;color:#37566a!important;
 font-size:12px!important;font-weight:750!important;border-radius:9px!important;cursor:pointer!important;
}
html body .bk-bboutique-view .bk-bboutique-details-toggle[aria-expanded="true"]{background:#e9f7fb!important}
html body .bk-bboutique-view .bk-bboutique-details{box-sizing:border-box!important;padding:11px!important;margin:5px 0 13px!important;border-radius:12px!important;border:1px solid #e1ebef!important;background:#f9fcfd!important;color:#28465a!important;line-height:1.45!important}
html body .bk-bboutique-view .bk-bboutique-details[hidden]{display:none!important}
html body .bk-bboutique-view .bk-bboutique-pricing-note{font-size:12px!important;margin:0 0 9px!important;color:#517381!important}
html body .bk-bboutique-view .bk-bboutique-spec{background:#fff!important;border:1px solid #e1ebef!important;border-radius:11px!important;padding:10px!important;margin:0 0 7px!important}
html body .bk-bboutique-view .bk-bboutique-spec h3{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 10px!important;font-size:14px!important}
html body .bk-bboutique-view .bk-bboutique-spec h3 small{font-size:11px!important;color:#7793a0!important;font-weight:500!important}
html body .bk-bboutique-view .bk-bboutique-spec dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0!important}
html body .bk-bboutique-view .bk-bboutique-spec dl>div{margin:0!important;border-radius:8px;padding:7px 8px;background:#f7fafb}
html body .bk-bboutique-view .bk-bboutique-spec dt{font-size:10px!important;color:#617d8c!important;margin:0!important}
html body .bk-bboutique-view .bk-bboutique-spec dd{font-size:12px!important;font-weight:700!important;margin:2px 0 0!important;overflow-wrap:anywhere}
html body .bk-bboutique-view .bk-bboutique-spec dl>div.bk-bboutique-total{background:#e0f5ed!important;color:#0a644c!important}
html body .bk-bboutique-view .bk-bboutique-description{margin:8px 0 0!important;font-size:12px!important;color:#4d6978!important}
html body .bk-bboutique-add{position:fixed!important;z-index:100020!important;bottom:calc(18px + env(safe-area-inset-bottom, 0px))!important;right:16px!important;width:58px!important;height:58px!important;max-width:none!important;padding:0!important;border:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:38px!important;line-height:1!important;font-weight:300!important;color:#fff!important;background:#1594b4!important;box-shadow:0 6px 22px rgba(15,64,85,.3)!important;cursor:pointer!important}
html body .bk-bboutique-add:focus-visible{outline:3px solid #fff;outline-offset:2px}
html body .bk-bboutique-editor-overlay{position:fixed!important;z-index:100120!important;inset:0!important;background:rgba(11,26,40,.68)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;box-sizing:border-box!important}
html body .bk-bboutique-editor-overlay[hidden]{display:none!important}
html body .bk-bboutique-editor{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:min(560px,100%)!important;max-height:calc(100dvh - 24px)!important;max-height:calc(100svh - 24px)!important;min-height:0!important;overflow:hidden!important;border-radius:18px!important;background:#fff!important;box-shadow:0 16px 60px rgba(0,0,0,.23)!important;color:#243e4e!important}
html body .bk-bboutique-editor>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;padding:14px 17px!important;border-bottom:1px solid #e4edf0!important}
html body .bk-bboutique-editor header strong{font-size:19px!important;color:#173a4b!important}
html body .bk-bboutique-editor header p{font-size:11px!important;color:#6c8796!important;margin:2px 0 0!important}
html body .bk-bboutique-editor header button{width:34px!important;height:34px!important;min-height:34px!important;border:0!important;border-radius:9px!important;background:#edf4f6!important;font-size:25px!important;color:#3f6170!important}
html body .bk-bboutique-form{box-sizing:border-box!important;padding:14px 17px 20px!important;overflow-y:auto!important;overscroll-behavior:contain!important;display:flex!important;flex-direction:column!important;gap:10px!important;min-height:0!important}
html body .bk-bboutique-form label{display:flex!important;flex-direction:column!important;gap:4px!important;font-size:12px!important;line-height:1.3!important;font-weight:650!important;color:#42616f!important;min-width:0!important}
html body .bk-bboutique-form input:not([type="file"]),html body .bk-bboutique-form select,html body .bk-bboutique-form textarea{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:41px!important;margin:0!important;padding:10px 9px!important;border-radius:9px!important;border:1px solid #ccdde5!important;background:#fff!important;color:#1c3444!important;font:inherit!important;font-size:13px!important;box-shadow:none!important}
html body .bk-bboutique-form textarea{min-height:64px!important;resize:vertical!important}
html body .bk-bboutique-form .bk-editor-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:start!important}
html body .bk-bboutique-form .bk-editor-triplet{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html body .bk-bboutique-form fieldset{margin:0!important;border:1px solid #dce7eb!important;border-radius:11px!important;padding:9px!important;min-width:0!important}
html body .bk-bboutique-form legend{font-size:12px!important;font-weight:750!important;color:#406172!important;padding:0 5px!important}
html body .bk-bboutique-form .bk-editor-price{display:block!important;border-radius:10px!important;background:#e4f6ef!important;color:#12604a!important;padding:10px!important;font-size:13px!important;font-weight:800!important}
html body .bk-bboutique-form .bk-editor-media-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
html body .bk-bboutique-form .bk-editor-media-slot{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:5px!important;position:relative!important;min-height:78px!important;max-width:100%!important;padding:8px 4px!important;background:#f2f8fb!important;border:1px dashed #8eb4c2!important;border-radius:10px!important;cursor:pointer!important;overflow:hidden!important}
html body .bk-bboutique-form .bk-editor-media-slot span{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;overflow-wrap:anywhere!important;max-width:100%!important;font-size:11px!important;font-weight:800!important}
html body .bk-bboutique-form .bk-editor-media-slot small{font-size:9px!important;color:#6b8b99!important}
html body .bk-bboutique-form .bk-editor-media-slot.has-file{background:#e3f5ed!important;border-color:#74bea7!important}
html body .bk-bboutique-form .bk-editor-media-slot input[type="file"]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
html body .bk-bboutique-form .bk-editor-media p{font-size:10px!important;margin:6px 0 0!important;color:#6d8491!important}
html body .bk-bboutique-form .bk-editor-optional{font-size:11px!important;font-weight:400!important;color:#8095a0!important}
html body .bk-bboutique-form .bk-editor-feedback{margin:0!important;min-height:1.3em!important;color:#3c697a!important;font-size:12px!important}
html body .bk-bboutique-form .bk-editor-submit{width:100%!important;min-height:45px!important;border:0!important;border-radius:11px!important;background:#168eae!important;color:#fff!important;font-size:14px!important;font-weight:800!important;cursor:pointer!important}
html body .bk-bboutique-form .bk-editor-submit:disabled{opacity:.6!important;cursor:wait!important}
@media(max-width:370px){html body .bk-bboutique-view .bk-bboutique-head-actions{gap:2px!important}html body .bk-bboutique-view .bk-bboutique-share{padding:6px 7px!important}html body .bk-bboutique-form .bk-editor-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .bk-bboutique-form .bk-editor-pair{gap:7px!important}}


/* v0.6.2: identical category-title zones, including the linked Hand Knits card. */
html body .bk-bboutique-view .bk-bboutique-category-card .bosky-cat-body {
 display:grid!important;place-items:center!important;align-content:center!important;
 flex:0 0 64px!important;height:64px!important;min-height:64px!important;max-height:64px!important;
 padding:5px 5px!important;margin:0!important;gap:0!important;
 width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
html body .bk-bboutique-view .bk-bboutique-category-card .bosky-cat-body .bosky-cat-title {
 display:block!important;position:static!important;align-self:center!important;justify-self:center!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;transform:none!important;
 color:#233e51!important;font-size:clamp(13px,3.8vw,17px)!important;
 font-weight:800!important;line-height:1.17!important;letter-spacing:-.2px!important;
 text-align:center!important;white-space:normal!important;overflow:visible!important;
 -webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;
 text-wrap:balance!important;
}
html body .bk-bboutique-view .bk-bboutique-category-card.is-featured .bosky-cat-body .bosky-cat-title {
 color:#08768a!important;font-weight:900!important;
}
/* The actual Catalogue viewer remains owner of overlay, stage and close button.
   Only BBoutique's extra gallery pager is supplied by this bridge. */
body.bk-bboutique-native-viewer-route .bosky-media-pop .bosky-media-open-instagram {display:none!important}
body.bk-bboutique-native-viewer-route .bosky-media-pop .bk-bboutique-native-pager{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:8px!important;max-width:100%!important;width:100%!important;
 padding:2px 0 0!important;box-sizing:border-box!important;color:#fff!important;
}
body.bk-bboutique-native-viewer-route .bosky-media-pop .bk-bboutique-native-pager button {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:37px!important;min-height:37px!important;margin:0!important;padding:6px!important;
 color:#fff!important;background:#263747!important;border:1px solid #677887!important;
 border-radius:9px!important;font-size:17px!important;font-weight:700!important;
 cursor:pointer!important;
}
body.bk-bboutique-native-viewer-route .bosky-media-pop .bk-bboutique-native-pager .bk-bboutique-native-share{
 background:#d9f5e8!important;color:#125f4e!important;border-color:#98d8bd!important;
 font-size:13px!important;min-width:80px!important;
}
body.bk-bboutique-native-viewer-route .bosky-media-pop .bk-bboutique-native-counter{
 font:700 13px/1.2 system-ui,sans-serif!important;color:#fff!important;
 min-width:40px!important;text-align:center!important;
}
body.bk-bboutique-native-viewer-route .bosky-media-pop .bk-bboutique-native-pager [hidden],
body.bk-bboutique-native-viewer-route .bosky-media-pop .bosky-media-frame [hidden] {display:none!important}
body.bk-bboutique-native-viewer-route .bosky-media-pop .bosky-media-frame{touch-action:pan-y}
body.bk-bboutique-native-viewer-route .bosky-media-pop .bosky-media-frame img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
@media (max-width:370px){
 html body .bk-bboutique-view .bk-bboutique-category-card .bosky-cat-body .bosky-cat-title{font-size:13px!important}
}
