:root {
  --paper: #fffaf0;
  --pear: #8ea642;
  --pear-soft: #e9efc7;
  --leaf: #315b49;
  --sky: #dceef3;
  --rose: #c06a52;
  --ink: #2c2318;
  --muted: #6f6254;
  --line: rgba(68, 52, 33, 0.16);
  --shadow: 0 24px 70px rgba(79, 58, 32, 0.13);
  --radius: 18px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    linear-gradient(125deg, rgba(220, 238, 243, 0.78), transparent 36%),
    linear-gradient(315deg, rgba(246, 201, 143, 0.42), transparent 42%),
    var(--paper);
}

a {
  color: var(--leaf);
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 100;
  isolation: isolate;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -1;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.72) 48%, rgba(255, 250, 240, 0.9)),
    linear-gradient(to bottom, rgba(255, 250, 240, 0.38), rgba(255, 250, 240, 0.78)),
    url("../Bilder/header.gif") center 42% / cover no-repeat;
  border-bottom: 1px solid rgba(68, 52, 33, 0.12);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 120px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(70, 52, 30, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.05;
}

.brand-text span {
  display: block;
  margin-top: 4px;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-text small {
  display: block;
  max-width: 290px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.28;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(74, 57, 34, 0.09);
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a:hover {
  color: var(--leaf);
  background: var(--pear-soft);
}

.nav a[aria-current="page"] {
  color: #263019;
  background: linear-gradient(135deg, #fff4b8, #cddf70);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(68, 52, 33, 0.18);
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(74, 57, 34, 0.1);
  cursor: pointer;
  color: var(--muted, #6f6254);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 0;
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  color: #263019;
  border-color: rgba(49, 91, 73, 0.28);
  background: linear-gradient(135deg, #fff8dc, #e9efc7);
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(205, 223, 112, 0.86);
  outline-offset: 3px;
}

.account-edit-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(68, 52, 33, 0.16);
  border-radius: 999px;
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(74, 57, 34, 0.08);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.account-edit-toggle svg {
  width: 18px;
  height: 18px;
}

.account-edit-toggle:hover,
.account-edit-toggle[aria-expanded="true"] {
  border-color: rgba(49, 91, 73, 0.28);
  background: linear-gradient(135deg, #fff4b8, #cddf70);
  transform: translateY(-1px);
}

.account-edit-toggle:focus-visible {
  outline: 3px solid rgba(205, 223, 112, 0.86);
  outline-offset: 3px;
}

.account-collapse:not([open]) > .account-collapse-summary .account-edit-toggle {
  display: none;
}

.account-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(43, 35, 26, 0.36);
  backdrop-filter: blur(5px);
}

.account-confirm-modal[hidden] {
  display: none;
}

.account-confirm-card {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(250, 244, 232, 0.98));
  box-shadow: 0 26px 70px rgba(43, 35, 26, 0.24);
}

.account-confirm-card h3,
.account-confirm-card p {
  margin: 0;
}

.account-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: stretch;
  margin: 22px 0 34px;
}

.hero-copy,
.hero-media,
.panel,
.card,
.family-media,
.person-card,
.timeline,
.contact-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.hero-copy {
  padding: clamp(30px, 6vw, 64px);
  background: linear-gradient(135deg, #fff8e8, #e9f1d0 58%, #dceef3);
}

.hero-media {
  overflow: hidden;
  min-height: 430px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -12px 0 34px;
}

.brand-proof-item {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.brand-proof-item span {
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-proof-item strong {
  font-family: var(--font-serif);
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.brand-proof-item a {
  text-decoration: none;
}

.brand-logo-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(260px, 1.05fr);
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
  overflow: hidden;
}

.brand-logo-strip img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(70, 52, 30, 0.1);
}

.brand-logo-strip strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.02;
}

.brand-logo-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.kicker {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  text-wrap: balance;
}

.about-hero h1 {
  font-size: clamp(2.55rem, 5.6vw, 4.65rem);
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1;
  text-wrap: balance;
}

h3 {
  font-size: 1.58rem;
  line-height: 1.1;
}

.intro,
.section-head p,
.panel p,
.card p,
.timeline p,
.contact-strip p,
li {
  color: var(--muted);
  line-height: 1.72;
}

.intro {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}

button.btn {
  border: 0;
  font: inherit;
  cursor: pointer;
}

button.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.btn-primary {
  color: #263019;
  background: linear-gradient(135deg, #fff4b8, #cddf70);
  box-shadow: 0 14px 34px rgba(79, 58, 32, 0.13);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.66);
}

.section {
  padding: 68px 0;
  border-top: 1px solid rgba(68, 52, 33, 0.1);
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.ice-panel {
  margin: 0 0 34px;
  padding: 24px;
  border: 1px solid rgba(68, 52, 33, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(247, 251, 221, 0.72)),
    #fffdf7;
  box-shadow: 0 18px 44px rgba(80, 62, 37, 0.08);
}

.ice-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.ice-panel-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.ice-panel-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.ice-lines {
  display: grid;
  gap: 10px;
}

.ice-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(68, 52, 33, 0.1);
}

.ice-row.is-on {
  background: rgba(232, 244, 215, 0.82);
}

.ice-row.is-off {
  background: rgba(252, 232, 232, 0.58);
}

.ice-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  line-height: 1;
}

.ice-row.is-on .ice-mark {
  background: #315b49;
}

.ice-row.is-off .ice-mark {
  background: #9d3f2e;
}

.ice-row strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1.02rem;
}

.ice-row span:last-child {
  color: var(--muted);
  line-height: 1.52;
}

.ice-availability-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.86);
}

.ice-schedule-intro {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.ice-availability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ice-availability-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(49, 91, 73, 0.16);
  border-radius: 999px;
  background: rgba(232, 244, 215, 0.78);
  color: var(--leaf);
  font-weight: 900;
  line-height: 1.2;
}

.ice-availability-item.is-off {
  background: rgba(252, 232, 232, 0.62);
  color: #8b3027;
}

.ice-availability-item b {
  font-size: 1rem;
  line-height: 1;
}

.ice-available-word {
  justify-self: start;
  color: var(--leaf);
  font-size: 1.05rem;
}

.ice-note {
  margin: 4px 0 0;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 244, 184, 0.58);
  color: var(--leaf);
  font-weight: 800;
  line-height: 1.55;
}

.account-forms,
#account-dashboard,
#reset-section {
  width: min(980px, 100%);
  margin: 0 auto 48px;
}

#account-dashboard {
  display: grid;
  gap: 16px;
}

#account-dashboard[hidden],
#reset-section[hidden],
.account-form[hidden],
.account-edit-form[hidden] {
  display: none;
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(80, 62, 37, 0.07);
}

.account-tab {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.account-tab.is-active,
.account-tab:hover,
.account-tab:focus-visible {
  color: #263019;
  background: linear-gradient(135deg, #fff4b8, #cddf70);
}

.account-form,
.account-welcome {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.account-form h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.account-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-welcome h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

.account-panel {
  display: grid;
  gap: 16px;
}

.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-panel-head h3 {
  min-width: 0;
}

.account-collapse {
  display: block;
  padding: 0;
  overflow: hidden;
}

.account-collapse-summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--leaf);
}

.account-collapse-summary::-webkit-details-marker {
  display: none;
}

.account-collapse-summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.88);
  color: var(--leaf);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.account-collapse[open] > .account-collapse-summary::after {
  content: "-";
}

.account-summary-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.account-summary-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(49, 91, 73, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(233, 239, 199, 0.95), rgba(255, 253, 247, 0.9));
  color: var(--leaf);
  font-size: 1.05rem;
  line-height: 1;
}

.account-summary-label h3,
.account-summary-label strong {
  display: block;
  margin: 0;
  color: var(--leaf);
}

.account-summary-label .small-note,
.account-summary-label small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.account-collapse-body {
  display: grid;
  gap: 14px;
  padding: 0 22px 22px;
}

.account-readout {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(68, 52, 33, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.72);
}

.account-summary-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(68, 52, 33, 0.1);
}

.account-summary-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.account-summary-row:last-child {
  padding-bottom: 0;
}

.account-summary-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-summary-row strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account-edit-form {
  padding-top: 18px;
  border-top: 1px solid rgba(68, 52, 33, 0.1);
}

.form-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.form-row label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(68, 52, 33, 0.18);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.9);
  color: var(--ink);
  font: inherit;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.form-row input,
.form-row select {
  padding: 0 14px;
}

.form-row textarea {
  min-height: 130px;
  padding: 12px 14px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(49, 91, 73, 0.56);
  outline: 4px solid rgba(142, 166, 66, 0.18);
}

.form-row input:disabled,
.form-row input[readonly] {
  color: var(--muted);
  background: rgba(238, 232, 220, 0.58);
}

.form-row small,
.small-note,
.orders-note {
  color: var(--muted);
  line-height: 1.55;
}

.checkbox-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(68, 52, 33, 0.12);
  border-radius: 12px;
  background: rgba(233, 239, 199, 0.34);
}

.checkbox-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--leaf);
}

.account-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.account-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

.account-status[data-tone="success"] {
  color: var(--leaf);
}

.account-status[data-tone="error"] {
  color: #9d3f2e;
}

.account-chip {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(233, 239, 199, 0.62);
  color: var(--leaf);
  font-size: 0.88rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.account-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 8px;
}

.account-code-grid input {
  width: 100%;
  aspect-ratio: 1;
  min-height: 52px;
  padding: 0;
  border: 2px solid rgba(49, 91, 73, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.account-code-grid input:focus {
  border-color: rgba(49, 91, 73, 0.68);
  outline: 4px solid rgba(217, 234, 114, 0.34);
}

.account-twofa-form .btn + .btn {
  margin-top: 10px;
}

.twofa-secret {
  display: inline-flex;
  max-width: 100%;
  margin: 6px 0 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(49, 91, 73, 0.32);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.86);
  color: var(--leaf);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.twofa-setup-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 16px 0;
}

.twofa-qr-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px;
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.twofa-qr-card[hidden] {
  display: none;
}

.twofa-qr {
  width: min(210px, 100%);
  aspect-ratio: 1;
}

.twofa-qr svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
}

.twofa-qr-card small {
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}

.twofa-auth-button {
  width: auto;
}

@media (max-width: 700px) {
  .twofa-setup-grid {
    grid-template-columns: 1fr;
  }
}

.postbox-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.postbox-message {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(68, 52, 33, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.72);
}

.postbox-message.is-unread {
  border-color: rgba(49, 91, 73, 0.34);
  background: rgba(233, 239, 199, 0.38);
}

.postbox-message-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.postbox-message-head > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.postbox-message-head time {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.postbox-badge {
  display: inline-flex;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.postbox-message:not(.is-unread) .postbox-badge {
  color: var(--muted);
  background: rgba(238, 232, 220, 0.7);
}

.postbox-message-body {
  margin: 0;
  color: var(--ink);
  white-space: pre-wrap;
}

.postbox-read-button {
  justify-self: start;
}

@media (max-width: 620px) {
  .postbox-message-head {
    display: grid;
  }

  .postbox-message-head time {
    white-space: normal;
  }

  .postbox-read-button {
    width: 100%;
  }
}

.order-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.order-item {
  padding: 16px;
  border: 1px solid rgba(68, 52, 33, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--muted);
  line-height: 1.55;
}

.order-item strong {
  color: var(--ink);
}

.account-order-card {
  display: grid;
  gap: 10px;
}

.account-order-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.account-order-head > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.account-order-type {
  display: inline-flex;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(233, 239, 199, 0.78);
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-order-total {
  white-space: nowrap;
  color: var(--leaf);
}

.account-order-meta,
.account-order-summary,
.account-order-detail {
  margin: 0;
}

.account-order-summary {
  color: var(--ink);
}

.account-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.account-invoice-link,
.account-order-cancel,
.account-order-return {
  justify-self: start;
  margin-top: 2px;
}

.account-order-cancel {
  background: rgba(255, 246, 207, 0.92);
  border-color: rgba(161, 94, 55, 0.32);
  color: #6b3d1f;
}

.account-order-return {
  background: rgba(233, 239, 199, 0.92);
  border-color: rgba(49, 91, 73, 0.28);
  color: var(--leaf);
}

.account-order-cancel-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.account-order-cancel-status[data-tone="success"] {
  color: var(--leaf);
}

.account-order-cancel-status[data-tone="error"] {
  color: #a34032;
}

.privacy-details {
  padding: 0;
  overflow: hidden;
}

.privacy-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--leaf);
}

.privacy-summary::-webkit-details-marker {
  display: none;
}

.privacy-summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.88);
  color: var(--leaf);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.privacy-details[open] .privacy-summary::after {
  content: "-";
}

.privacy-summary strong {
  display: block;
  font-size: 1.02rem;
}

.privacy-summary small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.privacy-details-body {
  display: grid;
  gap: 14px;
  padding: 0 22px 22px;
}

.privacy-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.82);
}

.privacy-card h4 {
  margin: 0;
  color: var(--leaf);
  font-size: 1.06rem;
}

.privacy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.privacy-confirm-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(154, 58, 43, 0.2);
  border-radius: 14px;
  background: rgba(255, 238, 231, 0.72);
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.privacy-confirm-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.privacy-danger-zone {
  background: rgba(255, 248, 242, 0.94);
}

.privacy-delete-button {
  width: fit-content;
  border-color: rgba(154, 58, 43, 0.45);
  color: #7b2f22;
}

.privacy-delete-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.account-privacy-pending {
  border-color: rgba(154, 58, 43, 0.22);
  background: linear-gradient(135deg, rgba(255, 248, 242, 0.96), rgba(233, 239, 199, 0.32));
}

.account-privacy-pending h3 {
  margin: 0;
}

.account-privacy-pending p {
  color: var(--muted);
  line-height: 1.58;
}

@media (max-width: 620px) {
  .account-order-head {
    display: grid;
  }

  .account-order-total {
    justify-self: start;
  }

  .account-order-actions {
    display: grid;
  }

  .account-invoice-link,
  .account-order-cancel,
  .account-order-return {
    width: 100%;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--pear-soft);
}

.card-body,
.panel {
  padding: 24px;
}

.panel p,
.card p {
  margin: 12px 0 0;
}

.family-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.family-media {
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  padding: 22px;
  background: linear-gradient(135deg, rgba(233, 239, 199, 0.82), rgba(220, 238, 243, 0.76));
}

.family-media img {
  width: min(100%, 520px);
  max-height: 330px;
  object-fit: contain;
}

.family-copy {
  display: grid;
  align-content: center;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.person-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
}

.person-photo {
  height: 310px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(220, 238, 243, 0.78), rgba(255, 248, 232, 0.86));
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-photo-contain {
  display: grid;
  place-items: center;
  padding: 18px;
}

.person-photo.person-photo-contain img {
  width: auto;
  height: calc(100% - 36px);
  max-width: 100%;
  object-fit: contain;
}

.person-body {
  padding: 24px;
}

.person-body p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.profile-tags li {
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 999px;
  background: rgba(233, 239, 199, 0.54);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
}

.profile-tags a {
  display: block;
  padding: 7px 10px;
  color: var(--leaf);
  text-decoration: none;
}

.profile-tags a:hover,
.profile-tags a:focus-visible {
  background: rgba(205, 223, 112, 0.5);
  color: #263019;
  outline: none;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.profile-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--leaf);
  text-decoration: none;
  font-weight: 850;
}

.profile-links a:hover {
  background: var(--pear-soft);
}

.ribbeck-generations {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: start;
  margin-top: 56px;
}

.ribbeck-generations-photo {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.ribbeck-generations-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ribbeck-generations-photo figcaption {
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.ribbeck-generations-copy {
  padding: clamp(26px, 4vw, 48px);
}

.ribbeck-generations-copy > h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
}

.ribbeck-generations-copy > .intro {
  margin-bottom: 30px;
}

.generation-profile {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.generation-profile + .generation-profile {
  margin-top: 30px;
}

.generation-name {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.generation-profile p:not(.generation-name) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.soft-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.soft-list li {
  padding: 9px 12px;
  border: 1px solid rgba(49, 91, 73, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.link-list li {
  margin: 0;
}

.link-list a,
.link-list .link-note {
  display: block;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-list .link-note {
  color: var(--muted);
  font-weight: 800;
}

.link-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 91, 73, 0.38);
  background: rgba(233, 239, 199, 0.62);
}

.link-list span {
  display: block;
  color: var(--leaf);
  font-weight: 900;
  line-height: 1.3;
}

.link-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.shop-hero h1 {
  font-size: clamp(2.85rem, 6vw, 5.3rem);
}

.shop-section {
  padding-top: 52px;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
  gap: 12px;
  margin-bottom: 18px;
}

.shop-field {
  display: grid;
  gap: 7px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-field input,
.shop-field select,
.size-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
}

.shop-field input,
.shop-field select {
  padding: 0 14px;
}

.shop-field input:focus,
.shop-field select:focus,
.size-select:focus {
  outline: 3px solid rgba(142, 166, 66, 0.22);
  border-color: rgba(49, 91, 73, 0.46);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.category-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(49, 91, 73, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--leaf);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.category-tab:hover {
  transform: translateY(-1px);
  background: rgba(233, 239, 199, 0.7);
}

.category-tab.is-active {
  border-color: rgba(192, 106, 82, 0.38);
  color: #263019;
  background: linear-gradient(135deg, #fff4b8, #cddf70);
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
  gap: 18px;
  align-items: start;
}

.shop-results {
  min-height: 24px;
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.shop-product-card,
.shop-cart {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.shop-product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.92), rgba(233, 239, 199, 0.72));
}

.product-media[role="button"] {
  cursor: pointer;
}

.product-media[role="button"]:focus-visible {
  outline: 4px solid rgba(142, 166, 66, 0.28);
  outline-offset: -4px;
}

.product-media img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
}

.shop-product-card.has-photo-image .product-media img {
  padding: 0;
  object-fit: cover;
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-badge {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(44, 35, 24, 0.08);
}

.product-badge.is-age {
  color: #672719;
  background: rgba(255, 220, 204, 0.92);
}

.product-badge.is-soft {
  color: var(--muted);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.product-body h3 {
  font-size: 1.34rem;
}

.product-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: auto 0 0;
  color: var(--leaf);
  font-size: 1.2rem;
  font-weight: 950;
}

.old-price {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-actions .size-select {
  grid-column: 1 / -1;
}

.size-select {
  padding: 0 12px;
  font-size: 0.92rem;
}

.product-detail-button {
  min-height: 46px;
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.product-modal[hidden] {
  display: none;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(44, 35, 24, 0.52);
  cursor: pointer;
}

.product-modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(780px, calc(100vh - 44px));
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 32px 90px rgba(22, 17, 11, 0.3);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--leaf);
  font: inherit;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
}

.product-modal-media {
  min-height: 520px;
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.94), rgba(220, 238, 243, 0.76));
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
}

.product-modal-panel.has-photo-image .product-modal-media img {
  padding: 0;
  object-fit: cover;
}

.product-modal-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
}

.product-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-modal-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.product-modal-lead,
.product-modal-long,
.product-detail-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.product-detail-list {
  display: grid;
  gap: 8px 14px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.product-detail-list dt {
  color: var(--leaf);
  font-weight: 950;
}

.product-detail-list dd {
  margin: 0 0 8px;
}

.product-modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

.shop-cart {
  position: sticky;
  top: 18px;
  padding: 22px;
}

.shop-cart h3 {
  margin-bottom: 10px;
}

.cart-hint,
.cart-empty,
.cart-status {
  color: var(--muted);
  line-height: 1.55;
}

.cart-hint {
  margin: 0 0 16px;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(49, 91, 73, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  grid-column: 1 / 2;
}

.cart-quantity button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--leaf);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.cart-quantity span {
  min-width: 20px;
  margin: 0;
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.cart-line-price {
  grid-row: 1 / 3;
  grid-column: 2 / 3;
  align-self: end;
  color: var(--leaf);
  white-space: nowrap;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--leaf);
  font-weight: 900;
}

.cart-copy {
  width: 100%;
}

.cart-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 800;
}

.shop-mini-cart {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(49, 91, 73, 0.22);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 18px 42px rgba(44, 35, 24, 0.18);
  backdrop-filter: blur(10px);
}

.shop-mini-cart[hidden] {
  display: none;
}

.shop-mini-cart div {
  display: grid;
  flex: 1;
  gap: 2px;
}

.shop-mini-cart span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.shop-mini-cart strong {
  color: var(--leaf);
  font-size: 1.05rem;
}

.shop-mini-cart .btn {
  white-space: nowrap;
}

.checkout-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkout-panel h3 {
  margin-bottom: 0;
}

.checkout-panel.is-disabled {
  opacity: 0.72;
}

.checkout-panel.is-order-paused {
  opacity: 1;
}

.checkout-pause {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(157, 63, 46, 0.22);
  border-radius: 8px;
  background: rgba(255, 246, 231, 0.9);
  color: #78392d;
  font-weight: 800;
  line-height: 1.55;
}

.checkout-note,
.checkout-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-status {
  min-height: 24px;
  font-weight: 850;
}

.checkout-status[data-tone="success"] {
  color: var(--leaf);
}

.checkout-status[data-tone="error"] {
  color: #9d3f2e;
}

.checkout-total-row,
.checkout-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-total-row {
  padding: 12px 0;
  border-top: 1px solid rgba(68, 52, 33, 0.1);
  border-bottom: 1px solid rgba(68, 52, 33, 0.1);
  color: var(--leaf);
  font-weight: 900;
}

.checkout-total-final {
  font-size: 1.06rem;
  border-bottom-color: rgba(49, 91, 73, 0.28);
}

.checkout-shipping {
  display: grid;
  gap: 8px;
}

.checkout-option.is-unavailable {
  opacity: 0.62;
}

.event-ticket-checkout.checkout-panel {
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ticket-field {
  display: grid;
  gap: 7px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.ticket-field select:focus {
  outline: 3px solid rgba(142, 166, 66, 0.22);
  border-color: rgba(49, 91, 73, 0.46);
}

.ticket-selected {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(49, 91, 73, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.ticket-selected strong {
  color: var(--ink);
}

.ticket-selected small {
  color: var(--muted);
  line-height: 1.35;
}

.ticket-tax-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.ticket-quantity {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ticket-quantity > span {
  grid-column: 1;
}

.ticket-quantity > small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.ticket-stepper {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 42px 44px 42px;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(49, 91, 73, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.ticket-stepper button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--leaf);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
}

.ticket-stepper button:hover:not(:disabled),
.ticket-stepper button:focus-visible {
  background: rgba(233, 239, 199, 0.62);
}

.ticket-stepper button:focus-visible {
  outline: 3px solid rgba(142, 166, 66, 0.24);
  outline-offset: -3px;
}

.ticket-stepper button:disabled {
  color: rgba(68, 52, 33, 0.28);
  cursor: not-allowed;
}

.ticket-stepper output {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(49, 91, 73, 0.16);
  border-left: 1px solid rgba(49, 91, 73, 0.16);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.ticket-cart {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(49, 91, 73, 0.17);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.ticket-cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ticket-cart-heading > strong {
  color: var(--ink);
}

.ticket-cart-heading > span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(233, 239, 199, 0.82);
  color: var(--leaf);
  font-size: 0.74rem;
  font-weight: 900;
}

.ticket-cart-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ticket-cart-lines {
  display: grid;
  gap: 12px;
}

.ticket-tax-breakdown {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(68, 52, 33, 0.1);
  color: var(--muted);
  font-size: 0.78rem;
}

.ticket-tax-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ticket-tax-breakdown strong {
  color: var(--ink);
  white-space: nowrap;
}

.ticket-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(68, 52, 33, 0.1);
}

.ticket-cart-line > span {
  display: grid;
  gap: 3px;
}

.ticket-cart-line > span strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.ticket-cart-line small {
  color: var(--muted);
  line-height: 1.35;
}

.ticket-cart-line > strong {
  color: var(--leaf);
  font-size: 0.86rem;
  white-space: nowrap;
}

.ticket-cart-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ticket-cart-stepper {
  display: grid;
  grid-template-columns: 34px 38px 34px;
  min-height: 34px;
  overflow: hidden;
  border: 1px solid rgba(49, 91, 73, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.ticket-cart-stepper button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--leaf);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.ticket-cart-stepper button:hover:not(:disabled),
.ticket-cart-stepper button:focus-visible {
  background: rgba(233, 239, 199, 0.62);
}

.ticket-cart-stepper button:disabled {
  color: rgba(68, 52, 33, 0.28);
  cursor: not-allowed;
}

.ticket-cart-stepper output {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(49, 91, 73, 0.14);
  border-left: 1px solid rgba(49, 91, 73, 0.14);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.ticket-cart-remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b3b2f;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.ticket-cart-remove:hover,
.ticket-cart-remove:focus-visible {
  text-decoration: underline;
}

.ticket-cart-remove:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: none;
}

.ticket-payment-lock {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(49, 91, 73, 0.2);
  border-radius: 10px;
  background: rgba(233, 239, 199, 0.62);
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.45;
}

.ticket-payment {
  display: grid;
  gap: 14px;
}

.ticket-withdrawal {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(68, 52, 33, 0.1);
}

.ticket-withdrawal-toggle {
  width: 100%;
}

.ticket-withdrawal-form {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(49, 91, 73, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
}

.ticket-withdrawal-form[hidden] {
  display: none;
}

.ticket-withdrawal-form p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ticket-withdrawal-form label:not(.check-row) {
  display: grid;
  gap: 5px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 850;
}

.ticket-withdrawal-form input[type="text"],
.ticket-withdrawal-form input[type="email"],
.ticket-withdrawal-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(49, 91, 73, 0.22);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.ticket-withdrawal-form textarea {
  resize: vertical;
}

.ticket-cart-lines[hidden],
.ticket-cart-empty[hidden],
.ticket-tax-breakdown[hidden],
.checkout-total-row[hidden],
.ticket-payment-lock[hidden],
.ticket-payment[hidden] {
  display: none;
}

.checkout-option {
  padding: 12px;
  border: 1px solid rgba(49, 91, 73, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.checkout-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--leaf);
}

.checkout-option span {
  display: grid;
  flex: 1;
  gap: 4px;
}

.checkout-option small {
  color: var(--muted);
  line-height: 1.35;
}

.paypal-button-stack {
  display: grid;
  gap: 10px;
}

.empty-products {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  line-height: 1.6;
}

.shop-note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.press-card {
  overflow: hidden;
}

.press-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--pear-soft);
}

.press-card .card-body {
  display: grid;
  align-content: start;
}

.press-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  overflow: hidden;
}

.media-card video,
.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1f241b;
}

.archive-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-list a {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-decoration: none;
}

.archive-list a:hover {
  background: rgba(233, 239, 199, 0.62);
}

.archive-list strong {
  color: var(--leaf);
}

.archive-list small {
  color: var(--muted);
  line-height: 1.45;
}

.events-hero h1 {
  font-size: clamp(2.75rem, 5.7vw, 5rem);
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 320px);
  gap: 18px;
  align-items: start;
}

.event-grid {
  display: grid;
  gap: 16px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.event-media {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.92), rgba(220, 238, 243, 0.72));
}

.event-media[role="button"],
.event-click-zone {
  cursor: pointer;
}

.event-media[role="button"]:focus-visible,
.event-click-zone:focus-visible {
  outline: 4px solid rgba(142, 166, 66, 0.32);
  outline-offset: -4px;
}

.event-click-zone {
  display: grid;
  gap: 12px;
  border-radius: 12px;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-media.is-top-image {
  display: flex;
  align-items: flex-start;
  background: #fff;
}

.event-media.is-top-image img {
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.event-date {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  min-width: 88px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(44, 35, 24, 0.12);
}

.event-date span {
  color: var(--rose);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-date strong {
  font-family: var(--font-serif);
  font-size: 1.24rem;
}

.event-body {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 24px;
}

.event-topline,
.event-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-ticket {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(233, 239, 199, 0.72);
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 950;
}

.event-ticket.is-low {
  color: #672719;
  background: rgba(255, 220, 204, 0.92);
}

.event-ticket.is-sold {
  color: var(--muted);
  background: rgba(68, 52, 33, 0.1);
}

.event-ticket.is-free {
  color: var(--leaf);
  background: rgba(220, 238, 243, 0.82);
}

.event-meta,
.event-copy,
.event-details p,
.event-aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.richtext-card-copy.richtext-content {
  display: block;
  position: relative;
  max-height: 7.8em;
  overflow: hidden;
}

.richtext-card-copy.richtext-content.is-truncated {
  -webkit-mask-image: linear-gradient(to bottom, #000 56%, rgba(0, 0, 0, 0.88) 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 56%, rgba(0, 0, 0, 0.88) 76%, transparent 100%);
}

.richtext-card-copy.richtext-content p,
.richtext-card-copy.richtext-content ul,
.richtext-card-copy.richtext-content ol,
.richtext-card-copy.richtext-content blockquote,
.richtext-card-copy.richtext-content div {
  margin: 0;
}

.richtext-card-copy.richtext-content > * + * {
  margin-top: 0.35em;
}

.richtext-card-copy.richtext-content ul,
.richtext-card-copy.richtext-content ol {
  padding-left: 1.1rem;
}

.rich-card-link-text {
  color: var(--leaf);
  font-weight: 850;
}

.event-detail-button,
.event-details summary {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--leaf);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.event-detail-button:hover,
.event-detail-button:focus-visible {
  color: #263019;
  text-decoration: underline;
}

.event-details p {
  margin-top: 10px;
  white-space: pre-line;
}

.event-foot {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.event-foot strong {
  color: var(--leaf);
  font-size: 1.28rem;
}

.event-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
}

.event-aside .btn {
  width: 100%;
  margin-top: 16px;
}

.event-modal-panel {
  width: min(1040px, 100%);
}

.event-modal-panel.is-soft-image {
  display: block;
  isolation: isolate;
  overflow: auto;
}

.event-modal-panel.is-soft-image .event-modal-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 660px);
  min-height: 0;
  height: 100%;
  margin: 0;
  z-index: 0;
  background: transparent;
  opacity: 0.22;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to left, #000 52%, rgba(0, 0, 0, 0.7) 70%, transparent 100%),
    linear-gradient(to bottom, #000 74%, transparent 100%);
  mask-image:
    linear-gradient(to left, #000 52%, rgba(0, 0, 0, 0.7) 70%, transparent 100%),
    linear-gradient(to bottom, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.event-modal-panel.is-soft-image .event-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.event-modal-panel.is-soft-image .event-modal-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.event-modal-media img {
  padding: 0;
}

.event-modal-media.is-top-image {
  display: flex;
  align-items: flex-start;
  min-height: 320px;
  background: #fff;
}

.event-modal-media.is-top-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.event-modal-description {
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.66;
}

.event-modal-description p,
.event-modal-description ul {
  margin: 0;
}

.event-modal-description ul {
  padding-left: 1.2rem;
}

.event-modal-description a {
  color: var(--leaf);
  font-weight: 850;
}

.richtext-content {
  display: grid;
  gap: 12px;
}

.richtext-content p,
.richtext-content ul,
.richtext-content ol,
.richtext-content blockquote,
.richtext-content div {
  margin: 0;
}

.richtext-content ul,
.richtext-content ol {
  padding-left: 1.25rem;
}

.richtext-content blockquote {
  padding-left: 1rem;
  border-left: 4px solid rgba(217, 234, 114, 0.92);
  color: var(--muted);
}

.richtext-content a:not(.rich-button) {
  color: var(--leaf);
  font-weight: 850;
}

.richtext-content strong,
.richtext-content b {
  font-weight: 950;
}

.richtext-content em,
.richtext-content i {
  font-style: italic;
}

.richtext-content u {
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.richtext-content .rich-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 2px;
  padding: 10px 16px;
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 999px;
  background: var(--accent);
  color: #24351f;
  font-weight: 950;
  line-height: 1.1;
  text-decoration: none;
}

.richtext-content .rich-button:hover,
.richtext-content .rich-button:focus-visible {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.event-modal-actions {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .event-modal-panel.is-soft-image .event-modal-media {
    position: relative;
    width: 100%;
    height: clamp(190px, 34vh, 300px);
    opacity: 0.24;
    -webkit-mask-image: linear-gradient(to bottom, #000 54%, rgba(0, 0, 0, 0.74) 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 54%, rgba(0, 0, 0, 0.74) 72%, transparent 100%);
  }

  .event-modal-panel.is-soft-image .event-modal-media img {
    object-fit: cover;
    object-position: right top;
  }

  .event-modal-panel.is-soft-image .event-modal-copy {
    max-width: none;
  }
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.location-map {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(220, 238, 243, 0.9), rgba(233, 239, 199, 0.86));
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.map-fallback {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
}

.map-fallback strong {
  font-family: var(--font-serif);
  font-size: 2rem;
}

.map-fallback span {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.6;
}

.map-load-btn {
  margin-top: 6px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.map-load-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.location-list {
  display: grid;
  gap: 10px;
}

.location-card {
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(80, 62, 37, 0.06);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.location-card.is-active {
  border-color: rgba(192, 106, 82, 0.72);
  background: rgba(255, 248, 232, 0.94);
  transform: translateY(-1px);
}

.location-card-main {
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 14px 14px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.location-card-main strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.1;
}

.location-card-main span:not(.location-type),
.location-card-main small {
  color: var(--muted);
  line-height: 1.45;
}

.location-card-main small {
  font-size: 0.86rem;
}

.location-type {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(233, 239, 199, 0.78);
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-card a {
  display: inline-flex;
  margin: 0 14px 14px;
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.location-card a:hover {
  text-decoration: underline;
}

.location-div-icon {
  border: 0;
  background: transparent;
}

.location-pin {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 7px 18px rgba(44, 35, 24, 0.28);
}

.location-pin-main {
  background: var(--rose);
}

.location-pin-partner {
  background: var(--leaf);
}

.leaflet-container {
  font-family: var(--font-sans);
}

.timeline {
  padding: 26px;
}

.timeline ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 1.2rem;
}

.timeline strong {
  color: var(--leaf);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.contact-strip a,
.contact-strip span {
  display: block;
  padding: 14px;
  border-radius: 14px;
  background: rgba(233, 239, 199, 0.46);
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}

.order-help-card {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(233, 239, 199, 0.76));
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.order-help-card h3 {
  margin: 4px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.order-help-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.order-help-card .btn {
  flex: 0 0 auto;
}

.contact-hero h1 {
  font-size: clamp(2.75rem, 5.7vw, 5.15rem);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.68fr);
  gap: 18px;
  align-items: start;
}

.contact-form-panel,
.contact-aside-card,
.mail-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.contact-form-panel {
  padding: clamp(22px, 4vw, 36px);
}

.contact-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 22px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(233, 239, 199, 0.36);
}

.contact-mode-tabs[hidden] {
  display: none;
}

.contact-mode-tab {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.contact-mode-tab:hover,
.contact-mode-tab:focus-visible {
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.72);
}

.contact-mode-tab.is-active {
  color: #263019;
  background: linear-gradient(135deg, #fff4b8, #cddf70);
  box-shadow: 0 10px 24px rgba(74, 57, 34, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  margin-top: 16px;
}

.form-field span,
.check-row span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(68, 52, 33, 0.18);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.88);
  color: var(--ink);
  font: inherit;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.form-field input,
.form-field select {
  min-height: 48px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 154px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(49, 91, 73, 0.56);
  outline: 4px solid rgba(142, 166, 66, 0.18);
}

.contact-mode {
  margin-top: 18px;
}

.form-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(49, 91, 73, 0.16);
  border-radius: 12px;
  background: rgba(233, 239, 199, 0.34);
  color: var(--muted);
  line-height: 1.55;
}

.contact-mode[hidden],
.mail-preview[hidden] {
  display: none;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(68, 52, 33, 0.12);
  border-radius: 12px;
  background: rgba(233, 239, 199, 0.34);
}

.check-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--leaf);
}

.privacy-row {
  margin-top: 18px;
  background: rgba(220, 238, 243, 0.38);
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

.contact-status[data-tone="success"] {
  color: var(--leaf);
}

.contact-status[data-tone="error"] {
  color: #9d3f2e;
}

.mail-preview {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 250, 240, 0.92);
}

.mail-preview .form-field.full {
  margin-top: 0;
}

.contact-form-actions {
  margin-top: 18px;
}

.contact-aside {
  display: grid;
  gap: 14px;
}

.contact-aside-card {
  padding: 22px;
}

.contact-aside-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.05;
}

.contact-aside-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-route-card {
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.94), rgba(220, 238, 243, 0.82)),
    url("../assets/images/hero-wide.jpg") center / cover;
}

.contact-withdrawal-card {
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.95), rgba(233, 239, 199, 0.68));
}

.contact-route-card .btn,
.contact-withdrawal-card .btn {
  margin-top: 16px;
}

.poem-page {
  position: relative;
}

.poem-hero {
  grid-template-columns: 1fr;
}

.poem-hero .hero-copy {
  width: 100%;
  max-width: none;
}

.poem-layout,
.poem-detail-grid {
  display: grid;
  gap: 16px;
}

.poem-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.poem-card,
.poem-translation {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.poem-card {
  padding: clamp(22px, 4vw, 42px);
}

.poem-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(68, 52, 33, 0.12);
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poem-lines {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.poem-stanza {
  display: grid;
  gap: 2px;
}

.poem-stanza + .poem-stanza {
  margin-top: 1.35em;
}

.poem-lines[dir="rtl"] {
  text-align: right;
}

.poem-lines span {
  display: block;
}

.poem-picker-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 18px;
}

.poem-picker-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(68, 52, 33, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--leaf);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(80, 62, 37, 0.06);
}

.poem-picker-tab:hover,
.poem-picker-tab:focus-visible {
  background: rgba(233, 239, 199, 0.8);
  outline: none;
}

.poem-picker-tab.is-active {
  background: var(--accent);
  border-color: rgba(49, 91, 73, 0.35);
  color: var(--ink);
}

.poem-picker.is-enhanced {
  grid-template-columns: 1fr;
}

.poem-picker.is-enhanced .poem-translation {
  display: none;
}

.poem-picker.is-enhanced .poem-translation.is-active {
  display: block;
}

.poem-picker.is-enhanced .poem-translation summary {
  cursor: default;
  pointer-events: none;
}

.poem-picker.is-enhanced .poem-translation summary::after {
  content: "";
  display: none;
}

.poem-attribution {
  margin: 22px 0 0;
  color: var(--leaf);
  font-weight: 900;
  text-align: right;
}

.poem-translation {
  overflow: hidden;
}

.poem-translation summary {
  position: relative;
  min-height: 74px;
  display: grid;
  gap: 4px;
  padding: 18px 58px 18px 20px;
  cursor: pointer;
  list-style: none;
}

.poem-translation summary::-webkit-details-marker {
  display: none;
}

.poem-translation summary span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.08;
}

.poem-translation summary small {
  color: var(--muted);
  font-weight: 800;
}

.poem-translation summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(233, 239, 199, 0.78);
  color: var(--leaf);
  font-weight: 950;
}

.poem-translation[open] summary {
  border-bottom: 1px solid rgba(68, 52, 33, 0.12);
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.9), rgba(233, 239, 199, 0.64));
}

.poem-translation[open] summary::after {
  content: "-";
}

.poem-translation > .poem-lines,
.poem-translation > .poem-attribution {
  margin: 0;
  padding: 20px;
}

.poem-translation > .poem-attribution {
  padding-top: 0;
}

.poem-ribbeck-image {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 38px;
}

.poem-ribbeck-image img {
  width: min(280px, 54vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(44, 35, 24, 0.18));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(68, 52, 33, 0.1);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.albert-walk {
  width: clamp(210px, 23vw, 340px);
  position: fixed;
  left: 0;
  bottom: calc(-30px + env(safe-area-inset-bottom));
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(110vw, 0, 0);
  will-change: transform, opacity;
}

.albert-walk img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(33, 24, 18, 0.24));
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .albert-walk {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line, rgba(68, 52, 33, 0.16));
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 42px rgba(74, 57, 34, 0.15);
    z-index: 50;
    flex-direction: column;
    gap: 4px;
    backdrop-filter: blur(14px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    justify-content: flex-start;
  }

  .lang-toggle {
    margin-left: 4px !important;
  }

  .hero,
  .family-feature,
  .ice-panel-head,
  .section-head,
  .grid,
  .grid.two,
  .press-grid,
  .media-grid,
  .poem-detail-grid,
  .profile-grid,
  .ribbeck-generations,
  .contact-strip,
  .contact-form-layout,
  .location-layout,
  .shop-toolbar,
  .shop-layout,
  .shop-product-grid,
  .shop-note-grid,
  .events-layout,
  .event-card {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 320px;
    order: -1;
  }

  .order-help-card {
    align-items: stretch;
    flex-direction: column;
  }

  .order-help-card .btn {
    width: 100%;
  }

  .brand-proof {
    grid-template-columns: 1fr;
    margin: 0 0 28px;
  }

  .brand-logo-strip {
    grid-template-columns: 1fr;
  }

  .brand-logo-strip img {
    max-height: 180px;
  }

  .family-media {
    min-height: 300px;
  }

  .ribbeck-generations-photo img {
    height: auto;
    min-height: 0;
    max-height: 720px;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(233, 239, 199, 0.82), rgba(220, 238, 243, 0.76));
  }

  .location-map,
  .map-fallback {
    min-height: 420px;
  }

  .shop-cart {
    position: static;
  }

  .event-aside {
    position: static;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 22px, 1120px);
  }

  .brand-mark {
    width: 92px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1.03rem;
  }

  .brand-text span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .brand-text small {
    max-width: 210px;
    font-size: 0.68rem;
  }

  .brand-logo-strip {
    padding: 16px;
  }

  .brand-logo-strip img {
    max-height: 145px;
  }

  .hero-copy,
  .panel,
  .card-body,
  .person-body,
  .timeline {
    padding: 22px;
  }

  .ribbeck-generations {
    margin-top: 42px;
  }

  .person-photo {
    height: 250px;
  }

  .category-tab {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .product-body,
  .shop-cart {
    padding: 18px;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .cart-quantity,
  .cart-line-price {
    grid-column: auto;
    grid-row: auto;
  }

  .shop-mini-cart {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    border-radius: 14px;
  }

  .product-actions,
  .product-modal-actions {
    grid-template-columns: 1fr;
  }

  .product-modal {
    padding: 12px;
  }

  .product-modal-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
  }

  .product-modal-media {
    min-height: 320px;
  }

  .event-media {
    min-height: 220px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid.two,
  .account-tabs,
  .account-summary-row {
    grid-template-columns: 1fr;
  }

  .account-welcome,
  .account-panel-head {
    align-items: flex-start;
  }

  .contact-mode-tabs {
    grid-template-columns: 1fr;
  }

  .event-body {
    padding: 18px;
  }

  .albert-walk {
    width: clamp(190px, 56vw, 260px);
    bottom: calc(-22px + env(safe-area-inset-bottom));
  }
}

/* Simple Chatbot UI - bottom right, near Albert area */
.chat-bubble {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  background: #315b49;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(49, 91, 73, 0.35);
  cursor: pointer;
  z-index: 999999;
  transition: transform .15s ease, box-shadow .15s ease;
  user-select: none;
}
.chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(49, 91, 73, 0.45);
}
.chat-bubble:active {
  transform: scale(0.96);
}
.chat-bubble .label {
  font-size: 11px;
  position: absolute;
  top: -6px;
  right: -2px;
  background: #d9ea72;
  color: #2c2318;
  padding: 1px 5px;
  border-radius: 99px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.chat-window {
  position: fixed;
  bottom: 78px;
  right: 16px;
  width: min(340px, 92vw);
  max-height: 460px;
  background: #fffdf7;
  border: 1px solid #d4c3a8;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(44, 35, 24, 0.18);
  display: none;
  flex-direction: column;
  z-index: 1000000;
  overflow: hidden;
  font-size: 0.95rem;
}
.chat-window.open {
  display: flex;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #315b49;
  color: #fff;
  font-weight: 800;
}
.chat-header .title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-header .close {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
}
.chat-header .close:hover {
  background: rgba(255,255,255,0.15);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fffdf7;
  min-height: 160px;
}

.chat-msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.35;
  white-space: pre-wrap;
}
.chat-msg.bot {
  background: #f5e9d3;
  color: #2c2318;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.chat-msg.user {
  background: #d9ea72;
  color: #2c2318;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.chat-msg a {
  color: #315b49;
  text-decoration: underline;
  font-weight: 700;
}
.chat-msg a:hover {
  text-decoration: none;
}

.chat-live-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(49, 91, 73, 0.18);
}

.chat-live-button:hover {
  transform: translateY(-1px);
}

.chat-quicks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
}
.chat-quick {
  font-size: 0.82rem;
  padding: 4px 9px;
  border: 1px solid #8a6f47;
  border-radius: 999px;
  background: #fff;
  color: #315b49;
  cursor: pointer;
  white-space: nowrap;
}
.chat-quick:hover {
  background: #f5e9d3;
}

.chat-input {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid #d4c3a8;
  background: #fff;
}
.chat-input input {
  flex: 1;
  border: 1px solid #8a6f47;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.95rem;
}
.chat-input button {
  background: #315b49;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.opening-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  margin: 12px 8px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(49, 91, 73, 0.18);
  border-radius: 999px;
  background: rgba(217, 234, 114, 0.42);
  color: #315b49;
  font-weight: 900;
  line-height: 1.25;
}

.compact-hours {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.compact-hours-title {
  margin: 16px 0 0;
  color: #315b49;
  font-size: 1.05rem;
}

.compact-hours div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(68, 52, 33, 0.12);
}

.compact-hours dt {
  color: #6f6254;
  font-weight: 800;
}

.compact-hours dd {
  margin: 0;
  color: #2c2318;
  font-weight: 900;
  text-align: right;
}

.opening-specials {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #d4c3a8;
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.86);
  color: #6f6254;
}

.opening-specials strong {
  display: block;
  color: #315b49;
  margin-bottom: 8px;
}

.opening-specials ul {
  margin: 0;
  padding-left: 18px;
}

.opening-specials li + li {
  margin-top: 5px;
}

@media (max-width: 680px) {
  .compact-hours div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .compact-hours dd {
    text-align: left;
  }
}
