:root {
  --paper: #f5f8f5;
  --paper-plain: #fbfcf9;
  --surface: #ffffff;
  --surface-soft: #eef5f1;
  --ink: #182522;
  --muted: #66736e;
  --line: #d9e3df;
  --jade: #52796f;
  --jade-dark: #2e5d52;
  --cinnabar: #b84f3d;
  --cinnabar-dark: #8f3b2f;
  --mist: #dcecee;
  --gold: #b99b5f;
  --shadow: 0 20px 50px rgba(29, 52, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(82, 121, 111, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 121, 111, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbf8 0%, #eef7f3 46%, #f9faf4 100%);
  background-size: 42px 42px, 42px 42px, auto;
  overflow-x: hidden;
}

body.cart-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(217, 227, 223, 0.86);
  background: rgba(251, 252, 249, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(184, 79, 61, 0.42);
  border-radius: 8px;
  color: var(--cinnabar);
  background: #fffdf7;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon-button:hover {
  border-color: rgba(82, 121, 111, 0.55);
  color: var(--jade-dark);
  box-shadow: 0 10px 24px rgba(29, 52, 46, 0.1);
  transform: translateY(-1px);
}

.icon-button svg,
.button svg,
.add-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.cart-toggle {
  position: relative;
  justify-self: end;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.language-option {
  display: grid;
  min-width: 46px;
  min-height: 34px;
  place-items: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-option[aria-pressed="true"] {
  color: #fff;
  background: var(--jade);
}

.language-option:hover {
  color: var(--jade-dark);
  background: var(--surface-soft);
}

.language-option[aria-pressed="true"]:hover {
  color: #fff;
  background: var(--jade-dark);
}

.flag {
  position: relative;
  display: block;
  width: 26px;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(24, 37, 34, 0.18);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(24, 37, 34, 0.12);
}

.flag-cn {
  background: #de2910;
}

.flag-cn::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 7px;
  height: 7px;
  background: #ffde00;
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
}

.flag-cn::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 14px;
  width: 2px;
  height: 2px;
  background: #ffde00;
  border-radius: 50%;
  box-shadow: 4px 2px 0 #ffde00, 3px 6px 0 #ffde00, -1px 8px 0 #ffde00;
}

.flag-de {
  background: linear-gradient(to bottom, #000 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666% 100%);
}

#cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--cinnabar);
  font-size: 0.74rem;
  font-weight: 800;
}

main {
  padding-bottom: 70px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  min-height: 520px;
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 26, 22, 0.82) 0%, rgba(13, 26, 22, 0.58) 42%, rgba(13, 26, 22, 0.08) 100%),
    linear-gradient(0deg, rgba(13, 26, 22, 0.52) 0%, transparent 54%);
}

.hero-copy {
  max-width: 650px;
  padding: 72px 56px 96px;
  color: #fffdf8;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cinnabar);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8d6b4;
}

.hero h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 4.1rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--cinnabar);
  box-shadow: 0 14px 28px rgba(184, 79, 61, 0.26);
}

.button.primary:hover {
  background: var(--cinnabar-dark);
}

.button.ghost {
  color: #fffdf8;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button.subtle {
  margin-top: 10px;
  color: var(--jade-dark);
  border-color: var(--line);
  background: var(--surface-soft);
}

.button.subtle:hover {
  background: var(--surface);
}

.button.wide {
  width: 100%;
}

.hero-promises {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(13, 26, 22, 0.45);
  backdrop-filter: blur(10px);
}

.hero-promises span {
  flex: 1 1 170px;
  padding: 14px 22px;
  color: rgba(255, 253, 248, 0.9);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
}

.catalog,
.craft-band,
.service-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2,
.craft-band h2,
.cart-header h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 2.35rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(29, 52, 46, 0.07);
}

.search-field,
.select-field {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--paper-plain);
}

.search-field {
  padding: 0 14px;
}

.search-field svg {
  width: 18px;
  height: 18px;
  color: var(--jade);
}

.search-field input,
.select-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: 0;
}

.search-field input::placeholder {
  color: #8c9792;
}

.select-field {
  padding: 0 10px 0 14px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.select-field select {
  width: 150px;
  font-weight: 700;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.category-tab {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.category-tab[aria-pressed="true"],
.category-tab:hover {
  border-color: rgba(82, 121, 111, 0.52);
  color: var(--jade-dark);
  background: var(--surface-soft);
}

.products-status {
  min-height: 30px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(29, 52, 46, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(82, 121, 111, 0.46);
  box-shadow: 0 20px 42px rgba(29, 52, 46, 0.13);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mist);
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.favorite-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.favorite-button[aria-pressed="true"] {
  color: var(--cinnabar);
  border-color: rgba(184, 79, 61, 0.45);
}

.product-content {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 16px;
}

.product-meta,
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-category,
.stock {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-category {
  color: var(--jade-dark);
}

.product-content h3 {
  margin: 12px 0 0;
  font-size: 1.08rem;
  line-height: 1.38;
  letter-spacing: 0;
}

.product-content p {
  display: -webkit-box;
  min-height: 52px;
  margin: 8px 0 16px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-footer strong {
  color: var(--cinnabar-dark);
  font-size: 1.12rem;
  font-weight: 900;
}

.add-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(82, 121, 111, 0.34);
  border-radius: 8px;
  color: var(--jade-dark);
  background: var(--surface-soft);
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.add-button:hover:not(:disabled) {
  color: #fff;
  background: var(--jade);
  transform: translateY(-1px);
}

.add-button:disabled {
  opacity: 0.46;
}

.craft-band {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 34px;
  align-items: start;
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
}

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

.craft-list article {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.craft-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.craft-list h3 {
  margin: 0;
  font-size: 1.08rem;
}

.craft-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-strip span {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 12px;
  color: var(--jade-dark);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-weight: 900;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: flex;
  width: min(480px, 100%);
  height: 100dvh;
  flex-direction: column;
  border-left: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  background: var(--paper-plain);
  box-shadow: -24px 0 60px rgba(24, 37, 34, 0.18);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.cart-panel[aria-hidden="false"] {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 1.7rem;
}

.cart-items {
  display: grid;
  gap: 12px;
  flex: 1 1 auto;
  align-content: start;
  overflow: auto;
  padding: 18px 24px;
}

.cart-empty {
  margin: 8px 0;
  color: var(--muted);
}

.cart-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.cart-row img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-row h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.cart-row p {
  margin: 4px 0 0;
  color: var(--cinnabar-dark);
  font-weight: 900;
}

.quantity-controls {
  display: grid;
  grid-template-columns: 32px 26px 32px;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-weight: 900;
}

.icon-button.mini {
  width: 32px;
  height: 32px;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 0 24px 18px;
  border-top: 1px solid var(--line);
}

.checkout-form h3 {
  margin: 18px 0 0;
  font-size: 1rem;
}

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

.checkout-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.checkout-grid .wide-field {
  grid-column: 1 / -1;
}

.checkout-grid input,
.checkout-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}

.checkout-grid input {
  min-height: 40px;
  padding: 0 10px;
}

.checkout-grid textarea {
  min-height: 76px;
  resize: vertical;
  padding: 10px;
  line-height: 1.45;
}

.checkout-grid input:focus,
.checkout-grid textarea:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(82, 121, 111, 0.16);
  outline: 0;
}

.cart-summary {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.cart-summary strong {
  color: var(--cinnabar-dark);
  font-size: 1.35rem;
}

.cart-note {
  min-height: 26px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  border: 0;
  background: rgba(13, 26, 22, 0.42);
}

.cart-scrim.is-visible {
  display: block;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.site-footer a,
.text-button {
  color: var(--jade-dark);
  font-weight: 800;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
}

.site-footer p {
  margin: 10px 0 0;
}

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: min(520px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(29, 52, 46, 0.18);
  backdrop-filter: blur(12px);
}

.cookie-consent h2 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.cookie-consent p {
  margin: 0;
  color: var(--muted);
  max-width: none;
  line-height: 1.55;
}

.cookie-consent a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--jade-dark);
  font-weight: 800;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  justify-content: stretch;
}

.cookie-actions .button {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.cookie-actions .icon-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.8);
}

.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 24px;
}

.legal-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.legal-hero h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.12;
}

.legal-hero p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.legal-card-page {
  display: grid;
  gap: 14px;
}

.legal-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(29, 52, 46, 0.07);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
}

.legal-definition-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.legal-definition-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.legal-definition-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-definition-list dt {
  color: var(--muted);
  font-weight: 800;
}

.legal-definition-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.success-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(240, 247, 243, 0.94)),
    var(--paper);
}

.success-page {
  display: grid;
  gap: 24px;
  width: min(620px, 100%);
}

.success-page .brand {
  justify-self: center;
}

.success-panel {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  color: #fff;
  background: var(--jade);
}

.success-icon svg {
  width: 30px;
  height: 30px;
}

.success-panel h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.12;
}

.success-panel > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.success-summary {
  display: grid;
  gap: 10px;
  margin: 0;
}

.success-summary div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  text-align: left;
}

.success-summary dt {
  color: var(--muted);
  font-weight: 800;
}

.success-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 900;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 500px;
  }

  .hero-copy {
    padding: 56px 34px 96px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .section-heading,
  .craft-band {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .craft-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .cookie-consent,
  .legal-definition-list div {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 18px;
  }

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

  .cookie-actions .button {
    flex: none;
  }

  .cookie-actions .icon-button {
    position: static;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero,
  .catalog,
  .craft-band,
  .service-strip,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    align-items: stretch;
    min-height: 460px;
    margin-top: 18px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 26, 22, 0.78) 0%, rgba(13, 26, 22, 0.54) 100%),
      linear-gradient(0deg, rgba(13, 26, 22, 0.48) 0%, transparent 60%);
  }

  .hero-copy {
    align-self: end;
    padding: 42px 24px 24px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-promises span {
    flex-basis: 100%;
    padding: 9px 14px;
  }

  .hero-promises {
    position: relative;
    align-self: end;
  }

  .catalog,
  .craft-band,
  .service-strip {
    margin-top: 34px;
  }

  .section-heading h2,
  .craft-band h2 {
    font-size: 1.92rem;
  }

  .shop-tools,
  .products-grid,
  .craft-list,
  .service-strip {
    grid-template-columns: 1fr;
  }

  .select-field {
    justify-content: space-between;
  }

  .select-field select {
    width: auto;
  }

  .product-content {
    min-height: auto;
  }

  .cart-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-row img {
    width: 64px;
    height: 64px;
  }

  .quantity-controls {
    grid-column: 1 / -1;
    justify-content: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
