/* Customer experiences — storefront, personal workspace, and account access. */
.customer-page {
  min-width: 0;
  padding: 8px 0 24px;
  --customer-radius: 20px;
}
.customer-page h1,
.customer-page h2,
.customer-page h3,
.auth-split h1,
.auth-split h2 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.13;
}
.customer-page h1 {
  font-size: clamp(32px, 3.8vw, 54px);
}
.customer-page h2 {
  font-size: 24px;
}
.customer-page h3 {
  font-size: 19px;
}
.customer-page p {
  color: var(--muted);
  line-height: 1.75;
}
.customer-page label small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.customer-page .section-head {
  margin: 24px 0 34px;
}
.customer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.customer-heading h1 {
  margin: 12px 0 14px;
}
.customer-heading p {
  max-width: 660px;
  font-size: 14px;
  margin: 0;
}
.customer-heading > .btn {
  flex-shrink: 0;
}
.customer-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.customer-breadcrumb a:hover {
  color: var(--accent);
}
.customer-breadcrumb > span:last-child {
  color: var(--text);
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}
.customer-page .empty-state,
.record-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-height: 300px;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.customer-page .empty-state h2,
.record-empty h2 {
  margin: 22px 0 10px;
  font-size: 26px;
}
.customer-page .empty-state p,
.record-empty p {
  font-size: 14px;
  max-width: 430px;
  margin: 0 0 22px;
}
.empty-symbol {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 32px;
  font-weight: 300;
}
.customer-page .record-empty {
  border: 0;
  background: transparent;
}
.customer-page .table-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.customer-page .table-card table {
  width: 100%;
  margin: 0;
}
.customer-page .table-card td {
  overflow-wrap: anywhere;
}
.customer-page .table-card td a {
  font-weight: 600;
  color: var(--accent);
}
.customer-page .table-card td code {
  font-size: 11px;
}
.customer-page .panel-form {
  display: grid;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.customer-page .panel-form label {
  display: grid;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}
.customer-page .panel-form .check-row {
  display: flex;
}
.customer-page .grid-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.customer-page .full-span {
  grid-column: 1/-1;
}
.customer-page .panel-form .btn {
  justify-self: start;
}
.customer-page .panel-form .btn.full {
  justify-self: stretch;
}
.customer-page .detail-panel,
.customer-page .summary-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.customer-page .detail-panel.wide {
  max-width: none;
  width: 100%;
}
.customer-page .summary-line,
.customer-page .summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.customer-page .summary-line > span {
  color: var(--muted);
}
.customer-page .summary-line strong {
  font-weight: 600;
  text-align: right;
}
.customer-page .summary-total {
  padding: 22px 0;
  border-bottom: 0;
  font-size: 15px;
}
.customer-page .summary-total strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.customer-page .muted-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.journey-number {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  border-radius: 10px;
  font-weight: 600;
}
.step-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0 0 6px;
}
.step-heading h2 {
  margin: 2px 0 7px;
  font-size: 20px;
}
.step-heading p {
  margin: 0;
  font-size: 12px;
}
.form-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.form-section-heading > span {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.form-section-heading h2 {
  font-size: 19px;
  margin: 0;
}
.form-section-heading p {
  font-weight: 400;
  font-size: 12px;
  margin: 5px 0 0;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 6px;
}
.form-footer > span {
  font-size: 11px;
  color: var(--muted);
}
.password-wrap {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}
.password-wrap input {
  padding-right: 75px;
  width: 100%;
}
.password-toggle {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 6px;
}
.password-toggle:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

/* Product discovery */
.catalog-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  align-items: center;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0 42px;
  margin: 0 0 32px;
  position: relative;
}
.catalog-masthead h1 {
  font-size: clamp(42px, 5vw, 70px);
  margin: 16px 0 20px;
  max-width: 780px;
}
.catalog-masthead p {
  max-width: 620px;
  font-size: 15px;
  margin: 0;
}
.listing-hero-card {
  border-left: 1px solid var(--line);
  padding-left: 34px;
  display: grid;
  gap: 8px;
}
.listing-hero-card strong {
  color: var(--accent);
  font-size: 70px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.07em;
}
.listing-hero-card > span {
  font-size: 12px;
  color: var(--text);
}
.listing-hero-card small {
  font-size: 10px;
  color: var(--muted);
}
.catalog-count-line {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: 12px 0;
}
.catalog-game-tabs {
  margin: -10px 0 32px;
}
.store-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.market-filter-shell {
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 22px;
}
.catalog-filter-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.catalog-filter-disclosure > summary::-webkit-details-marker {
  display: none;
}
.catalog-filter-disclosure:not([open]) > summary {
  border-bottom: 0;
  padding-bottom: 0;
}
.filter-heading {
  display: grid;
  gap: 4px;
  margin: 22px 0 16px;
}
.filter-heading > span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.filter-heading strong {
  font-size: 12px;
  font-weight: 500;
}
.market-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 10px;
}
.market-filter label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  grid-column: 1/-1;
}
.market-filter label:nth-child(4),
.market-filter label:nth-child(5) {
  grid-column: auto;
}
.market-filter select,
.market-filter input {
  min-height: 42px;
  font-size: 12px;
  border-radius: 8px;
  padding: 10px;
  background: var(--bg);
}
.market-filter .btn {
  grid-column: 1/-1;
  margin-top: 4px;
  min-height: 42px;
}
.filter-reset {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.store-toolbar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
  font-size: 12px;
}
.store-toolbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.store-toolbar strong {
  font-weight: 600;
}
.store-toolbar .btn {
  font-size: 11px;
}
.catalog-page .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.customer-page .product-purchase-row {
  flex-wrap: wrap;
}
.customer-page .product-purchase-row > form {
  flex: 1 1 105px;
}
.customer-page .product-purchase-row > form > .btn {
  width: 100%;
}
.customer-page .seller-line {
  flex-wrap: wrap;
  gap: 7px;
}

/* Product inspection and purchase */
.listing-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(340px, 0.83fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 64px;
}
.detail-media-zone {
  min-width: 0;
}
.media-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.product-gallery img {
  aspect-ratio: 1.5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  cursor: zoom-in;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.product-gallery img:first-child {
  grid-column: 1/-1;
  aspect-ratio: 1.13;
  border-radius: 20px;
  background: var(--surface);
}
.product-gallery img:hover {
  filter: brightness(1.07);
}
.detail-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.detail-trust-row span {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 0 8px;
}
.detail-trust-row span:last-child {
  border: 0;
}
.product-story {
  padding: 32px 0;
}
.product-story h2 {
  font-size: 30px;
  margin: 12px 0 18px;
}
.product-story p {
  font-size: 14px;
  white-space: normal;
  overflow-wrap: anywhere;
  margin-bottom: 0;
}
.detail-delivery-story {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 22px 15px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.detail-delivery-story strong {
  font-size: 13px;
  font-weight: 600;
}
.detail-delivery-story p {
  font-size: 12px;
  margin: 4px 0 0;
}
.customer-page .purchase-panel {
  padding: 30px;
  position: sticky;
  top: 108px;
  box-shadow: 0 15px 55px color-mix(in srgb, var(--bg) 12%, transparent);
}
.purchase-panel h1 {
  font-size: clamp(28px, 2.7vw, 40px);
  margin: 16px 0 24px;
}
.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.detail-specs > span {
  display: flex;
  flex-direction: column;
  padding: 16px;
  font-size: 10px;
  color: var(--muted);
  gap: 5px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-specs > span:nth-child(2n) {
  border-right: 0;
}
.detail-specs strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
}
.detail-features span {
  font-size: 9px;
  border-radius: 5px;
  background: var(--accent-soft);
  padding: 5px 8px;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
}
.official-store-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.official-store-card > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--theme-on-accent);
  border-radius: 9px;
  font-weight: 700;
  font-size: 11px;
}
.official-store-card strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.official-store-card small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}
.purchase-panel .price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}
.purchase-panel .product-price-stack {
  display: grid;
  gap: 3px;
}
.purchase-panel .price-line strong {
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -0.06em;
}
.purchase-panel .price-line del {
  color: var(--muted);
  font-size: 14px;
}
.purchase-panel .price-line > span {
  font-size: 10px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border-radius: 6px;
  padding: 6px 10px;
  white-space: nowrap;
}
.purchase-panel .stack-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  margin: 0 0 20px;
}
.purchase-panel .stack-actions form {
  display: block;
  min-width: 0;
}
.purchase-panel .stack-actions .btn {
  font-size: 11px;
  min-height: 48px;
  padding: 12px;
}
.purchase-panel .secure-note {
  display: block;
  padding: 17px 18px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  margin: 0 0 12px;
}
.secure-note strong {
  font-size: 12px;
  font-weight: 600;
}
.secure-note p {
  font-size: 11px;
  margin: 5px 0 0;
  line-height: 1.75;
}
.purchase-panel .trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 14px 0 20px;
}
.purchase-panel .trust-badges span {
  font-size: 8px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.purchase-panel .trust-badges span:before {
  content: "✓";
  color: var(--accent);
}
.whatsapp-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  margin-bottom: 14px;
  border-top: 1px solid var(--line);
}
.whatsapp-contact-card strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.whatsapp-contact-card span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.purchase-panel .secondary-actions {
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.purchase-panel .secondary-actions .btn {
  min-height: 38px;
  font-size: 10px;
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 8px;
}
.purchase-panel .secondary-actions .btn:hover {
  color: var(--text);
  background: var(--panel);
}

/* Cart */
.checkout-progress {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 40px;
  margin: 0 0 36px;
  border-bottom: 1px solid var(--line);
}
.checkout-progress li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  position: relative;
}
.checkout-progress li > span {
  font-size: 9px;
  border: 1px solid var(--line);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.checkout-progress li.active {
  color: var(--text);
}
.checkout-progress li.active > span {
  color: var(--accent);
  border-color: var(--accent);
}
.checkout-progress li.active:after {
  content: "";
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 32px;
  align-items: start;
}
.cart-items {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.customer-page .panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.customer-page .panel-title > span,
.customer-page .panel-title > a {
  font-size: 12px;
}
.customer-page .panel-title > a {
  color: var(--accent);
}
.customer-page .panel-title h2 {
  font-size: 19px;
  margin: 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cart-item-art {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  aspect-ratio: 0.85;
  background:
    radial-gradient(ellipse at 0 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent), var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.cart-item-art span {
  font-size: 62px;
  font-weight: 800;
  color: var(--accent);
  transform: skew(-8deg);
  line-height: 1;
  letter-spacing: -0.13em;
  margin-left: -10px;
}
.cart-item-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 0.1em;
}
.cart-item h2 {
  font-size: 17px;
  margin: 8px 0 7px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.cart-stock {
  font-size: 10px;
  color: var(--muted);
}
.cart-item-price {
  font-size: 18px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.cart-item-price .admin-price-sale {
  display: grid;
  gap: 5px;
}
.cart-item-price del {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.cart-item-remove {
  grid-column: 3;
  justify-self: end;
}
.cart-item-remove .btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 10px;
  padding: 8px 0;
  min-height: 32px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-help {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 24px;
}
.cart-help strong {
  font-size: 12px;
  font-weight: 500;
}
.cart-help p {
  font-size: 11px;
  margin: 4px 0 0;
}
.checkout-summary {
  position: sticky;
  top: 110px;
}
.checkout-summary h2 {
  font-size: 24px;
  margin: 12px 0 24px;
}
.checkout-summary .inline-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.checkout-summary .inline-form input {
  min-width: 0;
  width: 100%;
  font-size: 12px;
}
.checkout-summary .inline-form .btn {
  font-size: 11px;
  flex-shrink: 0;
  padding: 10px 14px;
}
.checkout-summary .terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 24px;
  line-height: 1.7;
}
.checkout-summary .terms-check input {
  margin-top: 3px;
  min-height: 0;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.checkout-summary .terms-check a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout-summary > .btn,
.checkout-summary > form > .btn {
  font-size: 12px;
}

/* Account pages inherit the same palette as navigation and the storefront. */
.account-workspace {
  color: var(--text);
}
.account-workspace .customer-page {
  max-width: 1440px;
  margin: 0 auto;
}
.account-workspace .customer-page input,
.account-workspace .customer-page textarea,
.account-workspace .customer-page select {
  color: var(--text);
  background: var(--page-2);
  border-color: var(--line-strong);
}
.account-workspace .customer-page .btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.account-workspace .customer-page .btn.primary {
  background: var(--accent);
  color: var(--theme-on-accent);
  border-color: var(--accent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 10%, transparent);
}
.account-workspace .customer-page .btn.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
.account-workspace .customer-page .eyebrow {
  color: var(--accent);
}
.account-workspace .customer-heading h1 {
  font-size: clamp(28px, 3vw, 43px);
}
.account-workspace .customer-heading {
  margin-top: 5px;
}

.account-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 30px;
  margin-bottom: 0;
}
.account-hero h1 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin: 12px 0 15px;
}
.account-hero p {
  font-size: 13px;
  max-width: 550px;
  margin: 0;
}
.account-hero > .btn {
  flex-shrink: 0;
}
.welcome-dot {
  color: var(--accent);
}
.dashboard-stats {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 36px;
}
.dashboard-stats .stat-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 23px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    transform 0.2s,
    border-color 0.2s;
  min-width: 0;
}
.dashboard-stats .stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.dashboard-stats .stat-card > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  gap: 10px;
}
.dashboard-stats .stat-card > span > span {
  font-size: 16px;
}
.dashboard-stats .stat-card > strong {
  font-size: 35px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.dashboard-stats .stat-card small {
  font-size: 10px;
  color: var(--muted);
}
.dashboard-stats .balance-stat {
  background: linear-gradient(115deg, var(--surface-2), var(--surface-3));
  border-color: var(--line-strong);
  color: var(--text);
}
.dashboard-stats .balance-stat > span,
.dashboard-stats .balance-stat small {
  color: var(--text-soft);
}
.dashboard-stats .balance-stat > strong {
  color: var(--text);
}
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 26px;
  align-items: start;
}
.dashboard-main,
.dashboard-side {
  display: grid;
  gap: 18px;
}
.workspace-section-title {
  margin: 4px 0 1px;
}
.workspace-section-title h2 {
  font-size: 21px;
  margin: 8px 0 0;
}
.dashboard-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
}
.dashboard-panel .panel-title {
  font-weight: 600;
}
.dashboard-panel > .muted {
  font-size: 12px;
  padding: 10px 0;
  color: var(--muted);
}
.dashboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.dashboard-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.dashboard-row strong {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.activity-empty {
  display: flex;
  gap: 18px;
  padding: 12px 0;
}
.activity-empty > span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--accent);
  border-radius: 12px;
  font-size: 19px;
}
.activity-empty strong {
  font-size: 13px;
  font-weight: 500;
}
.activity-empty p {
  font-size: 12px;
  margin: 5px 0 10px;
}
.activity-empty a {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.profile-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 27px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.profile-mini > .eyebrow {
  align-self: flex-start;
  font-size: 8px;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.profile-avatar {
  object-fit: cover;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
}
.profile-mini > strong {
  font-size: 19px;
  font-weight: 600;
  margin-top: 14px;
}
.profile-mini > span:not(.eyebrow) {
  font-size: 10px;
  margin-top: 6px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.profile-mini > code {
  font-size: 10px;
  padding: 7px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  letter-spacing: 0.06em;
  margin-top: 18px;
}
.profile-edit-link {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
  color: var(--muted);
}
.dashboard-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-modules .quick-tile {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.dashboard-modules .quick-tile:hover {
  background: var(--panel);
  transform: translateY(-2px);
}
.dashboard-modules .quick-tile strong {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.dashboard-modules .quick-tile > span {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.5;
}
.dashboard-panel .panel-form {
  padding: 20px 0 0;
  border: 0;
  background: none;
  border-radius: 0;
}
.dashboard-panel .secure-note {
  padding: 15px;
  background: var(--panel);
  border-radius: 10px;
  margin-bottom: 18px;
}
.dashboard-panel .full-span > a {
  font-size: 11px;
  color: var(--accent);
}
.profile-settings-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.settings-context {
  position: sticky;
  top: 110px;
  padding-top: 8px;
}
.settings-context h2 {
  font-size: 27px;
  margin: 13px 0;
}
.settings-context p {
  font-size: 12px;
  margin: 0;
}
.settings-note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 26px;
}
.settings-note strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.profile-form.narrow {
  max-width: 760px;
  width: 100%;
}
.profile-photo-field {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 10px 20px;
  align-items: center;
  margin-bottom: 4px;
}
.profile-photo-field .profile-avatar.large {
  width: 80px;
  height: 80px;
  border-radius: 23px;
  grid-row: 1/3;
  font-size: 28px;
}
.profile-photo-field .check-row {
  grid-column: 2;
  font-size: 10px;
}
.profile-photo-field input[type="file"] {
  font-size: 11px;
  padding: 8px;
}
.profile-photo-field input::file-selector-button {
  font-size: 10px;
}
.form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}
.balance-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.bank-transfer-step > .step-heading {
  margin-bottom: 25px;
}
.bank-list {
  display: grid;
  gap: 16px;
}
.bank-list.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bank-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.bank-card:after {
  content: "↗";
  position: absolute;
  right: 22px;
  top: 22px;
  font-size: 19px;
  color: var(--muted);
}
.bank-card strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  padding-right: 25px;
}
.bank-card > span {
  font-size: 11px;
  color: var(--muted);
}
.bank-card code {
  display: block;
  padding: 16px 0 13px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-size: clamp(11px, 1.05vw, 14px);
  line-height: 1.7;
  color: var(--text);
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
  user-select: all;
}
.bank-card small {
  font-size: 11px;
  color: var(--muted);
}
.balance-notification .step-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.balance-chip {
  display: grid;
  gap: 8px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 180px;
}
.balance-chip > span {
  font-size: 10px;
  color: var(--muted);
}
.balance-chip > strong {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.withdrawal-layout {
  grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr);
}
.withdrawal-layout .panel-form > .step-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

/* Support, inbox and order delivery */
.support-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.customer-page .support-compose {
  padding: 25px;
  position: sticky;
  top: 110px;
}
.support-compose > .step-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.support-compose .panel-form {
  padding: 24px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  gap: 20px;
}
.ticket-list {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.ticket-list > .panel-title {
  margin: 0;
  padding: 0 0 17px;
}
.ticket-item {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.ticket-item > strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.ticket-item small {
  font-size: 10px;
  color: var(--muted);
}
.ticket-item > span {
  font-size: 12px;
  color: var(--muted);
}
.ticket-item > p {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}
.ticket-item .admin-message {
  padding: 17px 20px;
  background: var(--panel);
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  width: 100%;
  margin-top: 6px;
}
.ticket-item .admin-message small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
}
.ticket-item .admin-message p {
  font-size: 12px;
  margin: 7px 0 0;
}
.ticket-empty {
  min-height: 300px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 38px;
}
.ticket-empty .empty-symbol {
  margin-bottom: 15px;
}
.notification-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
}
.notification-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 27px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}
.notification-card.warning {
  border-left-color: var(--amber);
}
.notification-card.error {
  border-left-color: var(--danger);
}
.notification-card.success {
  border-left-color: var(--green);
}
.notification-card h2 {
  font-size: 20px;
  margin: 14px 0 10px;
}
.notification-card p {
  font-size: 13px;
  max-width: 750px;
  margin: 0;
  overflow-wrap: anywhere;
}
.notification-card > small {
  color: var(--muted);
  font-size: 10px;
  padding-top: 4px;
}
.order-delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: start;
}
.delivery-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.delivery-heading h2 {
  font-size: 23px;
  margin: 8px 0 0;
}
.delivery-heading .journey-number {
  width: 45px;
  height: 45px;
  font-size: 19px;
  flex-basis: 45px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, transparent);
}
.delivery-content-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0 16px;
}
.delivery-content-heading h3 {
  font-size: 17px;
  margin: 0;
}
.delivery-content-heading > span {
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--panel);
  color: var(--muted);
}
.delivery-box {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.9;
  font:
    12px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 23px;
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  user-select: all;
  margin: 0;
}
.delivery-help {
  padding: 20px 0;
}
.delivery-help h2 {
  font-size: 24px;
  margin: 14px 0;
}
.delivery-help p {
  font-size: 12px;
  margin: 0 0 24px;
}
.delivery-help .btn {
  font-size: 11px;
  min-height: 44px;
  width: 100%;
}
.delivery-help .muted-link {
  display: block;
  font-size: 11px;
  margin-top: 18px;
  text-align: center;
}
.invite-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.6fr) minmax(0, 1fr);
  gap: 35px;
  margin-bottom: 28px;
  align-items: center;
}
.invite-card-art {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1.35;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--accent) 40%, transparent), var(--surface-2));
  overflow: hidden;
  position: relative;
  color: var(--accent);
  gap: 8px;
}
.invite-card-art:before,
.invite-card-art:after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 50%;
  transform: rotate(-30deg) scaleX(1.8);
}
.invite-card-art:after {
  transform: rotate(30deg) scaleX(1.8);
}
.invite-card-art > span:nth-child(odd) {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.12em;
  z-index: 1;
}
.invite-card-art > span:nth-child(2) {
  font-size: 28px;
  margin: 0 10px;
}
.invite-card h2 {
  font-size: 29px;
  margin: 13px 0 18px;
}
.invite-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin: 22px 0 10px;
}
.invite-link {
  display: block;
  padding: 15px 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.8;
  background: var(--panel);
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 8px;
  user-select: all;
}

/* Account access: one strong story beside a focused form. */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1180px;
  margin: 22px auto 58px;
  min-height: 720px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.auth-story {
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 82%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 58%), var(--surface-2);
  padding: 42px;
  overflow: hidden;
  color: var(--text);
}
.auth-story-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.auth-logo-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  background: var(--accent);
  color: var(--theme-on-accent);
  font-size: 19px;
  font-weight: 900;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
  letter-spacing: -0.07em;
}
.auth-brand-dot {
  font-weight: 400;
  font-size: 9px;
  color: var(--muted);
  margin-left: -7px;
  margin-top: -12px;
}
.auth-story-copy {
  position: relative;
  z-index: 2;
  padding-top: 57px;
}
.auth-story .eyebrow {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.auth-story-copy h2 {
  font-size: clamp(37px, 4vw, 55px);
  margin: 18px 0 23px;
  line-height: 1.07;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.auth-story-copy p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 345px;
  margin: 0;
}
.auth-orbit {
  height: 215px;
  width: 100%;
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 10px;
  flex: 1;
  min-height: 150px;
}
.auth-orbit-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 50%;
  transform: rotate(-27deg) scaleX(1.7) scaleY(0.65);
}
.auth-orbit-ring:nth-child(2) {
  transform: rotate(33deg) scaleX(1.7) scaleY(0.65);
}
.auth-orbit-core {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 135px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.12em;
  transform: skew(-6deg);
  margin-left: -15px;
  text-shadow: 18px 15px 0 color-mix(in srgb, var(--accent) 10%, transparent);
}
.auth-orbit-label {
  position: absolute;
  bottom: 4px;
  right: 0;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.23em;
}
.auth-story-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
  font-size: 7px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.auth-form-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 45px 55px;
  background: var(--surface);
  color: var(--text);
  position: relative;
}
.auth-back {
  align-self: flex-start;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 45px;
}
.auth-card {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 380px;
  margin: auto;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}
.auth-card .eyebrow {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--accent);
}
.auth-card h1 {
  font-size: 35px;
  letter-spacing: -0.05em;
  line-height: 1.14;
  margin: 0;
}
.auth-card .auth-lead {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: -7px 0 8px;
}
.auth-card label {
  display: grid;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
}
.auth-card input {
  color: var(--text);
  background: var(--page-2);
  border: 1px solid var(--line-strong);
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 2px 3px color-mix(in srgb, var(--bg) 2%, transparent);
}
.auth-card input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
}
.auth-form-pane .auth-card input:not([type="hidden"]),
.auth-form-pane .auth-card select,
.auth-form-pane .auth-card textarea {
  background: var(--page-2);
  color: var(--text);
  border-color: var(--line-strong);
}
.auth-form-pane .password-field .password-toggle {
  background: var(--surface-3);
  color: var(--text-soft);
}
.auth-card .password-wrap input {
  padding-right: 75px;
}
.auth-card .btn.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--theme-on-accent);
  min-height: 49px;
  font-size: 12px;
  box-shadow: 0 5px 16px color-mix(in srgb, var(--accent) 14%, transparent);
  margin-top: 4px;
  border-radius: 8px;
}
.auth-card .btn.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 6px;
  font-size: 10px;
  line-height: 1.7;
  flex-wrap: wrap;
}
.auth-links a {
  color: var(--text-soft);
  text-decoration: none;
}
.auth-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  margin-top: 38px;
}
.auth-form-note > span {
  font-size: 15px;
  color: var(--accent);
}
.auth-split:before,
.auth-split:after,
.auth-card:before,
.auth-card:after {
  display: none;
}

/* Community and account purchase applications */
.publishers-page .customer-heading {
  padding: 25px 0 42px;
  margin-bottom: 36px;
}
.publishers-page .customer-heading h1 {
  max-width: 700px;
  font-size: clamp(38px, 4.7vw, 64px);
}
.directory-count {
  display: grid;
  gap: 12px;
  border-left: 1px solid var(--line);
  padding-left: 35px;
  min-width: 160px;
}
.directory-count strong {
  font-size: 65px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: var(--accent);
}
.directory-count span {
  font-size: 10px;
  color: var(--muted);
}
.publisher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.publisher-card {
  display: block;
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.publisher-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.publisher-cover {
  height: 140px;
  background:
    radial-gradient(ellipse at 75% 120%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%),
    repeating-linear-gradient(
      -40deg,
      transparent,
      transparent 18px,
      color-mix(in srgb, var(--accent) 5%, transparent) 19px,
      transparent 20px
    ),
    var(--surface-2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.publisher-card:nth-child(3n + 2) .publisher-cover {
  background:
    radial-gradient(ellipse at 75% 120%, color-mix(in srgb, var(--blue) 25%, transparent), transparent 60%), var(--surface-2);
}
.publisher-card:nth-child(3n + 3) .publisher-cover {
  background:
    radial-gradient(ellipse at 75% 120%, color-mix(in srgb, var(--amber) 25%, transparent), transparent 60%), var(--surface-2);
}
.publisher-cover > span:last-child {
  font-size: 17px;
}
.publisher-identity {
  height: 45px;
  position: relative;
  margin: 0 26px;
}
.publisher-identity > img,
.publisher-placeholder {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85px;
  height: 85px;
  object-fit: cover;
  border: 5px solid var(--surface);
  border-radius: 24px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--theme-on-accent);
  font-size: 27px;
  font-weight: 600;
}
.publisher-card-content {
  padding: 5px 26px 26px;
  display: flex;
  flex-direction: column;
}
.publisher-card h2 {
  font-size: 26px;
  margin: 16px 0;
}
.publisher-card p {
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  margin: 17px 0 22px;
}
.publisher-card .btn {
  align-self: flex-start;
  font-size: 11px;
}
.publisher-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px dashed color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 8px;
  background: var(--accent-soft);
  padding: 12px 15px;
}
.publisher-coupon > span {
  font-size: 10px;
  color: var(--muted);
}
.publisher-coupon code {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  user-select: all;
}
.account-sale-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 65px;
  align-items: start;
  padding-top: 25px;
}
.account-sale-intro {
  position: sticky;
  top: 120px;
}
.account-buy-hero {
  background: none;
  padding: 0;
  border: 0;
  margin: 0;
}
.account-buy-hero h1 {
  font-size: clamp(40px, 4.3vw, 64px);
  margin: 20px 0 24px;
  letter-spacing: -0.06em;
}
.account-buy-hero p {
  font-size: 14px;
  max-width: 390px;
  margin: 0;
}
.sale-process {
  list-style: none;
  padding: 30px 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 27px;
}
.sale-process li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.sale-process li > span {
  font-size: 10px;
  color: var(--accent);
  padding-top: 2px;
}
.sale-process h2 {
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.sale-process p {
  font-size: 12px;
  max-width: 290px;
  margin: 0;
}
.account-sale-intro > .btn {
  font-size: 11px;
}
.customer-page .account-buy-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  padding: 32px;
}
.account-buy-form label {
  font-size: 11px !important;
}
.account-buy-form .form-section-heading:first-of-type {
  border: 0;
  padding: 0;
  margin: 0;
}
.account-buy-form .form-section-heading h2 {
  font-size: 20px;
}
.account-buy-form .form-section-heading p {
  font-size: 11px;
}
.account-buy-form input,
.account-buy-form textarea {
  font-size: 12px;
}
.account-buy-form label small {
  font-size: 9px;
}
.account-buy-form label:has(input[type="file"]) {
  padding: 22px;
  background: var(--accent-soft);
  border: 1px dashed color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 12px;
}
.account-buy-form label input[type="file"] {
  padding: 10px;
  background: transparent;
  border: 0;
}
.zorunlu {
  color: var(--accent);
}

/* Journal, information pages, reviews and errors */
.customer-page .content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.customer-page .content-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
  transition: transform 0.2s;
}
.customer-page .content-card:hover {
  transform: translateY(-4px);
}
.customer-page .content-card > img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
}
.customer-page .content-card h3 {
  font-size: 25px;
  margin: 0 0 12px;
  line-height: 1.3;
}
.customer-page .content-card p {
  font-size: 12px;
  margin: 0;
}
.reading-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 820px);
  gap: 55px;
  justify-content: center;
  align-items: start;
  margin: 30px auto;
}
.reading-aside {
  display: grid;
  position: sticky;
  top: 120px;
  gap: 20px;
  padding-top: 10px;
}
.reading-aside > a {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.reading-aside > span {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-top: 14px;
}
.reading-aside p {
  font-size: 11px;
  margin: 0;
  max-width: 140px;
}
.customer-page .article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 42px;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}
.customer-page .article > img {
  width: calc(100% + 84px);
  max-width: none;
  margin: -42px -42px 40px;
  aspect-ratio: 1.85;
  object-fit: cover;
}
.customer-page .article h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  margin: 20px 0 32px;
  line-height: 1.18;
}
.customer-page .article > div {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.review-all-section {
  margin: 35px 0 50px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.reviews-page .review-carousel {
  position: relative;
  padding-bottom: 56px;
}
.reviews-page .quote-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 4px 0 15px;
}
.reviews-page .review-quote,
.reviews-page .review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  scroll-snap-align: start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 235px;
  min-width: 0;
}
.reviews-page .review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.reviews-page .review-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 13px;
  font-size: 13px;
  font-weight: 600;
}
.reviews-page .review-head strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.reviews-page .review-head small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.reviews-page .review-quote > p,
.reviews-page .review-card > p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.reviews-page .review-quote > span,
.reviews-page .review-card > span {
  font-size: 10px;
  color: var(--accent);
  margin-top: auto;
}
.reviews-page .review-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}
.reviews-page .review-arrow-left {
  right: 52px;
}
.reviews-page .review-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.reviews-page .review-arrow.is-disabled {
  opacity: 0.4;
  cursor: default;
}
.reviews-page .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.review-all-section[hidden] {
  display: none;
}
.review-all-copy {
  margin-bottom: 24px;
}
.review-all-copy h2 {
  font-size: 29px;
  margin: 12px 0;
}
.review-all-copy p {
  font-size: 13px;
  margin: 0;
}
.review-submit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 45px 0;
  margin-top: 50px;
}
.review-submit-copy h2 {
  font-size: clamp(28px, 3.3vw, 43px);
  max-width: 500px;
  margin: 18px 0 24px;
}
.review-submit-copy p {
  font-size: 13px;
  max-width: 400px;
}
.review-submit-panel .panel-form {
  padding: 25px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.review-submit-panel > .muted {
  font-size: 13px;
}
.review-submit-panel > .btn {
  margin-top: 12px;
}
.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px 70px;
  min-height: 65vh;
  text-align: center;
  max-width: 820px;
  margin: 25px auto;
}
.error-orbit {
  width: 230px;
  height: 150px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 0 25px;
}
.error-orbit:before,
.error-orbit:after {
  content: "";
  position: absolute;
  width: 190px;
  height: 100px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 50%;
  transform: rotate(-26deg);
}
.error-orbit:after {
  transform: rotate(26deg);
}
.error-orbit span {
  font-size: 100px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -0.12em;
  margin-left: -12px;
  line-height: 1;
}
.error-page h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 20px 0 14px;
  letter-spacing: -0.05em;
}
.error-page > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 430px;
  line-height: 1.8;
  margin: 0 0 30px;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Tablet reshapes the workspace; mobile becomes a compact, vertical flow. */
@media (min-width: 1600px) {
  .catalog-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .store-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
  }
  .market-filter-shell {
    padding: 18px;
  }
  .catalog-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .listing-detail {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
  }
  .customer-page .purchase-panel {
    padding: 25px;
  }
  .purchase-panel .stack-actions {
    grid-template-columns: 1fr;
  }
  .purchase-panel .secondary-actions {
    grid-template-columns: 1fr 1fr;
  }
  .account-sale-layout {
    gap: 35px;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  }
  .account-buy-hero h1 {
    font-size: 47px;
  }
  .customer-page .account-buy-form {
    padding: 25px;
  }
  .dashboard-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 22px;
  }
  .dashboard-stats {
    gap: 12px;
  }
  .dashboard-stats .stat-card {
    padding: 21px 17px;
  }
  .dashboard-stats .stat-card > strong {
    font-size: 29px;
  }
  .dashboard-stats .stat-card small {
    font-size: 9px;
  }
  .profile-settings-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 25px;
  }
  .support-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
  }
  .customer-page .support-compose {
    padding: 22px;
  }
  .withdrawal-layout {
    grid-template-columns: 1fr;
  }
  .withdrawal-layout > .panel-form {
    max-width: 700px;
    width: 100%;
  }
  .auth-form-pane {
    padding: 40px;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-story-copy h2 {
    font-size: 46px;
  }
  .auth-split {
    min-height: 690px;
  }
  .reading-layout {
    gap: 32px;
    grid-template-columns: 150px minmax(0, 1fr);
  }
}
@media (max-width: 980px) {
  .customer-heading {
    align-items: flex-start;
  }
  .customer-heading h1 {
    font-size: 37px;
  }
  .customer-heading > .btn {
    font-size: 11px;
  }
  .catalog-masthead {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 25px;
  }
  .listing-hero-card {
    padding-left: 25px;
  }
  .listing-hero-card strong {
    font-size: 55px;
  }
  .listing-hero-card > span {
    font-size: 10px;
  }
  .catalog-masthead h1 {
    font-size: 52px;
  }
  .listing-detail {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.95fr);
    gap: 20px;
  }
  .purchase-panel h1 {
    font-size: 29px;
  }
  .customer-page .purchase-panel {
    padding: 22px;
  }
  .detail-specs > span {
    padding: 13px;
  }
  .detail-specs strong {
    font-size: 13px;
  }
  .product-gallery img:first-child {
    aspect-ratio: 0.9;
  }
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
  }
  .cart-items {
    padding: 22px;
  }
  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px 15px;
  }
  .cart-item h2 {
    font-size: 15px;
  }
  .cart-item-price {
    grid-column: 2;
    text-align: left;
    font-size: 16px;
  }
  .cart-item-remove {
    position: absolute;
    bottom: 22px;
    right: 0;
  }
  .cart-item-art {
    grid-row: 1/3;
  }
  .cart-item-art span {
    font-size: 50px;
  }
  .customer-page .checkout-summary {
    padding: 23px;
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }
  .dashboard-side > .workspace-section-title {
    display: none;
  }
  .dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .dashboard-stats .stat-card {
    gap: 15px;
  }
  .dashboard-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .balance-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }
  .bank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .balance-notification {
    max-width: none;
  }
  .customer-page .support-compose {
    position: static;
  }
  .support-compose .panel-form {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .support-compose .panel-form label:has(textarea) {
    grid-column: 1/-1;
  }
  .support-compose .panel-form button {
    grid-column: 1/-1;
  }
  .profile-settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-context {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .settings-context > .eyebrow,
  .settings-context > h2,
  .settings-context > p {
    grid-column: 1;
  }
  .settings-note {
    grid-column: 2;
    grid-row: 1/4;
    border-top: 0;
    border-left: 1px solid var(--line);
    margin: 0;
    padding: 0 0 0 25px;
    align-self: center;
  }
  .profile-form.narrow {
    max-width: none;
  }
  .publisher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .directory-count {
    min-width: 125px;
    padding-left: 25px;
  }
  .publishers-page .customer-heading h1 {
    font-size: 48px;
  }
  .account-sale-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .account-sale-intro {
    position: static;
  }
  .account-buy-hero h1 {
    font-size: 53px;
  }
  .account-buy-hero h1 br {
    display: none;
  }
  .account-buy-hero p {
    max-width: 600px;
  }
  .sale-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 27px;
    padding: 25px 0;
  }
  .sale-process li {
    gap: 10px;
  }
  .sale-process h2 {
    font-size: 14px;
  }
  .sale-process p {
    font-size: 11px;
  }
  .account-sale-intro > .btn {
    margin-top: 5px;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-form-pane {
    padding: 35px;
  }
  .auth-story-copy h2 {
    font-size: 40px;
  }
  .auth-orbit-ring {
    width: 150px;
    height: 180px;
  }
  .auth-story-foot {
    font-size: 6px;
    gap: 10px;
  }
  .auth-back {
    margin-bottom: 35px;
  }
  .auth-card h1 {
    font-size: 31px;
  }
  .auth-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .customer-page .content-grid {
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .reading-aside {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }
  .reading-aside > a {
    padding: 0;
    border: 0;
  }
  .reading-aside > span {
    margin: 0;
  }
  .reading-aside > p {
    display: none;
  }
  .review-submit-section {
    gap: 30px;
  }
  .invite-card {
    gap: 25px;
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .customer-page {
    padding-top: 0;
  }
  .customer-page h1 {
    font-size: 34px;
  }
  .customer-page .section-head {
    margin: 8px 0 26px;
  }
  .customer-heading {
    flex-direction: column;
    gap: 19px;
    padding-bottom: 25px;
  }
  .customer-heading h1 {
    margin: 12px 0;
    line-height: 1.13;
  }
  .customer-heading p {
    font-size: 12px;
  }
  .customer-heading > .btn {
    min-height: 42px;
  }
  .customer-breadcrumb {
    margin-bottom: 16px;
    font-size: 10px;
    gap: 8px;
  }
  .customer-page .panel-form {
    padding: 22px;
    gap: 20px;
  }
  .customer-page .grid-form {
    grid-template-columns: 1fr;
  }
  .customer-page .detail-panel,
  .customer-page .summary-panel {
    padding: 22px;
    border-radius: 15px;
  }
  .customer-page .empty-state,
  .record-empty {
    min-height: 270px;
    padding: 32px 20px;
  }
  .customer-page .empty-state h2,
  .record-empty h2 {
    font-size: 23px;
  }
  .customer-page .empty-state p,
  .record-empty p {
    font-size: 12px;
  }
  .customer-page .table-card {
    border-radius: 14px;
  }
  .customer-page .table-card thead {
    display: none;
  }
  .customer-page .table-card table,
  .customer-page .table-card tbody {
    display: block;
  }
  .customer-page .table-card tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }
  .customer-page .table-card tr:last-child {
    border-bottom: 0;
  }
  .customer-page .table-card td {
    display: block;
    padding: 0;
    border: 0;
    font-size: 12px;
    min-width: 0;
  }
  .customer-page .table-card td:before {
    display: block;
    content: attr(data-label);
    font-size: 9px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 7px;
  }
  .customer-page .table-card td[data-label="Ürün"],
  .customer-page .table-card td[data-label="IBAN"] {
    grid-column: 1/-1;
  }
  .customer-page .table-card td:empty {
    display: none;
  }
  .customer-page .table-card table[hidden] {
    display: none;
  }
  .catalog-masthead {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 8px 0 26px;
    margin-bottom: 22px;
  }
  .catalog-masthead h1 {
    font-size: 43px;
    margin: 15px 0;
  }
  .catalog-masthead p {
    font-size: 12px;
  }
  .listing-hero-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 0;
    padding: 0;
  }
  .listing-hero-card strong {
    font-size: 26px;
  }
  .listing-hero-card > span {
    font-size: 10px;
  }
  .listing-hero-card .catalog-count-line,
  .listing-hero-card small {
    display: none;
  }
  .store-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .market-filter-shell {
    position: static;
    padding: 16px 18px;
    border-radius: 12px;
  }
  .market-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .market-filter label {
    grid-column: auto;
  }
  .market-filter label:nth-child(7) {
    grid-column: 1/-1;
  }
  .catalog-filter-disclosure > summary {
    font-size: 13px;
  }
  .filter-heading {
    margin: 20px 0 15px;
  }
  .filter-heading strong {
    display: none;
  }
  .store-toolbar {
    gap: 15px;
    margin-bottom: 20px;
  }
  .store-toolbar > span {
    font-size: 11px;
  }
  .store-toolbar > span > .muted {
    display: none;
  }
  .store-toolbar .btn {
    font-size: 10px;
    min-height: 37px;
    padding: 8px 11px;
  }
  .catalog-page .product-grid {
    gap: 13px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .listing-detail {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
  }
  .detail-media-zone {
    width: 100%;
    display: contents;
  }
  .media-label {
    order: 0;
    width: 100%;
    margin: 0;
    font-size: 8px;
  }
  .product-gallery {
    order: 1;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .product-gallery img:first-child {
    aspect-ratio: 1.2;
    border-radius: 15px;
  }
  .product-gallery img {
    border-radius: 8px;
  }
  .customer-page .purchase-panel {
    order: 2;
    position: static;
    width: 100%;
    padding: 24px;
  }
  .detail-trust-row {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 0 0 20px;
    gap: 5px;
  }
  .detail-trust-row span {
    font-size: 9px;
    padding: 0 6px;
  }
  .product-story {
    order: 4;
    padding: 6px 0;
  }
  .product-story h2 {
    font-size: 26px;
  }
  .product-story p {
    font-size: 12px;
  }
  .detail-delivery-story {
    order: 5;
    width: 100%;
    padding-top: 22px;
    margin-top: 3px;
  }
  .purchase-panel h1 {
    font-size: 29px;
    margin: 13px 0 22px;
  }
  .purchase-panel .stack-actions {
    grid-template-columns: 1fr 1.2fr;
  }
  .purchase-panel .stack-actions .btn {
    font-size: 11px;
  }
  .purchase-panel .secondary-actions {
    grid-template-columns: 1fr 1fr;
  }
  .detail-specs > span {
    padding: 14px;
  }
  .detail-specs strong {
    font-size: 14px;
  }
  .purchase-panel .price-line strong {
    font-size: 37px;
  }
  .customer-page .product-grid {
    gap: 14px;
  }
  .checkout-progress {
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .checkout-progress li {
    font-size: 9px;
    gap: 6px;
    padding-bottom: 14px;
  }
  .checkout-progress li > span {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cart-items {
    padding: 20px;
    border-radius: 15px;
  }
  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 20px 0;
  }
  .cart-item-price {
    font-size: 17px;
  }
  .cart-item-price .admin-price-sale {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .cart-item h2 {
    font-size: 16px;
  }
  .cart-help p {
    font-size: 10px;
  }
  .cart-help strong {
    font-size: 11px;
  }
  .checkout-summary {
    position: static;
  }
  .checkout-summary h2 {
    font-size: 23px;
  }
  .checkout-summary .summary-total strong {
    font-size: 31px;
  }
  .checkout-summary .btn.primary {
    min-height: 50px;
  }
  .cart-page .customer-heading > .btn {
    font-size: 11px;
  }
  .account-workspace .customer-heading h1 {
    font-size: 32px;
  }
  .account-hero {
    padding: 4px 0 25px;
    align-items: flex-start;
  }
  .account-hero h1 {
    font-size: 29px;
    margin: 10px 0 12px;
  }
  .account-hero p {
    font-size: 11px;
  }
  .account-hero > .btn {
    font-size: 10px;
    padding: 9px 11px;
    min-height: 38px;
    margin-top: 5px;
  }
  .account-hero .eyebrow {
    font-size: 8px;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
  }
  .dashboard-stats .stat-card {
    padding: 20px;
    gap: 17px;
  }
  .dashboard-stats .stat-card > span {
    font-size: 10px;
  }
  .dashboard-stats .stat-card > strong {
    font-size: 30px;
  }
  .dashboard-stats .stat-card small {
    font-size: 9px;
  }
  .dashboard-layout {
    gap: 25px;
  }
  .workspace-section-title h2 {
    font-size: 22px;
  }
  .dashboard-panel {
    padding: 21px;
    border-radius: 14px;
  }
  .dashboard-side {
    grid-template-columns: 1fr;
  }
  .dashboard-side > .workspace-section-title {
    display: block;
  }
  .profile-mini {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    text-align: left;
    gap: 5px 15px;
    padding: 22px;
  }
  .profile-mini > .eyebrow {
    grid-column: 1/-1;
    margin-bottom: 14px;
  }
  .profile-mini > .profile-avatar {
    grid-column: 1;
    grid-row: 2/4;
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .profile-mini > strong {
    grid-column: 2;
    font-size: 17px;
    margin: 0;
  }
  .profile-mini > span:not(.eyebrow) {
    grid-column: 2;
    margin: 0;
    font-size: 10px;
  }
  .profile-mini > code {
    grid-column: 1/-1;
    width: fit-content;
    margin-top: 14px;
  }
  .profile-edit-link {
    grid-column: 1/-1;
    margin-top: 14px;
    padding-top: 16px;
  }
  .dashboard-modules .quick-tile {
    padding: 20px;
  }
  .dashboard-modules .quick-tile strong {
    font-size: 12px;
  }
  .dashboard-modules .quick-tile > span {
    font-size: 10px;
  }
  .settings-context {
    display: block;
  }
  .settings-context > .eyebrow {
    font-size: 9px;
  }
  .settings-context h2 {
    font-size: 24px;
    margin: 10px 0;
  }
  .settings-context > p {
    font-size: 12px;
  }
  .settings-note {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
    margin-top: 20px;
  }
  .profile-photo-field {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px 15px;
  }
  .profile-photo-field .profile-avatar.large {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 23px;
  }
  .profile-photo-field input[type="file"] {
    font-size: 10px;
    width: 100%;
    min-width: 0;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .form-footer .btn {
    width: 100%;
  }
  .form-section-heading h2 {
    font-size: 18px;
  }
  .customer-page .profile-form {
    padding: 22px;
  }
  .form-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .bank-list,
  .bank-list.wide {
    grid-template-columns: 1fr;
  }
  .bank-card {
    padding: 23px;
    border-radius: 14px;
  }
  .bank-card code {
    font-size: 13px;
  }
  .balance-chip {
    padding: 15px 19px;
    min-width: 180px;
  }
  .balance-chip > strong {
    font-size: 25px;
  }
  .step-heading h2 {
    font-size: 19px;
  }
  .step-heading p {
    font-size: 11px;
  }
  .withdrawal-layout > .panel-form {
    max-width: none;
  }
  .support-layout {
    gap: 28px;
  }
  .support-compose .panel-form {
    grid-template-columns: 1fr;
    padding: 23px 0 0;
  }
  .support-compose .panel-form label:has(textarea) {
    grid-column: auto;
  }
  .customer-page .support-compose {
    padding: 22px;
  }
  .support-compose > .step-heading {
    padding-bottom: 20px;
  }
  .ticket-item {
    padding: 22px;
    border-radius: 14px;
  }
  .ticket-item > strong {
    font-size: 17px;
  }
  .ticket-item .admin-message {
    padding: 15px;
  }
  .notification-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 23px;
  }
  .notification-card h2 {
    font-size: 20px;
  }
  .notification-card p {
    font-size: 12px;
  }
  .notification-card > small {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 9px;
  }
  .order-delivery-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .delivery-heading h2 {
    font-size: 22px;
  }
  .delivery-content-heading {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .delivery-box {
    font-size: 11px;
    padding: 18px;
  }
  .delivery-help {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .delivery-help h2 {
    font-size: 23px;
  }
  .delivery-help .btn {
    width: auto;
  }
  .delivery-help .muted-link {
    text-align: left;
  }
  .order-detail-page .customer-heading h1 {
    overflow-wrap: anywhere;
    font-size: 27px;
  }
  .invite-card {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .invite-card-art {
    aspect-ratio: 2.2;
  }
  .invite-card-art > span:nth-child(odd) {
    font-size: 76px;
  }
  .invite-card h2 {
    font-size: 27px;
  }
  .invite-link {
    font-size: 10px;
  }
  .invite-card-content .summary-line {
    font-size: 12px;
  }
  .auth-split {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 520px;
    margin: 4px auto 24px;
    border-radius: 18px;
  }
  .auth-story {
    padding: 24px 26px;
    min-height: 198px;
  }
  .auth-story-brand {
    font-size: 9px;
  }
  .auth-logo-mark {
    width: 23px;
    height: 27px;
    font-size: 16px;
  }
  .auth-story-copy {
    padding-top: 23px;
    max-width: 80%;
  }
  .auth-story-copy > .eyebrow {
    font-size: 7px;
  }
  .auth-story-copy h2 {
    font-size: 31px;
    margin: 11px 0 0;
    line-height: 1.12;
  }
  .auth-story-copy h2 br {
    display: none;
  }
  .auth-story-copy p,
  .auth-story-foot {
    display: none;
  }
  .auth-orbit {
    position: absolute;
    right: -57px;
    bottom: -28px;
    width: 155px;
    height: 155px;
    min-height: 0;
    opacity: 0.25;
    margin: 0;
  }
  .auth-orbit-ring {
    width: 120px;
    height: 140px;
  }
  .auth-orbit-core {
    font-size: 110px;
  }
  .auth-orbit-label {
    display: none;
  }
  .auth-form-pane {
    padding: 25px 26px 30px;
  }
  .auth-back {
    font-size: 10px;
    margin-bottom: 27px;
  }
  .auth-card {
    gap: 20px;
    max-width: none;
  }
  .auth-card h1 {
    font-size: 31px;
  }
  .auth-card .auth-lead {
    font-size: 12px;
  }
  .auth-card > .eyebrow {
    font-size: 8px;
  }
  .auth-card label {
    font-size: 11px;
  }
  .auth-card input {
    min-height: 48px;
  }
  .auth-links {
    flex-direction: row;
    gap: 15px;
    font-size: 10px;
  }
  .auth-form-note {
    margin-top: 28px;
    font-size: 8px;
  }
  .publishers-page .customer-heading {
    padding: 6px 0 26px;
    margin-bottom: 26px;
    gap: 23px;
  }
  .publishers-page .customer-heading h1 {
    font-size: 39px;
  }
  .directory-count {
    display: flex;
    align-items: center;
    border: 0;
    padding: 0;
    gap: 13px;
  }
  .directory-count strong {
    font-size: 29px;
  }
  .directory-count > span {
    font-size: 10px;
  }
  .publisher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .publisher-cover {
    height: 100px;
    padding: 15px;
    font-size: 6px;
    letter-spacing: 0.06em;
  }
  .publisher-cover > span:last-child {
    font-size: 13px;
  }
  .publisher-identity {
    margin: 0 16px;
    height: 32px;
  }
  .publisher-identity > img,
  .publisher-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border-width: 4px;
    font-size: 22px;
  }
  .publisher-card-content {
    padding: 0 16px 19px;
  }
  .publisher-card h2 {
    font-size: 22px;
    margin: 15px 0 13px;
  }
  .publisher-coupon {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 6px;
  }
  .publisher-coupon > span {
    font-size: 8px;
  }
  .publisher-coupon code {
    font-size: 12px;
  }
  .publisher-card p {
    font-size: 10px;
    line-height: 1.7;
    margin: 13px 0 17px;
  }
  .publisher-card .btn {
    font-size: 9px;
    min-height: 37px;
    padding: 8px 10px;
  }
  .account-sale-layout {
    padding-top: 5px;
    gap: 28px;
  }
  .account-buy-hero h1 {
    font-size: 42px;
    margin: 15px 0 20px;
  }
  .account-buy-hero p {
    font-size: 12px;
  }
  .sale-process {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 23px 0;
    margin-top: 23px;
  }
  .sale-process li {
    gap: 16px;
  }
  .sale-process h2 {
    font-size: 15px;
  }
  .sale-process p {
    max-width: none;
    font-size: 11px;
  }
  .customer-page .account-buy-form {
    grid-template-columns: 1fr;
    padding: 23px;
    gap: 22px;
  }
  .account-buy-form label {
    font-size: 11px !important;
  }
  .account-buy-form .form-section-heading h2 {
    font-size: 19px;
  }
  .account-buy-form .form-section-heading p {
    font-size: 10px;
  }
  .account-buy-form label:has(input[type="file"]) {
    padding: 16px;
  }
  .account-buy-form > .btn {
    width: 100%;
  }
  .customer-page .content-grid {
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .customer-page .content-card > img {
    aspect-ratio: 1.6;
    border-radius: 12px;
    margin-bottom: 18px;
  }
  .customer-page .content-card h3 {
    font-size: 25px;
  }
  .customer-page .content-card p {
    font-size: 12px;
  }
  .customer-page .article {
    padding: 25px;
    border-radius: 15px;
  }
  .customer-page .article > img {
    width: calc(100% + 50px);
    margin: -25px -25px 25px;
    aspect-ratio: 1.4;
  }
  .customer-page .article h1 {
    font-size: 30px;
    margin: 15px 0 24px;
  }
  .customer-page .article > div {
    font-size: 13px;
    line-height: 1.9;
  }
  .reading-layout {
    margin: 15px 0;
    gap: 20px;
  }
  .reading-aside > a {
    font-size: 10px;
  }
  .reading-aside > span {
    font-size: 8px;
  }
  .review-submit-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
    margin-top: 35px;
  }
  .review-submit-copy h2 {
    font-size: 31px;
    margin: 16px 0 20px;
  }
  .review-submit-copy p {
    font-size: 12px;
  }
  .review-submit-panel .panel-form {
    padding: 24px 0 0;
  }
  .review-all-copy h2 {
    font-size: 26px;
  }
  .review-all-copy p {
    font-size: 12px;
  }
  .error-page {
    min-height: 65vh;
    padding: 35px 20px;
    margin: 5px 0;
  }
  .error-page h1 {
    font-size: 33px;
  }
  .error-page > p {
    font-size: 12px;
  }
  .error-orbit {
    margin-bottom: 15px;
  }
  .error-actions {
    width: 100%;
  }
  .error-actions .btn {
    font-size: 11px;
  }
}
@media (max-width: 390px) {
  .publisher-grid {
    grid-template-columns: 1fr;
  }
  .publisher-cover {
    height: 130px;
  }
  .publisher-identity > img,
  .publisher-placeholder {
    width: 75px;
    height: 75px;
  }
  .publisher-card-content {
    padding: 5px 20px 22px;
  }
  .publisher-coupon {
    flex-direction: row;
    align-items: center;
  }
  .publisher-card p {
    font-size: 12px;
  }
  .catalog-page .product-grid {
    gap: 10px;
  }
  .account-hero {
    flex-direction: column;
    gap: 15px;
  }
  .account-hero > .btn {
    margin: 0;
  }
  .purchase-panel .stack-actions {
    grid-template-columns: 1fr;
  }
  .purchase-panel .secondary-actions {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-progress {
    gap: 10px;
  }
  .checkout-progress li {
    font-size: 8px;
    gap: 5px;
  }
  .auth-story-copy h2 {
    font-size: 29px;
  }
  .auth-form-pane {
    padding: 25px 22px;
  }
  .auth-card h1 {
    font-size: 28px;
  }
  .dashboard-stats .stat-card {
    padding: 18px 15px;
  }
  .dashboard-stats .stat-card > strong {
    font-size: 28px;
  }
  .dashboard-stats .stat-card small {
    font-size: 8px;
  }
  .customer-page .panel-form {
    padding: 20px;
  }
  .support-compose .panel-form,
  .review-submit-panel .panel-form {
    padding: 22px 0 0;
  }
}
@media (max-width: 600px) {
  .catalog-page .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .customer-page .product-purchase-row > form {
    flex: 0 1 auto;
  }
  .customer-page .product-purchase-row > form > .btn {
    width: auto;
  }
  .catalog-page .product-info h3 {
    font-size: 22px;
  }
}
@media (max-width: 980px) {
  .reviews-page .quote-rail {
    grid-auto-columns: calc((100% - 22px) / 2);
  }
  .reviews-page .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .reviews-page .quote-rail {
    grid-auto-columns: 88%;
    gap: 15px;
  }
  .reviews-page .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reviews-page .review-quote,
  .reviews-page .review-card {
    padding: 24px;
    min-height: 220px;
  }
  .reviews-page .review-quote > p,
  .reviews-page .review-card > p {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .customer-page
    :is(
      input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(
          [type="hidden"]
        ),
      select,
      textarea
    ),
  .auth-split
    :is(
      input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(
          [type="hidden"]
        ),
      select,
      textarea
    ) {
    font-size: 16px;
  }
  .customer-page .btn[class],
  .auth-split .btn[class],
  .reviews-page .review-arrow {
    min-height: 44px;
  }
  .customer-page .password-field .password-toggle,
  .auth-split .password-field .password-toggle {
    min-height: 44px;
    top: 2px;
    bottom: 2px;
  }
  .customer-page .filter-reset {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
  }
  .auth-links a,
  .auth-back {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .auth-back {
    margin-bottom: 18px;
  }
  .auth-links {
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .customer-page *,
  .auth-split * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
