/* Tamambaha price-list template. Scoped to the custom category/single pages. */

body.tb-price-list-post-template,
body.tb-price-list-category-template {
  --tb-price-bg: #070b10;
  --tb-price-panel: rgba(12, 18, 25, 0.9);
  --tb-price-panel-soft: rgba(255, 255, 255, 0.045);
  --tb-price-border: rgba(142, 199, 216, 0.24);
  --tb-price-border-strong: rgba(255, 190, 92, 0.42);
  --tb-price-text: #f3f7f9;
  --tb-price-muted: #aebbc4;
  --tb-price-cyan: #49d6d0;
  --tb-price-amber: #ffb547;
  --tb-price-green: #8fe388;
  --tb-price-danger: #ff6f61;
  --tb-price-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  background: var(--tb-price-bg);
}

[data-theme="light"] body.tb-price-list-post-template,
[data-theme="light"] body.tb-price-list-category-template,
body[data-theme="light"].tb-price-list-post-template,
body[data-theme="light"].tb-price-list-category-template {
  --tb-price-bg: #f5f7f8;
  --tb-price-panel: rgba(255, 255, 255, 0.94);
  --tb-price-panel-soft: rgba(11, 21, 30, 0.045);
  --tb-price-border: rgba(11, 49, 62, 0.14);
  --tb-price-border-strong: rgba(212, 123, 24, 0.32);
  --tb-price-text: #13202a;
  --tb-price-muted: #5c6b75;
  --tb-price-cyan: #087f83;
  --tb-price-amber: #b56516;
  --tb-price-green: #277b3b;
  --tb-price-danger: #b7352b;
  --tb-price-shadow: 0 18px 50px rgba(15, 23, 30, 0.12);
}

body.tb-price-list-category-template .ast-archive-entry-banner {
  display: none;
}

body.tb-price-list-category-template #content.site-content {
  padding-top: 0;
}

.tb-price-page,
.tb-price-archive {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) 0 64px;
  color: var(--tb-price-text);
  font-family: var(--font-family-primary, "Vazirmatn", "IRANSans", sans-serif);
}

body.tb-price-list-category-template .tb-price-archive {
  padding-top: clamp(18px, 2.4vw, 32px);
}

.tb-price-page *,
.tb-price-archive * {
  box-sizing: border-box;
}

.tb-price-page a,
.tb-price-archive a {
  color: inherit;
  text-decoration: none;
}

.tb-price-hero,
.tb-price-archive-hero,
.tb-price-downloads,
.tb-price-content-shell,
.tb-price-final-cta,
.tb-price-archive-toolbar,
.tb-price-archive-guide,
.tb-price-archive-card {
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  background: var(--tb-price-panel);
  box-shadow: var(--tb-price-shadow);
  backdrop-filter: blur(16px);
}

.tb-price-hero,
.tb-price-archive-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.72fr);
  gap: 24px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
}

.tb-price-hero::before,
.tb-price-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(73, 214, 208, 0.16), transparent 38%),
    repeating-linear-gradient(-45deg, transparent 0 16px, rgba(255, 255, 255, 0.035) 16px 17px);
}

.tb-price-hero__copy,
.tb-price-archive-hero__copy,
.tb-price-hero__panel,
.tb-price-archive-hero__stats,
.tb-price-archive-hero__latest {
  position: relative;
  z-index: 1;
}

.tb-price-breadcrumb {
  margin-bottom: 18px;
  color: var(--tb-price-muted);
  font-size: 0.9rem;
}

.tb-price-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-price-breadcrumb li {
  display: flex;
  min-width: 0;
  align-items: center;
}

.tb-price-breadcrumb li + li::before {
  content: "/";
  margin: 0 8px;
  color: rgba(174, 187, 196, 0.62);
}

.tb-price-breadcrumb a {
  color: var(--tb-price-cyan);
  font-weight: 800;
}

.tb-price-breadcrumb [aria-current="page"] {
  display: inline-block;
  max-width: min(520px, 52vw);
  overflow: hidden;
  color: var(--tb-price-text);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tb-price-hero h1,
.tb-price-archive-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--tb-price-text);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.tb-price-hero__copy > p,
.tb-price-archive-hero__copy > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--tb-price-muted);
  font-size: 1.04rem;
  line-height: 2;
}

.tb-price-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tb-price-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 17px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tb-price-button:hover,
.tb-price-archive-card:hover {
  transform: translateY(-2px);
}

.tb-price-button--primary {
  background: linear-gradient(135deg, var(--tb-price-amber), #ffe07b);
  color: #15110a !important;
}

.tb-price-button--secondary {
  border-color: rgba(73, 214, 208, 0.5);
  background: rgba(73, 214, 208, 0.12);
  color: var(--tb-price-cyan) !important;
}

.tb-price-button--ghost {
  border-color: var(--tb-price-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tb-price-text) !important;
}

.tb-price-hero__panel {
  display: grid;
  gap: 12px;
  align-self: stretch;
}

.tb-price-hero__panel > div {
  min-height: 92px;
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.tb-price-hero__panel span,
.tb-price-archive-hero__stats span {
  display: block;
  color: var(--tb-price-muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.tb-price-hero__panel strong,
.tb-price-archive-hero__stats strong {
  display: block;
  margin-top: 4px;
  color: var(--tb-price-text);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.6;
}

.tb-price-archive-hero__latest {
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: start;
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.tb-price-archive-hero__latest h2 {
  margin: 0;
  color: var(--tb-price-text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.6;
}

.tb-price-archive-hero__latest ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-price-archive-hero__latest li {
  margin: 0;
  padding: 0;
}

.tb-price-archive-hero__latest a {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(73, 214, 208, 0.22);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(73, 214, 208, 0.09);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.55;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.tb-price-archive-hero__latest-title {
  min-width: 0;
  overflow: hidden;
  color: var(--tb-price-cyan);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tb-price-archive-hero__latest-date {
  flex: 0 0 auto;
  color: var(--tb-price-amber);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.tb-price-archive-hero__latest a:hover,
.tb-price-archive-hero__latest a:focus-visible {
  border-color: var(--tb-price-border-strong);
  background: rgba(255, 181, 71, 0.1);
}

.tb-price-archive-hero__latest a:hover .tb-price-archive-hero__latest-title,
.tb-price-archive-hero__latest a:focus-visible .tb-price-archive-hero__latest-title {
  color: var(--tb-price-text);
}

.tb-price-archive-hero__latest p {
  margin: 0;
  color: var(--tb-price-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.tb-price-downloads,
.tb-price-content-shell,
.tb-price-final-cta,
.tb-price-archive-toolbar,
.tb-price-archive-layout {
  margin-top: 24px;
}

.tb-price-downloads,
.tb-price-content-shell {
  padding: clamp(20px, 3vw, 32px);
}

.tb-price-downloads {
  position: relative;
  overflow: hidden;
  padding-inline-start: clamp(22px, 3.2vw, 40px);
  background:
    linear-gradient(135deg, rgba(73, 214, 208, 0.09), transparent 36%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.96), rgba(11, 18, 25, 0.86));
}

.tb-price-downloads::before {
  content: "";
  position: absolute;
  inset-block: 20px;
  inset-inline-start: clamp(16px, 2vw, 24px);
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--tb-price-amber), var(--tb-price-cyan), rgba(73, 214, 208, 0.08));
  opacity: 0.85;
}

.tb-price-downloads::after {
  content: "";
  position: absolute;
  inset-inline-end: -90px;
  inset-block-start: -140px;
  width: 270px;
  height: 270px;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
  transform: rotate(12deg);
}

[data-theme="light"] body.tb-price-list-post-template .tb-price-downloads,
body[data-theme="light"].tb-price-list-post-template .tb-price-downloads {
  background:
    linear-gradient(135deg, rgba(8, 127, 131, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 250, 0.9));
}

[data-theme="light"] body.tb-price-list-post-template .tb-price-downloads::after,
body[data-theme="light"].tb-price-list-post-template .tb-price-downloads::after {
  background: repeating-linear-gradient(135deg, rgba(8, 64, 76, 0.065) 0 1px, transparent 1px 14px);
}

.tb-price-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.tb-price-downloads .tb-price-section-heading {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(142, 199, 216, 0.16);
  text-align: right;
}

.tb-price-section-heading p {
  margin: 0;
  color: var(--tb-price-amber);
  font-size: 0.84rem;
  font-weight: 900;
}

.tb-price-downloads .tb-price-section-heading p {
  display: inline-flex;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 181, 71, 0.28);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 181, 71, 0.08);
  line-height: 1.3;
}

.tb-price-section-heading h2 {
  margin: 0;
  color: var(--tb-price-text);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
}

.tb-price-downloads .tb-price-section-heading h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  text-align: right;
}

.tb-price-section-heading span {
  max-width: 760px;
  color: var(--tb-price-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.tb-price-download-group {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 190px);
  grid-template-areas: "files label";
  gap: 18px;
  align-items: start;
  padding-top: 18px;
}

.tb-price-download-group + .tb-price-download-group {
  margin-top: 6px;
  border-top: 1px solid rgba(142, 199, 216, 0.16);
}

.tb-price-download-group h3 {
  grid-area: label;
  position: sticky;
  top: 96px;
  margin: 0;
  border: 1px solid rgba(142, 199, 216, 0.2);
  border-inline-end: 3px solid var(--tb-price-cyan);
  border-radius: 8px;
  padding: 14px 13px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--tb-price-text);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.7;
}

[data-theme="light"] body.tb-price-list-post-template .tb-price-download-group h3,
body[data-theme="light"].tb-price-list-post-template .tb-price-download-group h3 {
  background: rgba(8, 64, 76, 0.035);
}

.tb-price-download-grid {
  grid-area: files;
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(142, 199, 216, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

[data-theme="light"] body.tb-price-list-post-template .tb-price-download-grid,
body[data-theme="light"].tb-price-list-post-template .tb-price-download-grid {
  background: rgba(8, 64, 76, 0.025);
}

.tb-price-download {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 58px 42px;
  grid-template-areas: "action body mark index";
  gap: 14px;
  align-items: center;
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid rgba(142, 199, 216, 0.14);
  border-radius: 0;
  padding: 14px 16px;
  background: transparent;
  transition: background 180ms ease, color 180ms ease;
}

.tb-price-download:last-child {
  border-bottom: 0;
}

.tb-price-download:hover {
  background: linear-gradient(90deg, rgba(255, 181, 71, 0.12), rgba(73, 214, 208, 0.08));
}

[data-theme="light"] body.tb-price-list-post-template .tb-price-download:hover,
body[data-theme="light"].tb-price-list-post-template .tb-price-download:hover {
  background: linear-gradient(90deg, rgba(181, 101, 22, 0.11), rgba(8, 127, 131, 0.07));
}

.tb-price-download__index {
  grid-area: index;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(73, 214, 208, 0.1);
  color: var(--tb-price-cyan);
  font-size: 0.82rem;
  font-weight: 900;
}

.tb-price-download__mark {
  grid-area: mark;
  display: inline-flex;
  width: 54px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(73, 214, 208, 0.24);
  border-radius: 999px;
  background: rgba(73, 214, 208, 0.08);
  color: var(--tb-price-cyan);
  font-size: 0.72rem;
  font-weight: 900;
}

.tb-price-archive-card__brand {
  display: block;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--tb-price-cyan);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-align: right;
}

.tb-price-download-group--supporting .tb-price-download__mark {
  border-color: rgba(143, 227, 136, 0.24);
  background: rgba(143, 227, 136, 0.08);
  color: var(--tb-price-green);
}

.tb-price-download__body {
  grid-area: body;
  justify-self: stretch;
  min-width: 0;
  text-align: right;
}

.tb-price-download__body strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--tb-price-text);
  font-size: 0.98rem;
  line-height: 1.7;
}

.tb-price-download__body small,
.tb-price-download__action {
  color: var(--tb-price-muted);
  font-size: 0.82rem;
}

.tb-price-download__action {
  grid-area: action;
  justify-self: start;
  padding: 7px 10px;
  border: 1px solid rgba(255, 181, 71, 0.28);
  border-radius: 999px;
  background: rgba(255, 181, 71, 0.09);
  color: var(--tb-price-amber) !important;
  font-weight: 900;
  white-space: nowrap;
}

.tb-price-download:hover .tb-price-download__action {
  background: var(--tb-price-amber);
  color: #15110a !important;
}

.tb-price-downloads__empty {
  border: 1px dashed var(--tb-price-border);
  border-radius: 8px;
  padding: 16px;
  color: var(--tb-price-muted);
  line-height: 1.9;
}

.tb-price-content {
  max-width: 100%;
  color: var(--tb-price-text);
  font-size: 1rem;
  line-height: 2.08;
  overflow-x: hidden;
  overflow-x: clip;
}

.tb-price-content .vc_row,
.tb-price-content .wpb_column,
.tb-price-content .vc_column-inner,
.tb-price-content .wpb_wrapper,
.tb-price-content .wpb_text_column,
.tb-price-content .wpb_content_element {
  max-width: 100% !important;
  min-width: 0 !important;
  background: transparent !important;
}

.tb-price-content .vc_row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.tb-price-content .wpb_column,
.tb-price-content .vc_column-inner {
  width: 100% !important;
}

.tb-price-content > *:first-child {
  margin-top: 0;
}

.tb-price-content p,
.tb-price-content li {
  color: var(--tb-price-muted);
}

.tb-price-content h2,
.tb-price-content h3,
.tb-price-content h4 {
  color: var(--tb-price-text);
  font-weight: 900;
  line-height: 1.55;
}

.tb-price-content h2 {
  margin-top: 32px;
  font-size: 1.55rem;
}

.tb-price-content h3 {
  margin-top: 26px;
  font-size: 1.22rem;
}

.tb-price-content a {
  color: var(--tb-price-cyan);
  font-weight: 800;
}

.tb-price-content ul,
.tb-price-content ol {
  padding-right: 22px;
}

.tb-price-content table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 26px 0 34px;
  overflow: hidden;
  border: 1px solid var(--tb-price-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  background: var(--tb-price-panel);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  clip-path: inset(0 round 8px);
  direction: rtl;
}

.tb-price-content th,
.tb-price-content td {
  border: 0;
  border-bottom: 1px solid var(--tb-price-border);
  border-left: 1px solid var(--tb-price-border);
  padding: 15px 16px;
  text-align: right;
  vertical-align: middle;
  overflow-wrap: anywhere;
  white-space: normal;
}

.tb-price-content th {
  background: linear-gradient(135deg, rgba(73, 214, 208, 0.2), rgba(73, 214, 208, 0.09));
  color: var(--tb-price-text);
  font-weight: 900;
  line-height: 1.65;
}

.tb-price-content td {
  background: rgba(255, 255, 255, 0.012);
  color: var(--tb-price-muted);
  font-weight: 700;
  line-height: 1.85;
}

.tb-price-content tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.026);
}

.tb-price-content tbody tr:hover td {
  background: rgba(73, 214, 208, 0.075);
  color: var(--tb-price-text);
}

.tb-price-content th:last-child,
.tb-price-content td:last-child {
  border-left: 0;
}

.tb-price-content tr:last-child > th,
.tb-price-content tr:last-child > td {
  border-bottom: 0;
}

.tb-price-content td strong,
.tb-price-content td b {
  color: var(--tb-price-text);
  font-weight: 900;
}

.tb-price-faq__item {
  margin-top: 12px;
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  background: var(--tb-price-panel-soft);
}

.tb-price-faq__item summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--tb-price-text);
  font-weight: 900;
}

.tb-price-faq__item > div {
  padding: 0 16px 16px;
}

.tb-price-final-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 30px);
}

.tb-price-final-cta h2 {
  margin: 0;
  color: var(--tb-price-text);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.6;
}

.tb-price-final-cta p {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--tb-price-muted);
  line-height: 1.9;
}

.tb-price-comments {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  background: var(--tb-price-panel);
  color: var(--tb-price-text);
  box-shadow: var(--tb-price-shadow);
  backdrop-filter: blur(16px);
}

.tb-price-comments #comments,
.tb-price-comments .comments-area,
.tb-price-comments .comment-respond,
.tb-price-comments #respond,
.tb-price-comments .ast-comment-formwrap,
.tb-price-comments .comment-form {
  background: transparent !important;
  color: var(--tb-price-text);
}

.tb-price-comments .comments-title,
.tb-price-comments .comment-reply-title,
.tb-price-comments h2,
.tb-price-comments h3 {
  margin-top: 0;
  color: var(--tb-price-text) !important;
  font-weight: 900;
}

.tb-price-comments p,
.tb-price-comments label,
.tb-price-comments .comment-notes,
.tb-price-comments .logged-in-as,
.tb-price-comments .comment-metadata,
.tb-price-comments .form-allowed-tags,
.tb-price-comments .comment-awaiting-moderation {
  color: var(--tb-price-muted) !important;
}

.tb-price-comments a {
  color: var(--tb-price-cyan);
}

.tb-price-comments .comment-form {
  display: grid;
  gap: 14px;
}

.tb-price-comments .comment-form p {
  margin: 0;
}

.tb-price-comments textarea,
.tb-price-comments input[type="text"],
.tb-price-comments input[type="email"],
.tb-price-comments input[type="url"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--tb-price-border) !important;
  border-radius: 8px;
  background: var(--tb-price-panel-soft) !important;
  color: var(--tb-price-text) !important;
  padding: 12px 14px;
  font: inherit;
}

.tb-price-comments textarea {
  min-height: 170px;
  resize: vertical;
}

.tb-price-comments textarea::placeholder,
.tb-price-comments input::placeholder {
  color: rgba(174, 187, 196, 0.75);
}

.tb-price-comments textarea:focus,
.tb-price-comments input[type="text"]:focus,
.tb-price-comments input[type="email"]:focus,
.tb-price-comments input[type="url"]:focus {
  outline: 2px solid rgba(73, 214, 208, 0.28);
  border-color: var(--tb-price-cyan) !important;
}

.tb-price-comments input[type="submit"],
.tb-price-comments .submit {
  width: auto;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--tb-price-amber), #ffe07b) !important;
  color: #1b1308 !important;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.tb-price-comments .comment-list,
.tb-price-comments ol.comment-list {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.tb-price-comments .comment-body {
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  background: var(--tb-price-panel-soft);
  padding: 16px;
  color: var(--tb-price-text);
}

.tb-price-archive-toolbar {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tb-price-archive-toolbar label {
  color: var(--tb-price-text);
  font-weight: 900;
}

.tb-price-archive-toolbar > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.tb-price-archive-toolbar input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--tb-price-panel-soft);
  color: var(--tb-price-text);
  font: inherit;
}

.tb-price-archive-toolbar input:focus {
  outline: 2px solid rgba(73, 214, 208, 0.28);
  border-color: var(--tb-price-cyan);
}

.tb-price-archive-layout {
  display: block;
  margin-top: 20px;
}

.tb-price-archive-guide {
  display: none;
}

.tb-price-archive-guide h2 {
  margin: 0 0 12px;
  color: var(--tb-price-text);
  font-size: 1.15rem;
  font-weight: 900;
}

.tb-price-archive-guide ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-right: 20px;
}

.tb-price-archive-guide li {
  color: var(--tb-price-muted);
  line-height: 1.85;
}

.tb-price-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 282px));
  gap: 12px;
  justify-content: start;
}

.tb-price-archive-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tb-price-archive-card:hover {
  border-color: var(--tb-price-border-strong);
  background: rgba(255, 255, 255, 0.07);
}

.tb-price-archive-card a {
  display: flex;
  gap: 12px;
  min-height: 0;
  align-items: center;
  padding: 10px;
}

.tb-price-archive-card__body {
  display: grid;
  flex: 1 1 auto;
  gap: 8px;
  align-content: center;
  justify-items: start;
  min-width: 0;
}

.tb-price-archive-card__meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 !important;
}

.tb-price-archive-card__meta span {
  display: inline-grid !important;
  gap: 2px;
  min-width: 78px;
  margin: 0 !important;
  border: 1px solid rgba(255, 181, 71, 0.22);
  border-radius: 8px;
  padding: 5px 8px;
  background: rgba(255, 181, 71, 0.08);
  line-height: 1.45;
}

.tb-price-archive-card__meta b,
.tb-price-archive-card__meta em {
  font-style: normal;
}

.tb-price-archive-card__meta b {
  color: var(--tb-price-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.tb-price-archive-card__meta em {
  color: var(--tb-price-amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.tb-price-archive-card__media {
  display: flex !important;
  flex: 0 0 96px;
  width: 96px;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.tb-price-archive-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tb-price-archive-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed var(--tb-price-border);
  border-radius: 8px;
  padding: 18px;
  color: var(--tb-price-muted);
  text-align: center;
}

.tb-price-pagination {
  margin-top: 26px;
}

.tb-price-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-price-pagination a,
.tb-price-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tb-price-border);
  border-radius: 8px;
  padding: 7px 12px;
  background: var(--tb-price-panel);
  color: var(--tb-price-text);
  font-weight: 800;
}

.tb-price-pagination .current {
  border-color: var(--tb-price-border-strong);
  background: rgba(255, 181, 71, 0.14);
  color: var(--tb-price-amber);
}

@media (max-width: 980px) {
  .tb-price-hero,
  .tb-price-archive-hero,
  .tb-price-archive-layout {
    grid-template-columns: 1fr;
  }

  .tb-price-archive-guide {
    position: static;
  }
}

@media (max-width: 760px) {
  .tb-price-page,
  .tb-price-archive {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .tb-price-download-grid,
  .tb-price-archive-grid,
  .tb-price-archive-toolbar > div {
    grid-template-columns: 1fr;
  }

  .tb-price-downloads .tb-price-section-heading,
  .tb-price-download-group {
    grid-template-columns: 1fr;
  }

  .tb-price-download-group {
    grid-template-areas:
      "label"
      "files";
  }

  .tb-price-downloads .tb-price-section-heading h2,
  .tb-price-downloads .tb-price-section-heading p {
    justify-self: auto;
  }

  .tb-price-download-group h3 {
    position: static;
  }

  .tb-price-hero,
  .tb-price-archive-hero,
  .tb-price-downloads,
  .tb-price-content-shell,
  .tb-price-final-cta,
  .tb-price-archive-toolbar {
    padding: 18px;
  }

  .tb-price-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .tb-price-download,
  .tb-price-archive-card a {
    grid-template-columns: 42px 58px minmax(0, 1fr);
  }

  .tb-price-download {
    grid-template-areas:
      "index mark body"
      "action action action";
  }

  .tb-price-download__action {
    justify-self: start;
  }
}
