.sft {
  --sft-accent: #eb4747;
  --sft-red: #b93432;
  --sft-ink: #242424;
  --sft-muted: #626262;
  --sft-rule: #dedede;
  color: var(--sft-ink);
  background: #fff;
  font: inherit;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.4px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  container-type: inline-size;
}
.sft *, .sft *::before, .sft *::after { box-sizing: border-box; letter-spacing: inherit; }
.sft [hidden] { display: none !important; }
.sft h2, .sft h3, .sft h4, .sft p { margin: 0; font-family: inherit; overflow-wrap: anywhere; }
.sft h2 { font-size: 28px; line-height: 1.2; color: var(--sft-accent); font-weight: 600; }
.sft h3 { font-size: 21px; line-height: 1.3; font-weight: 600; color: var(--sft-ink); }
.sft h4 { font-size: 16px; line-height: 1.4; font-weight: 600; }
.sft-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--sft-accent); }
.sft-cart-count { font-size: 14px; color: var(--sft-muted); }
.sft-message { margin: 14px 0 !important; min-height: 24px; font-size: 14px; }
.sft-error { color: #a52220; }
.sft-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.sft-classes { min-width: 0; }
.sft-class { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--sft-rule); animation: sft-arrive .2s ease-out; }
.sft-class:first-child { padding-top: 0; }
.sft-class { scroll-margin-top: 60px; }
.sft-class:target { outline: 2px solid var(--sft-accent); outline-offset: 6px; }
.sft-next-classes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.sft-next-class { min-width: 0; padding-bottom: 24px; border-bottom: 1px solid var(--sft-rule); display: flex; flex-direction: column; align-items: stretch; }
.sft-next .sft-next-location { display: flex; align-items: center; gap: 6px; color: var(--sft-accent); font-size: 19px; margin-bottom: 16px; }
.sft-next-photo { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 3px; margin-bottom: 16px; }
.sft-next h4 { font-size: 19px; }
.sft-next-class .sft-class-footer { padding-top: 18px; margin-top: auto; }
.sft-next-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sft .sft-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sft-red); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sft .sft-text-link:hover { color: #952725; }
@container (min-width: 600px) {
  .sft-next-classes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sft-photo { width: 150px; height: 180px; object-fit: cover; flex: 0 0 150px; border-radius: 3px; }
.sft-class-details { flex: 1; min-width: 0; }
.sft-date { color: var(--sft-red); font-size: 13px; font-weight: 600; margin-bottom: 8px !important; }
.sft-time { font-size: 14px; margin-top: 10px !important; }
.sft-venue { font-size: 13px; color: var(--sft-muted); margin-top: 3px !important; }
.sft-description { font-size: 14px; margin-top: 12px !important; }
.sft-class-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.sft-price { display: block; font-size: 20px; }
.sft-availability { display: block; font-size: 12px; color: var(--sft-muted); }
.sft button, .sft .sft-payment, .sft .sft-buy {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; border: 1px solid var(--sft-red); border-radius: 3px; padding: 10px 15px;
  background: var(--sft-red); color: white; font: inherit; font-size: 14px; font-weight: 600;
  line-height: 1.2; text-transform: none; text-decoration: none; box-shadow: none; cursor: pointer;
  white-space: normal; overflow-wrap: anywhere;
}
.sft button:hover, .sft .sft-payment:hover, .sft .sft-buy:hover { background: #952725; border-color: #952725; color: white; }
.sft button:disabled { cursor: not-allowed; background: #efefef; color: #6b6b6b; border-color: #d4d4d4; }
.sft button:focus-visible, .sft a:focus-visible { outline: 3px solid #202020; outline-offset: 3px; }
.sft .dashicons { width: 18px; height: 18px; font-size: 18px; flex: 0 0 18px; }
.sft-cart { position: sticky; top: 24px; padding: 22px; background: #fafafa; border: 1px solid var(--sft-rule); border-top: 3px solid var(--sft-accent); border-radius: 3px; min-width: 0; }
.sft-cart > h3 { font-size: 20px; margin-bottom: 20px; }
.sft-empty { color: var(--sft-muted); font-size: 14px; padding: 12px 0; }
.sft-cart-line { padding: 16px 0; border-bottom: 1px solid var(--sft-rule); }
.sft-cart-line:first-child { padding-top: 0; }
.sft-cart-date { color: var(--sft-muted); font-size: 12px; margin: 5px 0 12px !important; }
.sft-line-controls { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.sft-quantity { display: grid; grid-template-columns: 34px 26px 34px; align-items: center; text-align: center; font-size: 14px; }
.sft .sft-icon-button { width: 34px; height: 34px; min-height: 34px; padding: 0; border: 1px solid #c6c6c6; background: #fff; color: var(--sft-ink); flex: 0 0 34px; }
.sft .sft-icon-button:hover { border-color: var(--sft-red); color: var(--sft-red); }
.sft .sft-icon-button:disabled { color: #929292; background: #f4f4f4; }
.sft-line-total { font-size: 14px; font-weight: 600; }
.sft-total { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0; font-size: 18px; }
.sft .sft-checkout, .sft .sft-payment { width: 100%; min-height: 46px; }
.sft-heading > span:empty { display: none; }
.sft-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Class calendar */
.sft-calendar { --sft-loc-0: #b93432; --sft-loc-1: #242424; --sft-loc-2: #8a5a14; --sft-loc-3: #1f6f78; }
.sft-loc-0 { --sft-loc: var(--sft-loc-0); }
.sft-loc-1 { --sft-loc: var(--sft-loc-1); }
.sft-loc-2 { --sft-loc: var(--sft-loc-2); }
.sft-loc-3 { --sft-loc: var(--sft-loc-3); }
.sft-loc-other { --sft-loc: var(--sft-muted); }
.sft-calendar-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.sft .sft-calendar-month { font-size: 22px; text-align: center; flex: 1; }
.sft-calendar-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 10px; font-size: 13px; color: var(--sft-muted); }
.sft-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.sft-swatch { width: 12px; height: 12px; border-radius: 2px; background: var(--sft-loc); }
.sft-calendar .sft-message:empty { display: none; }
.sft-calendar-grid { margin-top: 18px; }
.sft-calendar-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; border: 1px solid var(--sft-rule); }
.sft-calendar-table th { padding: 8px 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--sft-muted); background: #fafafa; border: 1px solid var(--sft-rule); text-align: center; }
.sft-calendar-table td { height: 96px; padding: 6px; vertical-align: top; border: 1px solid var(--sft-rule); background: #fff; }
.sft-calendar-table td.sft-calendar-empty { background: #f6f6f6; }
.sft-calendar-table td.sft-has-class { background: #fffafa; }
.sft-calendar-date { display: inline-grid; place-items: center; min-width: 26px; height: 26px; font-size: 13px; font-weight: 600; color: var(--sft-muted); border-radius: 50%; }
.sft-today .sft-calendar-date { background: var(--sft-ink); color: #fff; }
.sft-has-class .sft-calendar-date { color: var(--sft-ink); }
.sft .sft-calendar-event { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; padding: 4px 6px; border-left: 3px solid var(--sft-loc); border-radius: 2px; background: color-mix(in srgb, var(--sft-loc) 9%, #fff); color: var(--sft-ink); font-size: 12px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.sft .sft-calendar-event:hover { background: color-mix(in srgb, var(--sft-loc) 18%, #fff); color: var(--sft-ink); }
.sft-event-time { font-weight: 600; }
.sft-event-place { color: var(--sft-muted); }
.sft-event-status { color: #a52220; font-weight: 600; }
.sft-soldout .sft-event-time { text-decoration: line-through; }
.sft-calendar-list { margin-top: 28px; }
.sft-calendar-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--sft-rule); animation: sft-arrive .2s ease-out; }
.sft-calendar-item:first-child { padding-top: 0; }
.sft-calendar-badge { flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; border-top: 3px solid var(--sft-loc); background: #fafafa; border-radius: 3px; font-size: 12px; text-transform: uppercase; color: var(--sft-muted); align-self: flex-start; }
.sft-calendar-badge strong { font-size: 28px; line-height: 1.1; color: var(--sft-ink); }
.sft-calendar-item .sft-date { display: flex; align-items: center; gap: 4px; color: var(--sft-loc); }
@container (max-width: 640px) {
  .sft-calendar-table th { font-size: 11px; padding: 6px 0; }
  .sft-calendar-table td { height: 58px; padding: 3px; }
  .sft .sft-calendar-event { margin: 3px auto 0; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: var(--sft-loc); }
  .sft .sft-calendar-event > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sft-calendar-date { min-width: 22px; height: 22px; font-size: 12px; }
  .sft .sft-calendar-month { font-size: 19px; }
  .sft-calendar-badge { flex-basis: 60px; }
}
@keyframes sft-arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@container (min-width: 760px) {
  .sft-layout { grid-template-columns: minmax(0, 1fr) 310px; }
}
@container (max-width: 960px) {
  .sft-photo { width: 100px; height: 130px; flex-basis: 100px; }
  .sft-class { gap: 16px; }
  .sft-cart { padding: 16px; }
}
@container (max-width: 700px) {
  .sft-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sft h2 { font-size: 24px; }
  .sft h3 { font-size: 19px; }
  .sft-photo { width: 90px; height: 120px; flex-basis: 90px; }
  .sft-cart { position: static; }
}
@container (max-width: 400px) {
  .sft-class { flex-direction: column; }
  .sft-photo { width: 100%; height: 170px; flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) { .sft-class, .sft-calendar-item { animation: none; } }