/* Breezal R102 - option sheet (all themes). Colours follow the store's own settings. */
html.br102-lock, html.br102-lock body { overflow: hidden !important; }
.br102-sheet { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; font-family: var(--shop-font, inherit); color: var(--text-color, #1d1d1b); }
.br102-backdrop { position: absolute; inset: 0; background: rgba(12, 12, 10, .46); opacity: 0; transition: opacity .2s ease; }
.br102-panel {
  position: relative; width: min(440px, calc(100vw - 32px)); max-height: min(86vh, 720px); overflow: auto; overscroll-behavior: contain;
  background: var(--shop-bg, #fff); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); padding: 24px 22px 20px;
  transform: translateY(14px) scale(.985); opacity: 0; transition: transform .22s cubic-bezier(.2, .7, .2, 1), opacity .2s ease;
}
.br102-sheet.is-open .br102-backdrop { opacity: 1; }
.br102-sheet.is-open .br102-panel { transform: none; opacity: 1; }
.br102-panel:focus { outline: none; }
.br102-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: .65; }
.br102-x:hover { opacity: 1; background: rgba(0, 0, 0, .05); }
.br102-head { display: flex; gap: 14px; align-items: center; padding-right: 30px; margin-bottom: 18px; }
.br102-img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: rgba(0, 0, 0, .05); }
.br102-kicker { margin: 0 0 2px; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.br102-head h2 { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: var(--heading-color, inherit); font-family: inherit; letter-spacing: 0; }
.br102-price { margin: 4px 0 0; font-size: .92rem; opacity: .8; }
.br102-group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.br102-group legend { float: none; width: auto; padding: 0; margin: 0 0 9px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.br102-group legend span { font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .7; }
.br102-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.br102-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; min-width: 48px; justify-content: center; padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, .18); border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: .88rem; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.br102-pill:hover { border-color: currentColor; }
.br102-pill.is-on { border-color: var(--btn-bg, var(--shop-accent, #111)); box-shadow: inset 0 0 0 1px var(--btn-bg, var(--shop-accent, #111)); font-weight: 600; }
.br102-pill:focus-visible, .br102-go:focus-visible, .br102-x:focus-visible { outline: 2px solid var(--shop-accent, #111); outline-offset: 2px; }
.br102-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); flex: 0 0 auto; }
.br102-hint { min-height: 1.2em; margin: 2px 0 10px; font-size: .8rem; opacity: .7; }
.br102-go {
  width: 100%; min-height: 50px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--btn-bg, var(--shop-accent, #111)); color: var(--btn-text, #fff); transition: opacity .2s ease;
}
.br102-go[disabled] { opacity: .4; cursor: not-allowed; }
@media (max-width: 560px) {
  .br102-sheet { align-items: flex-end; }
  .br102-panel { width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(40px); }
}
/* Zenith: square controls to match the theme */
body.zenith-body .br102-panel { border-radius: 2px; }
body.zenith-body .br102-pill, body.zenith-body .br102-go { border-radius: 0; }
@media (max-width: 560px) { body.zenith-body .br102-panel { border-radius: 0; } }
/* Custom options on the product page (R102) */
.br102-detail-group { margin-bottom: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .br102-panel, .br102-backdrop { transition: none; } }
