.v-magasin {
  --mag-paper: #f9f8f4;
  --mag-ink: #20212c;
  --mag-muted: #596074;
  --mag-rule: #cfced4;
  --mag-blue: #2839b6;
  --mag-blue-hover: #1c2a93;
  --mag-lilac: #dbe0fc;
  --mag-serif: 'DM Serif Text', Georgia, serif;
  --mag-sans: 'DM Sans', 'Inter', Arial, sans-serif;
  background: var(--mag-paper);
  color: var(--mag-ink);
  font-family: var(--mag-sans);
}

.v-magasin .mag-shell {
  width: min(100% - 96px, 1260px);
  margin-inline: auto;
}

.v-magasin .mag-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 18px;
  border-bottom: 1px solid var(--mag-rule);
}

.v-magasin .mag-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mag-blue);
  font-family: var(--mag-serif);
  font-size: 29px;
  letter-spacing: -.055em;
  line-height: 1;
}

.v-magasin .mag-header-actions,
.v-magasin .mag-wishes-actions,
.v-magasin .mag-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-magasin .mag-view,
.v-magasin .mag-account,
.v-magasin .mag-share,
.v-magasin .mag-add,
.v-magasin .mag-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--mag-ink);
  font: 600 .875rem/1.2 var(--mag-sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .16s, border-color .16s, color .16s;
}

.v-magasin .mag-view:hover,
.v-magasin .mag-account:hover,
.v-magasin .mag-add:hover {
  background: #eceefa;
}

.v-magasin .mag-account {
  border-color: var(--mag-rule);
}

.v-magasin .mag-main {
  padding-bottom: 60px;
}

.v-magasin .mag-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: stretch;
  padding-block: 34px 40px;
}

.v-magasin .mag-cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 26px 24px;
}

.v-magasin .mag-cover-byline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--mag-blue);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.v-magasin .mag-cover-byline::before {
  width: 23px;
  height: 1px;
  background: currentColor;
  content: '';
}

.v-magasin .mag-cover h1 {
  margin: 0;
  color: var(--mag-ink);
  font: 400 clamp(55px, 7.9vw, 118px)/.91 var(--mag-serif);
  letter-spacing: -.071em;
  overflow-wrap: anywhere;
}

.v-magasin .mag-cover h1 em {
  display: block;
  padding-bottom: .06em;
  color: var(--mag-blue);
  font-weight: inherit;
  line-height: 1.1;
}

.v-magasin .mag-cover-description {
  max-width: 34ch;
  margin: 13px 0 24px;
  color: var(--mag-muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.5;
}

.v-magasin .mag-share {
  min-height: 48px;
  gap: 10px;
  padding-inline: 18px;
  border-color: var(--mag-blue);
  background: var(--mag-blue);
  color: white;
}

.v-magasin .mag-share:hover {
  border-color: var(--mag-blue-hover);
  background: var(--mag-blue-hover);
}

.v-magasin .mag-cover-art {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 390px;
  margin: 0;
  padding: 23px 24px 44px;
  overflow: hidden;
  background-color: var(--mag-lilac);
}

.v-magasin .mag-cover-art::before,
.v-magasin .mag-cover-art::after {
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 51%;
  width: 60%;
  aspect-ratio: 1;
  transform: translate(-50%, -54%);
  border: 1px solid #7d89db;
  border-radius: 50%;
  content: '';
}

.v-magasin .mag-cover-art::after {
  width: 64%;
  border-color: #a5aeea;
}

.v-magasin .mag-cover-photo {
  display: block;
  width: 86%;
  height: 342px;
  max-width: 410px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.v-magasin .mag-cover-art figcaption {
  position: absolute;
  inset: auto 17px 13px;
  padding-top: 9px;
  border-top: 1px solid #a4aee7;
  color: #34417f;
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.v-magasin .mag-cover-art--empty {
  color: var(--mag-blue);
}

.v-magasin .mag-cover-art--empty svg {
  stroke-width: 1.15;
}

.v-magasin .mag-wishes {
  border-top: 1px solid var(--mag-rule);
}

.v-magasin .mag-wishes-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: end;
  flex-wrap: wrap;
  padding-block: 19px 19px;
}

.v-magasin .mag-wishes-intro {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 13px;
}

.v-magasin .mag-wishes-intro h2 {
  margin: 0;
  font: 400 clamp(34px, 4vw, 50px)/1.02 var(--mag-serif);
  letter-spacing: -.057em;
}

.v-magasin .mag-wishes-intro p {
  margin: 0;
  color: var(--mag-muted);
  font-size: 13px;
  white-space: nowrap;
}

.v-magasin .mag-wishes-actions {
  flex-wrap: wrap;
}

.v-magasin .mag-filters {
  gap: 3px;
}

.v-magasin .mag-filter {
  gap: 5px;
  padding-inline: 10px;
  border-bottom: 1px solid transparent;
  color: var(--mag-muted);
  font-size: 13px;
}

.v-magasin .mag-filter:hover,
.v-magasin .mag-filter[aria-pressed='true'] {
  color: var(--mag-blue);
}

.v-magasin .mag-filter[aria-pressed='true'] {
  border-bottom-color: var(--mag-blue);
}

.v-magasin .mag-filter span {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.v-magasin .mag-add {
  border-color: var(--mag-blue);
  color: var(--mag-blue);
}

.v-magasin .mag-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 16px;
}

.v-magasin .mag-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.v-magasin .mag-item-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.12;
  overflow: hidden;
  background: #eeedf3;
  color: var(--mag-blue);
}

.v-magasin .mag-item:nth-child(even) .mag-item-image {
  background: #e6e9f8;
}

.v-magasin .mag-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.v-magasin .mag-item-title {
  flex: 1;
  padding-block: 14px 10px;
}

.v-magasin .mag-item-title p {
  margin: 0 0 4px;
  color: var(--mag-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.v-magasin .mag-item-title h3 {
  margin: 0;
  font: 400 clamp(21px, 2vw, 28px)/1.15 var(--mag-serif);
  letter-spacing: -.027em;
  overflow-wrap: anywhere;
}

.v-magasin .mag-item-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding-block: 8px 10px;
  border-top: 1px solid var(--mag-rule);
  color: var(--mag-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.v-magasin .mag-complete {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mag-blue);
  font-weight: 700;
}

.v-magasin .mag-item .item-actions {
  justify-content: flex-start;
}

.v-magasin .mag-item .item-actions :is(.action-buy, .action-shop, .action-reset, .action-edit, .action-delete) {
  border-radius: 0;
  font-family: var(--mag-sans);
}

.v-magasin .mag-item .action-buy:not(:disabled) {
  border-color: var(--mag-blue);
  background: var(--mag-blue);
  color: white;
}

.v-magasin .mag-item .action-buy:not(:disabled):hover {
  background: var(--mag-blue-hover);
}

.v-magasin .mag-empty {
  margin: 0;
  padding: 24px 0;
  color: var(--mag-muted);
  font-size: 15px;
}

.v-magasin .mag-shell :is(button, a):focus-visible {
  outline: 2px solid var(--mag-blue);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .v-magasin .mag-shell {
    width: calc(100% - 64px);
  }

  .v-magasin .mag-cover-art {
    min-height: 320px;
  }

  .v-magasin .mag-cover-photo {
    height: clamp(235px, 32vw, 310px);
  }

  .v-magasin .mag-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .v-magasin .mag-shell {
    width: calc(100% - 36px);
  }

  .v-magasin .mag-header {
    min-height: 62px;
    gap: 8px;
  }

  .v-magasin .mag-wordmark {
    gap: 5px;
    font-size: clamp(21px, 5.6vw, 26px);
  }

  .v-magasin .mag-wordmark svg {
    width: 18px;
  }

  .v-magasin .mag-header-actions {
    gap: 4px;
  }

  .v-magasin .mag-view,
  .v-magasin .mag-account {
    min-height: 44px;
    padding-inline: 7px;
    font-size: 12px;
  }

  .v-magasin .mag-view svg,
  .v-magasin .mag-account svg {
    display: none;
  }

  .v-magasin .mag-cover {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 25px;
  }

  .v-magasin .mag-cover-copy {
    padding-block: 0;
  }

  .v-magasin .mag-cover h1 {
    font-size: clamp(46px, 12.9vw, 77px);
  }

  .v-magasin .mag-cover-description {
    margin-block: 8px 17px;
  }

  .v-magasin .mag-cover-art {
    min-height: 0;
    padding-block: 13px 40px;
  }

  .v-magasin .mag-cover-photo {
    height: clamp(167px, 50vw, 268px);
  }

  .v-magasin .mag-wishes-heading {
    padding-block: 17px 14px;
  }

  .v-magasin .mag-wishes-actions {
    gap: 8px;
  }

  .v-magasin .mag-item-image {
    aspect-ratio: 1;
  }

  .v-magasin .mag-item-status {
    flex-wrap: wrap;
  }
}

@media (max-width: 345px) {
  .v-magasin .mag-shell {
    width: calc(100% - 28px);
  }

  .v-magasin .mag-items {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v-magasin .mag-shell :is(button, a) {
    transition: none;
  }
}
