@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=IM+Fell+English:ital@0;1&family=Inter:wght@400;600;700;800&display=swap');

:root {
  --ink: #15110d;
  --muted: #4f4338;
  --paper: #fbf6ea;
  --paper-strong: #fffdf6;
  --shop-black: #171717;
  --tile: #2d2e32;
  --wood: #745132;
  --red: #74281f;
  --green: #1f3b33;
  --line: rgba(21, 17, 13, .16);
  --shadow: 0 22px 60px rgba(21, 17, 13, .18);
  --sidebar: clamp(280px, 25vw, 390px);
  --announcement-height: 32px;
  --site-header-height: 112px;
  --header-offset: calc(var(--announcement-height) + var(--site-header-height));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  background: #e3d4bd;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: .14;
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.announcement {
  position: sticky;
  top: 0;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--announcement-height);
  text-align: center;
  background: var(--shop-black);
  color: #f4eee2;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: var(--announcement-height);
  z-index: 21;
  display: grid;
  grid-template-columns: 1fr minmax(340px, 560px) 1fr;
  align-items: center;
  gap: 18px;
  min-height: var(--site-header-height);
  height: var(--site-header-height);
  padding: 10px clamp(14px, 4vw, 42px) 14px;
  background: var(--shop-black);
  color: #f7f0e6;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.sign-logo {
  grid-column: 2;
  justify-self: center;
  display: block;
  width: min(520px, 100%);
  color: #fffaf0;
  padding: 2px 10px 4px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.logo-small {
  display: inline-block;
  margin-right: .14em;
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: clamp(32px, 4.7vw, 56px);
  line-height: .85;
}
.logo-main {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 600;
  line-height: .82;
}
.logo-sub {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
  color: #e9ded0;
  text-align: center;
}
.main-nav {
  position: fixed;
  left: 0;
  top: var(--header-offset);
  bottom: 0;
  z-index: 15;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  gap: 7px;
  padding: 28px clamp(18px, 2.4vw, 34px);
  background: #e8dcc8;
  border-right: 1px solid rgba(21,17,13,.16);
  box-shadow: 14px 0 36px rgba(21,17,13,.08);
  font-size: 17px;
  color: #2b251f;
  overflow-y: auto;
}
.main-nav:before {
  content: "Browse";
  margin-bottom: 5px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.main-nav a {
  padding: 14px 16px;
  border-radius: 8px;
  border-left: 4px solid transparent;
  font-weight: 800;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--ink);
  background: rgba(255, 253, 246, .72);
  border-left-color: var(--red);
}
.cart-button {
  grid-column: 3;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.22);
  background: #2f2f34;
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}
.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  background: #fff;
  color: #111;
  border-radius: 999px;
  font-size: 12px;
}

main {
  width: calc(100% - var(--sidebar));
  margin-left: var(--sidebar);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(260px, .64fr) minmax(420px, 1.36fr);
  gap: clamp(22px, 3.5vw, 54px);
  align-items: center;
  padding: clamp(38px, 6vw, 76px) clamp(24px, 4.5vw, 78px);
  background: linear-gradient(135deg, #fffdf6, #eadcc7);
}
.hero-frame {
  margin: 0;
  align-self: center;
  justify-self: stretch;
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid #fffdf6;
  box-shadow: var(--shadow);
}
.hero-frame figcaption {
  margin-top: 10px;
  color: #5b4d41;
  font-size: 13px;
  font-weight: 800;
}
.hero-copy {
  width: min(720px, 100%);
  color: var(--ink);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--red); }
h1, h2, h3, .feature strong, .cart-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: .98;
  margin: 0;
}
h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { font-size: clamp(36px, 5vw, 62px); }
h3 { font-size: 30px; }
p { color: var(--muted); line-height: 1.68; }
.hero h1 {
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.04;
}
.hero-lede {
  color: #463b32;
  font-size: clamp(17px, 1.45vw, 20px);
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}
.primary { background: var(--green); color: #fff; }
.ghost { background: #fffdf6; border-color: var(--line); color: var(--ink); }
.danger { background: var(--red); color: #fff; }
.full { width: 100%; }
.small { padding: 10px 12px; font-size: 14px; }
button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffaf0;
}
.feature { padding: 23px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature strong { display: block; font-size: 25px; }
.feature span { color: var(--muted); line-height: 1.5; }

.section { padding: clamp(42px, 6vw, 78px) clamp(18px, 5vw, 70px); }
.section-heading { max-width: 790px; margin-bottom: 30px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.intro-grid, .two-col, .checkout-grid, .story, .page-hero.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: 28px;
  align-items: center;
}
.intro-grid.text-only {
  display: block;
}
.intro-grid.text-only .section-heading {
  max-width: 860px;
}
.photo-stack {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 12px;
  align-items: end;
}
.photo-stack img, .page-hero img, .image-card img {
  width: 100%;
  border: 10px solid #fffaf0;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.photo-stack img:first-child { aspect-ratio: 3 / 4; }
.photo-stack img:last-child { aspect-ratio: 4 / 3; transform: translateY(24px); }
.warm-band { background: #fff8ea; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card, .event, .article, .payment-card, .quote-panel {
  background: #fffdf6;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(21,17,13,.08);
}
.card h3 { margin-bottom: 8px; }
.events-layout { align-items: start; }
.image-card img { margin: -8px -8px 18px; width: calc(100% + 16px); }
.coming-soon-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 980px;
  background: #fffdf6;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 12px 32px rgba(21,17,13,.08);
}
.coming-soon-panel h2 {
  max-width: 680px;
  font-size: clamp(36px, 5vw, 58px);
}
.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.page-hero {
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 70px);
  background: linear-gradient(135deg, #fffdf6, #eadfcf);
}
.page-hero p { max-width: 760px; font-size: 18px; }
.page-hero img { aspect-ratio: 4 / 3; }
.map-panel {
  min-height: 380px;
  border: 10px solid #fffaf0;
  box-shadow: var(--shadow);
  background: #e8dcc8;
}
.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}
.events-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  align-items: start;
}
.event-enquiry {
  align-self: end;
  margin-top: 18px;
}
.events-list-section {
  display: grid;
  grid-template-columns: minmax(340px, .68fr) minmax(520px, 1fr);
}
.events-list-section > div {
  grid-column: 2;
}
.story-copy p { font-size: 17px; }
.quote-panel p {
  font-family: 'IM Fell English', Georgia, serif;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin-top: 0;
}
.quote-panel span { color: var(--muted); font-weight: 800; }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #f0e4d2;
}
.about-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 10px solid #fffdf6;
  box-shadow: var(--shadow);
}
.gallery-note {
  align-self: center;
  padding: 28px;
}

.book-cover {
  height: 210px;
  background: var(--cover);
  border: 1px solid rgba(21,17,13,.18);
  margin-bottom: 16px;
  position: relative;
  box-shadow: inset 9px 0 rgba(255,255,255,.13);
}
.book-cover:after {
  content: attr(data-title);
  position: absolute;
  inset: 22px 18px;
  color: #f8ead0;
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.cover-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  background: #e8dcc8;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-card p {
  flex: 1;
}
.product-card h3 a:hover {
  color: var(--red);
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-row strong { font-size: 23px; }
.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.price-row button {
  border: 0;
  background: var(--shop-black);
  color: #fff;
  padding: 10px 13px;
  font-weight: 900;
  cursor: pointer;
}
.catalogue-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) minmax(160px, 220px);
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter {
  border: 1px solid var(--line);
  background: #fffdf6;
  padding: 9px 13px;
  color: #473c31;
  font-weight: 800;
  cursor: pointer;
}
.filter.active { background: var(--shop-black); color: #fff; }
.search-field {
  display: grid;
  gap: 6px;
  color: #40352a;
  font-size: 13px;
  font-weight: 900;
}
.search-field input,
.search-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf6;
  color: var(--ink);
  padding: 11px 12px;
}
.catalogue-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}
.catalogue-empty {
  max-width: 760px;
}
.book-page {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(340px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding: clamp(36px, 6vw, 78px) clamp(18px, 5vw, 70px);
}
.book-media {
  position: sticky;
  top: calc(var(--header-offset) + 24px);
}
.book-detail-cover {
  width: 100%;
  max-height: 680px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 12px solid #fffdf6;
  box-shadow: var(--shadow);
  background: #e8dcc8;
}
.book-gallery {
  display: grid;
  gap: 12px;
}
.book-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
}
.book-thumbs button {
  border: 2px solid transparent;
  background: #fffdf6;
  padding: 4px;
  cursor: pointer;
}
.book-thumbs button.active {
  border-color: var(--red);
}
.book-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.book-info h1 {
  font-size: clamp(42px, 6vw, 76px);
}
.book-author {
  margin-top: 12px;
  color: var(--red);
  font-weight: 900;
}
.book-buy-box {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 22px;
  background: #fffdf6;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(21,17,13,.08);
}
.book-buy-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.book-buy-box span {
  color: var(--muted);
  font-weight: 800;
}
.book-buy-box strong {
  font-size: 23px;
}
.book-notes {
  grid-column: 2;
  padding: 24px;
  background: #fff8ea;
  border: 1px solid var(--line);
}
.book-notes h2 {
  font-size: clamp(34px, 4vw, 48px);
}
.guide-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.guide-panel {
  background: #fffdf6;
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 12px 32px rgba(21,17,13,.08);
}
.guide-panel h2 {
  font-size: clamp(32px, 4vw, 48px);
}
.guide-panel pre {
  overflow: auto;
  margin: 18px 0 0;
  padding: 16px;
  background: #171717;
  color: #f4eee2;
  font-size: 13px;
  line-height: 1.5;
}
.event {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}
.date { background: var(--shop-black); color: #fff; text-align: center; padding: 13px 8px; font-family: 'Cormorant Garamond', Georgia, serif; }
.date strong { display: block; font-size: 34px; line-height: 1; }
.date span { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.article-list { display: grid; gap: 16px; }
.article time { color: var(--red); font-weight: 900; font-size: 13px; }
.article h2, .event h2 { font-size: 34px; margin: 7px 0; }
.blog-list {
  display: grid;
  gap: 22px;
}
.blog-post {
  max-width: 940px;
  background: #fffdf6;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 12px 32px rgba(21,17,13,.08);
}
.blog-post h2 {
  margin-bottom: 14px;
}
.blog-post p {
  max-width: 790px;
}
.post-image {
  margin: 0 0 22px;
}
.post-image img {
  width: 100%;
  max-height: 420px;
  border: 10px solid #f5ead7;
  box-shadow: 0 12px 32px rgba(21,17,13,.1);
  object-fit: cover;
  object-position: center;
}
#condition-notes .post-image img,
#inscriptions .post-image img {
  aspect-ratio: 16 / 9;
}
#new-arrivals .post-image img {
  aspect-ratio: 3 / 2;
}
.post-intro {
  color: #3f342b;
  font-size: 19px;
  font-weight: 700;
}
.checkout-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: start;
}
.checkout-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.checkout-form label { display: grid; gap: 8px; font-weight: 900; color: #40352a; }
.checkout-form input, .checkout-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fffdf6;
  padding: 13px;
}
.checkout-form textarea { grid-column: span 2; min-height: 112px; }
.secure-badge { display: inline-flex; background: #e8dcc8; padding: 8px 12px; font-size: 13px; font-weight: 900; margin-bottom: 14px; }
.request-form .wide, .form-note { grid-column: span 2; }
.request-form .button { width: max-content; }
.plain-list { margin: 18px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }

.payment-card { min-width: 0; }
.payment-card h2 { font-size: clamp(34px, 4vw, 52px); overflow-wrap: anywhere; }

.site-footer {
  width: calc(100% - var(--sidebar));
  margin-left: var(--sidebar);
  padding-left: clamp(18px, 5vw, 70px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-right: clamp(18px, 5vw, 70px);
  padding-bottom: 34px;
  background: var(--shop-black);
  color: #f5eee2;
}
.site-footer p { color: #cbbfb2; margin-bottom: 0; }
.site-footer div:last-child { display: flex; gap: 16px; color: #d9cec2; flex-wrap: wrap; }
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fffaf0;
  padding: 9px 11px;
}
.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.cart-drawer { position: fixed; inset: 0; z-index: 50; background: rgba(16,10,6,.45); opacity: 0; pointer-events: none; transition: .2s; }
.cart-drawer.open { opacity: 1; pointer-events: auto; }
.cart-panel {
  margin-left: auto;
  height: 100%;
  width: min(440px, 100%);
  background: #fbf0d8;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 70px rgba(0,0,0,.35);
  transform: translateX(100%);
  transition: .24s;
}
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; }
.cart-head h2 { font-size: 38px; }
.icon-button { width: 40px; height: 40px; border: 0; border-radius: 999px; background: #e4d1af; font-size: 28px; cursor: pointer; }
.cart-items { display: grid; gap: 12px; margin: 22px 0; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); background: #fff8e8; }
.cart-thumb { width: 48px; height: 58px; background: var(--cover); }
.cart-item h4 { margin: 0; }
.qty { display: flex; align-items: center; gap: 7px; }
.qty button { width: 28px; height: 28px; border: 0; border-radius: 999px; background: #e4d1af; cursor: pointer; }
.cart-summary { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.cart-summary div { display: flex; justify-content: space-between; margin: 10px 0; }
.total { font-size: 22px; }
.empty { text-align: center; color: var(--muted); border: 1px dashed var(--line); padding: 22px; }

.admin-body {
  min-height: 100vh;
  background: #e3d4bd;
}
.admin-body:before {
  opacity: .08;
}
.admin-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: clamp(18px, 4vw, 48px);
  background: transparent;
  box-shadow: none;
}
.admin-shell.compact {
  display: grid;
  place-items: center;
}
.admin-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: #fffdf6;
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.admin-shell.compact .admin-panel {
  max-width: 480px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}
.admin-heading h1,
.admin-panel h1 {
  font-size: clamp(40px, 6vw, 68px);
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admin-form label {
  display: grid;
  gap: 7px;
  color: #40352a;
  font-size: 13px;
  font-weight: 900;
}
.admin-form input,
.admin-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--ink);
  padding: 11px 12px;
}
.admin-form textarea {
  resize: vertical;
}
.admin-form .wide,
.admin-actions,
.admin-status {
  grid-column: 1 / -1;
}
.check-row {
  display: flex !important;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr !important;
  align-items: center;
}
.check-row input {
  width: auto;
}
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-status {
  min-height: 22px;
  margin: 0;
  font-weight: 800;
}
.admin-list {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.admin-list h2 {
  margin-bottom: 14px;
  font-size: 38px;
}
.admin-book-row {
  display: grid;
  gap: 3px;
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  background: #fff8ea;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}
.admin-book-row span {
  font-weight: 900;
}
.admin-book-row small {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .catalogue-tools { grid-template-columns: 1fr 1fr; }
  .catalogue-tools .filters { grid-column: span 2; }
  .events-list-section {
    grid-template-columns: 1fr;
  }
  .events-list-section > div {
    grid-column: 1;
  }
}
@media (max-width: 1040px) {
  :root { --sidebar: 0px; }
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    min-height: 0;
    padding: 10px 14px 12px;
  }
  .sign-logo { width: min(430px, 100%); }
  .logo-small { font-size: clamp(30px, 8vw, 46px); }
  .logo-main { font-size: clamp(36px, 9vw, 54px); }
  .logo-sub { font-size: clamp(16px, 4vw, 21px); }
  .cart-button {
    margin-left: auto;
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
  }
  .main-nav {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    box-shadow: none;
    padding: 12px;
    background: #e8dcc8;
    border: 0;
    font-size: 15px;
  }
  .main-nav a {
    padding: 10px 12px;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }
  .main-nav a:hover, .main-nav a.active { border-bottom-color: var(--red); }
  .main-nav:before { display: none; }
  main, .site-footer { width: 100%; margin-left: 0; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .announcement {
    font-size: 12px;
    line-height: 1.35;
  }
  .site-header {
    justify-content: stretch;
    gap: 10px;
  }
  .sign-logo {
    flex: 1 1 100%;
    padding-inline: 0;
  }
  .cart-button {
    margin-left: 0;
    width: 100%;
    padding: 11px 14px;
  }
  .main-nav {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0 2px;
  }
  .main-nav a {
    flex: 0 1 auto;
    white-space: nowrap;
    padding: 9px 11px;
  }
  .cart-panel {
    width: 100%;
    padding: 18px;
  }
  .cart-head h2 { font-size: 30px; }
  .cart-item {
    grid-template-columns: 42px 1fr;
  }
  .cart-item .qty {
    grid-column: 2;
    justify-content: flex-start;
  }
  .hero { grid-template-columns: 1fr; }
  .feature-strip, .intro-grid, .two-col, .checkout-grid, .story, .page-hero.split, .events-hero, .press-grid, .about-gallery, .grid, .grid.four, .catalogue-tools, .book-page, .guide-layout { grid-template-columns: 1fr; }
  .admin-grid, .admin-form { grid-template-columns: 1fr; }
  .admin-list { border-left: 0; padding-left: 0; }
  .catalogue-tools .filters, .book-notes { grid-column: auto; }
  .book-media { position: static; }
  .photo-stack { grid-template-columns: 1fr; }
  .photo-stack img:last-child { transform: none; }
  .event { grid-template-columns: 1fr; }
  .coming-soon-panel { grid-template-columns: 1fr; }
  .coming-soon-actions { justify-content: flex-start; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-form textarea, .request-form .wide, .form-note { grid-column: auto; }
  .request-form .button { width: 100%; }
  .site-footer { display: block; }
}
