/* BoiJunto V18: cartões e galeria de grupo, foco em ergonomia e leitura. */
body.bc-reference .bc13-card .bc6-share,body.bc-reference .bc13-product .bc13-quota{
 position:relative;isolation:isolate;min-width:39px;width:39px;height:45px;min-height:45px;
 border:1px solid #e1e7ea;border-radius:11px;background:linear-gradient(165deg,#fff,#f7faf8);
 box-shadow:0 2px 0 #d8e5dc,0 3px 7px #102b1c12;overflow:visible;
 padding:3px 3px 12px;display:inline-flex;align-items:center;justify-content:center;
}
body.bc-reference .bc13-card .bc6-share-available,body.bc-reference .bc13-product .bc13-quota-available:not(:disabled){color:#159447;border-color:#a8dfb8;background:linear-gradient(160deg,#effdf3,#dbf7e4);cursor:pointer;box-shadow:0 2px 0 #a4d9b5,0 3px 8px #1d8e4e1a}
body.bc-reference .bc13-card .bc6-share-sold,body.bc-reference .bc13-product .bc13-quota-sold{color:#9ea4ae;border-color:#d5d9df;background:linear-gradient(165deg,#f9fafb,#e8ebef);box-shadow:0 2px 0 #c9cdd2}
body.bc-reference .bc13-card .bc6-share-reserved,body.bc-reference .bc13-product .bc13-quota-reserved{color:#a77a13;border-color:#efdca4;background:linear-gradient(165deg,#fffbeb,#fff3d3)}
body.bc-reference .bc13-card .bc6-share-available[aria-pressed=true],body.bc-reference .bc13-product .bc13-quota-available[aria-pressed=true]{color:#c34505;border:2px solid #d7641e;background:linear-gradient(165deg,#fff5ed,#ffdabc);box-shadow:0 3px 0 #df935a,0 4px 10px #be5d193d;transform:translateY(-2px)}
body.bc-reference .bc13-card .bc6-share-available:not(:disabled):hover,body.bc-reference .bc13-product .bc13-quota-available:not(:disabled):hover{transform:translateY(-2px)}
body.bc-reference .bc13-card .bc6-share .bc13-steak,body.bc-reference .bc13-product .bc13-quota .bc13-steak{width:28px;height:28px;filter:drop-shadow(0 1px 1px #26372e2a);stroke-width:1.8;flex-shrink:0}
body.bc-reference .bc18-quota-number{position:absolute;bottom:1px;left:2px;right:2px;text-align:center;font-size:10px;font-variant-numeric:tabular-nums;font-weight:900;line-height:13px;letter-spacing:0;pointer-events:none}
body.bc-reference .bc13-card .bc6-shares,body.bc-reference .bc13-product .bc13-quota-icons{gap:7px;overflow:visible;padding:7px 2px 8px;justify-content:flex-start}
body.bc-reference .bc13-product .bc13-quota-icons{justify-content:center}
body.bc-reference .bc13-card .bc6-share-available[aria-pressed=true]:after,body.bc-reference .bc13-quota-available[aria-pressed=true]:after{top:-6px;right:-5px;z-index:2}
body.bc-reference .bc18-counter-legend{display:flex;align-items:center;flex-wrap:wrap;gap:7px;border:0}
body.bc-reference .bc18-counter-legend .bc18-count{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;border-radius:99px;font-size:11px;line-height:1.2;font-weight:700}
body.bc-reference .bc18-counter-legend .bc18-count b{font-size:13px;font-variant-numeric:tabular-nums}
body.bc-reference .bc18-counter-legend .bc18-free{color:#13733b;background:#eaf8ee;border:1px solid #b6e7c5}
body.bc-reference .bc18-counter-legend .bc18-sold{color:#64748b;background:#f0f2f5;border:1px solid #dfe4ea}
body.bc-reference .bc18-counter-legend .bc18-count i{width:7px;height:7px;border-radius:50%;display:block}
/* Galeria: miniaturas compactas sem deslocar a seção de compra no desktop. */
body.bc-reference .bc18-product-gallery{margin:10px 0 14px;padding:13px;border:1px solid #e6e8ed;border-radius:14px;background:#fff}
body.bc-reference .bc18-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
body.bc-reference .bc18-gallery-heading h2{font-size:14px;font-weight:850;color:#1f2937;line-height:1.3;margin:0}
body.bc-reference .bc18-gallery-heading span{font-size:11px;color:#64748b;white-space:nowrap}
body.bc-reference .bc18-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
body.bc-reference .bc18-gallery-thumb{width:83px;height:67px;min-width:83px;flex:0 0 83px;overflow:hidden;padding:0;border:2px solid #dfe3e8;border-radius:9px;background:#f4f4f5;cursor:pointer;display:grid;place-items:center}
body.bc-reference .bc18-gallery-thumb.is-active,body.bc-reference .bc18-gallery-thumb:focus-visible{border-color:#c34505;outline:2px solid #ffb886;outline-offset:1px}
body.bc-reference .bc18-gallery-thumb img{width:100%;height:100%;object-fit:cover}
body.bc-reference .bc18-gallery-thumb.bc18-gallery-video{background:linear-gradient(140deg,#374151,#101827);color:#fff;display:flex;flex-direction:column;gap:2px}
body.bc-reference .bc18-gallery-video span{font-size:23px;color:#ffb579}
body.bc-reference .bc18-gallery-video small{font-size:10px}
body.bc-reference .bc18-gallery-player{position:relative;margin-top:10px;border-radius:11px;background:#0b1221;overflow:hidden;aspect-ratio:16/9}
body.bc-reference .bc18-gallery-player iframe,body.bc-reference .bc18-gallery-player video{width:100%;height:100%;border:0;display:block}
body.bc-reference .bc18-gallery-player[hidden]{display:none}
/* Administração: upload em lote, prévias e mídias já cadastradas. */
.bc18-media-panel{padding:18px;border:1px solid #e0e4eb;border-radius:16px;background:#fbfcfd;margin:14px 0 22px;min-width:0}
.bc18-section-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:13px}
.bc18-section-heading h2{font-size:18px;margin:0 0 4px;font-weight:850;color:#222a36}
.bc18-section-heading h3{font-size:15px;margin:0}
.bc18-section-heading p{font-size:12px;color:#64748b;margin:0;max-width:67ch;line-height:1.5}
.bc18-section-heading small{font-size:11px;color:#64748b}
.bc18-media-pill{background:#fff0e3;color:#9b3909;border-radius:30px;padding:6px 11px;font-size:11px;font-weight:800;white-space:nowrap}
.bc18-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.bc18-drop{display:flex!important;flex-direction:column;gap:5px;align-items:center;justify-content:center;text-align:center;cursor:pointer;border:2px dashed #dfb18f;padding:15px 13px;border-radius:13px;background:white;min-height:133px}
.bc18-drop:hover,.bc18-drop:focus-within{border-color:#c34505;background:#fff6ee}
.bc18-drop .bc18-upload-symbol{font-size:25px;color:#c34505;line-height:1}
.bc18-drop strong{font-size:13px;color:#2c3747}
.bc18-drop small{font-size:10px;color:#697586;line-height:1.5}
.bc18-drop input[type=file]{width:100%;font-size:11px;max-width:280px;color:#475569;margin:8px 0 0}
.bc18-youtube-label{display:block!important;font-size:12px;font-weight:800;color:#334155;margin:16px 0}
.bc18-youtube-label input{display:block;width:100%;margin:6px 0}
.bc18-youtube-label small{display:block;font-size:11px;color:#64748b}
.bc18-preview-grid,.bc18-saved-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px;margin:11px 0 14px}
.bc18-preview,.bc18-saved-item{min-width:0;border:1px solid #d8dee7;border-radius:11px;padding:6px;background:white;overflow:hidden}
.bc18-preview img,.bc18-preview video,.bc18-saved-visual img,.bc18-saved-visual video{height:85px;width:100%;object-fit:cover;display:block;border-radius:7px;background:#e9edf1}
.bc18-saved-visual{height:85px;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#e9edf1}
.bc18-saved-visual a{font-weight:850;text-decoration:none;color:#c34505}
.bc18-preview small{font-size:10px;overflow-wrap:anywhere;display:block;margin-top:4px;color:#475569}
.bc18-media-actions{display:flex;gap:5px;margin:6px 0}
.bc18-media-actions button{flex:1;padding:3px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;font-size:13px;cursor:pointer}
.bc18-media-actions button:hover{background:#fff2e6}
.bc18-media-action{display:flex!important;gap:5px;align-items:center;font-size:10px;margin-top:4px;color:#475569}
.bc18-media-action input{width:14px!important;height:14px!important;flex:none}
.bc18-media-note{font-size:11px;color:#64748b;line-height:1.55;margin:10px 0 0}
@media(max-width:650px){.bc18-upload-grid{grid-template-columns:1fr}.bc18-media-panel{padding:12px}.bc18-section-heading{align-items:flex-start;flex-wrap:wrap}body.bc-reference .bc13-card .bc6-shares{gap:5px}}
