:root {
  --ink: #20231e;
  --muted: #686b62;
  --paper: #eee8dc;
  --paper-light: #f8f4eb;
  --card: #fffdf8;
  --line: #d8cfbe;
  --forest: #203729;
  --forest-deep: #13271c;
  --forest-soft: #3e5944;
  --moss: #718166;
  --leather: #8a5738;
  --leather-dark: #68402b;
  --brass: #c29b58;
  --brass-light: #e1c58e;
  --danger: #873a33;
  --shadow: 0 20px 55px rgba(28, 37, 28, 0.13);
  --soft-shadow: 0 9px 26px rgba(32, 39, 30, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(194, 155, 88, 0.11), transparent 26rem),
    repeating-linear-gradient(90deg, rgba(72, 58, 39, 0.018) 0 1px, transparent 1px 7px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

.shop-header {
  min-height: 82px;
  padding: 13px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(225, 197, 142, 0.25);
  color: var(--paper-light);
  background: rgba(19, 39, 28, 0.97);
  box-shadow: 0 8px 24px rgba(12, 24, 17, 0.16);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.05;
}

.brand small {
  color: var(--brass-light);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(225, 197, 142, 0.62);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brass-light);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 4px rgba(225, 197, 142, 0.06);
}

.brand-mark svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-link {
  color: rgba(248, 244, 235, 0.66);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-link:hover { color: var(--brass-light); }

.cart-jump,
.checkout-button,
.product-button,
.print-button,
.show-more {
  border: 0;
  color: #fff;
  background: var(--leather);
  box-shadow: 0 7px 18px rgba(67, 40, 26, 0.2);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cart-jump,
.print-button { padding: 12px 18px; border-radius: 999px; }

.cart-jump:hover,
.checkout-button:hover,
.product-button:hover,
.print-button:hover,
.show-more:hover {
  background: var(--leather-dark);
  box-shadow: 0 9px 22px rgba(67, 40, 26, 0.27);
  transform: translateY(-1px);
}

.cart-jump span {
  min-width: 25px;
  height: 25px;
  margin-left: 7px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  color: var(--forest-deep);
  background: var(--brass-light);
  border-radius: 999px;
}

main {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
}

.shop-hero {
  margin: 28px 0 20px;
  padding: clamp(32px, 6vw, 76px);
  min-height: 420px;
  border: 1px solid rgba(225, 197, 142, 0.22);
  border-radius: 5px 5px 34px 5px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 0.68fr);
  align-items: end;
  gap: clamp(32px, 6vw, 82px);
  color: var(--paper-light);
  background:
    linear-gradient(90deg, rgba(19, 39, 28, 0.98), rgba(27, 49, 34, 0.84)),
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, 0.035) 26px 27px),
    var(--forest);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.shop-hero::before {
  width: min(45vw, 620px);
  aspect-ratio: 1;
  right: -9%;
  top: -55%;
  border: 1px solid rgba(225, 197, 142, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(225, 197, 142, 0.025),
    0 0 0 88px rgba(225, 197, 142, 0.02);
}

.shop-hero::after {
  width: 320px;
  height: 140px;
  left: -30px;
  bottom: -95px;
  border: 1px solid rgba(225, 197, 142, 0.12);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.shop-hero::before,
.shop-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--leather);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-hero .eyebrow { color: var(--brass-light); }

.shop-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.038em;
}

.shop-hero > div > p:not(.eyebrow) {
  max-width: 680px;
  margin: 25px 0 0;
  color: rgba(248, 244, 235, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.hero-trust {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-trust span {
  padding: 8px 11px;
  border: 1px solid rgba(225, 197, 142, 0.32);
  border-radius: 999px;
  color: rgba(248, 244, 235, 0.84);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.hero-note {
  border-top: 1px solid rgba(225, 197, 142, 0.4);
  border-bottom: 1px solid rgba(225, 197, 142, 0.4);
  display: grid;
  color: var(--paper-light);
}

.hero-note > * {
  min-height: 45px;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(225, 197, 142, 0.16);
}

.hero-note > *:last-child { border-bottom: 0; }
.hero-note > strong { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.hero-note > span { color: rgba(248, 244, 235, 0.72); font-size: 13px; }
.hero-note > span b { color: var(--brass-light); font-size: 10px; letter-spacing: 0.12em; }

.hero-seal {
  padding: 18px 4px 21px;
  display: flex;
  gap: 14px;
}

.hero-seal svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--brass-light);
  stroke-linecap: round;
  stroke-width: 2;
}

.hero-seal span {
  color: var(--brass-light);
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.05;
}

.shop-message {
  min-height: 0;
  border-radius: 3px 3px 16px 3px;
  font-weight: 750;
}

.shop-message:not(:empty) { margin-bottom: 18px; padding: 14px 17px; }
.shop-message.success { color: #265d3b; background: #e0ebdf; border: 1px solid #b7c9b2; }
.shop-message.error { color: #7c302b; background: #f5e2dd; border: 1px solid #dab8b0; }

.filters {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 4px 4px 24px 4px;
  display: grid;
  grid-template-columns: 1.15fr 1.5fr repeat(3, minmax(145px, 0.72fr)) auto;
  gap: 13px;
  align-items: end;
  background:
    linear-gradient(rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.94)),
    repeating-linear-gradient(90deg, #9c8a6c 0 1px, transparent 1px 6px);
  box-shadow: var(--soft-shadow);
}

.filter-intro { align-self: center; }
.filter-intro .eyebrow { margin-bottom: 5px; }
.filter-intro strong { font-family: Georgia, serif; font-size: 19px; font-weight: 500; }

.filter-field label,
.checkout-form label,
.login-form label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select,
.checkout-form input,
.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 3px 3px 11px 3px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.filter-field input:focus,
.filter-field select:focus,
.checkout-form input:focus,
.login-form input:focus {
  border-color: var(--forest-soft);
  box-shadow: 0 0 0 3px rgba(62, 89, 68, 0.12);
}

.filter-reset {
  min-height: 46px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 3px 3px 11px 3px;
  color: var(--forest);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.filter-reset:hover { border-color: var(--forest-soft); background: #f5f0e6; }

.shop-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 27px;
  align-items: start;
}

.section-heading,
.cart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2,
.cart-heading h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.product-count { color: var(--muted); font-size: 13px; font-weight: 650; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.product-card {
  --animal-accent: #64735b;
  --animal-deep: #2e4433;
  min-width: 0;
  padding: 13px 13px 16px;
  border: 1px solid var(--line);
  border-radius: 4px 4px 21px 4px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card.animal-roe { --animal-accent: #7e8d62; --animal-deep: #3e5438; }
.product-card.animal-fallow { --animal-accent: #997451; --animal-deep: #553f2e; }
.product-card.animal-red-deer { --animal-accent: #9b6042; --animal-deep: #583327; }
.product-card.animal-boar { --animal-accent: #666860; --animal-deep: #30352f; }
.product-card.animal-mouflon { --animal-accent: #a28755; --animal-deep: #57482f; }

.product-visual {
  height: 132px;
  margin-bottom: 17px;
  padding: 14px;
  border-radius: 2px 2px 14px 2px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.13), transparent 36%),
    linear-gradient(145deg, var(--animal-deep), var(--animal-accent));
  overflow: hidden;
  position: relative;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.product-visual::before { width: 190px; height: 80px; right: -42px; bottom: -57px; }
.product-visual::after { width: 145px; height: 70px; right: 28px; bottom: -55px; }

.product-mark {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.47);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

.product-animal {
  font-family: Georgia, serif;
  font-size: 17px;
  position: relative;
  z-index: 1;
}

.demo-badge {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(13, 24, 17, 0.22);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: absolute;
  top: 11px;
  right: 11px;
}

.product-id {
  margin: 0 3px 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 3px;
  color: var(--forest-deep);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.product-details {
  margin: 15px 3px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.product-details span:nth-child(even) { color: var(--ink); text-align: right; }

.product-price {
  margin: auto 3px 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.product-price span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.product-price span b { color: var(--ink); font-size: 12px; }
.product-price strong { color: var(--forest-deep); font-family: Georgia, serif; font-size: 25px; font-weight: 600; }

.product-button,
.checkout-button {
  width: 100%;
  min-height: 46px;
  padding: 11px 15px;
  border-radius: 3px 3px 12px 3px;
}

.product-button.in-cart {
  color: var(--forest);
  background: #dde6d9;
  box-shadow: none;
  cursor: default;
}

.product-button:disabled,
.checkout-button:disabled { opacity: 0.52; transform: none; cursor: not-allowed; }

.catalog-empty {
  grid-column: 1 / -1;
  padding: 70px 24px;
  border: 1px dashed #b9ad99;
  border-radius: 4px 4px 20px 4px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.56);
  text-align: center;
}

.show-more {
  min-width: 230px;
  margin: 24px auto 0;
  padding: 13px 20px;
  border-radius: 3px 3px 13px 3px;
  display: block;
}

.show-more[hidden] { display: none; }

.cart {
  padding: 23px;
  border: 1px solid #cbbda6;
  border-top: 5px solid var(--forest);
  border-radius: 3px 3px 23px 3px;
  background: var(--card);
  box-shadow: var(--shadow);
  position: sticky;
  top: 105px;
}

.cart-count {
  min-width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--forest-deep);
  background: var(--brass-light);
  font-weight: 850;
}

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

.cart-empty {
  padding: 30px 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.cart-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 3px 3px 12px 3px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  background: #fff;
}

.cart-item strong { font-size: 13px; }
.cart-item p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.cart-item-price { text-align: right; }
.cart-timer { grid-column: 1 / 2; color: var(--danger); font-size: 11px; font-weight: 800; }

.remove-item {
  grid-column: 2 / 3;
  border: 0;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.cart-total {
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-total span { color: var(--muted); }
.cart-total strong { color: var(--forest-deep); font-family: Georgia, serif; font-size: 27px; }

.reservation-note { margin: 12px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.checkout-form { display: grid; gap: 9px; }
.checkout-form h3 { margin: 0 0 7px; color: var(--forest-deep); font-family: Georgia, serif; font-size: 21px; }
.checkout-form small { color: var(--muted); line-height: 1.45; }
.checkout-button { margin-top: 8px; text-decoration: none; text-align: center; }

.legal-consent {
  margin-top: 5px !important;
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.checkout-form .legal-consent input {
  width: 16px;
  min-height: 16px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.legal-consent a,
.legal-links a { color: var(--leather-dark); font-weight: 800; }

.reservation-contract-note {
  margin: 5px 0 3px;
  padding: 11px 12px;
  border-left: 3px solid var(--brass);
  color: var(--forest-deep);
  background: #f5f0e6;
  font-size: 12px;
  line-height: 1.5;
}

.checkout-summary-note {
  margin: 1px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.confirmation {
  margin-bottom: 20px;
  padding: 28px;
  border: 1px solid #aebfa8;
  border-radius: 3px 3px 22px 3px;
  background: #e4eee1;
}

.confirmation h2 { margin: 0 0 8px; color: var(--forest-deep); font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.confirmation p { color: var(--muted); }
.confirmation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.confirmation a { display: inline-flex; width: auto; }

footer {
  width: min(1480px, calc(100% - 40px));
  margin: 64px auto 0;
  padding: 27px 0 38px;
  border-top: 1px solid #c5baa7;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

footer div { display: grid; gap: 3px; }
footer strong { color: var(--forest-deep); font-family: Georgia, serif; font-size: 16px; }
.legal-links { justify-items: end; }
.legal-links nav,
.compact-legal-links,
.legal-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.legal-links nav { margin-top: 8px; justify-content: flex-end; }
.legal-links nav a,
.compact-legal-links a,
.legal-page-nav a { color: var(--forest); font-weight: 750; }
.draft-footer-note { color: var(--danger); font-weight: 750; }
.withdrawal-link {
  margin-top: 5px;
  padding: 7px 10px;
  border: 1px solid #b99d73;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.52);
  text-decoration: none;
}

.legal-page {
  min-height: 100vh;
  padding: 34px 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(194, 155, 88, 0.17), transparent 30rem),
    var(--paper);
}

.legal-card {
  width: min(680px, 100%);
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
  border-radius: 3px 3px 24px 3px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 18px;
  color: var(--forest-deep);
  font-family: Georgia, serif;
  font-size: clamp(35px, 6vw, 50px);
  font-weight: 500;
  line-height: 1.05;
}

.legal-card h2 { margin: 28px 0 8px; color: var(--forest-deep); font-family: Georgia, serif; }
.legal-card p { color: var(--muted); line-height: 1.6; }
.legal-card a { color: var(--leather-dark); }
.legal-card address { padding: 14px; color: var(--ink); background: #f3eee5; font-style: normal; line-height: 1.55; }
.legal-copy { width: min(820px, 100%); }
.legal-brand {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--forest-deep) !important;
  font: 700 20px/1 Georgia, serif;
  text-decoration: none;
}
.legal-brand small { color: var(--leather); font: 800 9px/1 Inter, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-draft-warning {
  margin: 0 0 26px;
  padding: 15px 17px;
  border-left: 4px solid var(--danger);
  display: grid;
  gap: 4px;
  color: #702d28;
  background: #f5dfdb;
  line-height: 1.45;
}
.legal-review-note { padding: 14px 16px; border-left: 3px solid var(--brass); background: #f5f0e6; }
.legal-version { margin-top: 30px; font-size: 12px; font-weight: 800; }
.legal-page-nav { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.compact-legal-links { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; }

.withdrawal-form { margin-top: 24px; display: grid; gap: 9px; }
.withdrawal-form label { margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.045em; text-transform: uppercase; }
.withdrawal-form input,
.withdrawal-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 3px 3px 11px 3px;
  color: var(--ink);
  background: #fff;
}

.withdrawal-button {
  margin-top: 12px;
  padding: 13px 18px;
  border: 0;
  border-radius: 3px 3px 12px 3px;
  display: inline-flex;
  justify-content: center;
  color: #fff;
  background: var(--leather);
  box-shadow: 0 7px 18px rgba(67, 40, 26, 0.2);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.withdrawal-button:hover { background: var(--leather-dark); }
.legal-error,
.legal-warning { padding: 12px 14px; border-radius: 3px 3px 12px 3px; }
.legal-error { color: #792c27 !important; background: #f3ddd8; }
.legal-warning { color: #6b4a19 !important; background: #f5e9cb; }
.confirmation-delivery { padding: 12px 14px; color: #285b38 !important; background: #e1eddf; }
.legal-actions { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.legal-actions .withdrawal-button { margin: 0; }
.legal-fineprint { margin-top: 22px; font-size: 11px; }
.seal-note { padding: 12px 14px; border-left: 3px solid var(--brass); background: #f5f0e6; }

.withdrawal-order-summary {
  margin: 20px 0;
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  color: var(--muted);
  background: #f3eee5;
}

.withdrawal-order-summary strong { color: var(--ink); text-align: right; }
.withdrawal-received { margin: 18px 0 8px; padding: 14px; display: grid; gap: 4px; color: var(--forest); background: #e1eddf; }
.withdrawal-received a { margin-top: 5px; color: var(--forest-deep); font-weight: 800; }
.receipt .withdrawal-button { margin-right: 8px; }

.network-access-card { text-align: center; }
.network-brand { width: fit-content; margin: 0 auto 28px; text-align: left; }
.network-qr {
  width: min(360px, 100%);
  margin: 24px auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px 4px 22px 4px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(25, 45, 33, 0.12);
}
.network-qr img { display: block; width: 100%; height: auto; }
.network-url-label {
  display: block;
  margin: 12px 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.network-url {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--forest-deep);
  background: #f8f5ee;
  font: 700 16px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}
.network-open-button { margin: 14px auto 0; }
.network-help {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--brass);
  color: var(--muted);
  background: #f5f0e6;
  text-align: left;
}
.network-help strong { color: var(--forest-deep); }
.network-help ol { margin: 12px 0 0; padding-left: 22px; line-height: 1.65; }

.login-page,
.receipt-page {
  min-height: 100vh;
  padding: 30px 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(194, 155, 88, 0.17), transparent 30rem),
    var(--paper);
}

.login-card {
  width: min(440px, 100%);
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
  border-radius: 3px 3px 24px 3px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.login-card .brand { color: var(--forest-deep); }
.login-card .brand-mark { color: var(--forest); border-color: var(--brass); }
.login-brand { margin-bottom: 34px; }
.login-card h1 { margin: 0; color: var(--forest-deep); font-family: Georgia, serif; font-size: 38px; font-weight: 500; }
.login-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.login-form { margin-top: 24px; display: grid; gap: 10px; }
.login-error { margin-top: 18px; padding: 12px; color: #792c27; background: #f3ddd8; border-radius: 10px; }
.login-info { margin-top: 18px; padding: 12px; color: #244d3a; background: #e1eee6; border-radius: 10px; }
.login-hint { margin: -2px 0 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.back-link { display: inline-block; margin-top: 22px; color: var(--forest); }

.receipt {
  width: min(820px, 100%);
  margin: 0;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
  border-radius: 3px 3px 24px 3px;
  background: #fff;
  box-shadow: var(--shadow);
}

.receipt .brand { color: var(--forest-deep); }
.receipt .brand-mark { color: var(--forest); border-color: var(--brass); }
.receipt-header,
.receipt-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.receipt-status {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--forest);
  background: #dde7da;
  font-size: 12px;
  font-weight: 850;
}

.receipt-status.status-storniert { color: #792c27; background: #f3ddd8; }
.receipt-title { margin: 48px 0 30px; }
.receipt-title h1 { margin: 0; color: var(--forest-deep); font-family: Georgia, serif; font-size: 54px; font-weight: 500; }
.receipt-title > strong { display: block; margin-top: 7px; color: var(--leather); font-size: 20px; }

.receipt-meta {
  border: 1px solid var(--line);
  border-radius: 3px 3px 14px 3px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  overflow: hidden;
}

.receipt-meta div { padding: 14px; display: grid; gap: 5px; background: #fff; }
.receipt-meta span { color: var(--muted); font-size: 11px; }
.receipt-table { width: 100%; margin-top: 26px; border-collapse: collapse; }
.receipt-table th,
.receipt-table td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.receipt-table th { color: var(--muted); font-size: 11px; }
.receipt-table th:last-child,
.receipt-table td:last-child { text-align: right; }
.receipt-total { margin-top: 24px; padding: 20px; color: #fff; background: var(--forest); border-radius: 3px 3px 14px 3px; }
.receipt-total strong { font-family: Georgia, serif; font-size: 30px; }
.receipt-note { color: var(--muted); line-height: 1.5; }
.print-button { margin-top: 15px; }
.receipt-missing { text-align: center; }

@media (max-width: 1350px) {
  .filters { grid-template-columns: 1fr repeat(2, minmax(160px, 1fr)); }
  .filter-intro { grid-column: 1 / -1; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .shop-hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-note { max-width: 440px; }
  .shop-layout { grid-template-columns: 1fr; }
  .cart { position: static; }
}

@media (max-width: 640px) {
  main,
  footer { width: min(100% - 24px, 1480px); }
  .shop-header { min-height: 72px; padding: 10px 12px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .admin-link { display: none; }
  .cart-jump { padding: 10px 12px; font-size: 12px; }
  .shop-hero { margin-top: 12px; padding: 36px 23px; border-radius: 3px 3px 24px 3px; }
  .shop-hero h1 { font-size: 44px; }
  .shop-hero > div > p:not(.eyebrow) { font-size: 15px; }
  .filters,
  .products-grid { grid-template-columns: 1fr; }
  .filter-intro { grid-column: auto; }
  .section-heading { align-items: start; flex-direction: column; }
  .receipt-meta { grid-template-columns: 1fr; }
  .receipt-title h1 { font-size: 42px; }
  footer { flex-direction: column; }
  .legal-links { justify-items: start; }
  .legal-actions { align-items: stretch; flex-direction: column; }
  .withdrawal-order-summary { grid-template-columns: 1fr; }
  .withdrawal-order-summary strong { margin-bottom: 5px; text-align: left; }
}

@media print {
  .receipt-page { display: block; padding: 0; background: #fff; }
  .receipt { width: 100%; padding: 15mm; border: 0; box-shadow: none; }
  .print-button { display: none; }
  .withdrawal-button { display: none; }
}
