/* Ceramic photo cards and a paper reservation summary. Keep layout rules in one place. */
.aja-shop-layout {
  --shop-paper: #fffaf2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 28px;
  padding: 28px;
  background: #f3eaed;
  border-radius: 34px;
}
.aja-shop-layout .aja-booking-program { min-width: 0; scroll-margin-top: 24px; }
.aja-shop-layout .aja-section-heading { display: block; margin-bottom: 26px; }
.aja-shop-layout .aja-section-heading h2 { font: 400 42px/1.08 Newsreader, Georgia, serif; letter-spacing: -.04em; }
.aja-shop-layout .aja-section-heading > p { max-width: 480px; margin-top: 16px; font-size: 14px; line-height: 1.65; }
.aja-page .aja-shop-layout .aja-stage { font-size: 12px !important; margin-bottom: 24px; padding-bottom: 18px; flex-wrap: wrap; }
.aja-topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.aja-topic { --card-colour: #eed3ce; min-width: 0; overflow: hidden; background: var(--card-colour); border: 1px solid #193b4b26; border-radius: 22px; box-shadow: 0 5px 0 #193b4b06; }
.aja-topic:nth-child(3n+2) { --card-colour: #d6e5e8; }
.aja-topic:nth-child(3n) { --card-colour: #e0d9e9; }
.aja-topic.is-selected { border-color: #193b4b; box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3px #193b4b70; }
.aja-topic-art { position: relative; padding: 18px 18px 0; isolation: isolate; }
.aja-topic-art::before { content: ''; position: absolute; inset: 28px 18px 2px; background: #193b4b12; border-radius: 12px; transform: rotate(calc(var(--topic-tilt) * -1)); z-index: -1; }
.aja-topic-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 5px solid var(--shop-paper); border-radius: 10px; transform: rotate(var(--topic-tilt)); transition: transform .25s; box-shadow: 0 3px 12px #193b4b12; }
.aja-topic-mark { position: absolute; right: 12px; bottom: -13px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e7dfee; border: 1px solid #193b4b30; box-shadow: 0 0 0 3px #e7dfee; transform: rotate(12deg); }
.aja-topic-mark svg { width: 34px; height: 34px; }
.aja-topic:nth-child(2n) .aja-topic-mark { background: #fffaf2; box-shadow: 0 0 0 3px #fffaf2; transform: rotate(-10deg); }
.aja-topic-body { padding: 28px 18px 18px; }
.aja-topic-body h3 { font: 400 30px/1.12 Newsreader, Georgia, serif; letter-spacing: -.035em; margin: 0 0 12px; overflow-wrap: anywhere; }
.aja-topic-body > p { font-size: 14px; line-height: 1.65; margin: 0 0 18px; }
.aja-topic-dates { display: grid; gap: 10px; margin-top: 18px; }
.aja-topic-dates button { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; width: 100%; min-height: 64px; gap: 10px; padding: 14px; text-align: left; background: #fffaf2e8; color: inherit; border: 1px solid transparent; border-radius: 11px; cursor: pointer; }
.aja-topic-dates button strong, .aja-topic-dates button small { display: block; }
.aja-topic-dates button strong { font-size: 14px; line-height: 1.5; }
.aja-topic-dates button small { margin-top: 5px; font-size: 12px; line-height: 1.5; }
.aja-topic-dates button b { font-size: 14px; white-space: nowrap; }
.aja-topic-dates button[aria-pressed=true] { background: #193b4b; color: #fffaf2; border-color: #193b4b; }
.aja-topic-dates button:disabled { cursor: default; background: #fffaf28c; color: #51636b; }
.aja-more-topic-dates summary { font-size: 14px; padding: 12px 0; cursor: pointer; }
.aja-more-topic-dates[open] button + button { margin-top: 10px; }
.aja-seat-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed #193b4b55; font-size: 14px; }
.aja-seat-picker label { display: flex; align-items: center; gap: 12px; }
.aja-seat-picker > strong { margin-left: auto; }
.aja-seat-picker p { width: 100%; font-size: 14px; line-height: 1.65; margin: 0; }
.aja-page .aja-seat-picker .wl-button { width: 100%; min-height: 48px; padding: 10px 16px; gap: 12px; font-size: 14px; white-space: normal; text-align: left; }
.aja-link { border: 0; background: none; padding: 10px 0; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font: inherit; }
.aja-page .aja-cart { position: sticky; top: 24px; min-width: 0; margin: 0; padding: 24px; background: #e7dfee; border: 1px solid #193b4b24; border-radius: 20px 20px 4px 4px; box-shadow: 5px 7px 0 #193b4b08; scroll-margin-top: 24px; }
.aja-cart::after { content: ''; position: absolute; top: 100%; height: 10px; left: -1px; right: -1px; background: radial-gradient(circle at 50% 0, #e7dfee 7px, transparent 7.5px) 0 0 / 14px 10px repeat-x; pointer-events: none; }
.aja-page .aja-cart h2 { font: italic 400 34px/1.1 Newsreader, Georgia, serif; letter-spacing: -.04em; margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px dashed #193b4b40; }
.aja-page .aja-cart p { font-size: 14px; line-height: 1.65; }
.aja-cart-line { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px dashed #193b4b40; }
.aja-cart-line:first-child { padding-top: 0; }
.aja-cart-line img { flex: none; width: 56px; height: 68px; object-fit: cover; border: 3px solid #fffaf2; border-radius: 8px; transform: rotate(-3deg); }
.aja-cart-line > div { min-width: 0; flex: 1; }
.aja-cart-line h3 { font: 700 15px/1.5 Manrope, sans-serif; margin: 0; overflow-wrap: anywhere; }
.aja-cart-line p { margin: 6px 0; }
.aja-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 13px; }
.aja-line-actions label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.aja-page .aja-cart select, .aja-page .aja-seat-picker select { width: auto; min-width: 56px; min-height: 44px; margin: 0; padding: 8px; background: #fffaf2; border: 1px solid #193b4b70; border-radius: 8px; color: inherit; font: 16px Manrope, sans-serif; }
.aja-page .aja-cart button.aja-link { min-height: 44px; padding: 10px 0; border: 0; border-radius: 0; font-size: 13px; }
.aja-page .aja-cart .aja-checkbox { align-items: flex-start; font-size: 14px; line-height: 1.65; gap: 10px; margin: 18px 0; }
.aja-page .aja-cart input[type=checkbox] { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: #193b4b; }
.aja-cart-totals { margin: 20px 0; }
.aja-cart-totals > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; }
.aja-cart-totals dd { margin: 0; font-weight: 600; white-space: nowrap; }
.aja-cart-totals .aja-cart-total { font: 400 28px/1.2 Newsreader, Georgia, serif; }
.aja-cart .aja-voucher { margin: 14px 0; }
.aja-cart .aja-voucher summary, .aja-cart-help summary { font-size: 14px; padding-block: 10px; cursor: pointer; }
.aja-cart .aja-voucher input { font-size: 16px; }
.aja-page .aja-cart .aja-pay { width: 100%; min-height: 52px; margin-top: 12px; padding: 12px 16px; gap: 12px; font-size: 14px; background: #f37d87; color: #193b4b; }
.aja-cart .aja-pay:disabled { opacity: .55; cursor: default; }
.aja-cart-help { margin-top: 18px; padding-top: 8px; border-top: 1px dashed #193b4b40; }
.aja-empty-cart { text-align: center; padding: 5px 0 16px; }
.aja-empty-cart svg { box-sizing: content-box; width: 36px; height: 36px; padding: 14px; background: #fffaf285; border-radius: 50%; transform: rotate(-8deg); }
.aja-cart .aja-empty-cart p { font: italic 22px/1.4 Newsreader, Georgia, serif; margin: 16px 0 0; }
.aja-inline-offer { display: flex; align-items: start; gap: 12px; margin: 20px 0; padding: 14px; background: #fffaf28c; border: 1px solid #193b4b20; border-radius: 14px; }
.aja-inline-offer > div { min-width: 0; }
.aja-inline-offer img { width: 56px; height: 68px; object-fit: cover; flex: none; border-radius: 8px; }
.aja-inline-offer h3 { font: 600 15px/1.5 Manrope, sans-serif; margin: 0; overflow-wrap: anywhere; }
.aja-inline-offer p { margin: 8px 0; }
.aja-inline-offer button { min-height: 44px; }
.aja-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.aja-cart-bar { display: none; }
.aja-shop-layout :is(button, select, summary, a, input):focus-visible, .aja-cart-bar button:focus-visible { outline: 3px solid #b02c58; outline-offset: 4px; }
.aja-shop-layout [hidden], .aja-cart-bar[hidden] { display: none !important; }
@media (hover: hover) {
  .aja-topic:hover .aja-topic-image { transform: rotate(0); }
  .aja-topic-dates button:not(:disabled):not([aria-pressed=true]):hover { background: #fffaf2; border-color: #193b4b66; }
  .aja-page .aja-cart .aja-pay:not(:disabled):hover { background: #ee6978; }
}
@media (max-height: 800px) { .aja-page .aja-cart { position: relative; top: auto; } }
@media (max-width: 1100px) {
  .aja-shop-layout { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .aja-page .aja-cart { position: relative; top: auto; width: 100%; }
  .aja-cart-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; inset: auto 0 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #e7dfee; border-top: 1px solid #193b4b44; box-shadow: 0 -4px 20px #17384b0d; z-index: 30; font-size: 13px; }
  .aja-cart-bar strong { display: block; font-size: 16px; }
  .aja-page .aja-cart-bar .wl-button { min-height: 48px; font-size: 13px; padding: 12px 16px; }
  .aja-page:has(.aja-cart-bar:not([hidden])) { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .aja-shop-layout { gap: 28px; padding: 20px 12px 28px; margin-inline: -8px; border-radius: 26px; }
  .aja-shop-layout .aja-section-heading { padding-inline: 5px; }
  .aja-shop-layout .aja-section-heading h2 { font-size: 36px; }
  .aja-topic-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .aja-topic-image { aspect-ratio: 16 / 9; }
  .aja-page .aja-cart { padding: 20px; }
  .aja-page .aja-shop-layout .aja-stage { font-size: 11px !important; gap: 8px; margin-inline: 5px; }
  .aja-cart-bar { padding-inline: 14px; gap: 8px; }
  .aja-page .aja-cart-bar .wl-button { font-size: 12px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .aja-shop-layout * { scroll-behavior: auto; transition: none !important; }
  .aja-topic:hover .aja-topic-image { transform: rotate(var(--topic-tilt)); }
}
