:root {
  color: #161616;
  background: #f3f3f1;
  font-family: "Inter", "SF Pro Text", "PingFang SC", sans-serif;
  line-height: 1.5;
  font-weight: 500;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --n-color-modal: #f5f5f5;
  --catalog-card-surface: #fff;
  --catalog-card-surface-secondary: #fefefe;
  --catalog-card-border: #dedee0;
  --catalog-card-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 0 1px 0 rgba(0, 0, 0, 0.06);
}

:root[data-theme="dark"] {
  --catalog-card-surface: #18181b;
  --catalog-card-surface-secondary: #232325;
  --catalog-card-border: #28282c;
  --catalog-card-shadow: 0 0 0 0 transparent;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  margin: 0;
}

html {
  overflow: hidden;
}

body {
  background: #f5f5f5;
  overflow: hidden;
  overflow-x: hidden;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 34, 34, 0.42) rgba(0, 0, 0, 0.06);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(34, 34, 34, 0.42);
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.06);
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 17, 17, 0.56);
}

a {
  color: inherit;
  text-decoration: none;
}

.shop-shell {
  --shop-shell-header-offset: 84px;
  --shop-shell-compact-sheet-overlap: 18px;
  --shop-shell-compact-sheet-padding-x: 18px;
  --shop-shell-compact-sheet-padding-bottom: 18px;
  --shop-shell-compact-sheet-bridge-height: 14px;
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.shop-shell__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: transparent;
  pointer-events: none;
}

.shop-shell__header.is-elevated {
  background: transparent;
  box-shadow: none;
}

.shop-shell__header-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 1180px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transition: all 300ms ease;
  pointer-events: auto;
  overflow: visible;
}

.shop-shell__header-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  transition:
    padding 320ms cubic-bezier(0.22, 1, 0.36, 1),
    gap 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-shell__header-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(-3px) scale(0.985);
  transform-origin: center top;
  transition:
    opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 280ms ease;
  pointer-events: none;
}

.shop-shell__header-inner.is-elevated .shop-shell__header-row {
  padding: 14px 18px;
}

.shop-shell__header-inner.is-elevated .shop-shell__header-row::before {
  border-color: rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 30px rgba(15, 23, 42, 0.08);
  opacity: 1;
  transform: translateY(0) scale(1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.shop-shell__header-inner.is-expanded .shop-shell__header-row::before {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 8px 22px rgba(15, 23, 42, 0.06);
}

.shop-shell__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 0 0 auto;
}

.shop-shell__brand-button {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.shop-shell__brand-button:focus-visible,
.shop-shell__tab:focus-visible,
.shop-shell__session-link:focus-visible,
.shop-shell__compact-trigger:focus-visible,
.shop-shell__compact-link:focus-visible,
.shop-shell__session-value:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}

.shop-shell__brand h1 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.shop-shell__eyebrow,
.catalog-focus__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #747474;
}

.catalog-section.catalog-section--secondary {
  padding: 10px;
}

.shop-shell__topbar-nav {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
}

.shop-shell__tabs {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  max-width: 100%;
  padding: 0;
}

.shop-shell__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #696969;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 140ms ease,
    opacity 140ms ease;
}

.shop-shell__tab::after {
  display: none;
}

.shop-shell__tab.router-link-active,
.shop-shell__tab.is-active {
  color: #111111;
  opacity: 1;
}

.shop-shell__header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}

.shop-shell__session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
  padding: 0;
}

.shop-shell__session-label,
.shop-shell__session-value,
.shop-shell__session-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
  font-size: 0.94rem;
}

.shop-shell__session-label {
  color: #7b7b7b;
}

.shop-shell__session-value {
  color: #151515;
  font-weight: 600;
  max-width: min(26vw, 17rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-shell__session-link {
  color: #696969;
  transition:
    color 140ms ease,
    opacity 140ms ease;
}

.shop-shell__compact-trigger,
.shop-shell__compact-link {
  border: 0;
  font: inherit;
}

.shop-shell__tab:hover,
.shop-shell__session-link:hover,
.shop-shell__compact-trigger:hover,
.shop-shell__compact-link:hover {
  color: #111111;
}

.shop-shell__compact-trigger {
  display: none;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.shop-shell__compact-trigger__body {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #141414;
  cursor: pointer;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.74) inset,
    0 10px 24px rgba(16, 24, 40, 0.08);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.shop-shell__compact-trigger:hover .shop-shell__compact-trigger__body {
  transform: translateY(-1px);
}

.shop-shell__compact-trigger.is-open .shop-shell__compact-trigger__body {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78) inset,
    0 14px 28px rgba(16, 24, 40, 0.09);
}

.shop-shell__compact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.shop-shell__compact-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-shell__compact-label {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
}

.shop-shell__compact-sheet {
  position: absolute;
  top: calc(100% - var(--shop-shell-compact-sheet-overlap));
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  overflow: hidden;
  padding:
    calc(var(--shop-shell-compact-sheet-overlap) + 8px)
    var(--shop-shell-compact-sheet-padding-x)
    var(--shop-shell-compact-sheet-padding-bottom);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  will-change: transform, opacity;
}


.shop-shell__compact-sheet::after {
  content: "";
  position: absolute;
  top: calc(-1 * (var(--shop-shell-compact-sheet-overlap) + var(--shop-shell-compact-sheet-bridge-height) - 2px));
  left: 0;
  right: 0;
  height: calc(var(--shop-shell-compact-sheet-overlap) + var(--shop-shell-compact-sheet-bridge-height));
  border-left: 1px solid rgba(17, 17, 17, 0.08);
  border-right: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.52) inset;
  opacity: 0;
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.shop-shell__header-inner.is-expanded .shop-shell__compact-sheet {
  top: calc(100% - var(--shop-shell-compact-sheet-overlap) - 6px);
  padding-top: calc(var(--shop-shell-compact-sheet-overlap) + 14px);
}

.shop-shell__header-inner.is-expanded .shop-shell__compact-sheet::after {
  opacity: 1;
}

.shop-shell-sheet-enter-active,
.shop-shell-sheet-leave-active {
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-shell-sheet-enter-from,
.shop-shell-sheet-leave-to {
  opacity: 0;
  transform: translateY(-14px);
}

.shop-shell-sheet-enter-to,
.shop-shell-sheet-leave-from {
  opacity: 1;
  transform: translateY(0);
}

.shop-shell__compact-section,
.shop-shell__compact-list,
.shop-shell__compact-actions {
  display: flex;
  flex-direction: column;
}

.shop-shell__compact-section {
  gap: 10px;
}

.shop-shell__compact-list,
.shop-shell__compact-actions {
  gap: 6px;
}

.shop-shell__compact-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  background: transparent;
  color: #171717;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-shell__compact-link:hover {
  transform: translateX(3px);
  box-shadow: none;
}

.shop-shell__compact-link.is-active {
  background: rgba(46, 111, 237, 0.1);
  color: #2e6fed;
}

.shop-shell__compact-link--danger {
  color: #ba382f;
}

.shop-shell__compact-item-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2e6fed;
}

.shop-shell__compact-user {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 4px 12px;
}

.shop-shell__compact-user span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b7b7b;
}

.shop-shell__compact-user strong {
  font-size: 0.92rem;
  line-height: 1.35;
  color: #141414;
  overflow-wrap: anywhere;
}

.shop-shell__content {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.shop-shell__scroll {
  height: 100%;
}

.shop-shell__viewport {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.shop-shell__tabs-wrap {
  min-width: 0;
  width: 100%;
  padding: 0;
}

.shop-shell__content-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shop-shell__content-inner--scroll {
  padding-top: calc(var(--shop-shell-header-offset) + 8px);
}

.shop-shell__loading {
  min-height: calc(100vh - 13rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
}

.shop-shell__loading-card {
  width: min(100%, 42rem);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 30px;
  border-radius: 24px;
  border: 1px solid rgba(18, 31, 56, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.shop-shell__loading-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b879d;
}

.shop-shell__loading-card h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #121212;
}

.shop-shell__loading-card p {
  margin: 0;
  color: #61708a;
  font-size: 0.95rem;
}

.shop-shell__loading-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.shop-shell__loading-line {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(221, 227, 238, 0.75), rgba(242, 245, 251, 0.96), rgba(221, 227, 238, 0.75));
  background-size: 220% 100%;
  animation: skeleton-pulse 1.45s ease-in-out infinite;
}

.shop-shell__loading-line--long {
  width: 100%;
}

.shop-shell__loading-line--medium {
  width: 82%;
}

.shop-shell__loading-line--short {
  width: 58%;
}

.catalog-view,
.subscriptions-view,
.test-offer-view,
.self-activate-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.standalone-page {
  min-height: 100vh;
  padding: 32px 24px 40px;
}

.standalone-page__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.standalone-page__back {
  display: flex;
  align-items: center;
}

.standalone-page__back-link {
  color: #5f6f8a;
  text-decoration: none;
  font-size: 0.95rem;
}

.standalone-page__back-link:hover {
  color: #15213a;
}

.test-offer-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.test-offer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.test-offer-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.test-offer-card__body strong {
  font-size: 1rem;
  color: #14203a;
}

.test-offer-card__body p {
  margin: 0;
  color: #5d6d89;
  line-height: 1.7;
}

.test-offer-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.self-sync-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.self-sync-card {
  gap: 20px;
}

.self-sync-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: #5d6d89;
  line-height: 1.75;
}

.self-sync-actions {
  flex-wrap: wrap;
}

.self-sync-bookmarklet {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px dashed rgba(20, 32, 58, 0.18);
  color: #324869;
  text-decoration: none;
  font-size: 0.92rem;
}

.self-sync-bookmarklet:hover {
  border-color: rgba(37, 99, 235, 0.28);
  color: #1d4ed8;
}

.self-sync-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.self-sync-status-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(19, 32, 59, 0.08);
  border-radius: 18px;
  background: rgba(249, 250, 252, 0.92);
}

.self-sync-status-item span {
  color: #6c7990;
  font-size: 0.82rem;
}

.self-sync-status-item strong {
  color: #14203a;
  font-size: 0.95rem;
  line-height: 1.45;
  word-break: break-all;
}

.self-sync-debug {
  border-top: 1px solid rgba(19, 32, 59, 0.08);
  padding-top: 12px;
}

.self-sync-debug summary {
  cursor: pointer;
  color: #4f6281;
}

.self-sync-debug pre {
  margin: 10px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(245, 247, 251, 0.95);
  color: #2d3c56;
  font-size: 0.82rem;
  line-height: 1.6;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.subscriptions-hero {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr;
  gap: 24px;
  /*padding: 28px 30px;*/
  /*border: 1px solid rgba(19, 32, 59, 0.08);*/
  border-radius: 28px;
  background: transparent;
  padding: 10px;
  border: 0;
  /*box-shadow: 0 20px 56px rgba(16, 34, 74, 0.06);*/
}

.subscriptions-hero h2 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.subscriptions-hero p {
  max-width: 42rem;
  margin: 0;
  color: #586883;
  font-size: 1rem;
}

.catalog-focus {
  padding: 10px;
  border-radius: 30px;
  border: 0;
  background: transparent;
  /*box-shadow: 0 22px 64px rgba(16, 34, 74, 0.06);*/
}

.catalog-focus__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.catalog-focus__headline {
  min-width: 0;
}

.catalog-focus__header h3,
.catalog-section__header h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.catalog-focus__header p {
  max-width: 34rem;
  margin: 0;
  color: #61718d;
}

.catalog-focus__count,
.catalog-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 8.5rem;
  padding: 8px 11px;
  border-radius: 14px;
  border: 1px solid rgba(19, 32, 59, 0.08);
  /*background: rgba(247, 250, 255, 0.92);*/
}

.catalog-focus__count span,
.catalog-section__count span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71809d;
}

.catalog-focus__count strong,
.catalog-section__count strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #16213b;
}

.catalog-focus__body,
.catalog-focus__loading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 14px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 16rem;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(19, 32, 59, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.offer-card--main {
  background: rgba(255, 255, 255, 0.92);
}

.offer-card--ghost {
  background: rgba(248, 250, 255, 0.86);
}

.offer-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.offer-card__eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b89a4;
}

.offer-card__head h4 {
  margin: 0;
  font-size: 1.18rem;
}

.offer-card__ratio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.1);
  color: #1e57c8;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.offer-card__description {
  min-height: 2.8rem;
  margin: 0;
  color: #60708b;
  font-size: 0.94rem;
}

.offer-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.offer-card__metric,
.offer-inline {
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.88);
  border: 1px solid rgba(19, 32, 59, 0.06);
}

.offer-card__metric span,
.offer-inline__meta span,
.redeem-summary__eyebrow {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b89a4;
}

.offer-card__metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.offer-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.offer-card__actions .n-button {
  flex: 1 1 0;
}

.catalog-focus__panel {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(18rem, 1.2fr) minmax(14rem, 0.8fr);
  gap: 20px;
  align-items: center;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 32, 59, 0.08);
}

.catalog-focus__panel--ghost {
  background: rgba(248, 250, 255, 0.86);
}

.catalog-focus__identity,
.catalog-focus__rail {
  display: flex;
  flex-direction: column;
}

.catalog-focus__identity {
  gap: 14px;
}

.catalog-focus__matrix {
  min-width: 0;
}

.catalog-focus__rail {
  gap: 14px;
  align-items: flex-start;
}

.catalog-focus__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-focus__note {
  margin: 0;
  color: #5c6c88;
  font-size: 0.94rem;
}

.catalog-focus__actions {
  display: flex;
  align-items: center;
}

.catalog-focus__placeholder {
  display: grid;
  grid-template-columns: minmax(10rem, 0.6fr) minmax(12rem, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 2px 2px;
  color: #8d99af;
}

.catalog-focus__placeholder-bar {
  height: 0.88rem;
  border-radius: 999px;
  background: rgba(208, 215, 226, 0.88);
}

.catalog-focus__placeholder-bar--short {
  max-width: 12rem;
}

.catalog-focus__placeholder-text {
  justify-self: end;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.catalog-section {
  padding: 24px 24px 18px;
  border-radius: 26px;
  border: 1px solid rgba(19, 32, 59, 0.08);
  background: rgba(255, 255, 255, 0.9);
  /*box-shadow: 0 20px 60px rgba(16, 34, 74, 0.06);*/
}

.catalog-section--secondary {
  border: 0;
  padding: 10px;
  background: transparent;
}

.catalog-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.catalog-section__header p {
  margin: 0;
  color: #61718d;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-row {
  display: grid;
  grid-template-columns: minmax(21.25rem, 0.86fr) minmax(14.75rem, 1.14fr) 120px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  /*border: 1px solid var(--catalog-card-border);*/
  background: var(--catalog-card-surface);
  box-shadow: var(--catalog-card-shadow);
  position: relative;
}

.catalog-row--inactive {
  background: var(--catalog-card-surface);
  grid-template-columns: minmax(0, 1fr) 120px;
  /*align-items: start;*/
}

.catalog-inactive-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  /*overflow: hidden;*/
}

.catalog-inactive-stack--with-tail {
  padding: 0;
  border-radius: 22px;
  /*background: rgba(251, 253, 255, 0.94);*/
  border: 0;
}

.catalog-row.catalog-row--inactive.catalog-row--with-tail {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  border-radius: 22px;
  border-bottom-color: var(--catalog-card-border);
  box-shadow: var(--catalog-card-shadow);
}

.catalog-row--placeholder,
.catalog-row--ghost {
  background: var(--catalog-card-surface-secondary);
}

.catalog-row--placeholder {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  transform-origin: top center;
  max-height: 14rem;
  transition:
    max-height 420ms cubic-bezier(0.2, 0.9, 0.24, 1),
    opacity 280ms ease,
    transform 380ms cubic-bezier(0.2, 0.9, 0.24, 1);
  will-change: max-height, opacity, transform;
}

.catalog-row--placeholder-hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-0.7rem);
  pointer-events: none;
}

.catalog-row--placeholder-revealed {
  max-height: 14rem;
  opacity: 1;
  margin-bottom: -30px;
  transform: translateY(-30px);
  /*border: 1px solid var(--catalog-card-border);*/
  animation: catalog-tail-row-pop 460ms cubic-bezier(0.16, 0.84, 0.24, 1);
  background: var(--catalog-card-surface-secondary);
  box-shadow: var(--catalog-card-shadow);
}

.catalog-row__identity {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 21.25rem;
  justify-self: start;
}

.catalog-row__identity--stacked {
  max-width: none;
  gap: 14px;
}

.catalog-row__credential {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-row__credential label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b89a4;
}

.catalog-row__plain,
.masked-credential__value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #16213b;
  word-break: break-all;
}

.catalog-row__placeholder-text {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 1.15rem;
  line-height: 1.15rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #56627a;
  word-break: break-all;
}

.catalog-row__placeholder-text--email {
  letter-spacing: -0.01em;
}

.catalog-email-placeholder__bracket {
  color: #8ea0bf;
  font-weight: 800;
}

.catalog-email-placeholder__token {
  color: #1f2d43;
  font-weight: 700;
}

.catalog-email-placeholder__domain {
  color: #2f6fed;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.catalog-password-placeholder__bracket {
  color: #8ea0bf;
  font-weight: 800;
}

.catalog-password-placeholder__token {
  display: inline-flex;
  align-items: center;
}

.catalog-row__placeholder-text--password-complete {
  padding-left: 0.12rem;
}

.catalog-typed-placeholder__content {
  color: #1d2940;
  font-weight: 700;
}

.catalog-typed-placeholder__content--password {
  letter-spacing: 0.11em;
}

.catalog-type-cursor {
  display: inline-block;
  min-width: 0.52ch;
  color: #2b3445;
  font-weight: 800;
  animation: catalog-cursor-blink 1s steps(1, end) infinite;
}

.catalog-credential-dots {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  min-height: 1.15rem;
  line-height: 1.15rem;
  padding-left: 0.12rem;
}

.catalog-credential-dots--reference {
  gap: 7px;
}

.catalog-credential-dots__dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #5b667c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.masked-credential__skeleton,
.catalog-row__skeleton {
  display: inline-flex;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(211, 219, 233, 0.75), rgba(231, 236, 245, 0.96), rgba(211, 219, 233, 0.75));
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

.catalog-row__skeleton--short {
  width: 6rem;
}

.catalog-row__skeleton--long {
  width: 11rem;
}

.catalog-row__ghost-bar {
  width: 5rem;
  height: 0.74rem;
  border-radius: 999px;
  background: rgba(207, 214, 225, 0.9);
}

.catalog-row__ghost-bar--pill {
  width: 4.25rem;
}

.catalog-row__ghost-bar--wide {
  width: 7.1rem;
}

.catalog-row--with-sweep {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.catalog-row__sweep {
  position: absolute;
  top: 0;
  left: -240%;
  width: 240%;
  height: 35px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.32);
  mix-blend-mode: lighten;
  opacity: 0.92;
  transform: translate3d(0, 0, 0) rotate(-45deg);
  transform-origin: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.catalog-row__sweep::before {
  content: none;
}

.catalog-row__sweep--loop {
  animation: catalog-inactive-sweep 2s ease-in infinite;
}

.catalog-matrix-skeleton {
  display: grid;
  gap: 10px;
}

.catalog-matrix-skeleton__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.catalog-matrix-skeleton__chip {
  display: block;
  height: 2.6rem;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(224, 230, 241, 0.92), rgba(241, 245, 252, 0.98), rgba(224, 230, 241, 0.92));
  background-size: 220% 100%;
  animation: shimmer 1.8s linear infinite;
}

.catalog-matrix-skeleton__chip--muted {
  opacity: 0.72;
}

.catalog-row__tags--loading {
  align-items: center;
}

.catalog-row__tags--inline-skeleton {
  display: inline-flex;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
}

.catalog-row__tags--loading .n-tag {
  pointer-events: none;
  flex: 0 0 auto;
}

.catalog-row__tags--loading .n-tag__content {
  display: inline-flex;
  align-items: center;
}

.catalog-loading-tag__core {
  display: inline-flex;
  width: 2.15rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(195, 205, 220, 0.92);
  animation: catalog-soft-pulse 1.9s ease-in-out infinite;
}

.catalog-loading-tag__core--short {
  width: 1.65rem;
}

.catalog-loading-tag__core--wide {
  width: 4.25rem;
  animation-delay: 0.2s;
}

.catalog-loading-tag__core--level {
  width: 2.15rem;
}

.catalog-loading-tag__core--share {
  width: 2.9rem;
  animation-delay: 0.08s;
}

.catalog-loading-tag__core--seats {
  width: 3.35rem;
  animation-delay: 0.16s;
}

.catalog-row__tags--join-skeleton {
  align-items: center;
}

.product-matrix--skeleton .product-matrix__bar--skeleton {
  background: rgba(207, 214, 225, 0.9);
  animation: catalog-soft-pulse 1.65s ease-in-out infinite;
}

.product-matrix--skeleton .product-matrix__column:nth-child(2) .product-matrix__bar--skeleton {
  animation-delay: 0.08s;
}

.product-matrix--skeleton .product-matrix__column:nth-child(3) .product-matrix__bar--skeleton {
  animation-delay: 0.16s;
}

.catalog-action-skeleton {
  display: inline-flex;
  width: 6.5rem;
  height: 2.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(211, 219, 233, 0.84), rgba(231, 236, 245, 0.98), rgba(211, 219, 233, 0.84));
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

.catalog-row--deferred,
.catalog-row--load-more {
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(246, 249, 255, 0.9);
}

.catalog-row__deferred-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(35, 74, 144, 0.08);
  color: #30579d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-row__deferred-copy {
  margin: 0;
  color: #61718d;
  font-size: 0.92rem;
  line-height: 1.55;
}

.catalog-hidden-count__placeholder {
  width: 1.9rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(211, 219, 233, 0.82), rgba(231, 236, 245, 0.98), rgba(211, 219, 233, 0.82));
  background-size: 220% 100%;
  animation: shimmer 1.45s linear infinite;
}

.catalog-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-row__tags--desktop {
  display: flex;
}

.catalog-row__tags-row {
  display: none;
  min-width: 0;
}

.catalog-row__hint {
  margin: 0;
  color: #61718d;
  font-size: 0.88rem;
  line-height: 1.55;
}

.catalog-row__matrix {
  min-width: 0;
}

.catalog-row__matrix--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.catalog-row__matrix--nested {
  width: 100%;
}

.catalog-row__matrix--stack .product-matrix {
  width: 100%;
}

.catalog-row__actions {
  display: flex;
  justify-content: center;
}

.catalog-row__actions--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 220px;
}

.subscriptions-forward {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.subscriptions-forward__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a879d;
}

.subscriptions-recovery-alert {
  margin-bottom: 14px;
}

.subscriptions-pending-card {
  margin-bottom: 14px;
}

.subscriptions-pending-card__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.subscriptions-pending-card__title-spinner {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  border: 2px solid rgba(47, 111, 237, 0.18);
  border-top-color: rgba(47, 111, 237, 0.9);
  animation: pending-spin 0.8s linear infinite;
}

.subscriptions-pending-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #556274;
  font-size: 0.92rem;
}

@keyframes catalog-inactive-sweep {
  0% {
    transform: translate3d(0, 0, 0) rotate(-45deg);
  }

  100% {
    transform: translate3d(150%, 0, 0) rotate(-45deg);
  }
}

@keyframes catalog-tail-row-pop {
  0% {
    transform: translateY(-0.72rem);
    opacity: 0.05;
  }

  12% {
    transform: translateY(-24px);
    opacity: 1;
  }

  100% {
    transform: translateY(-30px);
    opacity: 1;
  }
}

@keyframes catalog-soft-pulse {
  0%,
  100% {
    opacity: 0.62;
    transform: translateY(0);
  }

  50% {
    opacity: 0.96;
    transform: translateY(-1px);
  }
}

.subscriptions-recovery-panel {
  display: grid;
  gap: 16px;
}

.subscriptions-recovery-panel__hint {
  margin: 0 0 14px;
  color: #6b7688;
  font-size: 0.92rem;
  line-height: 1.6;
}

.subscriptions-recovery-panel__form {
  display: grid;
  gap: 12px;
}

.subscriptions-recovery-panel__code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.subscriptions-recovery-panel__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscriptions-auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.subscriptions-auth-switch__item {
  border: 1px solid rgba(22, 35, 64, 0.12);
  border-radius: 999px;
  background: rgba(245, 248, 252, 0.9);
  padding: 8px 13px;
  font: inherit;
  color: #45526c;
  cursor: pointer;
}

.subscriptions-auth-switch__item.is-active {
  border-color: rgba(34, 87, 190, 0.18);
  background: rgba(239, 245, 255, 0.96);
  color: #1e3870;
}

.subscriptions-account-card {
  margin-bottom: 14px;
}

.subscriptions-account-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.subscriptions-account-card__chip {
  border: 1px solid rgba(22, 35, 64, 0.12);
  border-radius: 999px;
  background: rgba(245, 248, 252, 0.96);
  padding: 8px 12px;
  font: inherit;
  color: #24324a;
  cursor: pointer;
}

.subscriptions-account-card__chip:hover {
  border-color: rgba(47, 111, 237, 0.32);
  color: #1d4ea6;
}

.subscriptions-rebates {
  margin-bottom: 16px;
}

.subscriptions-rebates__header h3 {
  margin: 6px 0 8px;
  font-size: 1.05rem;
  color: #16213b;
}

.subscriptions-rebates__header p {
  margin: 0 0 14px;
  color: #6b7688;
  font-size: 0.92rem;
  line-height: 1.6;
}

.subscriptions-rebates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.subscriptions-rebate-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(19, 32, 59, 0.06);
  background: rgba(247, 250, 255, 0.9);
}

.subscriptions-rebate-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.subscriptions-rebate-card__top strong {
  color: #16213b;
  font-size: 0.96rem;
  line-height: 1.45;
}

.subscriptions-rebate-card__top span {
  color: #16213b;
  font-weight: 700;
  white-space: nowrap;
}

.subscriptions-rebate-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
  color: #61718d;
  font-size: 0.84rem;
}

.subscriptions-rebate-card__hint {
  margin: 10px 0 0;
  color: #50607b;
  font-size: 0.86rem;
  line-height: 1.55;
}

.offer-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-inline--inline {
  margin-top: 12px;
}

.offer-inline__price {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #122443;
}

.offer-inline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.redeem-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: var(--catalog-card-surface);
  border: 0;
  box-shadow: var(--catalog-card-shadow);
}

.redeem-summary--config {
  display: grid;
  grid-template-columns: 4px auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 20px;
  padding: 12px 14px 12px 10px;
  border: 1px solid rgba(19, 32, 59, 0.06);
  margin-bottom: 15px;
  /*box-shadow:*/
  /*  0 8px 24px rgba(15, 23, 42, 0.06),*/
  /*  0 1px 2px rgba(15, 23, 42, 0.05);*/
  border-radius: 11px;
  box-shadow: none;
}

.redeem-summary__callout-rail {
  width: 4px;
  min-height: 100%;
  border-radius: 999px;
  background: rgb(43 127 255);
}

.redeem-summary__callout-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: #8d95a5;
}

.redeem-summary__callout-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.redeem-summary__callout-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.redeem-summary--config .redeem-summary__top {
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}

.redeem-summary--config .redeem-summary__top strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.redeem-summary--config .redeem-summary__eyebrow {
  letter-spacing: 0.04em;
}

.redeem-summary--config .redeem-summary__meta {
  gap: 6px 8px;
  color: #71717a;
  font-size: 0.82rem;
}

.redeem-summary--config .redeem-summary__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.625rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  color: #6b7280;
}

.redeem-summary--purchase {
  gap: 14px;
}

.redeem-summary--purchase-loading {
  background: var(--catalog-card-surface-secondary);
}

.redeem-summary--ghost {
  justify-content: space-between;
}

.redeem-summary--purchase.redeem-summary--ghost {
  min-height: 10.5rem;
}

.redeem-summary__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.redeem-summary__heading {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.redeem-summary__eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.redeem-summary__top strong {
  display: block;
  font-size: 1.03rem;
  line-height: 1.45;
  color: #18181b;
}

.redeem-summary__instruction {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
}

.redeem-summary__instruction-code {
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.redeem-summary__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  color: #667085;
  font-size: 0.88rem;
}

.redeem-summary__meta--ghost {
  gap: 10px;
}

.redeem-summary__metric--price {
  font-size: 2.08rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #18181b;
}

.redeem-summary__purchase {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  padding-top: 2px;
  border-top: 0;
}

.redeem-summary__purchase-label {
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #71717a;
}

.redeem-summary__purchase .n-button {
  flex-shrink: 0;
  min-width: 0;
  border-radius: 999px;
}

.redeem-summary__purchase-link {
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  font-weight: 700 !important;
  color: #006fee !important;
}

.redeem-summary__typed-text {
  display: inline;
  min-width: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.redeem-summary__typed-text--instruction {
  white-space: break-spaces;
}

.redeem-summary__typed-text--placeholder {
  color: #b2bccb;
  letter-spacing: 0.04em;
}

.redeem-summary__metric--price .redeem-summary__typed-text--placeholder {
  color: #c1cad8;
}

.redeem-summary__metric--stock {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.redeem-summary__ghost-line,
.redeem-summary__ghost-pill,
.redeem-summary__ghost-button {
  display: inline-flex;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(211, 219, 233, 0.82), rgba(231, 236, 245, 0.98), rgba(211, 219, 233, 0.82));
  background-size: 220% 100%;
  animation: shimmer 1.45s linear infinite;
}

.redeem-summary__ghost-line {
  height: 0.86rem;
}

.redeem-summary__ghost-line--eyebrow {
  width: 5.4rem;
  height: 0.74rem;
}

.redeem-summary__ghost-line--title {
  width: min(19rem, 86%);
  height: 1.05rem;
}

.redeem-summary__ghost-line--code {
  width: min(9.4rem, 52%);
  height: 0.76rem;
}

.redeem-summary__ghost-pill {
  height: 1.7rem;
}

.redeem-summary__ghost-pill--price {
  width: 5.6rem;
}

.redeem-summary__ghost-pill--quantity {
  width: 4.8rem;
}

.redeem-summary__ghost-button {
  width: 7.1rem;
  height: 2.2rem;
}

.redeem-summary__ghost-line--purchase-label {
  width: 6.5rem;
  height: 0.84rem;
}

.cashback-preview {
  margin-top: -2px;
}

.cashback-preview__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cashback-preview__price del {
  color: #91a0b8;
  font-size: 0.92rem;
}

.cashback-preview__price strong {
  color: #16213b;
  font-size: 1.08rem;
}

.cashback-preview__info {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(19, 32, 59, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #5d6d87;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
}

.cashback-preview__popover {
  max-width: 18rem;
}

.cashback-preview__popover strong {
  display: block;
  margin-bottom: 6px;
  color: #16213b;
}

.cashback-preview__popover p {
  margin: 0;
  color: #61718d;
  font-size: 0.88rem;
  line-height: 1.55;
}

.catalog-row__placeholder-dots {
  justify-self: end;
  font-size: 2rem;
  letter-spacing: 0.24em;
  color: #aeb9ca;
}

.catalog-hidden-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(18rem, 100%);
}

.catalog-hidden-card {
  border-radius: 0 0 22px 22px;
  grid-column: span 2;
  margin-top: 30px;
  border: 0;
  background: transparent;
}

.catalog-hidden-card__inner {
  display: grid;
  grid-template-columns: auto 150px 25px;
  /*grid-template-columns: minmax(11rem, 18rem) minmax(0, 1fr) auto;*/
  align-items: center;
  gap: 16px;
  padding: 16px 20px 16px;
}

.catalog-hidden-stack__bar {
  display: block;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(211, 219, 233, 0.8), rgba(231, 236, 245, 0.96), rgba(211, 219, 233, 0.8));
}

.catalog-hidden-stack__bar--large {
  width: 100%;
}

.catalog-hidden-stack__bar--medium {
  width: 78%;
}

.catalog-hidden-stack__bar--small {
  width: 56%;
}

.catalog-hidden-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.catalog-hidden-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.catalog-hidden-card__title {
  font-size: 0.93rem;
  font-weight: 600;
  color: #626262;
}

.catalog-hidden-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #303030;
  font-size: 0.96rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.catalog-hidden-count__plus {
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0.54;
}

.catalog-hidden-count__value {
  font-size: 1.14rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.product-matrix {
  --matrix-row-gap: 12px;
  --matrix-bar-height: 0.82rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(4.8rem, 1fr));
  gap: 14px;
  width: 100%;
}

.product-matrix__column {
  display: grid;
  grid-template-rows: repeat(var(--matrix-rows), minmax(0, var(--matrix-bar-height-current, var(--matrix-bar-height))));
  gap: var(--matrix-row-gap);
  min-height: calc(var(--matrix-rows) * var(--matrix-bar-height-current, var(--matrix-bar-height)) + (var(--matrix-rows) - 1) * var(--matrix-row-gap));
  align-content: start;
}

.product-matrix__bar {
  height: var(--matrix-bar-height-current, var(--matrix-bar-height));
  border-radius: 999px;
}

.product-matrix__bar.is-sold {
  background: #5d99ef;
}

.product-matrix__bar.is-available {
  background: #1db24b;
}

.product-matrix__bar.is-idle {
  background: #cfd6e2;
}

.product-matrix__tooltip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 11rem;
}

.shop-dialog {
  max-width: 36rem;
  width: min(36rem, calc(100vw - 24px));
}

.shop-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-form__hint {
  margin: -4px 0 4px;
  color: #61718d;
  font-size: 0.88rem;
}

.shop-form__hint--warning {
  color: #c26a1a;
}

.level-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.configurator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.configurator-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.configurator-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b89a4;
}

.configurator-select {
  width: 100%;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.level-option {
  width: fit-content;
  min-width: 5.25rem;
  padding: 7px 11px;
  border: 1px solid rgba(19, 32, 59, 0.1);
  border-radius: 11px;
  background: rgba(247, 250, 255, 0.92);
  color: #355185;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.level-option.is-active {
  border-color: rgba(47, 111, 237, 0.3);
  background: rgba(47, 111, 237, 0.12);
  color: #184cbd;
}

.level-options__hint {
  color: #6f7f99;
  font-size: 0.78rem;
}

.dynamic-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.dynamic-inputs__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.dynamic-inputs__row--stack {
  grid-template-columns: 1fr;
}

.dynamic-inputs__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b89a4;
}

.subscriptions-empty {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(19, 32, 59, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -20% 0;
  }
}

@keyframes catalog-cursor-blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes pending-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 961px) {
  .catalog-hidden-card__inner {
    padding: 13px 20px 16px;
  }
}

@media (max-width: 1120px) {
  .shop-shell {
    --shop-shell-compact-sheet-overlap: 16px;
    --shop-shell-compact-sheet-padding-x: 16px;
    --shop-shell-compact-sheet-padding-bottom: 16px;
    --shop-shell-compact-sheet-bridge-height: 12px;
  }

  .subscriptions-hero,
  .offer-card__metrics,
  .catalog-focus__panel {
    grid-template-columns: 1fr;
  }

  .shop-shell__header {
    padding: 16px 24px;
  }

  .shop-shell__header-row {
    gap: 14px;
  }

  .shop-shell__header-inner.is-elevated .shop-shell__header-row {
    padding: 12px 16px;
  }

  .shop-shell__session-value {
    max-width: 12.5rem;
  }

  .catalog-focus__header {
    align-items: center;
  }

  .catalog-focus__count,
  .catalog-section__count {
    justify-self: start;
  }
}

@media (max-width: 960px) {
  .shop-shell {
    --shop-shell-compact-sheet-overlap: 16px;
    --shop-shell-compact-sheet-padding-x: 14px;
    --shop-shell-compact-sheet-padding-bottom: 14px;
    --shop-shell-compact-sheet-bridge-height: 9px;
  }

  .shop-shell__header {
    padding: 16px 24px;
  }

  .shop-shell__topbar-nav {
    justify-content: flex-end;
  }

  .shop-shell__header-row {
    gap: 12px;
  }

  .shop-shell__header-inner.is-elevated .shop-shell__header-row {
    padding: 11px 14px;
  }

  .shop-shell__tabs-wrap--inline {
    display: none;
  }

  .shop-shell__compact-trigger--tabs {
    display: inline-flex;
  }

  .shop-shell__compact-sheet--tabs {
    border-radius: 0 0 26px 26px;
    padding-top: calc(var(--shop-shell-compact-sheet-overlap) + 12px);
    padding-bottom: calc(var(--shop-shell-compact-sheet-padding-bottom) + 2px);
  }

  .shop-shell__compact-sheet--tabs .shop-shell__compact-list {
    gap: 8px;
  }

  .shop-shell__compact-sheet--tabs .shop-shell__compact-link {
    min-height: 3.12rem;
    padding: 0 1.35rem;
    border-radius: 1.45rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .shop-shell__compact-sheet--tabs .shop-shell__compact-link:hover {
    transform: translateX(3px);
  }

  .subscriptions-hero,
  .catalog-focus,
  .catalog-section,
  .subscriptions-empty {
    border-radius: 10px;
  }

  .catalog-focus__panel,
  .catalog-row,
  .offer-card {
    gap: 16px;
    padding: 18px;
  }

  .offer-card {
    gap: 16px;
    padding: 0 0 18px 18px;
  }

  .catalog-row {
    grid-template-columns: 1.25fr 1fr;
  }

  .catalog-row--stack-mobile {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-row--placeholder {
    padding: 0;
  }

  .catalog-focus__actions,
  .catalog-row__actions {
    grid-column: span 2;
    width: 100%;
  }

  .catalog-row__tags--desktop {
    display: none;
  }

  .catalog-row__tags-row--mobile {
    display: block;
    grid-column: 1 / -1;
  }

  .catalog-row__actions--stack-mobile {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .catalog-row__actions {
    justify-content: flex-start;
  }

  .catalog-row__identity {
    max-width: none;
  }

  .catalog-focus__actions .n-button,
  .catalog-row__actions .n-button,
  .subscriptions-hero .n-button,
  .subscriptions-empty .n-button {
    width: 100%;
    justify-content: center;
  }

  .shop-shell__content-inner {
    padding: 24px 16px 20px;
  }

  .shop-shell__content-inner--scroll {
    padding-top: calc(var(--shop-shell-header-offset) + 8px);
  }

  .configurator-grid {
    grid-template-columns: 1fr;
  }

  .standalone-page {
    padding: 24px 16px 32px;
  }

  .self-sync-form,
  .self-sync-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shop-shell {
    --shop-shell-compact-sheet-overlap: 18px;
    --shop-shell-compact-sheet-padding-x: 12px;
    --shop-shell-compact-sheet-padding-bottom: 12px;
    --shop-shell-compact-sheet-bridge-height: 5px;
  }

  .catalog-subnav {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-subnav__item {
    flex: 1 1 0;
  }

  .catalog-focus,
  .catalog-section,
  .subscriptions-hero,
  .subscriptions-empty {
    padding: 10px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .shop-shell__header {
    padding: 16px;
  }

  .shop-shell__header-row {
    gap: 10px;
  }

  .shop-shell__header-inner.is-elevated .shop-shell__header-row {
    padding: 10px 12px;
  }

  .shop-shell__session--inline {
    display: none;
  }

  .shop-shell__compact-trigger--user {
    display: inline-flex;
  }

  .shop-shell__compact-trigger__body {
    height: 2.35rem;
    padding: 0 0.8rem;
  }

  .shop-shell__compact-sheet--tabs {
    border-radius: 0 0 24px 24px;
  }

  .shop-shell__compact-sheet--tabs .shop-shell__compact-link {
    min-height: 2.85rem;
    padding: 0 1.2rem;
    border-radius: 1.3rem;
  }

  .shop-shell__compact-label {
    max-width: 5.5rem;
  }

  .subscriptions-hero h2 {
    font-size: 1.8rem;
  }

  .catalog-focus__header h3,
  .catalog-section__header h3 {
    font-size: 1.85rem;
  }

  .shop-dialog .configurator-grid {
    gap: 16px;
  }

  .shop-dialog .configurator-field {
    gap: 10px;
  }

  .shop-dialog .choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shop-dialog .level-option {
    width: 100%;
    min-width: 0;
    min-height: 2.65rem;
    padding: 9px 12px;
    border-radius: 12px;
  }

  .redeem-summary__top {
    flex-direction: column;
    align-items: stretch;
  }

  .redeem-summary--config {
    grid-template-columns: 4px auto minmax(0, 1fr);
    gap: 15px;
    padding: 12px 12px 12px 9px;
  }

  .redeem-summary__instruction {
    gap: 4px 6px;
  }

  .redeem-summary__instruction-code {
    font-size: 0.72rem;
  }

  .redeem-summary__metric--price {
    font-size: 1.66rem;
  }

  .redeem-summary--purchase.redeem-summary--ghost {
    min-height: 11rem;
  }

  .redeem-summary__purchase {
    gap: 8px;
  }

  .redeem-summary__purchase-link,
  .redeem-summary__ghost-button {
    width: auto;
  }

  .product-matrix {
    --matrix-row-gap: 9px;
    --matrix-bar-height: 0.68rem;
    grid-template-columns: repeat(3, minmax(3rem, 1fr));
  }

  .product-matrix__column {
  }

  .catalog-focus__placeholder {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 0 0;
  }

  .catalog-focus__placeholder-bar--short {
    display: none;
  }

  .catalog-focus__placeholder-text {
    justify-self: start;
    grid-column: 1 / -1;
  }

  .catalog-row--placeholder {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
    padding: 0 !important;
  }

  .catalog-hidden-card {
    border-radius: 0 0 18px 18px;
  }

  .catalog-hidden-card__inner {
    padding: 10px 18px 14px;
  }

  .standalone-page {
    padding: 20px 14px 28px;
  }

}

@media (max-width: 640px) {
  .catalog-focus__header {
    grid-template-columns: 1fr;
  }

  .catalog-section__header {
    grid-template-columns: 1fr;
  }

  .shop-shell__header {
    padding: 16px;
  }

  .shop-shell__brand h1 {
    font-size: 1.15rem;
  }

  .shop-shell__eyebrow,
  .catalog-focus__count span,
  .catalog-section__count span,
  .catalog-row__credential label {
    letter-spacing: 0.06em;
  }

  .shop-shell__compact-trigger__body {
    gap: 8px;
  }

  .shop-shell__header-inner.is-elevated .shop-shell__header-row {
    padding: 10px 12px;
  }

  .shop-shell__content-inner {
    padding: 16px 12px 18px;
  }

  .shop-shell__content-inner--scroll {
    padding-top: calc(var(--shop-shell-header-offset) + 8px);
  }

  .catalog-view,
  .subscriptions-view {
    gap: 16px;
  }

  .catalog-focus__count,
  .catalog-section__count {
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
  }

  .catalog-focus__count strong,
  .catalog-section__count strong {
    font-size: 1.0rem;
  }

  .catalog-focus,
  .catalog-section,
  .subscriptions-hero,
  .subscriptions-empty {
    padding: 10px;
    border-radius: 20px;
  }

  .catalog-focus__header {
    margin-bottom: 14px;
  }

  .catalog-row--placeholder {
    gap: 12px;
    padding: 0 !important;
  }

  .catalog-hidden-card {
    border-radius: 0 0 16px 16px;
  }

  .catalog-hidden-card__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px 14px;
  }

  .catalog-hidden-card__meta {
    grid-column: 1 / 2;
  }

  .catalog-hidden-count {
    justify-self: end;
  }

  .catalog-focus__header h3,
  .catalog-section__header h3,
  .subscriptions-hero h2 {
    font-size: 1.55rem;
  }

  .catalog-focus__header p,
  .subscriptions-hero p,
  .catalog-section__header p,
  .catalog-focus__note,
  .shop-form__hint {
    font-size: 0.9rem;
  }

  .catalog-focus__panel,
  .catalog-row,
  .offer-card {
    padding: 16px;
    border-radius: 18px;
  }

  .offer-card {
    padding: 16px;
    border-radius: 0 0 18px 18px;
  }

  .offer-card__actions {
    flex-direction: column;
  }

  .catalog-row__plain,
  .masked-credential__value {
    font-size: 0.94rem;
  }

  .catalog-row__tags,
  .catalog-focus__chips {
    gap: 6px;
  }

  .catalog-section__header {
    margin-bottom: 14px;
  }

  .product-matrix {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(2.35rem, 1fr));
  }

  .product-matrix__tooltip {
    min-width: 9rem;
    font-size: 0.84rem;
  }

  .shop-dialog {
    width: calc(100vw - 16px);
  }

  .dynamic-inputs {
    gap: 8px;
  }

  .dynamic-inputs__row {
    gap: 6px;
  }

  .level-option {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shop-shell {
    --shop-shell-compact-sheet-overlap: 12px;
    --shop-shell-compact-sheet-padding-x: 10px;
    --shop-shell-compact-sheet-padding-bottom: 10px;
    --shop-shell-compact-sheet-bridge-height: 7px;
  }

  .shop-shell__header {
    padding: 16px 12px;
  }

  .shop-shell__header-row {
    gap: 8px;
  }

  .shop-shell__header-inner.is-elevated .shop-shell__header-row {
    padding: 9px 10px;
  }

  .shop-shell__brand h1 {
    font-size: 1.02rem;
  }

  .shop-shell__eyebrow {
    font-size: 0.7rem;
  }

  .shop-shell__compact-trigger__body {
    width: 2.35rem;
    padding: 0;
    justify-content: center;
  }

  .shop-shell__compact-label {
    display: none;
  }

  .shop-shell__compact-sheet--tabs .shop-shell__compact-link {
    min-height: 2.8rem;
    padding: 0 1rem;
    border-radius: 1.15rem;
  }

  .shop-dialog .choice-row {
    gap: 8px;
  }

  .shop-dialog .level-option {
    min-height: 2.5rem;
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

:root[data-theme="dark"] body {
  background: #060607;
}

:root[data-theme="dark"] * {
  scrollbar-color: rgba(95, 103, 117, 0.78) rgba(20, 22, 27, 0.78);
}

:root[data-theme="dark"] *::-webkit-scrollbar-track {
  background: rgba(20, 22, 27, 0.78);
}

:root[data-theme="dark"] *::-webkit-scrollbar-thumb {
  background: rgba(95, 103, 117, 0.78);
  border-color: rgba(20, 22, 27, 0.78);
}

:root[data-theme="dark"] .shop-shell__header {
  background: transparent;
}

:root[data-theme="dark"] .shop-shell__header-inner.is-elevated .shop-shell__header-row::before {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.78);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.02) inset,
    0 18px 32px rgba(0, 0, 0, 0.26);
}

:root[data-theme="dark"] .shop-shell__header-inner.is-expanded .shop-shell__header-row::before {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.02) inset,
    0 12px 22px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .shop-shell__loading-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.82);
}

:root[data-theme="dark"] .shop-shell__loading-eyebrow {
  color: #9399a8;
}

:root[data-theme="dark"] .shop-shell__loading-card h2 {
  color: #f3f4f6;
}

:root[data-theme="dark"] .shop-shell__loading-card p {
  color: #aab1be;
}

:root[data-theme="dark"] .shop-shell__loading-line {
  background: linear-gradient(90deg, rgba(52, 52, 52, 0.72), rgba(84, 84, 84, 0.92), rgba(52, 52, 52, 0.72));
  background-size: 220% 100%;
}

:root[data-theme="dark"] .shop-shell__brand h1,
:root[data-theme="dark"] .shop-shell__tab.router-link-active,
:root[data-theme="dark"] .shop-shell__tab.is-active,
:root[data-theme="dark"] .shop-shell__session-value,
:root[data-theme="dark"] .shop-shell__compact-user strong,
:root[data-theme="dark"] .subscriptions-hero h2,
 :root[data-theme="dark"] .subscriptions-rebates__header h3,
:root[data-theme="dark"] .catalog-focus__header h3,
:root[data-theme="dark"] .catalog-section__header h3,
:root[data-theme="dark"] .test-offer-card__body strong,
:root[data-theme="dark"] .catalog-row__plain,
:root[data-theme="dark"] .masked-credential__value,
:root[data-theme="dark"] .offer-inline__price,
:root[data-theme="dark"] .redeem-summary__top strong,
:root[data-theme="dark"] .redeem-summary__purchase-label,
:root[data-theme="dark"] .redeem-summary__metric--price {
  color: #edf3ff;
}

:root[data-theme="dark"] .shop-shell__eyebrow,
:root[data-theme="dark"] .catalog-focus__eyebrow,
:root[data-theme="dark"] .shop-shell__session-label,
:root[data-theme="dark"] .shop-shell__compact-user span,
:root[data-theme="dark"] .catalog-focus__count span,
:root[data-theme="dark"] .catalog-section__count span,
:root[data-theme="dark"] .catalog-row__credential label,
:root[data-theme="dark"] .configurator-field label,
:root[data-theme="dark"] .dynamic-inputs__label,
:root[data-theme="dark"] .offer-card__eyebrow,
:root[data-theme="dark"] .offer-card__metric span,
:root[data-theme="dark"] .offer-inline__meta span,
:root[data-theme="dark"] .redeem-summary__eyebrow,
:root[data-theme="dark"] .redeem-summary__instruction-code {
  color: #949ca8;
}

:root[data-theme="dark"] .shop-shell__tab {
  color: #9ca4af;
}

:root[data-theme="dark"] .shop-shell__session-link,
:root[data-theme="dark"] .shop-shell__compact-link {
  color: #edf3ff;
}

:root[data-theme="dark"] .shop-shell__compact-trigger__body {
  background: rgba(17, 17, 17, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.02) inset,
    0 16px 30px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .shop-shell__compact-trigger.is-open .shop-shell__compact-trigger__body {
  background: rgba(17, 17, 17, 0.98);
}

:root[data-theme="dark"] .shop-shell__compact-sheet {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.78);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.02) inset,
    0 18px 28px rgba(0, 0, 0, 0.22);
}


:root[data-theme="dark"] .shop-shell__compact-link:hover {
  box-shadow: none;
}

:root[data-theme="dark"] .shop-shell__compact-sheet::after {
  border-left-color: rgba(255, 255, 255, 0.08);
  border-right-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
}

:root[data-theme="dark"] .shop-shell__compact-link.is-active {
  background: rgba(46, 111, 237, 0.18);
  color: #2e6fed;
}

:root[data-theme="dark"] .shop-shell__compact-link--danger {
  color: #ff8c82;
}

:root[data-theme="dark"] .shop-shell__compact-item-badge {
  color: #7ea6ff;
}

:root[data-theme="dark"] .catalog-focus,
:root[data-theme="dark"] .catalog-section,
:root[data-theme="dark"] .subscriptions-hero,
:root[data-theme="dark"] .subscriptions-empty,
:root[data-theme="dark"] .offer-card,
:root[data-theme="dark"] .catalog-focus__panel,
:root[data-theme="dark"] .catalog-row,
:root[data-theme="dark"] .test-offer-card,
:root[data-theme="dark"] .offer-card__metric,
:root[data-theme="dark"] .offer-inline,
:root[data-theme="dark"] .redeem-summary,
:root[data-theme="dark"] .catalog-focus__count,
:root[data-theme="dark"] .catalog-section__count,
:root[data-theme="dark"] .level-option {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

:root[data-theme="dark"] .catalog-row__placeholder-text {
  color: #c7d1df;
}

:root[data-theme="dark"] .catalog-email-placeholder__bracket {
  color: #8c9bb5;
}

:root[data-theme="dark"] .catalog-email-placeholder__token {
  color: #edf3ff;
}

:root[data-theme="dark"] .catalog-email-placeholder__domain {
  color: #2b7fff;
}

:root[data-theme="dark"] .catalog-password-placeholder__bracket {
  color: #8c9bb5;
}

:root[data-theme="dark"] .catalog-typed-placeholder__content {
  color: #edf3ff;
}

:root[data-theme="dark"] .catalog-type-cursor {
  color: #edf3ff;
}

:root[data-theme="dark"] .catalog-credential-dots__dot {
  background: #d6deea;
  box-shadow: none;
}

:root[data-theme="dark"] .catalog-focus,
:root[data-theme="dark"] .subscriptions-hero {
  background: transparent;
  padding: 10px;
  border: 0;
}

:root[data-theme="dark"] .catalog-section,
:root[data-theme="dark"] .subscriptions-empty,
:root[data-theme="dark"] .test-offer-card {
  background: rgba(19, 22, 27, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .catalog-section--secondary {
  background: transparent;
}

:root[data-theme="dark"] .catalog-focus__panel,
:root[data-theme="dark"] .catalog-row,
:root[data-theme="dark"] .offer-card,
:root[data-theme="dark"] .test-offer-card {
  background: var(--catalog-card-surface);
}

:root[data-theme="dark"] .redeem-summary__purchase-link {
  color: #5ea2ff !important;
}

:root[data-theme="dark"] .offer-inline {
  background: rgba(28, 32, 39, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .catalog-row--inactive,
:root[data-theme="dark"] .offer-card--main {
  background: var(--catalog-card-surface);
}

:root[data-theme="dark"] .catalog-row--ghost,
:root[data-theme="dark"] .offer-card--ghost,
:root[data-theme="dark"] .catalog-focus__panel--ghost,
:root[data-theme="dark"] .redeem-summary--ghost {
  background: var(--catalog-card-surface-secondary);
}

:root[data-theme="dark"] .redeem-summary--config {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

:root[data-theme="dark"] .redeem-summary__callout-rail {
  background: #2b7fff;
}

:root[data-theme="dark"] .redeem-summary__callout-icon {
  color: #8b93a3;
}

:root[data-theme="dark"] .redeem-summary--config .redeem-summary__meta {
  color: #9ca3af;
}

:root[data-theme="dark"] .redeem-summary--config .redeem-summary__meta span {
  background: rgba(39, 39, 42, 0.96);
  color: #a1a1aa;
}

:root[data-theme="dark"] .redeem-summary--purchase-loading {
  background: var(--catalog-card-surface-secondary);
}

:root[data-theme="dark"] .redeem-summary__typed-text--placeholder {
  color: #667180;
}

:root[data-theme="dark"] .redeem-summary__metric--price .redeem-summary__typed-text--placeholder {
  color: #7c899b;
}

:root[data-theme="dark"] .redeem-summary__ghost-line,
:root[data-theme="dark"] .redeem-summary__ghost-pill,
:root[data-theme="dark"] .redeem-summary__ghost-button {
  background: linear-gradient(90deg, rgba(53, 60, 72, 0.9), rgba(78, 86, 100, 0.98), rgba(53, 60, 72, 0.9));
  background-size: 220% 100%;
}

:root[data-theme="dark"] .catalog-row--placeholder {
  background: var(--catalog-card-surface-secondary);
}

:root[data-theme="dark"] .test-offer-card {
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .standalone-page__back-link {
  color: #8c95a2;
}

:root[data-theme="dark"] .standalone-page__back-link:hover {
  color: #edf3ff;
}

:root[data-theme="dark"] .self-sync-bookmarklet {
  border-color: rgba(255, 255, 255, 0.12);
  color: #c7ced8;
}

:root[data-theme="dark"] .self-sync-bookmarklet:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #edf3ff;
}

:root[data-theme="dark"] .self-sync-status-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(26, 29, 35, 0.92);
}

:root[data-theme="dark"] .self-sync-status-item span {
  color: #9ba3ae;
}

:root[data-theme="dark"] .self-sync-status-item strong,
:root[data-theme="dark"] .self-sync-debug summary {
  color: #edf3ff;
}

:root[data-theme="dark"] .self-sync-steps {
  color: #9ba3ae;
}

:root[data-theme="dark"] .self-sync-debug {
  border-top-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .self-sync-debug pre {
  background: rgba(26, 29, 35, 0.92);
  color: #d6dce6;
}

:root[data-theme="dark"] .catalog-inactive-stack--with-tail {
  background: rgba(32, 35, 41, 0.98);
}

:root[data-theme="dark"] .catalog-hidden-card {
  border: 0;
  background: transparent;
}

:root[data-theme="dark"] .catalog-focus__header p,
:root[data-theme="dark"] .catalog-section__header p,
 :root[data-theme="dark"] .subscriptions-rebates__header p,
:root[data-theme="dark"] .catalog-row__hint,
:root[data-theme="dark"] .subscriptions-forward__label,
:root[data-theme="dark"] .catalog-focus__note,
:root[data-theme="dark"] .test-offer-card__body p,
:root[data-theme="dark"] .subscriptions-hero p,
:root[data-theme="dark"] .redeem-summary__meta,
:root[data-theme="dark"] .shop-form__hint,
:root[data-theme="dark"] .level-options__hint {
  color: #9ba3ae;
}

:root[data-theme="dark"] .subscriptions-recovery-alert {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .subscriptions-recovery-panel__hint {
  color: #9ba3ae;
}

:root[data-theme="dark"] .subscriptions-pending-card__actions {
  color: #c2cad6;
}

:root[data-theme="dark"] .subscriptions-pending-card__title-spinner {
  border-color: rgba(255, 255, 255, 0.16);
  border-top-color: rgba(240, 244, 248, 0.92);
}

:root[data-theme="dark"] .subscriptions-account-card__chip {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(28, 32, 39, 0.96);
  color: #edf3ff;
}

:root[data-theme="dark"] .subscriptions-account-card__chip:hover {
  border-color: rgba(232, 232, 232, 0.28);
  color: #ffffff;
}

:root[data-theme="dark"] .subscriptions-rebate-card {
  background: rgba(24, 27, 33, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .subscriptions-rebate-card__top strong,
:root[data-theme="dark"] .subscriptions-rebate-card__top span {
  color: #edf3ff;
}

:root[data-theme="dark"] .subscriptions-rebate-card__meta,
:root[data-theme="dark"] .subscriptions-rebate-card__hint {
  color: #9ba3ae;
}

:root[data-theme="dark"] .redeem-summary__top,
:root[data-theme="dark"] .offer-inline__meta {
  color: #edf3ff;
}

:root[data-theme="dark"] .cashback-preview__price del {
  color: #7f8998;
}

:root[data-theme="dark"] .cashback-preview__price strong,
:root[data-theme="dark"] .cashback-preview__popover strong {
  color: #edf3ff;
}

:root[data-theme="dark"] .cashback-preview__info {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #c7ced8;
}

:root[data-theme="dark"] .cashback-preview__popover p {
  color: #9ba3ae;
}

:root[data-theme="dark"] .catalog-focus__count strong,
:root[data-theme="dark"] .catalog-section__count strong {
  color: #edf3ff;
}

:root[data-theme="dark"] .shop-form__hint--warning {
  color: #f2b36b;
}

:root[data-theme="dark"] .level-option {
  border-color: rgba(255, 255, 255, 0.08);
  background: #232325;
  color: #c7ced8;
}

:root[data-theme="dark"] .level-option.is-active {
  border-color: rgba(214, 221, 229, 0.22);
  background: rgba(221, 227, 234, 0.76);
  color: #1b2230;
}

:root[data-theme="dark"] .catalog-hidden-stack__bar,
:root[data-theme="dark"] .catalog-row__ghost-bar,
:root[data-theme="dark"] .catalog-row__skeleton,
:root[data-theme="dark"] .masked-credential__skeleton {
  background: linear-gradient(90deg, rgb(79 80 80 / 80%), rgb(128 128 128 / 94%), rgb(82 83 83 / 80%));
}

:root[data-theme="dark"] .catalog-matrix-skeleton__chip,
:root[data-theme="dark"] .catalog-action-skeleton,
:root[data-theme="dark"] .catalog-hidden-count__placeholder {
  background: linear-gradient(90deg, rgba(70, 76, 86, 0.8), rgba(104, 111, 123, 0.94), rgba(70, 76, 86, 0.8));
}

:root[data-theme="dark"] .catalog-loading-tag__core {
  background: rgba(109, 117, 129, 0.86);
}

:root[data-theme="dark"] .product-matrix--skeleton .product-matrix__bar--skeleton {
  background: rgba(109, 117, 129, 0.86);
}

:root[data-theme="dark"] .catalog-row--deferred,
:root[data-theme="dark"] .catalog-row--load-more {
  background: rgba(28, 32, 39, 0.96);
}

:root[data-theme="dark"] .catalog-row__deferred-badge {
  background: rgba(214, 221, 229, 0.1);
  color: #d5deea;
}

:root[data-theme="dark"] .catalog-row__deferred-copy {
  color: #9ba3ae;
}

:root[data-theme="dark"] .catalog-row__sweep {
  background-color: rgba(255, 255, 255, 0.18);
}

:root[data-theme="dark"] .catalog-row__sweep::before {
  content: none;
}

:root[data-theme="dark"] .catalog-hidden-card__eyebrow {
  color: #a6a6a6;
}

:root[data-theme="dark"] .catalog-hidden-card__title {
  color: #c0c6ce;
}

:root[data-theme="dark"] .catalog-hidden-count {
  border: 0;
  background: transparent;
  color: #f3f5f7;
  box-shadow: none;
}

:root[data-theme="dark"] .product-matrix__bar.is-sold {
  background: #9aa7bb;
}

:root[data-theme="dark"] .product-matrix__bar.is-available {
  background: #8fd08a;
}

:root[data-theme="dark"] .product-matrix__bar.is-idle {
  background: #454b56;
}
.shop-dialog {
  --dialog-white: #ffffff;
  --dialog-snow: #fcfcfc;
  --dialog-eclipse: #18181b;
  --dialog-background: #f5f5f5;
  --dialog-muted: #71717a;
  --dialog-default: #ebebec;
  --dialog-accent: #0485f7;
  --dialog-accent-foreground: #fcfcfc;
  --dialog-field-background: #ffffff;
  --dialog-field-foreground: #18181b;
  --dialog-field-placeholder: #71717a;
  --dialog-field-border: transparent;
  --dialog-field-border-hover: color-mix(in srgb, #dedee0 88%, #18181b 10%);
  --dialog-field-border-focus: color-mix(in srgb, #dedee0 74%, #18181b 22%);
  --dialog-field-focus: #ffffff;
  --dialog-segment: #ffffff;
  --dialog-segment-foreground: #18181b;
  --dialog-border: #dedee0;
  --dialog-separator: #e4e4e7;
  --dialog-focus: #0485f7;
  --dialog-surface-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 0 1px 0 rgba(0, 0, 0, 0.06);
  --dialog-overlay-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06), 0 -6px 12px 0 rgba(0, 0, 0, 0.03), 0 14px 28px 0 rgba(0, 0, 0, 0.08);
  --dialog-field-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 0 1px 0 rgba(0, 0, 0, 0.06);
  --dialog-radius: 0.5rem;
  --dialog-radius-field: 0.75rem;
  --dialog-disabled-opacity: 0.5;
  --dialog-ring-offset-width: 2px;
}

:root[data-theme="dark"] .shop-dialog {
  --dialog-snow: #fcfcfc;
  --dialog-background: #060607;
  --dialog-muted: #9f9fa9;
  --dialog-default: #27272a;
  --dialog-accent: #0485f7;
  --dialog-accent-foreground: #fcfcfc;
  --dialog-field-background: #18181b;
  --dialog-field-foreground: #fcfcfc;
  --dialog-field-placeholder: #9f9fa9;
  --dialog-field-border: transparent;
  --dialog-field-border-hover: color-mix(in srgb, #28282c 88%, #fcfcfc 10%);
  --dialog-field-border-focus: color-mix(in srgb, #28282c 74%, #fcfcfc 22%);
  --dialog-field-focus: #18181b;
  --dialog-segment: #46464c;
  --dialog-segment-foreground: #fcfcfc;
  --dialog-border: #28282c;
  --dialog-separator: #212124;
  --dialog-focus: #0485f7;
  --dialog-surface-shadow: inset 0 0 0 0 transparent;
  --dialog-overlay-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 20px 48px rgba(0, 0, 0, 0.45);
  --dialog-field-shadow: inset 0 0 0 0 transparent;
}

.shop-dialog .dialog-control,
.shop-dialog .textfield {
  width: 100%;
}

.shop-dialog .label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--dialog-field-foreground);
}

.shop-dialog .description {
  display: block;
  padding-inline: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.3334;
  color: var(--dialog-muted);
}

.shop-dialog .dialog-control,
.shop-dialog .textfield,
.shop-dialog .radio-group,
.shop-dialog .select {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shop-dialog .tabs {
  width: 100%;
}

.shop-dialog .tabs__list-container {
  position: relative;
  width: 100%;
}

.shop-dialog .tabs__list {
  display: inline-flex;
  width: 100%;
  border-radius: 1.25rem;
  background: var(--dialog-default);
  padding: 0.25rem;
}

.shop-dialog .tabs__tab {
  position: relative;
  display: inline-flex;
  z-index: 1;
  min-width: 5rem;
  width: 100%;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  border-radius: 1.5rem;
  border: 0;
  background: transparent;
  color: var(--dialog-muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s ease;
}

.shop-dialog .tabs__tab:hover:not(:disabled) {
  opacity: 0.7;
}

.shop-dialog .tabs__tab[data-selected] {
  color: var(--dialog-segment-foreground);
}

.shop-dialog .tabs__tab:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 var(--dialog-ring-offset-width) var(--dialog-background),
    0 0 0 calc(var(--dialog-ring-offset-width) + 2px) var(--dialog-focus);
}

.shop-dialog .tabs__tab:disabled,
.shop-dialog .tabs[data-disabled] .tabs__tab {
  opacity: var(--dialog-disabled-opacity);
  cursor: not-allowed;
}

.shop-dialog .tabs__indicator {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  background: var(--dialog-segment);
  box-shadow: var(--dialog-surface-shadow);
  transition: translate 0.25s cubic-bezier(0.32, 0.72, 0, 1), width 0.25s cubic-bezier(0.32, 0.72, 0, 1), height 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}

.shop-dialog .radio-group {
  gap: 0;
}

.shop-dialog .radio {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--dialog-field-foreground);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease;
}

.shop-dialog .radio + .radio {
  margin-top: 1rem;
}

.shop-dialog .radio:hover:not(:disabled) {
  opacity: 0.88;
}

.shop-dialog .radio:focus-visible {
  outline: none;
}

.shop-dialog .radio:focus-visible .radio__control {
  box-shadow:
    0 0 0 var(--dialog-ring-offset-width) var(--dialog-background),
    0 0 0 calc(var(--dialog-ring-offset-width) + 2px) var(--dialog-focus),
    var(--dialog-field-shadow);
}

.shop-dialog .radio:disabled {
  opacity: var(--dialog-disabled-opacity);
  cursor: not-allowed;
}

.shop-dialog .radio__control {
  position: relative;
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: var(--dialog-default);
  box-shadow: var(--dialog-field-shadow);
  margin-top: 3px;
  transition: background-color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1), border-color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.shop-dialog .radio[data-selected] .radio__control {
  background: var(--dialog-accent);
}

.shop-dialog .radio__indicator {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.shop-dialog .radio__indicator::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--dialog-field-background);
  transform: scale(1);
  transition: transform 0.2s cubic-bezier(0.215, 0.61, 0.355, 1), background-color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.shop-dialog .radio[data-selected] .radio__indicator::before {
  background: var(--dialog-accent-foreground);
  transform: scale(0.4286);
}

.shop-dialog .radio__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
}

.shop-dialog .radio__content .label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dialog-field-foreground);
}

.shop-dialog .radio__content .description {
  padding-inline: 0;
  color: var(--dialog-muted);
}

.shop-dialog .select {
  position: relative;
}

.shop-dialog .select__trigger {
  isolation: isolate;
  position: relative;
  display: inline-flex;
  width: 100%;
  min-height: 2.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: var(--dialog-radius-field);
  border-width: 0;
  border-style: solid;
  border-color: var(--dialog-field-border);
  background: var(--dialog-field-background);
  box-shadow: var(--dialog-field-shadow);
  padding-inline: 0.75rem;
  padding-block: 0.5rem;
  color: var(--dialog-field-foreground);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.shop-dialog .select__trigger:has(.select__indicator) {
  padding-right: 1.75rem;
}

.shop-dialog .select__trigger:hover:not(:disabled) {
  background: color-mix(in srgb, var(--dialog-field-background) 90%, var(--dialog-field-foreground) 2%);
  border-color: var(--dialog-field-border-hover);
}

.shop-dialog .select__trigger:focus-visible {
  outline: none;
  border-color: var(--dialog-field-border-focus);
  background: var(--dialog-field-focus);
  box-shadow:
    var(--dialog-field-shadow),
    0 0 0 var(--dialog-ring-offset-width) var(--dialog-background),
    0 0 0 calc(var(--dialog-ring-offset-width) + 2px) var(--dialog-focus);
}

.shop-dialog .select__trigger:disabled {
  opacity: var(--dialog-disabled-opacity);
  cursor: not-allowed;
}

.shop-dialog .select__value {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  color: var(--dialog-field-foreground);
  overflow-wrap: break-word;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .shop-dialog .select__value {
    font-size: 0.875rem;
    line-height: 1.25;
  }
}

.shop-dialog .select__value[data-placeholder] {
  color: var(--dialog-field-placeholder);
}

.shop-dialog .select__value [data-slot="list-box-item-indicator"],
.shop-dialog .select__value .list-box-item__indicator {
  display: none;
}

.shop-dialog .select__indicator {
  position: absolute;
  inset-block: 0;
  right: 0.5rem;
  margin-block: auto;
  display: flex;
  width: 1rem;
  height: 1rem;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--dialog-field-placeholder);
  transition: transform 0.15s ease;
}

.shop-dialog .select__indicator[data-open] {
  transform: rotate(180deg);
}

.shop-dialog .dialog-listbox__popover,
.shop-dialog .select__popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 40;
  min-width: 100%;
  transform-origin: top center;
  overflow-y: auto;
  border-radius: 1.5rem;
  background: var(--dialog-field-background);
  box-shadow: var(--dialog-overlay-shadow);
}

.shop-dialog .dialog-listbox,
.shop-dialog .list-box {
  display: flex;
  max-height: 16rem;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  overflow: clip;
  padding: 0.25rem;
}

.shop-dialog .dialog-listbox__item,
.shop-dialog .list-box-item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: var(--dialog-field-foreground);
  cursor: pointer;
  font: inherit;
  padding-inline: 0.5rem;
  padding-block: 0.375rem;
  min-height: 2.25rem;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.shop-dialog .dialog-listbox__item:has(.list-box-item__indicator),
.shop-dialog .list-box-item:has(.list-box-item__indicator) {
  padding-right: 1.75rem;
}

.shop-dialog .dialog-listbox__item:hover:not(:disabled),
.shop-dialog .list-box-item:hover:not(:disabled) {
  background: color-mix(in srgb, var(--dialog-default) 88%, transparent);
}

.shop-dialog .dialog-listbox__item:focus-visible,
.shop-dialog .list-box-item:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 var(--dialog-ring-offset-width) var(--dialog-background),
    0 0 0 calc(var(--dialog-ring-offset-width) + 2px) var(--dialog-focus);
}

.shop-dialog .dialog-listbox__item:disabled,
.shop-dialog .list-box-item:disabled {
  opacity: var(--dialog-disabled-opacity);
  cursor: not-allowed;
}

.shop-dialog .dialog-listbox__content,
.shop-dialog .list-box-item__content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
}

.shop-dialog .list-box-item__indicator {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  display: flex;
  width: 1rem;
  height: 1rem;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--dialog-default-foreground, var(--dialog-field-foreground));
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.shop-dialog .dialog-listbox__item[data-selected] .list-box-item__indicator,
.shop-dialog .list-box-item[data-selected] .list-box-item__indicator {
  opacity: 1;
}

.shop-dialog .list-box-item__indicator svg {
  width: 0.625rem;
  height: 0.625rem;
}

.shop-dialog .textfield {
  gap: 0.25rem;
}

.shop-dialog .textfield__control {
  position: relative;
  width: 100%;
}

.shop-dialog .textfield__control-icon {
  position: absolute;
  top: 50%;
  left: 0.875rem;
  z-index: 1;
  display: inline-flex;
  width: 1.22rem;
  height: 1.22rem;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--dialog-field-placeholder);
  opacity: 0.92;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.shop-dialog .textfield__control--textarea .textfield__control-icon {
  top: 0.875rem;
  transform: none;
}

.shop-dialog .textfield__control-icon-svg {
  width: 1.22rem;
  height: 1.22rem;
}

.shop-dialog .input,
.shop-dialog .textarea {
  width: 100%;
  border-width: 0;
  border-style: solid;
  border-color: var(--dialog-field-border);
  border-radius: var(--dialog-radius-field);
  background: var(--dialog-field-background);
  box-shadow: var(--dialog-field-shadow);
  color: var(--dialog-field-foreground);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding-inline: 0.75rem;
  padding-block: 0.5rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (min-width: 640px) {
  .shop-dialog .input,
  .shop-dialog .textarea {
    font-size: 0.875rem;
    line-height: 1.25;
  }
}

.shop-dialog .input {
  min-height: 2.25rem;
}

.shop-dialog .textarea {
  min-height: 2.375rem;
  resize: vertical;
}

.shop-dialog .input--with-icon,
.shop-dialog .textarea--with-icon {
  padding-left: 2.9rem;
}

.shop-dialog .input::placeholder,
.shop-dialog .textarea::placeholder {
  color: var(--dialog-field-placeholder);
}

.shop-dialog .input:hover:not(:disabled),
.shop-dialog .textarea:hover:not(:disabled) {
  background: color-mix(in srgb, var(--dialog-field-background) 90%, var(--dialog-field-foreground) 2%);
  border-color: var(--dialog-field-border-hover);
}

.shop-dialog .textfield__control:hover .textfield__control-icon,
.shop-dialog .textfield__control:focus-within .textfield__control-icon {
  color: var(--dialog-field-foreground);
  opacity: 1;
}

.shop-dialog .input:focus-visible,
.shop-dialog .textarea:focus-visible {
  outline: none;
  border-color: var(--dialog-field-border-focus);
  background: var(--dialog-field-focus);
  box-shadow:
    var(--dialog-field-shadow),
    0 0 0 var(--dialog-ring-offset-width) var(--dialog-background),
    0 0 0 calc(var(--dialog-ring-offset-width) + 2px) var(--dialog-focus);
}

.shop-dialog .input.is-invalid,
.shop-dialog .textarea.is-invalid {
  border-color: rgba(255, 56, 60, 0.48);
  box-shadow:
    var(--dialog-field-shadow),
    0 0 0 3px rgba(255, 56, 60, 0.12);
}

.shop-dialog .input:disabled,
.shop-dialog .textarea:disabled {
  opacity: var(--dialog-disabled-opacity);
  cursor: not-allowed;
}

.shop-dialog .dialog-people-meter {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
}

.shop-dialog .dialog-people-meter__person {
  display: inline-flex;
  color: rgba(161, 161, 170, 0.4);
}

.shop-dialog .dialog-people-meter__person.is-active {
  color: #a1a1aa;
}

.shop-dialog .dialog-people-meter--seat .dialog-people-meter__person {
  color: rgba(161, 161, 170, 0.38);
}

.shop-dialog .dialog-people-meter--seat .dialog-people-meter__person.is-active {
  color: var(--dialog-accent);
}

.shop-dialog .dialog-people-meter__icon {
  width: 13px;
  height: 13px;
}

.shop-dialog .dialog-select__rich-value,
.shop-dialog .dialog-select__rich-option {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.shop-dialog .dialog-select__copy {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-dialog .dialog-input-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.shop-dialog .configurator-field--full {
  grid-column: 1 / -1;
}

.shop-dialog .configurator-field--radio {
  align-self: stretch;
}

.shop-dialog .dynamic-inputs {
  display: grid;
  gap: 0.75rem;
}

.dialog-select-pop-enter-active,
.dialog-select-pop-leave-active {
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.dialog-select-pop-enter-from,
.dialog-select-pop-leave-to {
  opacity: 0;
  transform: translateY(-0.25rem) scale(0.95);
}

@media (max-width: 760px) {
  .shop-dialog .select__trigger,
  .shop-dialog .input,
  .shop-dialog .textarea,
  .shop-dialog .list-box-item {
    font-size: 0.9375rem;
  }

  .shop-dialog .tabs__tab {
    min-width: 0;
  }

  .shop-dialog .dialog-select__copy {
    font-size: 0.875rem;
  }
}

@media (max-width: 420px) {
  .shop-dialog .tabs__tab {
    font-size: 0.88rem;
  }
}
