/* Instrument catalogue: styles remain within this section and its native dialog. */
.lesson-storefront, .lesson-dialog {
  --lesson-green: #193b32;
  --lesson-cream: #f6f2e9;
  --lesson-paper: #fffdf8;
  --lesson-line: #d2d6c9;
  --lesson-muted: #52685d;
  color: var(--lesson-green);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
}
.lesson-storefront *, .lesson-dialog * { box-sizing: border-box; }
.lesson-storefront { background: var(--lesson-cream); padding: 64px 0; }
.lesson-storefront .lesson-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.lesson-storefront h2, .lesson-storefront h3, .lesson-dialog h2, .lesson-dialog h3 {
  color: var(--lesson-green);
  font-family: Lora, Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.5px;
  text-transform: none;
}
.lesson-storefront p, .lesson-dialog p { font-size: 16px; line-height: 1.65; }
.lesson-storefront .lesson-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom: 28px; }
.lesson-storefront .lesson-heading > div { max-width:790px; }
.lesson-storefront .lesson-location { white-space:nowrap; border:1px solid var(--lesson-line); border-radius:24px; padding:10px 18px; font-size:14px; }
.lesson-storefront [hidden] { display:none !important; }
.lesson-storefront .lesson-heading h2 { font-size: clamp(34px, 3.8vw, 48px); margin: 0 0 16px; }
.lesson-storefront .lesson-heading p { color: var(--lesson-muted); margin: 0 0 12px; }
.lesson-storefront .lesson-entrypoints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; scroll-margin-top: 110px; }
.lesson-storefront .lesson-entrypoint { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 26px; border: 1px solid var(--lesson-line); border-radius: 14px; background: var(--lesson-paper); }
.lesson-storefront .lesson-entrypoint-studio { background: #ece4d0; border-color: #cfc3a6; }
.lesson-storefront .lesson-entrypoint h3 { font-size: clamp(25px, 2.5vw, 32px); margin: 0 0 14px; }
.lesson-storefront .lesson-entrypoint > p { color: var(--lesson-muted); margin: 0 0 18px; }
.lesson-storefront .lesson-entrypoint > .lesson-eyebrow { margin-bottom: 10px; }
.lesson-storefront .lesson-entrypoint .lesson-button { margin-top: auto; }
.lesson-storefront .lesson-entrypoint > .lesson-entrypoint-help { margin: 16px 0 0; font-size: 14px; }
.lesson-storefront .lesson-entrypoint-help a { color: var(--lesson-green); text-underline-offset: 3px; }
.lesson-storefront .lesson-programme-picker { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.lesson-storefront .lesson-programme-picker button { min-height: 48px; padding: 12px 18px; border: 1px solid var(--lesson-green); border-radius: 8px; background: var(--lesson-paper); color: var(--lesson-green); font: 700 15px/1.5 Manrope, Arial, sans-serif; cursor: pointer; }
.lesson-storefront .lesson-programme-picker button[aria-pressed="true"] { background: var(--lesson-green); color: var(--lesson-paper); }
.lesson-storefront .lesson-eyebrow, .lesson-dialog .lesson-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.lesson-storefront .lesson-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.lesson-storefront .lesson-filters button {
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid #bfc8b9;
  border-radius: 24px;
  background: transparent;
  color: var(--lesson-green);
  font: 600 14px/1.5 Manrope, Arial, sans-serif;
  cursor: pointer;
  white-space: normal;
}
.lesson-storefront .lesson-filters button[aria-pressed="true"] {
  background: var(--lesson-green); color: var(--lesson-paper); border-color: var(--lesson-green);
}
.lesson-storefront .lesson-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lesson-storefront .lesson-card { min-width: 0; border: 1px solid var(--lesson-line); border-radius: 15px; overflow: hidden; background: var(--lesson-paper); }
.lesson-storefront .lesson-card[hidden] { display: none; }
.lesson-storefront .lesson-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #eee8df; }
.lesson-storefront .lesson-drums-photo { object-fit:cover; object-position:50% 75%; }
.lesson-storefront .lesson-copy { padding: 24px; }
.lesson-storefront .lesson-copy h3 { font-size: 28px; margin: 0 0 9px; }
.lesson-storefront .lesson-copy > p { color: var(--lesson-muted); margin: 0 0 18px; }
.lesson-storefront .lesson-price {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 10px 0 0;
  border: 1px solid #c5cebd;
  border-radius: 8px;
  background: #f8f9f2;
  color: var(--lesson-green);
  text-decoration: none;
  line-height: 1.45;
}
.lesson-storefront .lesson-price strong { font-size: 23px; font-weight: 800; line-height: 1.35; }
.lesson-storefront .lesson-price small { display: block; margin-top: 5px; font-size: 14px; line-height: 1.55; }
.lesson-storefront .lesson-card-action-label { display: block; margin-top: 12px; font-size: 14px; font-weight: 800; }
.lesson-storefront .lesson-price .lesson-unit, .lesson-storefront .lesson-price .unit { font-size: 14px; font-weight: 500; }
.lesson-storefront .lesson-price-featured { background: var(--lesson-green); border-color: var(--lesson-green); color: var(--lesson-paper); }
.lesson-storefront .lesson-card-note { font-size: 14px; line-height: 1.65; color: var(--lesson-muted); margin: 16px 0 0; }
.lesson-storefront .lesson-copy > .lesson-card-note { font-size: 14px; margin: 16px 0 0; }
.lesson-storefront .lesson-extra { display:flex; flex-wrap:wrap; gap:14px 24px; margin: 20px 0 28px; color: var(--lesson-muted); font-size: 14px; }
.lesson-storefront .lesson-price-note { color:var(--lesson-muted); font-size:14px; margin-top:20px; }
.lesson-storefront .lesson-extra a { color: var(--lesson-green); text-decoration: underline; text-underline-offset: 3px; }
.lesson-storefront .lesson-hobby {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-top: 32px;
  border: 1px solid #cfc3a6;
  border-radius: 14px;
  overflow: hidden;
  background: #ece4d0;
}
.lesson-storefront .lesson-hobby-copy, .lesson-storefront .lesson-switch { min-width: 0; padding: 32px; }
.lesson-storefront .lesson-hobby-copy h3 { font-size: 36px; margin: 8px 0 14px; }
.lesson-storefront .lesson-hobby-copy p { margin: 0 0 14px; }
.lesson-storefront .lesson-hobby-copy .lesson-eyebrow { font-size: 12px; color: #695a35; }
.lesson-storefront .lesson-hobby-copy strong { font-weight: 800; }
.lesson-storefront .lesson-hobby-price { margin: 18px 0 8px; }
.lesson-storefront .lesson-hobby-price strong { font-size: 34px; line-height: 1.3; }
.lesson-storefront .lesson-switch { border-left: 1px solid #cfc3a6; background: var(--lesson-paper); }
.lesson-storefront .lesson-switch h3 { font-size: 30px; margin: 8px 0 14px; }
.lesson-storefront .lesson-switch p { color: var(--lesson-muted); margin: 0 0 18px; }
.lesson-storefront .lesson-button, .lesson-dialog .lesson-button,
.lesson-storefront .lesson-switch-action, .lesson-storefront .lesson-submit,
.lesson-dialog .lesson-switch-action, .lesson-dialog .lesson-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--lesson-green);
  border-radius: 8px;
  background: var(--lesson-green);
  color: var(--lesson-paper);
  font: 700 16px/1.5 Manrope, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}
.lesson-storefront .lesson-button-outline, .lesson-storefront .lesson-switch .lesson-switch-action, .lesson-dialog .lesson-switch-action {
  background: var(--lesson-paper); color: var(--lesson-green);
}
.lesson-storefront :is(a, button):focus-visible, .lesson-dialog :is(a, button, input, select):focus-visible {
  outline: 3px solid #9b7536; outline-offset: 4px;
}
.lesson-storefront .lesson-price:hover, .lesson-storefront .lesson-filters button:hover { box-shadow: 0 0 0 2px #b5c3ad; }
.lesson-storefront .lesson-credits { margin-top: 24px; color: var(--lesson-muted); font-size: 12px; line-height: 1.7; }
.lesson-storefront .lesson-credits summary { min-height: 44px; display: list-item; padding-block: 10px; cursor: pointer; font-size: 14px; }
.lesson-storefront .lesson-credits p, .lesson-storefront .lesson-credits a { font-size: 12px; }
.lesson-storefront .lesson-credits a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lesson-dialog {
  width: min(720px, calc(100% - 32px));
  max-width: 720px;
  max-height: calc(100dvh - 32px);
  padding: 32px;
  border: 1px solid #d0d5c8;
  border-radius: 16px;
  background: var(--lesson-paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 22px 90px #101d1866;
}
.lesson-dialog::backdrop { background: #0d1d18b8; }
.lesson-dialog h2 { padding-right: 40px; margin: 0 0 12px; font-size: 32px; }
.lesson-dialog h3 { margin: 0 0 12px; font-size: 25px; }
dialog.lesson-dialog > p { color: var(--lesson-muted); font-size: 16px; margin: 0 0 22px; }
.lesson-dialog .lesson-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--lesson-line);
  border-radius: 50%;
  background: var(--lesson-paper);
  color: var(--lesson-green);
  font: 400 28px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
}
.lesson-dialog .lesson-dialog-form { display: grid; gap: 20px; margin: 0; }
.lesson-dialog .lesson-field { min-width: 0; }
.lesson-dialog .lesson-field label { display: block; margin: 0 0 7px; color: var(--lesson-green); font-size: 14px; font-weight: 700; }
.lesson-dialog .lesson-field select {
  width: 100%; max-width: 100%; min-height: 48px; padding: 11px 36px 11px 12px;
  border: 1px solid #aebda9; border-radius: 7px; background-color: #fff;
  color: var(--lesson-green); font: 400 16px/1.5 Manrope, Arial, sans-serif;
}
.lesson-dialog .lesson-plan-options, .lesson-dialog .lesson-programme-options { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.lesson-dialog .lesson-plan-options legend, .lesson-dialog .lesson-programme-options legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.lesson-dialog [data-lesson-studio-path] { padding: 18px; border: 1px solid var(--lesson-line); border-radius: 10px; background: var(--lesson-cream); }
.lesson-dialog .lesson-plan-option { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--lesson-line); border-radius: 8px; cursor: pointer; }
.lesson-dialog .lesson-plan-option input { flex: 0 0 auto; width: 19px; height: 19px; margin: 4px 0 0; accent-color: var(--lesson-green); }
.lesson-dialog .lesson-plan-option:has(input:checked) { border-color: var(--lesson-green); background: #edf2e7; }
.lesson-dialog .lesson-plan-option:has(input:disabled) { color: #69756c; cursor: default; }
.lesson-dialog .lesson-plan-option strong { display: block; font-size: 16px; }
.lesson-dialog .lesson-plan-option small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.6; }
.lesson-dialog .lesson-summary { min-width: 0; padding: 18px; border: 1px solid var(--lesson-line); border-radius: 9px; background: #f5f5eb; }
.lesson-dialog .lesson-summary dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px 18px; margin: 0; }
.lesson-dialog .lesson-summary dt { color: var(--lesson-muted); font-size: 14px; }
.lesson-dialog .lesson-summary dd { margin: 0; text-align: right; font-size: 16px; font-weight: 700; }
.lesson-dialog .lesson-summary p { margin: 14px 0 0; font-size: 14px; }
.lesson-dialog .lesson-notice { margin: 0; padding: 14px 16px; border-left: 3px solid #92753f; border-radius: 3px; background: #f1e9d6; color: #51492f; font-size: 14px; }
.lesson-dialog .lesson-submit { width: 100%; }
.lesson-dialog .lesson-submit[disabled], .lesson-dialog .lesson-submit[aria-disabled="true"] { background: #e2e5da; border-color: #c8cfc0; color: #596857; cursor: not-allowed; }
.lesson-dialog .lesson-switch-action { width: 100%; }
.lesson-dialog [hidden] { display: none; }
@media (max-width: 1000px) {
  .lesson-storefront .lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-storefront .lesson-hobby-copy, .lesson-storefront .lesson-switch { padding: 26px; }
}
@media (max-width: 640px) {
  .lesson-storefront { padding: 42px 0; }
  .lesson-storefront .lesson-wrap { width: calc(100% - 32px); }
  .lesson-storefront .lesson-heading h2 { font-size: 34px; }
  .lesson-storefront .lesson-heading { display:block; }
  .lesson-storefront .lesson-location { display:inline-block; margin:10px 0; }
  .lesson-storefront .lesson-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lesson-storefront .lesson-entrypoints { grid-template-columns: minmax(0, 1fr); gap: 16px; scroll-margin-top: 85px; }
  .lesson-storefront .lesson-entrypoint { padding: 22px; }
  .lesson-storefront .lesson-copy { padding: 22px; }
  .lesson-storefront .lesson-filters { gap: 7px; }
  .lesson-storefront .lesson-filters button { padding-inline: 13px; }
  .lesson-storefront .lesson-hobby { grid-template-columns: minmax(0, 1fr); }
  .lesson-storefront .lesson-hobby-copy, .lesson-storefront .lesson-switch { padding: 24px; }
  .lesson-storefront .lesson-switch { border-left: 0; border-top: 1px solid #cfc3a6; }
  .lesson-storefront .lesson-hobby-copy h2 { font-size: 32px; }
  .lesson-storefront .lesson-switch h3 { font-size: 28px; }
  .lesson-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 24px 20px; }
  .lesson-dialog h2 { font-size: 28px; }
  .lesson-dialog .lesson-dialog-close { top: 12px; right: 12px; }
  .lesson-dialog .lesson-summary dl { gap: 10px 12px; }
}
