.shop-page, .shop-history, .shop-dialog, .shop-admin {
  --shop-ink: #29252e; --shop-muted: #6b6370; --shop-plum: #625079; --shop-lilac: #eee8f5; --shop-border: #e4dfe7;
  color: var(--shop-ink); font: 400 17px/1.55 'league-spartan-v2', Arial, sans-serif;
}
.shop-page *, .shop-history *, .shop-dialog *, .shop-admin * { box-sizing: border-box; }
.shop-page { padding-top: 60px; padding-bottom: 88px; }
.shop-heading { max-width: 790px; margin: 0 0 38px; }
.shop-page .shop-heading h1 { margin: 0 0 22px; font-size: clamp(40px, 4.8vw, 65px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; white-space: pre-line; }
.shop-kicker { margin: 0 0 14px; color: var(--shop-plum); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.shop-lead { color: var(--shop-muted); font-size: 21px; line-height: 1.55; }
.shop-page h2, .shop-history h2 { margin: 0 0 16px; font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.shop-page h3, .shop-history h3 { font-size: 23px; font-weight: 600; line-height: 1.25; }
.shop-page a, .shop-history a, .shop-dialog a { color: var(--shop-plum); text-underline-offset: 3px; }
.shop-page :is(a, button, input, select, summary), .shop-history :is(a, button, summary), .shop-dialog :is(a, button, input, select, textarea) { -webkit-tap-highlight-color: transparent; }
.shop-page :is(a, button, input, select, summary):focus-visible, .shop-history :is(a, button, summary):focus-visible,
.shop-dialog :is(a, button, input, select, textarea):focus-visible, .shop-admin :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--shop-plum); outline-offset: 4px; }
.shop-page button, .shop-history button, .shop-dialog button { font-family: inherit; cursor: pointer; }
.shop-page button:disabled, .shop-history button:disabled, .shop-dialog button:disabled { opacity: .52; cursor: not-allowed; }
.shop-button, .shop-page .shop-button, .shop-history .shop-button, .shop-dialog .shop-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 21px;
  border: 1px solid var(--shop-plum); border-radius: 999px; background: var(--shop-plum); color: #fff;
  font: 500 17px/1.3 'league-spartan-v2', Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer;
}
.shop-button:hover { background: #4e3e63; border-color: #4e3e63; }
.shop-page .shop-button--secondary, .shop-history .shop-button--secondary, .shop-dialog .shop-button--secondary { background: transparent; border-color: #c7bbd4; color: var(--shop-plum); }
.shop-page .shop-button--secondary:hover, .shop-history .shop-button--secondary:hover, .shop-dialog .shop-button--secondary:hover { background: var(--shop-lilac); }
.shop-page .shop-button--plain, .shop-history .shop-button--plain, .shop-dialog .shop-button--plain { padding-inline: 8px; border-color: transparent; background: transparent; color: var(--shop-plum); }
.shop-page .shop-button--plain:hover, .shop-dialog .shop-button--plain:hover { text-decoration: underline; }
.shop-notice { margin: 0 0 26px; padding: 20px 24px; border: 1px solid #ded4e8; border-radius: 15px; background: #f0ebf6; color: #51425f; font-size: 17px; line-height: 1.6; }
.shop-notice .shop-button { margin: 16px 0 0; }
.shop-notice--error { background: #fff4f1; border-color: #e9c5c0; color: #862f2d; }
.shop-notice strong { font-weight: 600; }
.shop-small { margin: 12px 0; color: var(--shop-muted); font-size: 14px; line-height: 1.55; }
.shop-loading { padding: 54px 0; color: var(--shop-muted); }
.shop-empty { padding: 34px; border: 1px dashed #cfc3d9; border-radius: 18px; background: #fff; }
.shop-empty > :last-child { margin-bottom: 0; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 32px; }
.shop-catalog { min-width: 0; }
.shop-view-switch { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--shop-border); }
.shop-view-switch button { min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--shop-muted); font: 500 20px/1.3 'league-spartan-v2', Arial, sans-serif; }
.shop-view-switch button[aria-pressed='true'] { background: var(--shop-plum); color: #fff; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-filters button, .shop-course-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 17px; border: 1px solid var(--shop-border); border-radius: 999px; background: #fff; color: var(--shop-muted); font: inherit; line-height: 1.3; }
.shop-filters button[aria-pressed='true'], .shop-course-filters button[aria-pressed='true'] { border-color: var(--shop-plum); background: var(--shop-lilac); color: var(--shop-plum); }
.shop-result-count { margin: 18px 0 22px; color: var(--shop-muted); font-size: 15px; }
.shop-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.shop-product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--shop-border); border-radius: 21px; overflow: hidden; background: #fff; }
.shop-picture-button { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: #f2eeeb; }
.shop-picture-button:focus-visible { outline-offset: -5px !important; }
.shop-product-picture { display: flex; justify-content: center; align-items: center; width: 100%; aspect-ratio: 1.3; overflow: hidden; background: #f3efec; }
.shop-product-picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-product-picture[data-kind='course'] { max-height: 350px; background: #f1eeea; }
.shop-product-picture[data-kind='course'] > img { object-fit: contain; }
.shop-product-picture[data-kind='custom'] { background: #f8f6f3; }
.shop-product-picture[data-kind='custom'] > img { object-fit: contain; padding: 16px; }
.shop-image-placeholder { max-width: 210px; padding: 24px; color: var(--shop-plum); font-size: 24px; text-align: center; line-height: 1.2; }
.shop-product-copy { display: flex; flex-direction: column; align-items: stretch; flex-grow: 1; padding: 25px; }
.shop-product-copy h2 { margin: 0 0 14px; font-size: 28px; }
.shop-product-description { margin: 0 0 22px; color: var(--shop-muted); font-size: 17px; line-height: 1.55; }
.shop-product-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; margin-bottom: 18px; }
.shop-price { margin: 0; color: var(--shop-ink); font-size: 27px; font-weight: 600; line-height: 1.2; }
.shop-tag { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--shop-lilac); color: var(--shop-plum); font-size: 13px; line-height: 1.45; }
.shop-product-copy .shop-button { margin-top: 0; }

.shop-warranty { display: grid; grid-template-columns: 1fr minmax(240px, 420px); gap: clamp(28px, 5vw, 70px); align-items: start; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--shop-border); scroll-margin-top: 145px; }
.shop-warranty h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 40px); }
.shop-warranty p { line-height: 1.6; }
.shop-warranty-image { display: block; background: #fff; }
.shop-warranty-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.shop-warranty-cart { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--shop-border); }
@media (max-width: 720px) {
  .shop-warranty { grid-template-columns: 1fr; margin-top: 48px; padding-top: 32px; }
  .shop-warranty-image { max-width: 420px; }
}

/* Cart contents remain readable even with several individualized items. */
.shop-cart { position: sticky; top: 140px; max-height: calc(100dvh - 160px); padding: 26px; border: 1px solid var(--shop-border); border-radius: 22px; background: #fff; overflow-y: auto; scrollbar-width: thin; }
.shop-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--shop-border); }
.shop-cart-heading h2 { margin: 0; font-size: 25px; }
.shop-cart-count { display: flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 50%; background: var(--shop-lilac); color: var(--shop-plum); font-size: 15px; }
.shop-cart-empty { padding-top: 26px; }
.shop-cart-empty p { margin-bottom: 15px; }
.shop-cart-status { margin: 18px 0; color: var(--shop-plum); font-size: 15px; }
.shop-cart-items, .shop-order-items { list-style: none; padding: 0; margin: 0; }
.shop-cart-item { padding: 24px 0; border-bottom: 1px solid var(--shop-border); }
.shop-cart-item-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.shop-cart-item-heading h3 { margin: 0; font-size: 20px; }
.shop-cart-item-heading > strong { flex-shrink: 0; font-size: 17px; font-weight: 600; }
.shop-item-details { display: flex; flex-direction: column; align-items: start; gap: 3px; margin-top: 11px; color: var(--shop-muted); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.shop-item-details .shop-item-note { margin: 6px 0 0; white-space: pre-wrap; }
.shop-cart-item-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.shop-quantity-control { display: flex; align-items: center; border: 1px solid #d2c8db; border-radius: 999px; overflow: hidden; }
.shop-quantity-control button { width: 38px; height: 42px; padding: 0; border: 0; background: transparent; color: var(--shop-plum); font-size: 23px; }
.shop-quantity-control button:hover { background: var(--shop-lilac); }
.shop-quantity-control > span { min-width: 25px; text-align: center; font-size: 16px; }
.shop-remove { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--shop-muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.shop-totals { margin: 22px 0 12px; }
.shop-totals > div { display: flex; justify-content: space-between; gap: 18px; margin: 10px 0; font-size: 16px; }
.shop-totals dd { margin: 0; text-align: right; }
.shop-totals .shop-total { padding-top: 12px; border-top: 1px solid var(--shop-border); font-size: 19px; font-weight: 600; }
.shop-cart .shop-notice { margin: 18px 0 0; padding: 16px; font-size: 15px; }
.shop-cart .shop-small { margin: 11px 0; font-size: 13px; }
.shop-check-label { display: flex; align-items: start; gap: 11px; margin: 24px 0 12px; color: var(--shop-ink); font-size: 15px; line-height: 1.5; cursor: pointer; }
.shop-check-label input[type='checkbox'] { flex: 0 0 19px; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--shop-plum); }
.shop-cart .shop-checkout-button { width: 100%; margin-top: 10px; padding-inline: 17px; }
.shop-checkout-note { text-align: center; }
.shop-login-prompt { margin-top: 20px; }
.shop-login-prompt p { margin-bottom: 16px; }
.shop-cart .shop-login-prompt .shop-button { width: 100%; }

/* Product details use a native dialog with its own scroll area. */
.shop-dialog {
  position: fixed; inset: 0; width: min(790px, calc(100vw - 32px)); max-width: calc(100vw - 32px);
  height: fit-content; max-height: 92vh; max-height: 92dvh; margin: auto; padding: 0; border: 1px solid var(--shop-border);
  border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 25px 90px #29252e38; color-scheme: light;
}
.shop-dialog:not([open]) { display: none; }
.shop-dialog::backdrop { background: #29252e77; backdrop-filter: blur(5px); }
.shop-dialog-panel { display: flex; flex-direction: column; max-height: 92vh; max-height: 92dvh; min-height: 0; }
.shop-dialog-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 24px; border-bottom: 1px solid var(--shop-border); }
.shop-dialog-header .shop-kicker { margin: 0; font-size: 11px; }
.shop-dialog-close { display: flex; flex: 0 0 44px; justify-content: center; align-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--shop-border); border-radius: 50%; background: #fff; color: var(--shop-ink); font-size: 29px; line-height: 1; }
.shop-dialog-scroll { min-height: 0; padding: 30px; overflow-y: auto; overscroll-behavior: contain; }
.shop-detail-intro { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 27px; align-items: start; margin-bottom: 28px; }
.shop-detail-intro .shop-product-picture { aspect-ratio: 1; border-radius: 14px; }
.shop-detail-intro h2 { margin: 0 0 12px; font-size: 33px; font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
.shop-detail-intro p:not(.shop-price) { margin: 0 0 15px; color: var(--shop-muted); font-size: 17px; }
.shop-detail-intro .shop-price { margin: 17px 0; }
.shop-detail-form { margin: 0; }
.shop-fieldset { padding: 0; margin: 0 0 24px; border: 0; min-width: 0; }
.shop-fieldset legend { margin: 0 0 12px; padding: 0; font-size: 23px; font-weight: 600; }
.shop-fieldset > .shop-small { margin: 0 0 18px; }
.shop-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.shop-field { margin-bottom: 21px; min-width: 0; }
.shop-field label { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.shop-field input, .shop-field select, .shop-field textarea { display: block; width: 100%; min-width: 0; min-height: 49px; padding: 12px 14px; border: 1px solid #bfb4c8; border-radius: 8px; background: #fff; color: var(--shop-ink); font: 400 17px/1.4 'league-spartan-v2', Arial, sans-serif; }
.shop-field textarea { min-height: 110px; resize: vertical; }
.shop-field [aria-invalid='true'] { border-color: #a34946; }
.shop-booking-selection { padding: 22px; border: 1px solid var(--shop-border); border-radius: 14px; background: #faf8fc; }
.shop-booking-selection > legend { padding: 0 8px; }
.shop-booking-selection > .shop-field:last-child { margin-bottom: 0; }
.shop-booking-selection select:disabled { background: #f2eef5; color: var(--shop-muted); cursor: not-allowed; }
.shop-booking-summary { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--shop-lilac); color: var(--shop-plum); font-size: 16px; line-height: 1.5; }
.shop-field-error { margin: 8px 0 0; color: #922f2d; font-size: 14px; line-height: 1.4; }
.shop-quantity-field { width: min(240px, 100%); }
.shop-inline-note { margin: 0 0 24px; padding: 16px 18px; border-radius: 11px; background: var(--shop-lilac); color: var(--shop-plum); }
.shop-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--shop-border); }

/* The calendar keeps labels as well as colors; no information is color-only. */
[data-course-tone='0'] { --course-color: #74628f; --course-light: #eee8f5; }
[data-course-tone='1'] { --course-color: #447463; --course-light: #e6f0e9; }
[data-course-tone='2'] { --course-color: #9a613c; --course-light: #f8ece1; }
[data-course-tone='3'] { --course-color: #4b6e9a; --course-light: #e9f0f8; }
[data-course-tone='4'] { --course-color: #97616d; --course-light: #f6e9ec; }
[data-course-tone='5'] { --course-color: #797132; --course-light: #f2efda; }
.shop-course-dot { display: inline-block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--course-color, #74628f); }
.shop-calendar { scroll-margin-top: 145px; }
.shop-calendar-intro h2 { font-size: 33px; }
.shop-calendar-intro p { margin-bottom: 24px; color: var(--shop-muted); }
.shop-course-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.shop-course-filters button { min-height: 42px; padding: 9px 13px; font-size: 15px; text-align: left; }
.shop-course-filters button[aria-pressed='true'][data-course-tone] { border-color: var(--course-color); background: var(--course-light); color: var(--shop-ink); }
.shop-calendar-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.shop-calendar-month { display: flex; align-items: center; gap: 14px; }
.shop-calendar-month h3 { margin: 0; font-size: 24px; }
.shop-calendar-arrow { width: 44px; height: 44px; padding: 0; border: 1px solid var(--shop-border); border-radius: 50%; background: #fff; color: var(--shop-plum); font-size: 29px; line-height: 1; }
.shop-calendar-grid { table-layout: fixed; width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--shop-border); border-radius: 15px; overflow: hidden; background: #fff; }
.shop-calendar-grid th { padding: 11px 3px; background: var(--shop-lilac); color: var(--shop-plum); font-size: 14px; font-weight: 500; text-align: center; }
.shop-calendar-grid td { position: relative; height: 108px; padding: 4px; vertical-align: top; border-top: 1px solid var(--shop-border); border-right: 1px solid var(--shop-border); }
.shop-calendar-grid td:last-child { border-right: 0; }
.shop-calendar-grid td[data-current-month='false'] { background: #f8f6f8; }
.shop-calendar-grid td[data-selected='true'] { background: #e9e0f3; }
.shop-calendar-grid td[data-today='true'] .shop-calendar-day > span:first-child { border-radius: 50%; background: var(--shop-plum); color: #fff; }
.shop-calendar-day { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 34px; padding: 2px; border: 0; border-radius: 6px; background: transparent; color: var(--shop-ink); font-size: 15px; }
.shop-calendar-day > span:first-child { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.shop-day-count { display: none; }
.shop-calendar-events { display: flex; flex-direction: column; gap: 4px; }
.shop-calendar-markers { display: none; }
.shop-calendar-event { display: flex; align-items: center; gap: 5px; width: 100%; min-height: 25px; padding: 4px; border: 0; border-radius: 4px; background: var(--course-light); color: var(--shop-ink); font-size: 11px; text-align: left; }
.shop-calendar-event-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shop-calendar-event .shop-course-dot { width: 5px; height: 5px; }
.shop-calendar-more { display: block; padding: 3px; color: var(--shop-muted); font-size: 11px; }
.shop-schedule-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 32px; margin-bottom: 20px; }
.shop-schedule-heading h3 { margin: 0; font-size: 24px; }
.shop-schedule { padding: 0; margin: 0; list-style: none; }
.shop-schedule > li { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px; margin-bottom: 13px; border: 1px solid var(--shop-border); border-left: 4px solid var(--course-color); border-radius: 12px; background: #fff; }
.shop-schedule-copy { min-width: 0; }
.shop-schedule-copy h4 { margin: 6px 0 9px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.shop-schedule-copy p { margin: 0 0 6px; color: var(--shop-muted); font-size: 16px; }
.shop-schedule-copy .shop-schedule-date { color: var(--course-color); font-size: 15px; font-weight: 500; }
.shop-schedule-copy .shop-small { margin: 0; font-size: 14px; }
.shop-schedule .shop-button { flex-shrink: 0; padding-inline: 17px; }

/* Orders are rendered only from the authenticated server response. */
.shop-history { min-width: 0; }
.shop-history-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.shop-history-heading h2 { margin-bottom: 12px; }
.shop-history-heading p { margin: 0; color: var(--shop-muted); }
.shop-history-heading .shop-button { flex-shrink: 0; }
.shop-order-list { display: flex; flex-direction: column; gap: 18px; }
.shop-order { min-width: 0; border: 1px solid var(--shop-border); border-radius: 17px; overflow: hidden; background: #fff; }
.shop-order > summary { position: relative; padding-right: 35px; cursor: pointer; list-style: none; }
.shop-order > summary::-webkit-details-marker { display: none; }
.shop-order > summary::after { content: '+'; position: absolute; top: 22px; right: 20px; color: var(--shop-plum); font-size: 24px; }
.shop-order[open] > summary::after { content: '−'; }
.shop-order-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 24px; }
.shop-order-summary > div { min-width: 0; }
.shop-order-summary strong { display: block; font-size: 19px; font-weight: 600; }
.shop-order-number { display: block; margin-top: 4px; color: var(--shop-muted); font-size: 12px; overflow-wrap: anywhere; }
.shop-payment-status { display: inline-block; padding: 6px 11px; border-radius: 999px; background: var(--shop-lilac); color: var(--shop-plum); font-size: 14px; }
.shop-payment-status[data-status='paid'] { background: #e4f1e8; color: #316346; }
.shop-payment-status[data-status='expired'], .shop-payment-status[data-status='failed'] { background: #f8e8e4; color: #8a3d32; }
.shop-order-content { padding: 0 24px 24px; }
.shop-order-items > li { padding: 21px 0; border-top: 1px solid var(--shop-border); }
.shop-order-item-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.shop-order-item-heading strong { font-weight: 500; }
.shop-order-item-heading > span { white-space: nowrap; }
.shop-order-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 20px; border-top: 1px solid var(--shop-border); }
.shop-order-footer p { margin: 0; }
.shop-invoice-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.shop-order-content > .shop-button { margin-top: 20px; }
.shop-order-page { max-width: 1000px; }
.shop-order-page .shop-heading { max-width: 800px; }
.shop-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Administration uses the same fields without relying on a customer wrapper. */
.shop-admin-app > .account-card, .shop-admin-app > .account-card * { box-sizing: border-box; }
.shop-admin-app > .account-card form { display: grid; gap: 22px; min-width: 0; margin-top: 28px; }
.shop-admin-app > .account-card form > label.account-field { display: grid; gap: 8px; }
.shop-admin-app > .account-card form > .account-button { width: 100%; }
.shop-admin { --account-ink: #29252e; --account-teal: #625079; --account-teal-hover: #4e3e63; --account-muted: #6b6370; --account-border: #e4dfe7; --account-background: #faf8f5; --account-surface: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 15px; }
.shop-admin h2, .shop-admin h3, .shop-admin h4 { margin: 0 0 15px; color: var(--shop-ink); font-family: 'league-spartan-v2', Arial, sans-serif; font-weight: 600; line-height: 1.2; }
.shop-admin h2 { font-size: 34px; }
.shop-admin h3 { font-size: 26px; }
.shop-admin h4 { font-size: 22px; }
.shop-admin p { margin: 0 0 16px; }
.shop-admin a { color: var(--shop-plum); text-underline-offset: 3px; }
.shop-admin .account-field-hint { margin: 7px 0 0; color: var(--shop-muted); font: 400 12px/1.6 Arial, sans-serif; }
.shop-admin .account-field textarea { display: block; width: 100%; min-width: 0; min-height: 125px; margin: 0; padding: 12px 13px; border: 1px solid #bfb4c8; border-radius: 7px; background: #fff; color: var(--shop-ink); font: 400 16px/1.5 Arial, sans-serif; resize: vertical; }
.shop-admin .account-field input, .shop-admin .account-field select { color: var(--shop-ink); border-color: #bfb4c8; }
.shop-admin .account-card { border-color: var(--shop-border); box-shadow: none; }
.shop-admin-heading, .shop-admin-toolbar, .shop-admin-editor-heading, .shop-admin-save { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 25px; }
.shop-admin-heading { align-items: flex-start; }
.shop-admin-heading p { color: var(--shop-muted); }
.shop-admin-workspace { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 32px; }
.shop-admin-sidebar { position: sticky; top: 24px; min-width: 0; padding: 12px; border: 1px solid var(--shop-border); border-radius: 20px; background: #fff; }
.shop-admin-tabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.shop-admin-tabs button { display: flex; align-items: center; justify-content: flex-start; width: 100%; min-width: 0; min-height: 58px; padding: 16px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: var(--shop-ink); font: 600 15px/1.4 Arial, Helvetica, sans-serif; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.shop-admin-tabs button:hover:not(:disabled) { background: var(--shop-lilac); color: var(--shop-plum); }
.shop-admin-tabs button[aria-pressed='true'], .shop-admin-tabs button[aria-current='page'] { background: var(--shop-plum); color: #fff; }
.shop-admin-tabs button[aria-pressed='true']:hover:not(:disabled), .shop-admin-tabs button[aria-current='page']:hover:not(:disabled) { background: #4e3e63; color: #fff; }
.shop-admin-tabs button:focus-visible { outline: 3px solid var(--shop-plum); outline-offset: 3px; }
.shop-admin-tabs button:disabled { opacity: .65; cursor: wait; }
.shop-admin-external { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--shop-border); }
.shop-admin .shop-admin-stripe-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; padding: 14px 12px; border-radius: 13px; background: var(--shop-lilac); color: var(--shop-plum); font: 600 15px/1.4 Arial, Helvetica, sans-serif; text-decoration: none; }
.shop-admin .shop-admin-stripe-link:hover { background: var(--shop-plum); color: #fff; }
.shop-admin-stripe-link:focus-visible { outline: 3px solid var(--shop-plum); outline-offset: 3px; }
.shop-admin-main { min-width: 0; }
.shop-admin-toolbar h3 { margin: 0; }
.shop-admin-layout { display: grid; grid-template-columns: minmax(215px, .7fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.shop-admin-catalog { min-width: 0; }
.shop-admin-catalog > .account-button { width: 100%; }
.shop-admin-product-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.shop-admin-product-list li { min-width: 0; }
.shop-admin-product-list button { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; width: 100%; min-height: 64px; padding: 16px; border: 1px solid var(--shop-border); border-radius: 12px; background: #fff; color: var(--shop-ink); text-align: left; font: inherit; cursor: pointer; overflow-wrap: anywhere; }
.shop-admin-product-list button[aria-pressed='true'], .shop-admin-product-list button[aria-current='true'] { border-color: var(--shop-plum); background: var(--shop-lilac); }
.shop-admin-product-list strong { font-size: 16px; }
.shop-admin-product-list small { color: var(--shop-muted); }
.shop-admin-editor-card { min-width: 0; }
.shop-admin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shop-admin-fields > * { min-width: 0; }
.shop-admin-wide { grid-column: 1 / -1; }
.shop-admin-session { min-width: 0; margin: 20px 0 0; padding: 22px; border: 1px solid var(--shop-border); border-radius: 12px; }
.shop-admin-session > legend { padding: 0 7px; font-weight: 600; }
.shop-admin-session .account-button { margin-top: 17px; }
.shop-admin-sessions { margin-top: 28px; }
.shop-admin-sessions > .account-button { margin-top: 20px; }
.shop-admin-schedule { min-width: 0; margin: 24px 0; padding: 24px; border: 1px solid #bfb4c8; border-radius: 16px; background: #faf8fc; }
.shop-admin-schedule > legend { padding: 0 8px; color: var(--shop-plum); font-weight: 600; }
.shop-admin-schedule > .shop-admin-fields { margin-top: 22px; }
.shop-admin-schedule-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.shop-admin-schedule-actions .account-button { max-width: 100%; white-space: normal; }
.shop-admin-weekdays { min-width: 0; padding: 0; margin: 0; border: 0; }
.shop-admin-weekdays > legend { margin: 0; padding: 0; font-size: 14px; font-weight: 600; }
.shop-admin-weekday-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.shop-admin-weekday { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--shop-border); border-radius: 10px; background: #fff; font-size: 14px; cursor: pointer; }
.shop-admin-weekday:has(input:checked) { color: var(--shop-plum); border-color: var(--shop-plum); background: var(--shop-lilac); }
.shop-admin-weekday input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--shop-plum); }
.shop-admin-schedule-status:empty { display: none; }
.shop-admin-schedule-status > .account-notice { margin: 20px 0 0; }
.shop-admin-schedule-preview { margin-top: 22px; padding: 20px; border: 1px solid var(--shop-border); border-radius: 12px; background: #fff; }
.shop-admin-schedule-preview > strong { color: var(--shop-plum); }
.shop-admin-schedule-preview ol { display: grid; gap: 8px; margin: 16px 0; padding-left: 22px; font-size: 14px; line-height: 1.6; }
.shop-admin-schedule-preview > .account-button { margin-top: 20px; white-space: normal; }
.shop-admin-save > .shop-admin-planning-hint { width: 100%; margin: 0; color: var(--shop-plum); }
.shop-admin-measurements { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; margin: 0; border: 0; }
.shop-admin-measurements > legend { width: 100%; padding: 0; margin-bottom: 14px; font-weight: 600; }
.shop-admin-check { display: flex; align-items: center; gap: 9px; min-height: 35px; cursor: pointer; }
.shop-admin-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--shop-plum); }
.shop-admin-save { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--shop-border); }
.shop-admin-badge { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--shop-lilac); color: var(--shop-plum); font: 400 12px/1.4 Arial, sans-serif; }
.shop-admin-empty { padding: 25px; color: var(--shop-muted); }
.shop-admin-legend { margin-bottom: 18px; color: var(--shop-muted); font-size: 13px; }
.shop-admin-orders { display: flex; flex-direction: column; gap: 18px; }
.shop-admin-orders > form.account-form { display: grid; gap: 22px; }
.shop-admin-orders > form.account-form > .account-button { justify-self: start; }
.shop-admin-order { min-width: 0; border: 1px solid var(--shop-border); border-radius: 16px; background: #fff; overflow: hidden; }
.shop-admin-order-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 23px; cursor: pointer; }
.shop-admin-order-summary > * { min-width: 0; overflow-wrap: anywhere; }
.shop-admin-order-body { padding: 0 23px 23px; }
.shop-admin-order-items { padding: 0; margin: 0 0 20px; list-style: none; }
.shop-admin-order-items > li { padding: 22px 0; border-top: 1px solid var(--shop-border); }
.shop-admin-order-measurements, .shop-admin-order-totals { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 20px; margin: 17px 0; font-size: 14px; }
.shop-admin-order-measurements dt, .shop-admin-order-totals dt { color: var(--shop-muted); }
.shop-admin-order-measurements dd, .shop-admin-order-totals dd { margin: 0; overflow-wrap: anywhere; }
.shop-admin-order-notes { padding: 14px 16px; border-radius: 9px; background: #f6f2f9; white-space: pre-wrap; overflow-wrap: anywhere; }
.shop-admin-shipping { margin: 22px 0; padding: 20px; border: 1px solid var(--shop-border); border-radius: 11px; }
.shop-admin-shipping address { font-style: normal; line-height: 1.65; overflow-wrap: anywhere; }
.shop-admin-fulfillment { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; padding-top: 20px; border-top: 1px solid var(--shop-border); }
.shop-admin-fulfillment .account-field { flex: 1 1 230px; }
.shop-admin-customer-search { display: flex; align-items: end; gap: 16px; margin-bottom: 28px; }
.shop-admin-customer-search .account-field { flex: 1; }
.shop-admin-customer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shop-admin-customer { overflow-wrap: anywhere; }
.shop-admin-customer .shop-admin-badge { margin-bottom: 14px; }
.shop-admin-customer-dog { margin-top: 23px; padding-top: 22px; border-top: 1px solid var(--shop-border); }
.shop-admin-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 25px; }

@media (max-width: 1100px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .shop-products { gap: 18px; }
  .shop-product-copy { padding: 21px; }
  .shop-product-copy h2 { font-size: 25px; }
  .shop-cart { padding: 22px; }
  .shop-schedule > li { flex-direction: column; align-items: flex-start; gap: 15px; }
  .shop-admin-workspace { gap: 24px; }
  .shop-admin-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .shop-admin-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-admin-product-list button { height: 100%; }
}
@media (max-width: 980px) {
  .shop-layout { grid-template-columns: 1fr; gap: 35px; }
  .shop-cart { position: static; max-height: none; padding: 28px; }
  .shop-products { gap: 24px; }
  .shop-product-copy { padding: 27px; }
  .shop-product-copy h2 { font-size: 29px; }
  .shop-schedule > li { flex-direction: row; align-items: center; gap: 22px; }
  .shop-admin-workspace { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shop-admin-sidebar { position: static; }
  .shop-admin-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-admin-layout { gap: 20px; }
  .shop-admin-fields { grid-template-columns: 1fr; }
  .shop-admin-wide { grid-column: auto; }
  .shop-admin .account-card { padding: 24px; }
}
@media (max-width: 640px) {
  .shop-page { padding-top: 40px; padding-bottom: 60px; }
  .shop-heading { margin-bottom: 28px; }
  .shop-page .shop-heading h1 { font-size: 43px; }
  .shop-lead { font-size: 19px; }
  .shop-notice { padding: 18px 20px; font-size: 16px; }
  .shop-products { grid-template-columns: 1fr; }
  .shop-product-picture { aspect-ratio: 1.4; }
  .shop-product-picture[data-kind='custom'] { aspect-ratio: 1.05; }
  .shop-product-copy { padding: 25px; }
  .shop-cart { padding: 24px; }
  .shop-view-switch { gap: 6px; }
  .shop-view-switch button { padding-inline: 18px; font-size: 18px; }
  .shop-filters { gap: 8px; }
  .shop-filters button { padding-inline: 13px; font-size: 16px; }
  .shop-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); border-radius: 18px; }
  .shop-dialog-header { padding: 12px 17px; }
  .shop-dialog-scroll { padding: 23px; }
  .shop-detail-intro { grid-template-columns: 1fr; gap: 22px; }
  .shop-detail-intro .shop-product-picture { max-height: 230px; aspect-ratio: 1.45; }
  .shop-detail-intro .shop-product-picture[data-kind='custom'] { aspect-ratio: 1.4; }
  .shop-detail-intro h2 { font-size: 32px; }
  .shop-field-grid { grid-template-columns: 1fr; }
  .shop-detail-actions { flex-direction: column; align-items: stretch; }
  .shop-calendar-intro h2 { font-size: 29px; }
  .shop-calendar-navigation { align-items: start; flex-direction: column; }
  .shop-calendar-month { width: 100%; justify-content: space-between; }
  .shop-calendar-grid td { height: 67px; padding: 1px; }
  .shop-calendar-grid th { font-size: 13px; }
  .shop-calendar-day { position: relative; justify-content: center; min-height: 43px; padding: 0; }
  .shop-day-count { position: absolute; right: 1px; top: 0; display: block; color: var(--shop-plum); font-size: 10px; font-weight: 600; }
  .shop-calendar-event { justify-content: center; min-height: 7px; height: 7px; padding: 0; background: transparent; }
  .shop-calendar-event .shop-course-dot { width: 6px; height: 6px; }
  .shop-calendar-events { display: none; }
  .shop-calendar-markers { display: flex; gap: 3px; justify-content: center; }
  .shop-calendar-markers .shop-course-dot { width: 6px; height: 6px; }
  .shop-calendar-event-name, .shop-calendar-more { display: none; }
  .shop-schedule > li { flex-direction: column; align-items: flex-start; gap: 17px; padding: 21px; }
  .shop-schedule .shop-button { width: 100%; }
  .shop-schedule-heading h3 { font-size: 22px; }
  .shop-history-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .shop-order-summary { padding: 20px; }
  .shop-order-summary strong { font-size: 17px; }
  .shop-order-content { padding: 0 20px 20px; }
  .shop-result-actions { align-items: stretch; flex-direction: column; }
  .shop-admin-layout { grid-template-columns: 1fr; }
  .shop-admin-tabs { gap: 10px; }
  .shop-admin-tabs button { padding: 14px 12px; }
  .shop-admin-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shop-admin-product-list button { height: 100%; padding: 14px; }
  .shop-admin .account-card { padding: 21px; }
  .shop-admin-session { padding: 17px; }
  .shop-admin-schedule { padding: 17px; }
  .shop-admin-schedule-preview { padding: 15px; }
  .shop-admin-schedule-actions { align-items: stretch; flex-direction: column; }
  .shop-admin-schedule-actions .account-button { width: 100%; }
  .shop-admin-customer-grid { grid-template-columns: 1fr; }
  .shop-admin-customer-search { align-items: stretch; flex-direction: column; }
  .shop-admin-order-summary { padding: 19px; }
  .shop-admin-order-body { padding: 0 19px 19px; }
}
@media (max-width: 380px) {
  .shop-page .shop-heading h1 { font-size: 38px; }
  .shop-cart { padding: 21px; }
  .shop-dialog-scroll { padding: 20px; }
  .shop-dialog-header .shop-kicker { font-size: 10px; letter-spacing: .07em; }
  .shop-view-switch button { padding-inline: 14px; }
  .shop-admin-product-list { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .shop-button, .shop-tag, .shop-payment-status, .shop-cart-count, .shop-course-dot { border: 1px solid CanvasText; }
  .shop-filters button[aria-pressed='true'], .shop-view-switch button[aria-pressed='true'], .shop-course-filters button[aria-pressed='true'] { outline: 2px solid Highlight; }
  .shop-admin-tabs button[aria-pressed='true'], .shop-admin-tabs button[aria-current='page'] { outline: 2px solid Highlight; outline-offset: -4px; }
}
