/* Wunderlinse brand overrides */
.header__heading-link { text-decoration: none; display: inline-flex; align-items: center; }
.wl-logo {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-block;
}
.wl-logo span { display: inline-block; }
@media screen and (max-width: 749px) {
  .wl-logo { font-size: 2.5rem; }
}

/* content pages: company-data placeholders still to fill (content/shop-info.json) */
.wl-ph { background: #fff3b0; color: #6b4e00; padding: 0 .3em; border-radius: .3em; font-weight: 600; }
.wl-legal-box { border: 1px dashed rgba(0, 0, 0, .25); border-radius: 1.2rem; padding: .4rem 2rem; margin: 1.6rem 0; }
.rte h3 { margin-top: 2.4rem; }
.wl-contact, .wl-track { margin: 2.4rem 0 3.2rem; }
.wl-contact .contact__fields { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media screen and (min-width: 750px) { .wl-contact .contact__fields { grid-template-columns: 1fr 1fr; } }
.wl-contact .field, .wl-track .field { margin: 0 0 2rem; }
.wl-contact .contact__fields .field { margin-bottom: 0; }
.wl-contact textarea.field__input { min-height: 14rem; padding-top: 2.2rem; }
.wl-form-error { color: #c0392b; font-size: 1.4rem; }
.wl-form-success h2 { margin-top: 0; }

/* local cart drawer */
.wl-cart { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.wl-cart__overlay { display: block !important; position: absolute; inset: 0; background: rgba(30, 27, 52, .45); opacity: 0; transition: opacity .25s; }
.wl-cart__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(42rem, 100%);
  background: rgb(var(--color-background, 253 246 238)); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease; box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
  font-family: var(--font-body-family);
}
.wl-cart.is-open { pointer-events: auto; }
.wl-cart.is-open .wl-cart__overlay { opacity: 1; }
.wl-cart.is-open .wl-cart__panel { transform: none; }
.wl-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2.4rem; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.wl-cart__head h2 { margin: 0; font-family: var(--font-heading-family); font-size: 2.4rem; }
.wl-cart__x { background: none; border: 0; font-size: 3rem; line-height: 1; cursor: pointer; color: inherit; }
.wl-cart__items { flex: 1; overflow-y: auto; padding: 1.6rem 2.4rem; }
.wl-cart__item { display: grid; grid-template-columns: 7.2rem 1fr auto; gap: 1.4rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.wl-cart__item img { width: 7.2rem; height: 7.2rem; object-fit: cover; border-radius: 1rem; }
.wl-cart__title { margin: 0; font-family: var(--font-heading-family); font-size: 1.6rem; }
.wl-cart__variant { margin: .2rem 0 .8rem; font-size: 1.3rem; opacity: .75; }
.wl-cart__qty { display: inline-flex; align-items: center; border: 1px solid rgba(0, 0, 0, .15); border-radius: 99px; }
.wl-cart__qty button { background: none; border: 0; width: 3.2rem; height: 3.2rem; font-size: 1.6rem; cursor: pointer; color: inherit; }
.wl-cart__qty span { min-width: 2.4rem; text-align: center; font-size: 1.4rem; }
.wl-cart__price { font-size: 1.5rem; white-space: nowrap; }
.wl-cart__empty { text-align: center; margin-top: 4rem; font-size: 1.6rem; }
.wl-cart__foot { padding: 2rem 2.4rem 2.4rem; border-top: 1px solid rgba(0, 0, 0, .08); }
.wl-cart__row { display: flex; justify-content: space-between; font-size: 1.7rem; }
.wl-cart__note { margin: .6rem 0 1.4rem; font-size: 1.3rem; opacity: .75; }
.wl-cart__checkout { width: 100%; }
