/* Design preview products. E palette, local type and approved page structure. */
.bb-demo-note { border-left:3px solid var(--orange); background:#f7ecd9; padding:12px 16px; margin:8px 0 24px; font-size:15px; line-height:1.5; }
.bb-demo-note strong { font-weight:650; }.bb-demo-note p { margin-top:3px; }
.bb-preview-section { margin:30px 0; }.bb-preview-heading { display:flex; flex-wrap:wrap; gap:16px; align-items:baseline; justify-content:space-between; margin-bottom:20px; }
.bb-preview-heading h2 { font-size:clamp(26px,2.6vw,36px); letter-spacing:-.035em; line-height:1.15; }
.bb-preview-count { font-size:15px; }.bb-preview-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px 20px; }
.bb-preview-grid[data-count="1"] { grid-template-columns:minmax(0,320px); }.bb-preview-grid[data-count="2"] { grid-template-columns:repeat(2,minmax(0,320px)); }
.bb-preview-grid[data-count="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.bb-preview-grid.bb-preview-home { grid-template-columns:repeat(5,minmax(0,1fr)); }
.bb-preview-card { min-width:0; display:flex; flex-direction:column; padding:0; border:0; background:transparent; }
.bb-preview-image { display:block; overflow:hidden; background:#fbf3e4; border:1px solid var(--line); border-radius:5px; }
.bb-preview-image img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; transition:transform .22s ease; }.bb-preview-image:hover img { transform:scale(1.025); }
.bb-preview-card-copy { padding:12px 0 4px; }.bb-preview-category { font-size:14px; color:#42645a; }.bb-preview-card h3 { font-family:var(--body); font-size:20px; font-weight:600; line-height:1.25; margin:5px 0 10px; }
.bb-preview-card h3 a { display:inline-block; padding:3px 0; }.bb-preview-card h3 a:hover { text-decoration:underline; text-underline-offset:4px; }
.bb-preview-price { font-size:22px; font-weight:600; display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; }
.bb-preview-price small { font-size:13px; font-weight:400; }.bb-preview-link { display:inline-flex; min-height:44px; align-items:center; gap:8px; font-size:15px; margin-top:4px; text-decoration:underline; text-underline-offset:4px; }
.bb-product-preview { padding:10px 6px 36px; }.bb-product-preview .bb-breadcrumb { margin-bottom:15px; }
.bb-preview-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(30px,4vw,70px); align-items:start; margin:20px 0 48px; }
.bb-preview-media { margin:0; min-width:0; }.bb-preview-photo { display:block; width:100%; border:1px solid var(--line); border-radius:6px; padding:0; background:#fbf3e4; cursor:zoom-in; }
.bb-preview-photo img { width:100%; aspect-ratio:1; height:auto; object-fit:contain; border-radius:6px; }.bb-preview-media figcaption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; align-items:center; margin-top:10px; font-size:14px; }
.bb-preview-media figcaption button { border:0; background:transparent; text-decoration:underline; text-underline-offset:4px; min-height:44px; padding:4px 0; }
.bb-preview-summary { padding:14px 0 0; }.bb-preview-eyebrow { font-size:14px; letter-spacing:.045em; text-transform:uppercase; margin-bottom:14px; }
.bb-preview-summary h1 { font-size:clamp(35px,3.8vw,57px); letter-spacing:-.045em; line-height:1.05; text-wrap:balance; margin-bottom:20px; }
.bb-preview-short { font-size:19px; line-height:1.5; max-width:520px; margin-bottom:24px; }.bb-preview-summary .bb-preview-price { font-size:32px; margin-bottom:22px; }.bb-preview-summary .bb-preview-price small { font-size:15px; }
.bb-preview-color { display:flex; align-items:center; gap:9px; margin-bottom:24px; }.bb-preview-swatch { width:23px; height:23px; border:1px solid #879689; border-radius:50%; background:var(--swatch,#e7dbbe); flex:none; }
.bb-preview-summary .bb-demo-note { background:transparent; border:1px solid var(--line); border-left:3px solid var(--orange); padding:16px 18px; margin-bottom:20px; }
.bb-preview-unavailable { width:100%; min-height:52px; font-size:17px; background:var(--green); color:var(--paper); border:0; border-radius:4px; padding:12px 16px; cursor:not-allowed; opacity:1; }
.bb-preview-actions p { font-size:14px; margin:10px 0 16px; color:#42645a; }.bb-preview-actions a { display:inline-flex; align-items:center; gap:8px; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.bb-preview-description { max-width:1000px; margin-bottom:42px; }.bb-preview-description h2 { font-size:32px; letter-spacing:-.035em; margin-bottom:16px; }.bb-preview-description > p { font-size:18px; line-height:1.6; max-width:850px; margin-bottom:24px; }
.bb-preview-details { border-top:1px solid var(--line); }.bb-preview-details > summary { font-family:var(--body); font-weight:600; font-size:19px; cursor:pointer; min-height:62px; padding:18px 2px; }
.bb-preview-details[open] > summary { margin-bottom:10px; }.bb-preview-details > p { margin:0 0 22px; font-size:16px; line-height:1.6; }.bb-preview-specs { margin:0 0 24px; display:grid; grid-template-columns:160px minmax(0,1fr); gap:14px 28px; font-size:16px; }
.bb-preview-specs dt { color:#42645a; }.bb-preview-specs dd { margin:0; }.bb-preview-related { margin-top:45px; padding-top:28px; border-top:1px solid var(--line); }
.bb-preview-zoom { background:var(--paper); color:var(--green); border:1px solid var(--line); border-radius:6px; padding:14px; width:min(950px,calc(100% - 32px)); max-height:calc(100dvh - 32px); }
.bb-preview-zoom::backdrop { background:#102720b8; }.bb-preview-zoom header { display:flex; gap:20px; justify-content:space-between; align-items:center; }.bb-preview-zoom h2 { font-size:20px; }.bb-preview-zoom button { flex:none; border:1px solid var(--line); background:transparent; min-height:44px; padding:8px 14px; border-radius:4px; }
.bb-preview-zoom img { width:100%; max-height:calc(100dvh - 125px); object-fit:contain; margin-top:12px; }
.bb-preview-filter { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-bottom:18px; }.bb-preview-filter select { background:var(--paper); color:var(--green); min-height:44px; padding:8px 12px; border:1px solid #9eafa3; border-radius:4px; font:inherit; }
.bb-preview-filter label { display:flex; align-items:center; gap:9px; }.bb-preview-filter select:focus-visible,.bb-preview-details summary:focus-visible { outline:3px solid var(--green); outline-offset:3px; }
.bb-preview-card[hidden] { display:none; }.bb-preview-filter-status { font-size:15px; }
@media(max-width:1050px) { .bb-preview-grid,.bb-preview-grid.bb-preview-home { grid-template-columns:repeat(3,minmax(0,1fr)); }.bb-preview-layout { gap:28px; }.bb-preview-summary h1 { font-size:40px; }.bb-preview-short { font-size:18px; } }
@media(max-width:680px) {
 .bb-product-preview { padding:4px 0 22px; }.bb-preview-layout { grid-template-columns:minmax(0,1fr); gap:22px; margin:12px 0 32px; }.bb-preview-summary { padding-top:0; }.bb-preview-summary h1 { font-size:36px; margin-bottom:15px; }.bb-preview-short { font-size:17px; margin-bottom:20px; }
 .bb-preview-grid,.bb-preview-grid.bb-preview-home,.bb-preview-grid[data-count="3"],.bb-preview-grid[data-count="2"] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px 14px; }.bb-preview-grid[data-count="1"] { grid-template-columns:minmax(0,1fr); max-width:360px; }
 .bb-preview-card h3 { font-size:17px; }.bb-preview-category { font-size:13px; }.bb-preview-price { font-size:21px; gap:5px; }.bb-preview-price small { font-size:12px; }.bb-preview-link { font-size:14px; }
 .bb-preview-description h2 { font-size:28px; }.bb-preview-description > p { font-size:17px; }.bb-preview-specs { grid-template-columns:110px minmax(0,1fr); gap:12px 14px; }.bb-demo-note { font-size:14px; }
 .bb-preview-filter { align-items:stretch; }.bb-preview-filter label { flex:1 1 150px; flex-direction:column; align-items:stretch; gap:5px; }.bb-preview-filter select { width:100%; max-width:100%; }.bb-preview-zoom { width:calc(100% - 20px); max-height:calc(100dvh - 20px); padding:10px; }
}
@media(prefers-reduced-motion:reduce) { .bb-preview-image img { transition:none; }.bb-preview-image:hover img { transform:none; } }
