@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.storefront {
  --surface: #08090a;
  --soft: #131416;
  --border: #28292d;
  --softtext: #a6a7ae;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #f3f3f4;
}
.storefront #main {
  flex: 1;
}
.store-width {
  width: min(1168px, calc(100% - 88px));
  margin-inline: auto;
}
.store-header {
  border-bottom: 1px solid #ffffff13;
  background: #0a0b0c;
}
.store-nav {
  display: flex;
  align-items: center;
  height: 66px;
  gap: 49px;
  position: relative;
}
.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.07em;
  font-weight: 620;
}
.brand-stamp {
  display: block;
  flex: none;
  width: 23px;
  height: 23px;
}
.store-nav nav,
.store-footer nav,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
}
.store-nav nav {
  gap: 28px;
}
.store-nav nav a,
.store-footer nav a {
  color: var(--softtext);
  font-size: 13px;
  font-weight: 490;
}
.store-nav nav a:hover,
.store-footer nav a:hover {
  color: white;
}
.nav-actions {
  gap: 10px;
  margin-left: auto;
}
.store-nav-order,
.nav-toggle,
.shop-button,
.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1;
  font-size: 13px;
  font-weight: 540;
}
.store-nav-order {
  height: 33px;
  padding: 0 15px;
  border: 1px solid #45464b;
  border-radius: 20px;
  background: #eeeeef;
  color: #202124;
}
.store-nav-order:hover,
.shop-button.light:hover {
  background: white;
  color: #0f1012;
}
.store-nav-order .icon {
  width: 14px;
}
.nav-toggle {
  display: none;
  color: #ccc;
}
.store-hero {
  border-bottom: 1px solid #ffffff0e;
  background: radial-gradient(ellipse at 76% 60%, #101116 0%, #08090a 48%);
}
.hero-split {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 60px;
  padding-block: clamp(60px, 6.3vw, 100px);
}
.hero-message h1 {
  margin: 10px 0 16px;
  line-height: 1;
  letter-spacing: -0.082em;
  font-weight: 540;
  font-size: clamp(66px, 6.9vw, 104px);
  color: #f7f7f8;
}
.hero-summary {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  letter-spacing: -0.04em;
  color: var(--softtext);
}
.hero-actions {
  gap: 10px;
  flex-wrap: wrap;
}
.hero-message .hero-actions {
  margin-top: 29px;
}
.shop-button {
  min-height: 38px;
  border: 1px solid;
  border-radius: 7px;
  padding: 0 15px;
}
.shop-button.light {
  background: #ededef;
  border-color: #ededef;
  color: #18191b;
}
.shop-button.dark {
  background: #17181b;
  border-color: #333439;
  color: #e1e1e4;
}
.shop-button.dark:hover,
.card-cta:hover {
  background: #232428;
}
.shop-button .icon {
  width: 15px;
  height: 15px;
}
.hero-panels {
  justify-self: end;
  width: min(100%, 420px);
  display: grid;
  gap: 12px;
}
.feature-panel {
  height: 111px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 17px 24px;
  border-radius: 11px;
  border: 1px solid #303137;
  background: #111113;
  box-shadow: inset 0 1px 0 #ffffff05;
}
.feature-panel > img {
  position: absolute;
  z-index: -1;
  right: -5%;
  top: 0;
  bottom: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  mask-image: linear-gradient(90deg, transparent 1%, #000 25%);
  transition: transform 0.25s;
}
.feature-panel:hover > img {
  transform: scale(1.035);
}
.feature-panel:hover {
  border-color: #4b4c53;
}
.feature-panel p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a4a5af;
  font-size: 12px;
  font-weight: 480;
}
.feature-panel p .icon {
  height: 14px;
  width: 14px;
}
.feature-panel strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 7px;
  font-weight: 520;
  font-size: 35px;
  letter-spacing: -0.065em;
  line-height: 1.1;
}
.feature-panel strong small {
  font-size: 12px;
  color: #b5b6bd;
  letter-spacing: -0.025em;
  font-weight: 480;
}
.feature-panel strong.delivery-type {
  font-size: 25px;
  letter-spacing: -0.06em;
  line-height: 1.3;
}
.section-title {
  text-align: center;
}
.section-title h2,
.support-section h2 {
  font-size: clamp(25px, 2.8vw, 39px);
  font-weight: 580;
  letter-spacing: -0.065em;
  color: #f1f1f3;
}
.review-section {
  padding: 36px 0 34px;
}
.review-section h2 {
  font-size: 25px;
  font-weight: 570;
}
.review-empty {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  min-height: 39px;
  color: #a7a8b1;
  font-size: 13px;
  border: 1px solid #2b2c31;
  border-radius: 8px;
  background: #101113;
}
.review-empty > .icon {
  width: 14px;
  height: 14px;
  color: #9799a9;
}
.review-empty a {
  margin-left: 7px;
  padding-left: 14px;
  border-left: 1px solid #35363b;
  display: inline-flex;
  gap: 2px;
  align-items: center;
  font-size: 12px;
  color: #d1d2d7;
}
.review-empty a .icon {
  width: 12px;
}
.review-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(320px, 86vw);
  gap: 12px;
  overflow: auto;
  padding: 16px 1px;
}
.review-grid article {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 17px;
  background: var(--soft);
}
.review-grid article > div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--softtext);
}
.review-grid p {
  margin-block: 10px;
  font-size: 14px;
}
.review-grid small {
  color: #aaa;
  font-size: 11px;
}
.shop-catalog {
  border-block: 1px solid #ffffff10;
  background: #0c0d0f;
  padding: 41px 0 60px;
  scroll-margin-top: 12px;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #303136;
  background: #141517;
  border-radius: 8px;
  width: min(100%, 264px);
  height: 40px;
  margin: 0;
  padding: 0 13px;
  color: #93949e;
}
.catalog-search input {
  border: 0;
  background: none;
  font-size: 13px;
  outline: 0;
  width: 100%;
}
.catalog-search:focus-within {
  outline: 2px solid #9c9eac;
  outline-offset: 2px;
}
.catalog-search input:focus-visible {
  outline: none;
}
.single-listing { max-width: 960px; }
.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.catalog-head h2 {
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 590;
  letter-spacing: -.04em;
}
.shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 16px 0 24px;
  border-bottom: 1px solid var(--border);
}
.shop-chips button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  margin-bottom: -1px;
  padding: 0 1px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  color: var(--softtext);
}
.shop-chips button:hover, .shop-chips button[aria-pressed="true"] { color: #f1f1f3; }
.shop-chips button[aria-pressed="true"] { border-bottom-color: #e6e6ec; }
.shop-chips button small { font-size: 11px; color: var(--softtext); }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr));
  gap: 18px;
}
.shop-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #161618;
  border: 1px solid #303034;
  border-radius: 14px;
}
.art-link {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0b0b0e;
  aspect-ratio: 1.85;
}
.art-link img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.uploaded-art img { width: 90%; height: 92%; object-fit: contain; }
.uploaded-art.dark-art {
  isolation: isolate;
  background-image: radial-gradient(ellipse at 50% 92%, var(--art-reflection), transparent 72%);
}
.dark-art img { mix-blend-mode: lighten; }
.shop-card-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 22px; }
.shop-card h3 {
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 590;
  line-height: 1.16;
  letter-spacing: -.036em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.shop-card h3 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.listing-attributes { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 9px; font-size: 13px; color: #c6c6ce; }
.listing-attributes span + span::before { content: "·"; padding-right: 7px; color: #898990; }
.listing-description {
  margin: 14px 0 24px;
  color: var(--softtext);
  line-height: 1.55;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #ffffff17;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.listing-price { display: inline-flex; align-items: baseline; gap: 5px; }
.listing-price strong { font-size: 22px; font-weight: 560; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.listing-price small { color: var(--softtext); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.listing-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #b3b3bb; }
.listing-stock::before { content: ""; width: 5px; height: 5px; background: #909099; border-radius: 50%; }
.listing-stock.available::before { background: #8fc3a5; }
.listing-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-left: auto;
  min-height: 44px;
  font-size: 13px;
  font-weight: 540;
  color: #ececf0;
}
.listing-details:hover { text-decoration: underline; text-underline-offset: 4px; }
.listing-details .icon { width: 14px; height: 14px; }
@media (min-width: 641px) {
  .single-listing .shop-card { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .single-listing .art-link { min-height: 280px; aspect-ratio: auto; }
  .single-listing .shop-card-copy { padding: clamp(28px, 3.2vw, 44px); justify-content: center; }
  .single-listing h3 { font-size: clamp(32px, 3.3vw, 43px); }
  .single-listing .listing-description { margin: 16px 0 26px; }
  .single-listing .listing-footer { margin-top: 0; }
}
.support-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 56px;
}
.support-section h2 {
  font-size: 27px;
}
.support-section p {
  font-size: 14px;
  color: var(--softtext);
  margin-top: 7px;
}
.store-footer {
  border-top: 1px solid #ffffff15;
  background: #090a0b;
}
.store-footer > .store-width {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
}
.store-footer .store-brand {
  font-size: 17px;
}
.store-footer .brand-stamp {
  width: 18px;
  height: 18px;
}
.store-footer nav {
  gap: 18px;
}
.store-footer nav a {
  font-size: 12px;
}
.storefront .page {
  min-height: calc(100dvh - 145px);
  padding-top: 52px;
}
.storefront .btn.primary {
  background: #efeff1;
  color: #1b1c1e;
  border-color: #efeff1;
}
.storefront .formpage {
  max-width: 510px;
}
.storefront .product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}
.storefront .page.productpage {
  width: min(1040px, calc(100% - 80px));
}
.product-cover {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--soft);
}
.storefront .detailcopy {
  padding: 8px 0;
}
.storefront .detailcopy h1 {
  font-size: 34px;
  margin: 10px 0 14px;
}
.storefront .detailcopy > .itemref {
  font:
    12px Inter,
    sans-serif;
  color: #a9aab3;
}
.faq-block {
  margin: 30px 0;
  scroll-margin-top: 18px;
}
.faq-block > h2 {
  margin-bottom: 12px;
}
.faq-block details {
  border-top: 1px solid var(--border);
  padding: 13px 0;
}
.faq-block details:last-child {
  border-bottom: 1px solid var(--border);
}
.faq-block summary {
  cursor: pointer;
  font-size: 14px;
  color: #e1e1e6;
}
.faq-block details p {
  margin: 9px 0 0;
  line-height: 1.7;
}
@media (max-width: 880px) {
  .store-width {
    width: calc(100% - 54px);
  }
  .hero-split {
    gap: 30px;
    padding-block: 58px;
  }
  .hero-panels {
    width: 100%;
  }
  .feature-panel {
    height: 102px;
    padding-left: 18px;
  }
  .store-nav {
    gap: 28px;
  }
  .store-nav nav {
    gap: 17px;
  }
  .storefront .product-detail {
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .store-width {
    width: calc(100% - 36px);
  }
  .store-nav {
    height: 59px;
  }
  .store-brand {
    font-size: 20px;
  }
  .nav-toggle {
    display: inline-flex;
    height: 36px;
    width: 32px;
  }
  .nav-toggle .icon {
    width: 21px;
    height: 21px;
  }
  .store-nav nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 9px;
    z-index: 5;
    background: #191a1d;
    box-shadow: 0 9px 28px #0007;
  }
  .store-nav nav.open {
    display: grid;
    gap: 0;
  }
  .store-nav nav a {
    padding: 10px 11px;
  }
  .store-nav-order {
    height: 33px;
    font-size: 12px;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 39px 30px;
  }
  .hero-message h1 {
    font-size: clamp(65px, 14vw, 85px);
    margin: 8px 0 11px;
  }
  .hero-message .hero-actions {
    margin-top: 18px;
  }
  .hero-summary {
    font-size: 14px;
  }
  .hero-panels {
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .feature-panel {
    height: 86px;
    padding: 12px;
  }
  .feature-panel > img {
    width: 61%;
    right: -14%;
    opacity: 0.55;
  }
  .feature-panel p {
    font-size: 10px;
    gap: 5px;
  }
  .feature-panel p .icon {
    width: 12px;
  }
  .feature-panel strong {
    font-size: 23px;
    gap: 4px;
  }
  .feature-panel strong small {
    font-size: 10px;
  }
  .feature-panel strong.delivery-type {
    font-size: 18px;
  }
  .review-section {
    padding: 25px 0;
  }
  .review-section h2 {
    font-size: 22px;
  }
  .review-empty {
    font-size: 11px;
    gap: 6px;
    margin-top: 12px;
    padding: 8px;
  }
  .review-empty > .icon {
    display: none;
  }
  .review-empty a {
    font-size: 10px;
    margin: 0;
    padding-left: 7px;
  }
  .shop-catalog {
    padding: 29px 0 37px;
  }
  .catalog-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog-search { width: 100%; }
  .shop-chips { gap: 0 13px; margin: 8px 0 16px; }
  .shop-grid { grid-template-columns: 1fr; gap: 16px; }
  .shop-card-copy { padding: 20px; }
  .shop-card h3 { font-size: 25px; }
  .art-link { aspect-ratio: 1.85; }
  .listing-description { margin: 12px 0 18px; }
  .support-section {
    display: grid;
    gap: 16px;
    padding-block: 32px;
  }
  .store-footer > .store-width {
    gap: 20px;
    flex-wrap: wrap;
  }
  .storefront .page,
  .storefront .page.productpage {
    width: calc(100% - 36px);
    padding-top: 28px;
  }
  .storefront .product-detail {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-cover {
    aspect-ratio: 2.6;
  }
  .storefront .detailcopy h1 {
    font-size: 28px;
  }
  .storefront .btn {
    min-height: 38px;
  }
  .storefront .back {
    margin-bottom: 18px;
  }
  .review-grid {
    grid-auto-columns: 85%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-panel > img,
  .art-link img {
    transition: none;
  }
}

/* Shopping and checkout */
.header-cart,
.quantity-stepper,
.summary-pair,
.purchase-total,
.purchase-lines li,
.payment-choice,
.preview-note {
  display: flex;
  align-items: center;
}
.header-cart {
  gap: 6px;
  padding: 7px 9px;
  color: #cccdd3;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 6px;
}
.header-cart:hover {
  background: #1c1d20;
}
.header-cart b {
  font:
    500 10px/17px Inter,
    sans-serif;
  min-width: 18px;
  text-align: center;
  border-radius: 9px;
  background: #292a2e;
  color: #dedee3;
}
.purchase-controls {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.purchase-controls > form,
.purchase-controls > a {
  flex: 1;
}
.purchase-controls .shop-button {
  width: 100%;
  white-space: nowrap;
  font-size: 12px;
  min-height: 37px;
  padding-inline: 9px;
}
.shop-card .purchase-controls .icon {
  width: 13px;
}
.shop-button:disabled,
.quantity-stepper button:disabled {
  opacity: 0.42;
  cursor: default;
}
.purchase-page {
  padding-block: 46px 80px;
  min-height: calc(100dvh - 145px);
}
.purchase-page .back {
  margin-bottom: 14px;
}
.purchase-page h1 {
  font-size: clamp(29px, 3.2vw, 44px);
  font-weight: 575;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}
.purchase-page h1 small,
.purchase-panel h2 small {
  font-size: 13px;
  font-weight: 450;
  color: #9698a3;
  letter-spacing: 0;
}
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.9fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}
.basket-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto 72px;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid var(--border);
}
.basket-item:last-child {
  border-bottom: 1px solid var(--border);
}
.basket-item img {
  width: 68px;
  height: 59px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 7px;
}
.basket-product {
  display: grid;
  gap: 3px;
}
.basket-product small,
.basket-product span,
.purchase-lines small,
.purchase-panel h2 small {
  font-size: 12px;
  color: var(--softtext);
}
.basket-product a {
  font-weight: 540;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.basket-product em {
  font-size: 12px;
  font-style: normal;
  color: #d4b199;
}
.basket-price {
  font-size: 14px;
  text-align: right;
  font-weight: 520;
  letter-spacing: -0.02em;
}
.basket-edit {
  display: grid;
  justify-items: center;
  gap: 3px;
}
.quantity-stepper {
  border: 1px solid #36373b;
  border-radius: 6px;
  overflow: hidden;
}
.quantity-stepper button {
  width: 31px;
  height: 30px;
  background: #191a1c;
  color: #ebecef;
}
.quantity-stepper span {
  min-width: 25px;
  text-align: center;
  font-size: 13px;
}
.remove-item {
  font-size: 11px;
  color: var(--softtext);
  padding: 3px 7px;
}
.purchase-panel {
  padding: 21px;
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: 10px;
}
.purchase-panel h2,
.basket-empty h2 {
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -0.04em;
}
.summary-pair,
.purchase-total,
.purchase-lines li {
  justify-content: space-between;
  gap: 12px;
}
.summary-pair {
  margin: 17px 0;
  color: var(--softtext);
  font-size: 13px;
}
.summary-pair strong,
.purchase-lines strong {
  font-size: 13px;
  color: #e5e5e9;
  font-weight: 500;
}
.purchase-total {
  padding-top: 16px;
  margin: 16px 0 19px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.purchase-total strong {
  color: #eee;
  font-size: 21px;
  letter-spacing: -0.04em;
}
.purchase-total small {
  font-size: 10px;
  font-weight: 500;
  color: var(--softtext);
}
.full {
  width: 100%;
}
.basket-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 60px 10px;
  border-block: 1px solid var(--border);
}
.basket-empty > .icon {
  width: 27px;
  height: 27px;
  color: #babcc3;
}
.preview-note {
  gap: 9px;
  color: #bec0cc;
  background: #16171b;
  border: 1px solid #303137;
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.payment-options legend,
.email-label {
  font-size: 15px;
  font-weight: 550;
}
.payment-options legend {
  margin-bottom: 12px;
}
.email-label {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}
.email-label input {
  width: 100%;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.payment-choice {
  cursor: pointer;
  gap: 13px;
  background: var(--soft);
  border: 1px solid var(--border);
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.payment-choice:has(input:checked) {
  border-color: #696a73;
}
.payment-choice span {
  display: grid;
  gap: 2px;
}
.payment-choice strong {
  font-size: 14px;
  font-weight: 550;
}
.payment-choice small {
  color: var(--softtext);
  font-size: 12px;
}
.payment-choice input {
  margin-left: auto;
  accent-color: #b9b9c3;
}
.purchase-lines {
  list-style: none;
  margin: 15px 0;
  padding: 0;
}
.purchase-lines li {
  font-size: 13px;
  padding: 5px 0;
  overflow-wrap: anywhere;
}
.purchase-lines strong {
  white-space: nowrap;
}
.preview-result {
  margin-top: 20px;
}
@media (max-width: 800px) {
  .purchase-layout {
    grid-template-columns: 1fr;
  }
  .basket-item {
    grid-template-columns: 60px minmax(0, 1fr) auto 65px;
  }
  .basket-item img {
    width: 60px;
  }
}
@media (max-width: 640px) {
  .header-cart {
    gap: 4px;
    padding: 6px 3px;
  }
  .header-cart span {
    display: none;
  }
  .store-nav {
    gap: 7px;
  }
  .nav-actions {
    gap: 5px;
  }
  .purchase-page {
    padding-block: 26px 48px;
  }
  .basket-item {
    grid-template-columns: 43px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .basket-item img {
    width: 43px;
    height: 43px;
  }
  .basket-price {
    display: none;
  }
  .basket-edit {
    gap: 6px;
  }
  .purchase-panel {
    padding: 16px;
  }
  .preview-note {
    align-items: flex-start;
  }
  .preview-note > .icon {
    margin-top: 3px;
  }
}
@media (max-width: 640px) {
  .purchase-controls .shop-button,
  .purchase-panel .shop-button,
  .basket-empty .shop-button,
  .header-cart {
    min-height: 44px;
  }
  .quantity-stepper button,
  .remove-item {
    min-width: 44px;
    min-height: 44px;
  }
  .basket-edit {
    gap: 0;
  }
}

.product-cover.custom-icon, .basket-item img.custom-icon {
  object-fit: contain;
  background: var(--panel);
}
.product-cover.custom-icon { padding: 24px; }

.purchased-value { white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }

.language-picker { position: relative; flex: none; }
.language-picker summary {
  display: flex; align-items: center; gap: 4px; padding: 0 7px; min-height: 36px;
  font-size: 13px; font-weight: 550; line-height: 1; cursor: pointer; list-style: none;
  color: var(--softtext); border-radius: 6px;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary .icon { width: 12px; height: 12px; }
.language-picker summary:hover, .language-picker[open] summary { color: #fff; background: var(--soft); }
.language-picker ul {
  position: absolute; inset: calc(100% + 5px) 0 auto auto; z-index: 10; min-width: 140px;
  margin: 0; padding: 5px; list-style: none; border: 1px solid var(--border); border-radius: 9px;
  background: #191a1d; box-shadow: 0 8px 20px #0006;
}
.language-picker li a {
  display: flex; align-items: center; justify-content: space-between; min-height: 36px;
  padding-inline: 10px; border-radius: 5px; font-size: 13px;
}
.language-picker li a:hover, .language-picker a:focus-visible { background: #2b2c30; }
.language-picker a .icon { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .store-nav { gap: 10px; }
  .store-nav nav { gap: 10px; }
}
@media (max-width: 640px) {
  .language-picker summary { min-height: 44px; }
  .language-picker li a { min-height: 44px; }
}
@media (max-width: 400px) {
  .store-nav-order { padding-inline: 8px; }
  .nav-actions { gap: 2px; }
  .language-picker summary { padding-inline: 4px; }
}

.narrow-order-link { display: none; }
@media (max-width: 375px) {
  .store-nav-order { display: none; }
  .narrow-order-link { display: block; }
}
