﻿:root {
  --app-surface: #ffffff;
  --app-surface-soft: #f8fafc;
  --app-border: #e5e7eb;
  --app-text: #0f172a;
  --app-text-soft: #64748b;
  --app-blue: #2563eb;
  --app-blue-dark: #1d4ed8;
  --app-blue-soft: #eff6ff;
  --app-amber: #d97706;
  --app-amber-soft: #fef3c7;
  --app-green: #16a34a;
  --app-green-soft: #dcfce7;
  --app-gray-soft: #f3f4f6;
}

.page-app {
  --app-type-hero-title-size: var(--text-h1-size);
  --app-type-hero-title-line: 1.08;
  --app-type-hero-title-weight: var(--font-weight-bold);
  --app-type-section-title-size: var(--text-body-size);
  --app-type-section-title-line: 1.25;
  --app-type-section-title-weight: var(--font-weight-semibold);
  --app-type-compact-size: var(--text-small-size);
  --app-type-compact-line: var(--line-height-body);
  --app-type-compact-weight: var(--font-weight-regular);
  --app-type-label-size: var(--text-micro-size);
  --app-type-label-line: var(--line-height-micro);
  --app-type-label-weight: var(--font-weight-semibold);
  --app-type-pill-size: var(--text-micro-size);
  --app-type-pill-line: 1;
  --app-type-pill-weight: var(--font-weight-medium);
  --app-tab-size: var(--text-body-size);
  --app-tab-line: 1.2;
  --app-tab-weight: var(--font-weight-semibold);
}

.page-app .crumbs {
  margin: 18px 0 10px;
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-body);
  color: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-app .crumbs a:hover {
  color: rgba(15, 23, 42, 0.86);
  text-decoration: underline;
}

.page-app .crumb-sep {
  color: rgba(15, 23, 42, 0.35);
}

.page-app .store-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 24px;
  align-items: start;
  padding: 10px 0 18px;
}

.page-app .store-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-app .store-right {
  min-width: 0;
}

.page-app .store-right-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-app .store-preview,
.page-app .details-card,
.page-app .content-card,
.page-app .store-hero-card {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: var(--app-surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.page-app .store-hero-card {
  padding: 26px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.page-app .store-hero-main {
  min-width: 0;
}

.page-app .store-hero-title {
  margin: 0 0 10px;
  font-size: var(--app-type-hero-title-size);
  line-height: var(--app-type-hero-title-line);
  letter-spacing: -0.03em;
  font-weight: var(--app-type-hero-title-weight);
  color: var(--app-text);
}

.page-app .store-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.page-app .meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--app-type-pill-size);
  line-height: var(--app-type-pill-line);
  font-weight: var(--app-type-pill-weight);
  color: rgba(15, 23, 42, 0.78);
  background: var(--app-gray-soft);
  border: 1px solid var(--app-border);
}

.page-app .meta-pill-blue {
  color: var(--app-blue);
  background: var(--app-blue-soft);
  border-color: #bfdbfe;
}

.page-app .store-hero-desc {
  max-width: 700px;
  margin: 0;
  font-size: var(--app-type-compact-size);
  line-height: 1.6;
  font-weight: var(--app-type-compact-weight);
  color: var(--app-text-soft);
}

.page-app .store-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
}

.page-app .store-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--app-blue), var(--app-blue-dark));
  color: #ffffff;
  text-decoration: none;
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.page-app .store-visit-btn:hover {
  filter: brightness(0.97);
}

.page-app .app-hero-identity {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.page-app .app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  object-fit: cover;
}

.page-app .app-identity-text {
  min-width: 0;
}

.page-app .app-vendor {
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: rgba(15, 23, 42, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-app .app-tagline {
  margin-top: 2px;
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: rgba(15, 23, 42, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-app .preview-browser-bar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--app-surface-soft);
  border-bottom: 1px solid var(--app-border);
}

.page-app .browser-dots {
  display: flex;
  gap: 7px;
}

.page-app .bdot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}

.page-app .bdot-red { background: #ff5f57; }
.page-app .bdot-amber { background: #febc2e; }
.page-app .bdot-green { background: #28c840; }

.page-app .browser-url {
  flex: 1;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--app-text-soft);
  font-size: var(--app-type-label-size);
  line-height: var(--line-height-small);
}

.page-app .store-gallery {
  padding: 0;
}

.page-app .gallery-hero {
  width: 100%;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4ff 0%, #faf5ff 50%, #f0fff4 100%);
  cursor: pointer;
  padding: 0;
  display: block;
}

.page-app .gallery-hero img {
  width: 100%;
  height: 380px;
  display: block;
  object-fit: cover;
}

.page-app .gallery-hero-fallback {
  width: 100%;
  height: 380px;
  background: linear-gradient(160deg, #f0f4ff 0%, #faf5ff 50%, #f0fff4 100%);
}

.page-app .gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--app-border);
  background: var(--app-surface-soft);
}

.page-app .gallery-thumb {
  flex: 1;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  cursor: pointer;
}

.page-app .gallery-thumb img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  display: block;
}

.page-app .gallery-thumb.is-active {
  border-color: var(--app-blue);
}

.page-app .app-disclosure {
  padding: 10px 16px 14px;
  font-size: var(--text-micro-size);
  line-height: var(--line-height-body);
  color: rgba(15, 23, 42, 0.55);
}

.page-app .store-nav {
  display: inline-flex;
  gap: 10px;
}

.page-app .store-nav-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--app-border);
  background: var(--app-surface);
  color: rgba(15, 23, 42, 0.72);
  cursor: pointer;
  line-height: var(--line-height-body);
  box-shadow: var(--shadow-soft);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.page-app .store-nav-btn:hover {
  background: rgba(15, 23, 42, 0.04);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.page-app .store-nav-btn:disabled,
.page-app .store-nav-btn[aria-disabled="true"] {
  opacity: 0.42;
  cursor: default;
  box-shadow: var(--shadow-soft);
  transform: none;
}

.page-app .store-nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18), var(--shadow-soft);
}

.page-app .app-page-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

.page-app .page-nav-btn {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--app-border);
  background: #ffffff;
  color: rgba(15, 23, 42, 0.86);
  font-size: var(--app-type-compact-size);
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.page-app .page-nav-btn:hover {
  background: rgba(15, 23, 42, 0.04);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.page-app .page-nav-btn:disabled,
.page-app .page-nav-btn[aria-disabled="true"] {
  opacity: 0.42;
  cursor: default;
  box-shadow: var(--shadow-soft);
  transform: none;
}

.page-app .page-nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18), var(--shadow-soft);
}

.page-app .details-card {
  padding: 0;
}

.page-app .details-title {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  margin: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--app-border);
  font-size: var(--app-type-label-size);
  font-weight: var(--app-type-label-weight);
  line-height: var(--app-type-label-line);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.68);
}

.page-app .details-body {
  padding: 0;
  display: grid;
}

.page-app .details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--app-border);
}

.page-app .details-row:last-child {
  border-bottom: 0;
}

.page-app .details-row[hidden] {
  display: none !important;
}

.page-app .detail-label {
  font-size: var(--app-type-label-size);
  line-height: var(--line-height-small);
  font-weight: var(--font-weight-regular);
  color: #94a3b8;
  white-space: nowrap;
}

.page-app .detail-value {
  min-width: 0;
  font-size: var(--app-type-compact-size);
  line-height: var(--app-type-compact-line);
  font-weight: 600;
  color: var(--app-text);
  overflow-wrap: anywhere;
  text-align: right;
}

.page-app .sidebar-cta {
  padding: 22px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--app-blue), var(--app-blue-dark));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
}

.page-app .sidebar-cta-title {
  font-size: var(--app-type-section-title-size);
  line-height: 1.3;
  font-weight: var(--app-type-section-title-weight);
}

.page-app .sidebar-cta-copy {
  margin: 10px 0 16px;
  font-size: var(--app-type-compact-size);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.page-app .sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--app-blue);
  text-decoration: none;
  font-size: var(--app-type-compact-size);
  font-weight: var(--font-weight-semibold);
}

.page-app .ad-box {
  height: 250px;
  border-radius: 14px;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
}

.page-app .content-card {
  padding: 0;
  width: 100%;
  margin-bottom: var(--space-24);
}

.page-app .snapshot-intel-redesign {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--app-border);
  gap: 1px;
}

.page-app .snapshot-intel-card {
  background: #ffffff;
  padding: 22px 18px;
  text-align: center;
}

.page-app .snapshot-intel-label {
  font-size: var(--app-type-label-size);
  font-weight: var(--app-type-label-weight);
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.62);
  margin-bottom: 16px;
}

.page-app .signal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--app-type-compact-size);
  font-weight: var(--font-weight-semibold);
}

.page-app .signal-badge-strong {
  background: var(--app-green-soft);
  color: var(--app-green);
}

.page-app .signal-badge-medium {
  background: var(--app-amber-soft);
  color: var(--app-amber);
}

.page-app .signal-badge-weak {
  background: #e2e8f0;
  color: #475569;
}

.page-app .signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.page-app .signal-bar-wrap {
  width: 100%;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.page-app .signal-bar {
  height: 100%;
  border-radius: 999px;
}

.page-app .signal-bar-strong { background: var(--app-green); }
.page-app .signal-bar-medium { background: var(--app-amber); }
.page-app .signal-bar-weak { background: #64748b; }

.page-app .snapshot-intel-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.68);
}

.page-app .snapshot-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid var(--app-border);
  background: #ffffff;
}

.page-app .snapshot-main,
.page-app .snapshot-side {
  display: grid;
  gap: 18px;
}

.page-app .snapshot-panel {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  background: #ffffff;
  padding: 18px;
}

.page-app .snapshot-panel-soft {
  background: rgba(248, 250, 252, 0.65);
}

.page-app .snapshot-kicker {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.52);
  margin-bottom: 10px;
}

.page-app .snapshot-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.76);
}

.page-app .snapshot-evidence-box {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.65;
}

.page-app .snapshot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-app .snapshot-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.76);
}

.page-app .snapshot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
}

.page-app .content-row {
  padding: 20px 22px;
  margin-bottom: 0;
}

.page-app .content-row-divider {
  padding: 0;
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
}

.page-app .content-cell {
  min-width: 0;
}

.page-app .section-title {
  margin: 0 0 8px;
  font-size: var(--app-type-section-title-size);
  line-height: var(--app-type-section-title-line);
  font-weight: var(--app-type-section-title-weight);
}

.page-app .section-text {
  margin: 0;
  font-size: var(--content-body-size);
  font-weight: var(--content-body-weight);
  line-height: var(--content-body-line);
  letter-spacing: var(--content-body-letter);
  color: var(--content-body-color);
}

/* Table-adjacent support copy should match table body rhythm */
.page-app #pricingSummary,
.page-app #featuresIntro,
.page-app #pricingNotesText {
  font-size: var(--table-body-size);
  font-weight: var(--table-body-weight);
  line-height: var(--table-body-line);
  letter-spacing: var(--table-body-letter);
  color: var(--table-body-color);
}

/* Keep the notes row visually secondary but on the same text rhythm */
.page-app #pricingNotesWrap .evidence-label {
  font-size: var(--text-micro-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-small);
}

.page-app .store-tabs-row {
  padding-bottom: 10px;
}

.page-app .store-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--app-border);
  margin-bottom: 0;
}

.page-app .store-tab {
  border: none;
  background: transparent;
  padding: 10px 4px;
  font-size: var(--app-tab-size);
  font-weight: var(--app-tab-weight);
  line-height: var(--app-tab-line);
  color: rgba(15, 23, 42, 0.62);
  cursor: pointer;
  position: relative;
}

.page-app .store-tab.is-active {
  color: rgba(15, 23, 42, 0.92);
}

.page-app .store-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 2px;
  background: var(--app-blue);
  border-radius: 2px;
}

.page-app .takeaways-table-wrap {
  margin-top: 14px;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.page-app .takeaways-table,
.page-app .strategy-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--text-small-size);
  line-height: var(--line-height-body);
}

.page-app .takeaways-table th,
.page-app .takeaways-table td,
.page-app .strategy-table th,
.page-app .strategy-table td {
  padding: 13px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: top;
  text-align: left;
}

.page-app .takeaways-table thead th,
.page-app .strategy-table thead th {
  font-size: var(--table-head-size);
  font-weight: var(--table-head-weight);
  line-height: var(--table-head-line);
  letter-spacing: var(--table-head-letter);
  color: var(--table-head-color);
}

.page-app .strategy-table thead th.strategy-col-score {
  text-align: center;
  width: 140px;
}

.page-app .takeaways-table thead th {
  background: rgba(248, 250, 252, 0.92);
  border-top: none;
}

.page-app .takeaways-table td,
.page-app .strategy-table td {
  font-size: var(--table-body-size);
  font-weight: var(--table-body-weight);
  line-height: var(--table-body-line);
  letter-spacing: var(--table-body-letter);
  color: var(--table-body-color);
}

.page-app .strategy-table td.feature-note {
  font-size: var(--table-body-size);
  font-weight: var(--table-body-weight);
  line-height: var(--table-body-line);
  letter-spacing: var(--table-body-letter);
  color: var(--table-body-color);
}

/* Center Fit pill column */
.page-app .strategy-table th:last-child,
.page-app .strategy-table td:last-child {
  text-align: center;
}

/* Ensure pill stays visually centered inside the cell */
.page-app .strategy-table td:last-child .level-chip {
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
}

.page-app .strategy-card {
  margin-top: 14px;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.page-app .strategy-card-head {
  padding: 12px 16px;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: var(--text-h3-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  color: rgba(15, 23, 42, 0.88);
}

.page-app .strategy-table-wrap {
  width: 100%;
  overflow: auto;
}

.page-app .strategy-table thead th {
  background: rgba(248, 250, 252, 0.6);
  border-top: none;
}

.page-app .strategy-col-score {
  text-align: center;
  white-space: nowrap;
  width: 140px;
}

.page-app .strategy-score {
  font-size: var(--table-body-size);
  font-weight: var(--table-body-weight);
  line-height: var(--table-body-line);
  letter-spacing: var(--table-body-letter);
}

.page-app .takeaways-table tbody td.takeaways-area,
.page-app .takeaways-table tbody td:first-child,
.page-app .strategy-table tbody td.strategy-insight,
.page-app .strategy-table tbody td:first-child {
  font-weight: var(--table-label-weight);
  color: var(--table-label-color);
}

.page-app .level-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
}

.page-app .level-chip.is-strong {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
  color: rgba(21, 128, 61, 0.95);
}

.page-app .level-chip.is-medium {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.22);
  color: rgba(30, 64, 175, 0.95);
}

.page-app .level-chip.is-weak {
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(148, 163, 184, 0.3);
  color: rgba(51, 65, 85, 0.92);
}

.page-app .strategy-empty {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.60);
  color: var(--color-text-muted, rgba(15, 23, 42, 0.7));
  font-size: var(--text-small-size);
}


.page-app .lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.page-app .lightbox.is-open {
  display: block;
}

.page-app .lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
}

.page-app .lightbox-panel {
  position: absolute;
  inset: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px;
  overflow: auto;
}

.page-app .lightbox-close {
  align-self: flex-end;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: rgba(15, 23, 42, 0.72);
  font-size: var(--text-micro-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  padding: 6px 10px;
  cursor: pointer;
}

.page-app .lightbox-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.page-app .store-rail {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 64px;
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-20);
  padding-right: var(--space-20);
}

.page-app .store-rail .section-head {
  margin: 0 0 var(--space-16);
}

.page-app .store-rail .rail-track {
  padding-top: 0;
  padding-bottom: 0;
}

.page-app .store-rail + .store-rail {
  padding-top: 0;
}

.page-app .store-rail .collection-card {
  height: 100%;
}

body.page-app section.rail.store-rail {
  width: 100% !important;
  max-width: var(--container-max, 1200px);
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  padding-left: var(--space-20);
  padding-right: var(--space-20);
  box-sizing: border-box;
}

.page-app .store-rail .collection-media .wish-btn {
  position: absolute;
  top: var(--card-overlay-inset);
  right: var(--card-overlay-inset);
}

@media (max-width: 1100px) {
  .page-app .store-grid {
    grid-template-columns: 1fr;
  }

  .page-app .store-hero-card {
    grid-template-columns: 1fr;
  }

  .page-app .store-hero-actions {
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .page-app .lightbox-panel {
    inset: 14px;
  }
}

@media (max-width: 640px) {
  .page-app .store-hero-card {
    padding: 22px 18px;
  }

  .page-app .store-hero-title {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .page-app .store-rail {
    padding-bottom: 56px;
  }

  .page-app .content-row {
    padding: 16px 16px;
  }

  .page-app .gallery-hero img,
  .page-app .gallery-hero-fallback {
    height: 240px;
  }

  .page-app .gallery-thumbs {
    gap: 8px;
    padding: 10px 12px;
  }

  .page-app .gallery-thumb img {
    height: 58px;
  }

  .page-app .app-page-nav {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .page-app .header-search {
    display: block;
  }
}
