@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
.hero-visual.reference-hero {
  display: block;
  height: auto;
  aspect-ratio: 739 / 350;
  align-self: center;
  flex-shrink: 0;
  background: transparent;
}
.reference-hero svg { display: block; width: 100%; height: 100%; }
.hero-visual.reference-hero:after { display: none; }
@media (min-width:1151px) and (max-width:1449px) {
  .shop-header.shop-header { max-width:1136px; }
  .shop-header .brand .spool { width:84px; }
  .shop-header .shop-nav { gap:43px; }
  .hero .hero-copy h1 { line-height:.92; }
  .hero .intro { margin-bottom:12px; }
  .hero .primary { font-size:18px; gap:8px; padding-inline:20px; }
  .shop-main .section-heading { margin-inline:24px; margin-bottom:8px; }
  .section-heading h2 { font-size:36px; }
}
.wave-divider.wave-divider {
  background:linear-gradient(to top,#b9bd95 13px,transparent 13px),radial-gradient(circle at 13px 14px,#b9bd95 14px,transparent 14.5px) 0 0/26px 28px repeat-x;
}
.shop-main>.test-caption { position:relative; z-index:1; display:table; margin-inline:auto; padding-inline:8px; background:var(--cream); }
.workshop .brand .brand-text { font-size:24px; }
:root {
  --cream: #f5ebdd;
  --cherry: #793e46;
  --pink: #d8aba1;
  --sage: #78816b;
  --ink: #482b22;
  --line: #cfb9a6;
  --paper: #fff7ec;
  --shadow: 0 8px 28px #60372912;
  font-family: Nunito, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 10% 35%, #ffe9d955, transparent 60%),
    url("/paper.svg"), var(--cream);
  min-height: 100vh;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}
h1,
h2,
h3,
.serif {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  color: var(--cherry);
}
h2 {
  font-size: 34px;
  line-height: 1.2;
}
h3 {
  font-size: 21px;
}
p {
  line-height: 1.5;
}
.icon {
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  background: none;
  border-radius: 50%;
  position: relative;
}
.icon-button:hover {
  background: #d8aba135;
}
.pill-count {
  position: absolute;
  right: 0;
  top: 0;
  background: var(--cherry);
  color: var(--cream);
  min-width: 18px;
  height: 18px;
  border-radius: 20px;
  font-size: 11px;
  line-height: 18px;
}
.primary,
.secondary {
  min-height: 44px;
  border-radius: 15px;
  padding: 10px 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  border: 1px solid var(--cherry);
}
.primary {
  background: var(--cherry);
  color: #fff6ec;
  box-shadow: inset 0 1px 0 #ffffff20;
}
.primary:hover {
  background: #6c303c;
}
.secondary {
  background: transparent;
  color: var(--cherry);
}
.secondary:hover {
  background: #d8aba12b;
}
.text-button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 4px;
  color: var(--cherry);
  font-weight: 700;
}
.full {
  width: 100%;
}
.muted {
  color: #776052;
  font-size: 14px;
}
.empty {
  text-align: center;
  padding: 42px 22px;
  border: 1px dashed var(--pink);
  border-radius: 18px;
  margin: 22px 0;
}
.notice {
  padding: 12px 16px;
  background: #eedfc9;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.4;
}
.notice.warning {
  background: #efd6ce;
}
.badge {
  font-size: 12px;
  border-radius: 30px;
  padding: 3px 12px;
  background: #dfd2bf;
  display: inline-block;
  line-height: 1.5;
}
.badge.green {
  background: #d8dac1;
}
.badge.pink {
  background: #efd1c5;
}
.error {
  color: #8c2737;
  font-weight: 700;
  line-height: 1.45;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #9f8470;
  border-radius: 9px;
  background: #fff9f05e;
  min-height: 43px;
  padding: 9px 12px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--cherry);
}
.field {
  margin-bottom: 15px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field { min-width: 0; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin: 15px 0;
}
.check input {
  flex: none;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: var(--paper);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.loading {
  padding: 80px;
  text-align: center;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cherry);
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 100;
  max-width: calc(100vw - 32px);
  display: none;
}
#toast.visible {
  display: block;
}
.top-ribbon {
  height: 27px;
  background: var(--cherry);
  color: #fff1df;
  text-align: center;
  font:
    italic 18px Georgia,
    serif;
  letter-spacing: 0.4px;
  line-height: 27px;
}
.shop-header {
  position: relative;
  z-index: 5;
  max-width: 1160px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 79px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--cherry);
  position: relative;
  flex-shrink: 0;
}
.brand .spool {
  width: 75px;
  height: 64px;
}
.brand-text {
  font:
    700 28px/0.89 Fraunces,
    Georgia,
    serif;
  letter-spacing: -1.3px;
}
.brand-text span {
  display: block;
}
.brand-thread {
  position: absolute;
  left: 70px;
  top: 50px;
  width: 340px;
  height: 33px;
  pointer-events: none;
  color: #b7767e;
}
.shop-nav {
  display: flex;
  gap: 29px;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
}
.shop-nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}
.shop-nav a:hover {
  text-decoration: underline;
}
.header-tools {
  display: flex;
  border-left: 1px solid #c79a92;
  padding-left: 12px;
  gap: 3px;
}
.mobile-menu {
  display: none;
}
.shop-main {
  max-width: 1218px;
  margin: 0 auto;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 455px 1fr;
  min-height: 350px;
  margin-top: -23px;
}
.hero-copy {
  padding: 33px 0 22px 49px;
  z-index: 1;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 3.8px;
  text-transform: uppercase;
  margin: 0 0 8px;
  white-space: nowrap;
}
.hero h1 {
  font-size: 57px;
  line-height: 0.89;
  letter-spacing: -1.7px;
  margin: 0 0 8px;
  max-width: 440px;
}
.hero h1 span {
  display: block;
}
.hero .intro {
  font-size: 21px;
  line-height: 1.16;
  max-width: 355px;
  margin-bottom: 14px;
}
.hero .primary {
  font-size: 19px;
  min-height: 41px;
  padding: 5px 22px;
}
.hero-visual {
  height: 350px;
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  overflow: hidden;
  position: relative;
  background: #5b4433;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
}
.hero-visual .hero-lamp {
  object-position: 50% 50%;
  transform: scale(1.06);
}
.hero-visual .hero-decoration {
  object-position: center 45%;
  filter: brightness(0.8);
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 35%, #42230c15 55%);
  pointer-events: none;
}
.handmade-tag {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 125px;
  height: 125px;
  background: #f6d884;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 44%;
  transform: rotate(7deg);
  font:
    italic 25px/1.05 Georgia,
    serif;
  box-shadow: 0 3px 5px #2e170d22;
  z-index: 1;
  clip-path: polygon(
    50% 0,
    58% 5%,
    67% 1%,
    73% 8%,
    83% 7%,
    87% 17%,
    96% 21%,
    95% 31%,
    100% 39%,
    96% 49%,
    100% 58%,
    93% 66%,
    94% 76%,
    84% 80%,
    80% 90%,
    70% 90%,
    63% 98%,
    53% 95%,
    44% 100%,
    36% 94%,
    26% 96%,
    21% 86%,
    11% 83%,
    10% 73%,
    2% 67%,
    5% 57%,
    0 48%,
    5% 39%,
    2% 29%,
    11% 24%,
    14% 14%,
    24% 12%,
    31% 4%,
    41% 6%
  );
}
.handmade-tag .icon {
  width: 25px;
  margin-top: 5px;
}
.hero-yarn {
  position: absolute;
  left: -32px;
  bottom: -6px;
  width: 488px;
  height: 84px;
  z-index: 0;
  stroke: #bf8388;
  fill: none;
  stroke-width: 1.7;
}
.promise-strip {
  height: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: #edc5b973;
  border-radius: 12px;
  margin: 11px 0 14px;
}
.promise-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: Georgia, serif;
  font-size: 17px;
  border-right: 1px solid #b98380;
}
.promise-strip span:last-child {
  border: 0;
}
.promise-strip .icon {
  width: 32px;
  height: 32px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 19px 11px;
}
.section-heading h2 {
  margin: 0;
  font-size: 35px;
  letter-spacing: -0.8px;
}
.section-heading a {
  color: #555c43;
  font-weight: 700;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 11px;
}
.product-card {
  min-width: 0;
  position: relative;
}
.product-image {
  display: block;
  aspect-ratio: 1.36;
  overflow: hidden;
  border-radius: 8px;
  background: #d6c4b1;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  transition: transform 0.3s;
}
.product-card:hover .product-image img {
  transform: scale(1.035);
}
.product-card[data-id="lichtblick-blau"] .product-image img {
  object-position: 50% 55%;
}
.product-card[data-id="kugel-lichter"] .product-image img {
  object-position: 50% 43%;
}
.product-card[data-id="farbenfreude"] .product-image img {
  object-position: 50% 32%;
}
.favorite {
  position: absolute;
  top: 0;
  right: 2px;
  color: white;
  filter: drop-shadow(0 1px 2px #482b2266);
}
.favorite.active .icon {
  fill: var(--cherry);
  stroke: white;
}
.product-info {
  padding: 7px 8px;
  position: relative;
  min-height: 62px;
}
.product-info h3 {
  font-size: 19px;
  line-height: 1.1;
  margin: 0 0 3px;
  letter-spacing: -0.5px;
  padding-right: 0;
}
.product-info .price {
  font-size: 21px;
  line-height: 1.2;
}
.view-piece {
  position: absolute;
  right: 0;
  bottom: 12px;
  border: 1px solid #996970;
  color: var(--cherry);
  border-radius: 30px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
}
.test-caption {
  text-align: center;
  font:
    italic 13px Georgia,
    serif;
  margin: 10px 0 0;
  color: #596044;
}
.wave-divider {
  height: 27px;
  margin-top: -5px;
  background: radial-gradient(
      circle at 13px 27px,
      #b9bd95 14px,
      transparent 14.5px
    )
    0 0/26px 27px repeat-x;
}
.below-fold {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 25px;
}
.shop-notes {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 20px 0;
}
.about {
  padding: 48px 0;
  max-width: 720px;
  margin: auto;
  text-align: center;
}
.about .icon {
  color: var(--cherry);
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
}
.about p {
  font-size: 19px;
}
.shop-footer {
  padding: 25px 30px 35px;
  text-align: center;
  border-top: 1px solid #cdb59e;
}
.shop-footer nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
}
.shop-footer .muted {
  margin: 20px 0 0;
}
.collection {
  padding: 35px 0 50px;
  min-height: 500px;
}
.collection h1 {
  font-size: 44px;
  margin: 0 11px 22px;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 11px 24px;
}
.filters a {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 18px;
  text-decoration: none;
}
.filters a.selected {
  background: var(--cherry);
  color: var(--cream);
  border-color: var(--cherry);
}
.search-form {
  display: flex;
  gap: 10px;
  margin: 0 11px 25px;
}
.search-form input {
  background: var(--paper);
}
.page {
  max-width: 1050px;
  margin: 30px auto 65px;
  padding: 0 24px;
}
.page h1 {
  font-size: 40px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  text-decoration: none;
  font-weight: 700;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
.gallery-main {
  width: 100%;
  height: 540px;
  object-fit: contain;
  background: #e6d8c6;
  border-radius: 45% 45% 12px 12px / 20% 20% 12px 12px;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  width: 74px;
  height: 84px;
}
.gallery-thumbs button.selected {
  border-color: var(--cherry);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy h1 {
  font-size: 42px;
  margin: 12px 0;
}
.detail-price {
  font-size: 28px;
  margin-bottom: 3px;
}
.detail-copy .primary {
  width: 100%;
  margin: 12px 0;
}
.stock {
  color: #566044;
  font-weight: 700;
}
.detail-copy dl {
  margin: 20px 0;
}
.detail-copy dt {
  font-weight: 700;
  margin-top: 13px;
}
.detail-copy dd {
  margin: 3px 0 0;
  line-height: 1.45;
}
.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 80px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-line h3 {
  margin-bottom: 6px;
}
.cart-line input {
  width: 75px;
  min-height: 36px;
  padding: 5px 8px;
}
.cart-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cart-total {
  max-width: 400px;
  margin: 25px 0 25px auto;
}
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0;
}
.total-row.grand {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 24px;
  font-weight: 700;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
}
.summary {
  background: #edd9c756;
  padding: 25px;
  border-radius: 18px;
  height: fit-content;
}
.confirmation {
  max-width: 680px;
  margin: auto;
}
.confirmation h1 {
  font-size: 38px;
}
.confirmation .icon {
  width: 50px;
  height: 50px;
  color: var(--sage);
}
.prose {
  max-width: 720px;
  white-space: pre-wrap;
  line-height: 1.7;
}
.workshop-wrap {
  min-height: 100vh;
  padding: 30px 20px 50px;
}
.workshop {
  max-width: 410px;
  margin: auto;
  position: relative;
}
.workshop header {
  padding: 12px 6px 28px;
  text-align: center;
  position: relative;
}
.workshop header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: radial-gradient(circle at 10px 0, #eed9c5 9px, transparent 9.7px)
    0 0/20px 12px repeat-x;
  opacity: 0.55;
}
.workshop .brand {
  justify-content: center;
}
.workshop .brand .spool {
  width: 65px;
}
.workshop .brand-text {
  font-size: 27px;
  line-height: 0.95;
}
.workshop .brand-thread {
  width: 230px;
  left: 95px;
  top: 57px;
}
.workshop main {
  padding: 13px 3px calc(96px + env(safe-area-inset-bottom));
}
.workshop h1 {
  font-size: 35px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 13px;
}
.workshop .new-piece {
  font-size: 20px;
  min-height: 49px;
  border-radius: 14px;
  margin-bottom: 15px;
}
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.tabs a {
  min-height: 43px;
  border: 1px solid #ac9682;
  border-radius: 11px;
  text-align: center;
  padding: 9px 5px;
  font-weight: 700;
  text-decoration: none;
}
.tabs a.active {
  background: #dfada5;
  border: 0;
  box-shadow: inset 0 -4px 0 #f5d889;
}
.workshop-list .workshop-row {
  display: grid;
  grid-template-columns: 98px 1fr auto;
  gap: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #d5bdaa;
  align-items: center;
  min-height: 104px;
}
.workshop-row img {
  width: 98px;
  height: 94px;
  border-radius: 8px;
  object-fit: cover;
}
.workshop-row h3 {
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 5px;
}
.workshop-row .edit {
  padding: 5px 10px;
  border-radius: 8px;
  min-height: 36px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--cherry);
  font-weight: 700;
  color: var(--cherry);
}
.workshop .visit {
  border-radius: 9px;
  min-height: 41px;
  margin-top: 16px;
  padding: 4px 12px;
}
.bottom-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  border-top: 1px solid #ddc5b3;
  padding: 8px 3px;
  background: var(--cream);
  position: fixed;
  bottom: 0;
  width: 404px;
  max-width: calc(100% - 40px);
  z-index: 15;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 0;
  border-radius: 16px;
}
.bottom-nav a.active {
  background: #edc5b9;
  font-weight: 700;
  text-decoration: underline;
}
.bottom-nav .icon {
  width: 25px;
  height: 25px;
}
.edit-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 60px;
  margin-bottom: 17px;
  border-bottom: 1px solid #dec6b2;
}
.edit-heading h1 {
  font-size: 27px;
  margin: 0;
  color: var(--ink);
}
.edit-heading .icon-button {
  position: absolute;
  left: -8px;
}
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.upload-tile {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: #e5d4bf;
}
.upload-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-add {
  position: relative;
  height: 200px;
  border: 1px dashed #a77075;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--cherry);
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  background: #f5dfd44d;
  font-weight: 400;
}
.upload-add .icon {
  width: 38px;
  height: 38px;
}
.upload-add input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
}
.upload-add:focus-within {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}
.photo-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  background: #fff7eceb;
  padding: 2px;
}
.photo-controls button {
  border: 0;
  background: none;
  min-width: 40px;
  height: 38px;
  font-size: 17px;
}
.photo-cover {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 11px;
  background: #fff7ecdf;
  border-radius: 20px;
  padding: 3px 7px;
}
.editor .field {
  margin-bottom: 9px;
}
.editor input,
.editor select {
  min-height: 34px;
  padding: 5px 9px;
}
.editor textarea {
  min-height: 74px;
  padding: 7px 9px;
}
.editor label {
  margin-bottom: 3px;
}
.editor .field-row {
  gap: 25px;
}
.editor details {
  border: 1px solid #d5bdab;
  border-radius: 12px;
  margin: 16px 0;
  box-shadow: 0 2px 4px #6c412115;
}
.editor summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.editor summary:after {
  content: "›";
  font-size: 23px;
  line-height: 20px;
}
.editor details[open] summary:after {
  transform: rotate(90deg);
}
.details-body {
  padding: 0 14px 14px;
}
.editor .primary {
  font-size: 19px;
  min-height: 43px;
}
.editor .save-note {
  text-align: center;
  margin: 0;
  font-size: 13px;
}
.editor .draft-button {
  display: block;
  margin: 0 auto;
  padding: 8px 2px;
}
.autosave {
  font-size: 12px;
  color: #726149;
  min-height: 18px;
  margin-bottom: 0;
}
.editor-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.editor-actions button {
  font-size: 13px;
  min-height: 44px;
}
.workshop-settings h2 {
  font-size: 24px;
  margin-top: 25px;
}
.order-card {
  border: 1px solid #d4bba6;
  border-radius: 13px;
  padding: 17px;
  margin: 14px 0;
}
.order-card h3 {
  font-size: 19px;
  margin: 10px 0;
}
.order-card p {
  font-size: 14px;
  margin-bottom: 10px;
}
.order-card ul {
  padding-left: 20px;
  font-size: 14px;
}
.order-card .secondary {
  font-size: 14px;
}
.order-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.login {
  padding-top: 25px;
}
.login p {
  font-size: 15px;
}
.login h1 {
  margin-bottom: 14px;
}
.preview-card img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  background: #e6d8c6;
  border-radius: 12px;
}
.preview-card h2 {
  font-size: 29px;
  margin: 20px 0 10px;
}
.preview-card .primary {
  margin-top: 20px;
}
.preview-card dl {
  font-size: 14px;
}
.preview-card dt {
  font-weight: 700;
  margin-top: 12px;
}
.preview-card dd {
  margin: 3px 0;
}
.modal-close.icon-button {
  position: absolute;
  right: 10px;
  top: 10px;
}
dialog {
  border: 1px solid var(--pink);
  border-radius: 20px;
  background: var(--cream);
  color: var(--ink);
  padding: 30px;
  max-width: 500px;
  width: calc(100% - 30px);
  max-height: 90dvh;
  box-shadow: 0 20px 100px #301b2244;
}
dialog::backdrop {
  background: #35231d66;
}
dialog h2 {
  font-size: 28px;
  margin-top: 20px;
}
dialog .actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
@media (min-width: 1450px) {
  .shop-main {
    max-width: 1300px;
  }
  .shop-header {
    max-width: 1240px;
  }
  .hero {
    grid-template-columns: 480px 1fr;
  }
  .hero-visual {
    height: 380px;
  }
  .hero-copy {
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 62px;
  }
}
@media (max-width: 1150px) {
  .shop-header {
    padding: 0 28px;
  }
  .shop-nav {
    gap: 18px;
  }
  .shop-nav a {
    font-size: 14px;
  }
  .shop-header .brand-text {
    font-size: 24px;
  }
  .shop-header .brand-thread {
    width: 240px;
  }
  .shop-main {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 40% 60%;
    margin-top: 0;
  }
  .hero-copy {
    padding: 22px 12px 20px 12px;
  }
  .hero h1 {
    font-size: 49px;
    line-height: 0.96;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }
  .hero-visual {
    height: 365px;
  }
  .hero-yarn {
    width: 40%;
  }
  .hero .intro {
    font-size: 19px;
  }
  .hero .primary {
    font-size: 16px;
  }
  .product-info h3 {
    font-size: 17px;
  }
  .view-piece {
    position: static;
    display: inline-block;
    margin-top: 6px;
  }
  .product-info .price {
    display: block;
  }
  .promise-strip span {
    font-size: 15px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
}
@media (max-width: 850px) {
  .shop-nav {
    display: none;
  }
  .shop-nav.open {
    display: flex;
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--cream);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .header-tools {
    margin-left: auto;
  }
  .shop-header {
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero {
    grid-template-columns: 43% 57%;
  }
  .hero-visual {
    height: 350px;
  }
  .hero .intro {
    font-size: 18px;
  }
  .hero .primary {
    font-size: 14px;
    padding: 10px;
  }
  .hero-yarn {
    display: none;
  }
  .handmade-tag {
    width: 92px;
    height: 92px;
    font-size: 19px;
    right: 12px;
    bottom: 15px;
  }
  .promise-strip span {
    font-size: 12px;
    gap: 7px;
  }
  .promise-strip .icon {
    width: 25px;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .product-info h3 {
    font-size: 20px;
  }
  .view-piece {
    position: absolute;
    margin: 0;
  }
  .product-info .price {
    display: inline;
  }
  .detail-grid {
    gap: 25px;
  }
  .detail-copy h1 {
    font-size: 31px;
  }
  .gallery-main {
    height: 450px;
  }
  .checkout-grid {
    gap: 25px;
  }
  .page {
    padding: 0 20px;
  }
}
@media (max-width: 600px) {
  .top-ribbon {
    font-size: 14px;
    height: 25px;
    line-height: 25px;
  }
  .shop-header {
    height: 84px;
    padding: 0 16px;
    gap: 4px;
  }
  .shop-header .brand .spool {
    width: 48px;
    height: 54px;
  }
  .shop-header .brand-text {
    font-size: 20px;
    letter-spacing: -0.7px;
  }
  .shop-header .brand-thread {
    width: 170px;
    left: 37px;
    top: 40px;
  }
  .header-tools {
    padding-left: 0;
    border: 0;
    gap: 0;
  }
  .header-tools .icon-button {
    width: 35px;
    height: 44px;
  }
  .header-tools .icon {
    width: 23px;
  }
  .shop-header > .mobile-menu {
    width: 32px;
    padding: 0;
  }
  .shop-main {
    padding: 0 16px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 5px;
  }
  .hero-copy {
    padding: 10px 8px 22px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 2.8px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: 46px;
    line-height: 0.94;
    letter-spacing: -1.8px;
    max-width: 370px;
  }
  .hero h1 span:first-child {
    display: inline;
  }
  .hero h1 span:nth-child(2) {
    display: inline;
  }
  .hero h1 span:nth-child(2):before {
    content: " ";
  }
  .hero h1 span:last-child {
    display: block;
  }
  .hero .intro {
    font-size: 18px;
    max-width: 330px;
    margin: 12px 0 15px;
  }
  .hero .primary {
    font-size: 17px;
    padding: 9px 17px;
    min-height: 44px;
  }
  .hero-visual {
    height: 270px;
    width: 100%;
    border-radius: 48% 48% 0 0 / 28% 28% 0 0;
  }
  .hero-lamp {
    object-position: center 48% !important;
  }
  .handmade-tag {
    width: 93px;
    height: 93px;
    bottom: 15px;
    right: 12px;
  }
  .promise-strip {
    height: auto;
    padding: 10px 5px;
    gap: 8px;
    margin: 12px 0 23px;
  }
  .promise-strip span {
    border: 0;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    gap: 5px;
    line-height: 1.2;
  }
  .promise-strip .icon {
    width: 28px;
    height: 28px;
  }
  .section-heading {
    margin: 0 0 13px;
    gap: 10px;
    align-items: flex-end;
  }
  .section-heading h2 {
    font-size: 27px;
    letter-spacing: -0.8px;
    max-width: 250px;
  }
  .section-heading a {
    font-size: 12px;
    text-align: right;
    min-width: 74px;
  }
  .products-grid {
    padding: 0;
    gap: 20px 12px;
  }
  .product-image {
    aspect-ratio: 0.91;
  }
  .product-info {
    padding: 8px 1px;
  }
  .product-info h3 {
    font-size: 17px;
    min-height: 36px;
    line-height: 1.1;
  }
  .product-info .price {
    font-size: 18px;
  }
  .view-piece {
    position: static;
    display: inline-block;
    font-size: 11px;
    padding: 5px 10px;
    margin-top: 7px;
    min-height: 28px;
    float: right;
  }
  .test-caption {
    font-size: 12px;
    line-height: 1.4;
    margin: 14px 20px 7px;
  }
  .below-fold {
    margin-top: 25px;
    padding: 0 21px;
  }
  .about {
    padding: 25px 0;
  }
  .about h2 {
    font-size: 30px;
  }
  .about p {
    font-size: 17px;
  }
  .shop-notes {
    gap: 12px;
  }
  .shop-footer nav {
    gap: 15px;
  }
  .collection {
    padding-top: 20px;
  }
  .collection h1 {
    font-size: 35px;
    margin-left: 0;
  }
  .filters {
    margin: 0 0 22px;
    gap: 7px;
  }
  .filters a {
    padding: 8px 12px;
    font-size: 13px;
  }
  .search-form {
    margin: 0 0 20px;
  }
  .detail-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .gallery-main {
    height: 400px;
  }
  .detail-copy h1 {
    font-size: 36px;
  }
  .page {
    margin-top: 20px;
  }
  .page h1 {
    font-size: 34px;
  }
  .detail-copy h1 {
    margin-top: 5px;
  }
  .checkout-grid .summary {
    grid-row: 1;
  }
  .cart-line {
    grid-template-columns: 65px 1fr;
    gap: 12px;
  }
  .cart-line img {
    width: 65px;
    height: 83px;
  }
  .cart-line > strong {
    grid-column: 2;
  }
  .cart-line h3 {
    font-size: 19px;
  }
  .cart-actions {
    gap: 7px;
    flex-wrap: wrap;
  }
  .workshop-wrap {
    padding: 12px 20px 25px;
  }
  .workshop header {
    padding-top: 8px;
  }
  .workshop main {
    padding-top: 13px;
  }
  .workshop .brand-thread {
    left: 84px;
    width: 210px;
  }
  .workshop h1 {
    font-size: 33px;
  }
  .workshop-row h3 {
    font-size: 18px;
  }
  .workshop-list .workshop-row {
    grid-template-columns: 90px 1fr auto;
    gap: 12px;
  }
  .workshop-row img {
    width: 90px;
    height: 92px;
  }
  .workshop-row .edit {
    padding: 6px;
    min-height: 40px;
  }
  .workshop .new-piece {
    font-size: 19px;
  }
  .edit-heading h1 {
    font-size: 26px;
  }
  .upload-tile,
  .upload-add {
    height: 190px;
  }
  .field-row {
    gap: 14px;
  }
  .bottom-nav {
    max-width: calc(100% - 40px);
  }
  .workshop-settings .field-row {
    grid-template-columns: 1fr;
  }
  .editor-actions {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.brand-text {
  text-align: left;
}
.hero-visual .scene {
  position: relative;
  overflow: hidden;
  min-width: 0;
  height: 350px;
}
.image-backdrop {
  position: absolute;
  inset: -20px;
  background-position: center;
  background-size: cover;
  filter: blur(22px);
  opacity: 0.72;
  pointer-events: none;
}
.hero-visual .scene img {
  position: relative;
  object-fit: contain;
  transform: none;
  filter: none;
  width: 100%;
  height: 145%;
  top: -23%;
  object-position: center;
}
.hero-visual .scene-decoration img {
  height: 110%;
  top: -15%;
}
.product-image {
  position: relative;
}
.product-image img {
  position: relative;
  object-fit: contain;
  object-position: center !important;
  height: 135%;
  top: -18%;
  transform: none !important;
}
.product-card[data-id="lichtblick-blau"] .product-image img {
  height: 170%;
  top: -40%;
}
.product-card[data-id="kugel-lichter"] .product-image img {
  height: 170%;
  top: -30%;
}
.product-card[data-id="farbenfreude"] .product-image img {
  height: 125%;
  top: 0;
}
.product-card[data-id="winterzauber"] .product-image img {
  height: 125%;
  top: -24%;
}
.product-card[data-id="herbstglueck"] .product-image img {
  height: 110%;
  top: -5%;
}
.upload-grid {
  display: flex;
  overflow-x: auto;
  padding: 3px 2px 8px;
  scroll-snap-type: x proximity;
}
.upload-tile,
.upload-add {
  flex: 0 0 calc(50% - 6px);
  scroll-snap-align: start;
}
.upload-add {
  margin: 0;
}
.workshop-settings fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 15px 0;
  padding: 14px;
}
.workshop-settings legend {
  font-weight: 700;
  padding: 0 7px;
}
@media (max-width: 600px) {
  .hero-visual .scene {
    height: 270px;
  }
  .hero-visual .scene img {
    height: 145%;
    top: -23%;
  }
  .hero-visual .scene-decoration img {
    height: 110%;
    top: -15%;
  }
  .product-image img {
    height: 115%;
    top: -8%;
  }
  .product-card[data-id="lichtblick-blau"] .product-image img {
    height: 145%;
    top: -31%;
  }
  .product-card[data-id="kugel-lichter"] .product-image img {
    height: 145%;
    top: -23%;
  }
  .product-card[data-id="farbenfreude"] .product-image img {
    height: 110%;
    top: 0;
  }
  .product-card[data-id="winterzauber"] .product-image img {
    height: 110%;
    top: -16%;
  }
}
@media (min-width: 1151px) and (max-width: 1449px) {
  .hero {
    margin-top: -26px;
    margin-right: 24px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-copy {
    padding-top: 31px;
  }
  .section-heading {
    margin-bottom: 9px;
  }
  .product-info {
    min-height: 55px;
  }
  .test-caption {
    margin-top: 5px;
  }
}
@media (max-width: 600px) {
  .editor input,
  .editor select {
    min-height: 44px;
  }
  .photo-controls button {
    height: 44px;
    min-width: 40px;
  }
  .workshop-row .edit {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .view-piece {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .header-tools .icon-button {
    width: 38px;
  }
  .shop-header .brand-text {
    font-size: 19px;
  }
  .shop-header .brand .spool {
    width: 44px;
  }
}

/* Keep controls in normal layout so translated or multi-line titles cannot overlap. */
.top-ribbon { position: relative; }
.workshop-login {
  position: absolute;
  right: max(16px, calc((100vw - 1160px) / 2));
  top: 0;
  font: 700 12px/27px Nunito, Arial, sans-serif;
  letter-spacing: 0;
  text-underline-offset: 3px;
}
.product-card { display: grid; grid-template-rows: auto 1fr; }
.product-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  gap: 6px 8px;
  align-items: center;
}
.product-info h3 {
  grid-column: 1 / -1;
  align-self: start;
  margin: 0;
  min-height: 0;
  overflow-wrap: anywhere;
}
.product-info .price { white-space: nowrap; }
.view-piece {
  position: static;
  float: none;
  margin: 0;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
}
.wave-divider.wave-divider { margin-top: 6px; }
.workshop-list .workshop-row { grid-template-columns: 98px minmax(0, 1fr) auto; }
.workshop-row h3 { overflow-wrap: anywhere; }
.login-help { font-size: 14px; line-height: 1.5; margin-top: 22px; }
.shop-main.collection { padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 601px) and (max-width: 1150px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; min-height: 0; align-items: center; }
  .hero-copy { padding: 24px 0 28px; min-width: 0; }
  .hero h1 { font-size: clamp(30px, 4.5vw, 49px); }
  .eyebrow { white-space: normal; line-height: 1.5; }
  .hero .primary { max-width: 100%; font-size: clamp(13px, 1.7vw, 18px); gap: 8px; padding-inline: 12px; }
  .hero-yarn { display: none; }
}
@media (max-width: 600px) {
  .top-ribbon { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 16px; height: auto; min-height: 32px; line-height: 18px; font-size: 12px; }
  .workshop-login { position: static; flex: none; font-size: 11px; line-height: 22px; }
  .hero h1 { font-size: clamp(35px, 11.7vw, 46px); }
  .eyebrow { white-space: normal; line-height: 1.5; }
  .collection h1 { font-size: clamp(28px, 8vw, 35px); line-height: 1.15; overflow-wrap: anywhere; }
  .shop-main.collection { padding-top: 20px; padding-bottom: 32px; }
  .product-info { padding: 10px 1px 2px; gap: 10px 6px; }
  .view-piece { min-height: 44px; }
  .workshop-list .workshop-row { grid-template-columns: 90px minmax(0, 1fr) auto; }
}
@media (max-width: 370px) {
  .top-ribbon { padding-inline: 12px; font-size: 11px; }
  .shop-header { padding-inline: 12px; gap: 0; }
  .shop-header .brand-text { font-size: 16px; }
  .shop-header .brand .spool { width: 36px; }
  .shop-header .brand-thread { width: 145px; left: 29px; }
  .header-tools .icon-button { width: 32px; }
  .shop-header > .mobile-menu { width: 28px; }
}
@media (max-width: 350px) {
  .product-info { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto; }
  .product-info h3 { grid-column: 1; }
  .view-piece { justify-self: stretch; }
}

/* Catalog, product details and workshop login share the warm paper treatment. */
.collection .products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}
.collection .product-info { padding-top: 12px; }
.filters a { min-height: 44px; display: inline-flex; align-items: center; }
.filters a:hover:not(.selected) { background: #fff7ecb3; border-color: #a77e72; }
.product-card .favorite {
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: #fff7eceb;
  color: var(--cherry);
  filter: none;
  box-shadow: 0 2px 8px #482b2218;
}
.product-card .favorite .icon { width: 23px; height: 23px; }
.product-card .favorite.active { background: var(--cherry); color: var(--paper); }
.product-card .favorite.active .icon { fill: var(--paper); stroke: var(--paper); }
.view-piece:hover { background: var(--cherry); color: var(--paper); }
.gallery-main {
  display: block;
  border-radius: 18px;
  border: 1px solid #d9c5b0;
  background: #ecdfce;
}
.gallery-thumbs button { padding: 3px; background: #fff7ecb3; }
.gallery-thumbs button img { border-radius: 4px; }
.gallery-thumbs button.selected { background: #ead2c5; }
.detail-copy .stock {
  display: table;
  padding: 7px 12px;
  background: #d8dac166;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}
.detail-copy .text-button { display: inline-flex; align-items: center; gap: 9px; }
.detail-copy dl {
  border: 1px solid #d9c5b0;
  background: #fff7ec80;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
}
.detail-copy dt:first-child { margin-top: 0; }
.detail-copy dd { color: #674b3d; }
.cart-total { padding: 22px; background: #fff7ec80; border: 1px solid #d9c5b0; border-radius: 16px; }
.cart-total .total-row:first-child { margin-top: 0; }
.workshop:has(.login) { max-width: 460px; }
.login {
  margin-top: 20px;
  padding: 26px;
  border: 1px solid #d9c5b0;
  border-radius: 18px;
  background: #fff7ecb3;
  box-shadow: 0 8px 28px #6037290a;
}
.login input { background: #fffaf4; }
.login .primary + .muted { margin-top: 12px; font-size: 13px; }
.login .login-help { border-top: 1px solid #dfcbbb; padding-top: 18px; font-size: 14px; }
#toast { width: max-content; }
body:has(.bottom-nav) #toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
@media (max-width: 850px) {
  .collection .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .shop-header:has(.shop-nav.open) { height: auto; min-height: 84px; flex-wrap: wrap; padding-block: 12px; row-gap: 16px; }
  .shop-nav.open {
    position: static;
    order: 4;
    flex-basis: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    white-space: normal;
  }
  .shop-nav.open a { padding: 11px 12px; min-height: 44px; background: #fff7ecb3; border: 1px solid #dfcbbb; border-radius: 9px; }
}
@media (max-width: 600px) {
  .collection .products-grid { gap: 26px 14px; }
  .product-card .favorite { top: 5px; right: 5px; width: 38px; height: 38px; }
  .gallery-main { height: min(450px, 112vw); }
  .gallery-thumbs { gap: 8px; }
  .gallery-thumbs button { width: 64px; height: 74px; }
  .detail-copy dl { padding: 16px; }
  .cart-total { padding: 18px; }
  .login { margin-top: 14px; padding: 20px 18px; }
  .login h1 { font-size: clamp(28px, 7.5vw, 33px); }
  #toast { width: calc(100% - 32px); text-align: center; bottom: max(16px, env(safe-area-inset-bottom)); }
}
