:root { --top-height: 74px; }

.scene-copy, .product-copy, .detail-text {
  container-type: inline-size;
  min-width: 0;
}
.scene-media { pointer-events: none; }
.show-head { position: relative; z-index: 3; }
.plugin-name, .name-measure {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.plugin-name {
  font-size: var(--name-size);
  font-size: min(var(--name-size), calc(98cqi / var(--name-em, 12)));
}
.name-measure {
  position: fixed;
  inset: 0 auto auto 0;
  width: max-content;
  visibility: hidden;
  font-size: 100px;
  pointer-events: none;
}

.shop-nav, .foot-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-nav-button {
  min-height: 38px;
  padding: 5px 11px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
}
.shop-nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: #ffffff42;
}
.shop-nav-button:hover { background: #ffffff12; }
#cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  padding-inline: 4px;
  border-radius: 12px;
  background: var(--accent);
  color: #211831;
  font-size: .81rem;
  font-variant-numeric: tabular-nums;
}

.hero-launch {
  position: absolute;
  inset: clamp(21px, 6vh, 55px) 18px auto;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-size: clamp(.875rem, 1.45vw, 1.125rem);
  color: #f4edf9;
  pointer-events: none;
  transform: translateY(calc(var(--signature-offset, 0%) * -4));
}
.launch-label {
  border: 1px solid #c6acd570;
  border-radius: 32px;
  padding: 4px 12px;
  color: var(--accent);
  background: #201a2a;
  font-size: .875rem;
  font-weight: 700;
}
.catalog-intro { max-width: 43ch; color: #e1dbe8; }
.launch-note {
  margin: 22px 0 16px;
  padding: 10px 12px;
  border-inline-start: 2px solid #aa86d1;
  background: #201929;
  color: #e3d6ef;
  font-size: .875rem;
}

.product-details {
  display: grid;
  grid-template-rows: 170px auto;
  gap: 12px;
  align-content: start;
  border: 0;
  padding: 0;
  background: none;
  min-width: 0;
  text-align: left;
  border-radius: 4px;
}
.product-offer, .detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.detail-actions { margin-top: 20px; gap: 12px; }
.product-price-block { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; }
.product-availability { color: #d2c2e4; font-size: .8125rem; font-weight: 650; }
.price { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-button {
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #a78abd6e;
  border-radius: 6px;
  background: #e0d7ff15;
  color: #eee6ff;
  font-size: .875rem;
  font-weight: 700;
}
.offer-button:enabled:hover { background: #e0d7ff2e; }
.shop-nav-cart:disabled, .offer-button:disabled, #detail-add:disabled {
  cursor: default;
  border: 1px solid #ffffff25;
  background: #ffffff09;
  color: #d0c6d8;
}
.offer-button[data-in-cart=true] { border-color: #bca6d49c; background: #d7c1fc26; }

.shop-dialog { width: min(530px, calc(100% - 24px)); background: #1b1622; }
.shop-content { padding: clamp(19px, 5vw, 35px); }
#shop-title { padding-right: 40px; font-size: clamp(1.625rem, 5vw, 2.125rem); line-height: 1.12; }
#shop-title:focus { outline: none; }
#shop-body { display: grid; gap: 17px; margin-top: 18px; }
#shop-body > .button:not(.wide-button), .account-form .button { justify-self: start; }
.shop-hint { color: #d2c8de; font-size: .875rem; }
.cart-items, .order-list { padding: 0; margin: 0; list-style: none; }
.cart-item {
  display: grid;
  grid-template-columns: clamp(40px, 14vw, 76px) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-block-end: 1px solid var(--line);
}
.cart-image { width: 100%; height: 48px; object-fit: contain; }
.cart-data { display: grid; min-width: 0; overflow-wrap: break-word; }
.cart-line-actions { display: grid; justify-items: end; }
.text-button {
  justify-self: start;
  border: 0;
  background: none;
  color: var(--accent);
  padding: 5px 0;
  font-size: .875rem;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button:hover { color: #fff; }
.cart-line-actions .text-button { justify-self: end; }
.shop-total, .checkout-profile { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shop-total { font-size: 1.0625rem; }
.checkout-profile { padding: 11px 12px; border-radius: 8px; background: #ffffff0b; }
.checkout-profile button { flex-shrink: 0; }
.account-nav { display: flex; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.account-tab {
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  font-size: .875rem;
  font-weight: 740;
}
.account-tab[aria-pressed=true], .account-tab:hover { background: #e0d7ff18; border-color: #e0d7ff33; }
.order-row {
  display: grid;
  gap: 4px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.shop-toast:not(:empty) {
  position: fixed;
  z-index: 11;
  inset: auto 12px 16px auto;
  max-width: calc(100vw - 24px);
  padding: 12px 16px;
  border: 1px solid #b199d683;
  border-radius: 8px;
  background: #2b2138;
  box-shadow: 0 12px 36px #06030980;
  animation: arrive .2s both;
  pointer-events: none;
}

.contact {
  padding-block: clamp(56px, 10vw, 110px);
  background: radial-gradient(ellipse at 22% 40%, #2c203b, #19161e 65%);
  border-block-start: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 6vw, 88px);
  align-items: start;
}
.contact-copy .section-title { margin-bottom: 18px; font-size: clamp(47px, 6vw, 92px); }
.contact-copy p { max-width: 29ch; margin-bottom: 13px; color: #d9cce3; }
.contact-email { color: var(--accent); overflow-wrap: break-word; text-decoration: underline; text-underline-offset: 3px; }
.instagram-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 24px;
  padding: 10px 13px;
  border: 1px solid #b790d266;
  border-radius: 9px;
  background: #e0d7ff0e;
  color: #ebe1f4;
  font-size: .875rem;
}
.instagram-link:hover { background: #e0d7ff22; border-color: #d1b1edb3; }
.instagram-link svg { flex: 0 0 auto; color: var(--accent); }
.instagram-link strong { display: block; color: var(--accent); }
.contact-form, .account-form, .field-row { display: grid; gap: 15px; }
.field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form {
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid #ffffff28;
  border-radius: 12px;
  background: #17131d;
}
.contact-form label, .account-form label, .contact-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: .875rem;
  font-weight: 700;
}
.contact-form :is(input, select, textarea), .account-form input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  min-height: 43px;
  border-radius: 6px;
  border: 1px solid #ffffff42;
  font: 1rem/1.4 var(--text);
  color: var(--fg);
  background: #211b29;
}
.contact-form textarea { resize: vertical; }
.contact-form select {
  appearance: none;
  padding-inline-end: 29px;
  background-image: linear-gradient(45deg, transparent 48%, #d6c3eb 50%), linear-gradient(135deg, #d6c3eb 50%, transparent 52%);
  background-size: 5px 5px;
  background-position: right 16px center, right 11px center;
  background-repeat: no-repeat;
}
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contact-actions p { flex: 1 1 160px; font-size: .875rem; color: #cfc6d9; }
.inline-status { color: var(--accent); font-size: .875rem; }
.inline-status:empty { display: none; }
.foot-links { gap: 18px; }
.foot-links a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 720px) {
  :root { --top-height: 98px; }
  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 51px 1fr;
    gap: 0 8px;
  }
  .nav nav {
    grid-row: 2;
    grid-column: 1 / -1;
    align-self: stretch;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #ffffff16;
  }
  .shop-nav { grid-column: 2; grid-row: 1; gap: 4px; }
  .shop-nav-button { min-height: 36px; }
  .product-details { grid-template-rows: 125px auto; }
  .catalog-head .search { margin-top: 17px; margin-bottom: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .product-details { grid-template-rows: 98px auto; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .foot-links { gap: 12px; }
}
