:root {
  --primary: #0f172a;
  --accent: #14b8a6;
  --accent-strong: #0f766e;
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #f8fafc;
  --paper: #ffffff;
  --soft: #f1f5f9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
}

.login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(20,184,166,.26), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(15,23,42,.38), transparent 34%),
    linear-gradient(135deg, #020617 0%, #0f172a 58%, #134e4a 100%);
}

button,
input,
select,
.button-link {
  font: inherit;
}

button,
.button-link {
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 272px 1fr;
}

.sidebar {
  padding: 24px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #0f172a, #14b8a6);
  box-shadow: 0 14px 30px rgba(20,184,166,.24);
}

.eyebrow {
  margin: 0 0 4px;
  color: inherit;
  opacity: .72;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 30px;
}

.tabs {
  display: grid;
  gap: 8px;
}

.tab {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  text-align: left;
  border-radius: 8px;
  background: transparent;
  text-decoration: none;
  font-weight: 800;
}

.tab.active,
.tab:hover {
  color: var(--ink);
  background: var(--soft);
}

.summary {
  margin-top: auto;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.summary p,
.summary span {
  margin: 0;
  color: var(--muted);
}

.summary strong {
  display: block;
  margin: 8px 0;
  font-size: 42px;
}

.workspace {
  min-width: 0;
  padding: 28px;
}

.topbar,
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.preview-toolbar .actions {
  justify-content: flex-end;
}

.user-chip {
  display: inline-flex;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.actions,
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.primary,
.ghost {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 800;
}

.primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(15,23,42,.12);
}

.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: white;
}

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(15,23,42,.04);
}

.install-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.install-card {
  width: min(100%, 520px);
}

.install-card h1 {
  color: var(--ink);
}

.install-card p {
  color: var(--muted);
}

.notice {
  padding: 12px 14px;
  border-radius: 8px;
  color: #0f5132 !important;
  background: #d8f3dc;
  font-weight: 800;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 460px);
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.login-hero {
  color: white;
  display: grid;
  gap: 24px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
}

.login-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
}

.login-hero p {
  max-width: 620px;
  margin: 0;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.55;
}

.login-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.login-proof span {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}

.login-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.login-card h2 {
  margin-bottom: 18px;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form .primary {
  width: 100%;
  margin-top: 4px;
}

.login-error {
  padding: 12px;
  border-radius: 8px;
  color: #842029;
  background: #f8d7da;
  font-weight: 800;
}

.demo-logins {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: #f0fdfa;
  color: var(--muted);
  line-height: 1.6;
}

.demo-logins strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.demo-logins p {
  margin: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.product-form,
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.wide {
  grid-column: span 2;
}

.switch {
  align-self: end;
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
}

.switch input {
  width: 20px;
  min-height: 20px;
}

.form-actions {
  grid-column: span 4;
  justify-content: flex-end;
}

.products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.products-head h3,
.account-hero h3,
.account-details h3 {
  margin: 0;
  font-size: 28px;
}

.products-head span,
.account-hero span {
  display: inline-flex;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.products-actions {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search-box {
  min-width: min(360px, 100%);
}

.search-box span {
  color: var(--muted);
}

.search-box input {
  min-width: 320px;
  padding-left: 42px;
  background:
    linear-gradient(transparent, transparent),
    white;
  background-image:
    radial-gradient(circle at 18px 21px, transparent 0 5px, var(--muted) 5.8px 6.8px, transparent 7.4px),
    linear-gradient(45deg, transparent 0 55%, var(--muted) 56% 62%, transparent 63%);
  background-repeat: no-repeat;
  background-size: 30px 42px, 12px 12px;
  background-position: 10px center, 28px 24px;
}

.product-metrics,
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.product-metrics article,
.account-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.product-metrics span,
.account-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-metrics strong,
.account-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.product-metrics p,
.account-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.plan-strip {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 360px) auto;
  gap: 16px;
  align-items: center;
}

.plan-strip strong {
  display: block;
  font-size: 20px;
}

.plan-strip span {
  color: var(--muted);
  font-weight: 700;
}

.usage-meter {
  height: 12px;
  border-radius: 999px;
  background: #dbe5f1;
  overflow: hidden;
}

.usage-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.upgrade-callout {
  padding: 22px;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  background: #f0fdfa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.upgrade-callout h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.upgrade-callout p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  margin-top: 24px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  background: #f8fafc;
  letter-spacing: .05em;
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.row-actions button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--ink);
  background: #eef3f9;
}

.row-actions a {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--ink);
  background: var(--soft);
  text-decoration: none;
}

.row-actions a:first-child {
  color: var(--accent-strong);
  background: #ccfbf1;
}

.empty-search {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: 24px;
  background: rgba(15, 23, 42, .52);
  display: grid;
  place-items: center;
}

.modal {
  width: min(980px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  background: white;
  box-shadow: 0 36px 90px rgba(2, 6, 23, .32);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.modal-head h3 {
  margin: 0;
  font-size: 26px;
}

.icon-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: white;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.modal-form {
  padding: 24px;
}

.account-hero {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20,184,166,.16), rgba(15,23,42,.04)),
    #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.account-grid {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.account-details {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.account-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.account-details dl div {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.account-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-details dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-weight: 800;
  font-size: 12px;
}

.status.off {
  color: #842029;
  background: #f8d7da;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 20px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.admin-metrics article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-metrics span {
  color: var(--muted);
  font-weight: 800;
}

.admin-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
}

.admin-heading h3 {
  margin: 0;
  font-size: 26px;
}

.admin-heading span {
  color: var(--muted);
  font-weight: 700;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: 110px 160px auto;
  gap: 8px;
  align-items: center;
  min-width: 390px;
}

.admin-inline-form input,
.admin-inline-form select {
  min-height: 38px;
}

.price-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  display: grid;
  gap: 16px;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 16px 34px rgba(0,85,184,.16);
}

.price-card.current {
  outline: 3px solid rgba(255,98,0,.18);
}

.price-card h3 {
  margin: 0;
  font-size: 28px;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.price-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.8;
}

.price {
  font-size: 36px;
  color: var(--accent-strong);
}

.current-pill {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 999px;
  color: #0f5132;
  background: #d8f3dc;
  font-weight: 900;
}

.catalog-preview {
  display: grid;
  gap: 22px;
}

.catalog-page {
  width: min(100%, 900px);
  min-height: 1273px;
  margin: 0 auto;
  overflow: hidden;
  background: white;
  box-shadow: 0 16px 40px rgba(18,49,93,.18);
}

.cover {
  position: relative;
  height: 300px;
  color: white;
  background-size: cover;
  background-position: center;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.12));
  z-index: 1;
}

.cover-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pdf-logo {
  align-self: flex-end;
  width: 126px;
  height: 126px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: white;
  font-size: 42px;
  font-weight: 900;
  padding: 16px;
}

.pdf-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-pill {
  align-self: flex-end;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--accent);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
}

.generated {
  width: fit-content;
  max-width: 90%;
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  color: #111;
  background: rgba(255,255,255,.92);
  font-weight: 900;
}

.headline {
  padding: 30px;
  color: white;
  background: var(--primary);
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.pdf-grid {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: #073f8f;
}

.pdf-card {
  position: relative;
  min-height: 300px;
  padding: 22px;
  border-radius: 8px;
  background: white;
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 18px;
  overflow: hidden;
}

.stock-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 92px;
  height: 64px;
  border-radius: 8px;
  color: white;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1.05;
}

.stock-badge small {
  display: block;
  font-size: 13px;
  text-align: center;
}

.stock-badge span {
  display: block;
  font-size: 28px;
  text-align: center;
}

.product-art {
  width: 100%;
  height: 230px;
  align-self: end;
  object-fit: contain;
}

.pdf-info {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 36px;
}

.pdf-brand {
  color: #666;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.pdf-name {
  min-height: 78px;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}

.list-price {
  color: #7b8794;
  font-weight: 800;
  text-decoration: line-through;
}

.price-block {
  margin-top: auto;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.offer-price {
  padding: 14px;
  color: white;
  background: var(--primary);
  font-size: 44px;
  font-weight: 900;
}

.sku-band {
  padding: 12px;
  color: white;
  background: var(--accent);
  font-size: 20px;
  font-weight: 900;
}

.print-price-block {
  display: none;
}

.print-hint {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  .product-form,
  .template-grid,
  .pricing-grid,
  .product-metrics,
  .account-grid,
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .plan-strip {
    grid-template-columns: 1fr;
  }

  .wide,
  .form-actions {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .workspace,
  .sidebar {
    padding: 18px;
  }

  .topbar,
  .preview-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .product-form,
  .template-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    align-items: start;
    flex-direction: column;
  }

  .admin-inline-form {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .upgrade-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .products-head,
  .account-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .products-actions {
    align-items: stretch;
    justify-content: stretch;
  }

  .search-box input,
  .products-actions .button-link {
    min-width: 0;
    width: 100%;
  }

  .product-metrics,
  .account-grid,
  .account-details dl {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    padding: 12px;
    place-items: end center;
  }

  .modal {
    max-height: calc(100vh - 24px);
  }

  .wide,
  .form-actions {
    grid-column: span 1;
  }

  .catalog-page {
    min-height: auto;
  }

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

  .pdf-card {
    grid-template-columns: 1fr;
  }
}

@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    background: white;
  }

  .sidebar,
  .topbar,
  .panel,
  .preview-toolbar {
    display: none !important;
  }

  .app-shell,
  .workspace {
    display: block;
    padding: 0;
  }

  .tab-panel {
    display: none !important;
  }

  #previewPanel {
    display: block !important;
  }

  .catalog-preview {
    gap: 0;
  }

  .catalog-page {
    width: 210mm;
    height: 297mm;
    min-height: 297mm;
    box-shadow: none;
    overflow: hidden;
    page-break-after: always;
    break-after: page;
  }

  .catalog-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .cover {
    height: 52mm;
    background-image: none !important;
  }

  .cover-photo,
  .product-art {
    print-color-adjust: exact !important;
  }

  .pdf-grid {
    background: #073f8f !important;
    height: 207mm;
    padding: 8mm 9mm;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 6mm;
  }

  .catalog-page.items-4 .pdf-grid {
    grid-template-rows: repeat(2, 1fr);
  }

  .catalog-page.items-8 .pdf-grid {
    grid-template-rows: repeat(4, 1fr);
    gap: 4mm;
  }

  .catalog-page.items-8 .pdf-card {
    padding: 4mm;
  }

  .catalog-page.items-8 .product-art {
    height: 23mm;
  }

  .catalog-page.items-8 .pdf-info {
    top: 13mm;
    right: 27mm;
  }

  .catalog-page.items-8 .pdf-name {
    font-size: 11pt;
  }

  .catalog-page.items-8 .offer-price {
    font-size: 14pt;
  }

  .catalog-page.items-8 .sku-band {
    font-size: 7pt;
  }

  .pdf-card,
  .pdf-logo,
  .generated {
    background: white !important;
  }

  .pdf-card {
    min-height: 0;
    height: 100%;
    padding: 5mm;
    break-inside: avoid;
    page-break-inside: avoid;
    display: block;
    position: relative;
  }

  .headline,
  .offer-price,
  .stock-badge {
    background: var(--primary) !important;
    color: white !important;
  }

  .headline {
    height: 28mm;
    padding: 0 10mm;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26pt;
    line-height: 1.08;
  }

  .cover-content {
    padding: 9mm;
  }

  .pdf-logo {
    width: 34mm;
    height: 18mm;
    padding: 3mm;
    font-size: 0;
  }

  .store-pill {
    padding: 4mm 8mm;
    font-size: 18pt;
  }

  .generated {
    padding: 3mm 5mm;
    font-size: 10pt;
  }

  .stock-badge {
    top: 4mm;
    left: 4mm;
    width: 22mm;
    height: 15mm;
  }

  .stock-badge small {
    font-size: 7pt;
  }

  .stock-badge span {
    font-size: 15pt;
  }

  .product-art {
    position: absolute;
    left: 6mm;
    bottom: 9mm;
    width: 30%;
    height: 30mm;
    object-fit: contain;
  }

  .pdf-info {
    position: absolute;
    top: 16mm;
    left: 39%;
    right: 30mm;
    bottom: 7mm;
    width: auto;
    display: block;
    padding-top: 0;
    overflow: hidden;
  }

  .pdf-brand {
    font-size: 12pt;
    line-height: 1.05;
    margin-bottom: 3mm;
  }

  .pdf-name {
    min-height: 0;
    font-size: 10.5pt;
    line-height: 1.15;
  }

  .pdf-info .price-block {
    display: none;
  }

  .print-price-block {
    display: block;
    position: absolute;
    right: 5mm;
    bottom: 6mm;
    width: 24mm;
    margin: 0;
    border-radius: 3mm;
    overflow: hidden;
    text-align: center;
  }

  .offer-price {
    padding: 2.2mm 1mm;
    font-size: 17pt;
    line-height: 1;
  }

  .sku-band {
    padding: 2mm 1mm;
    font-size: 8.5pt;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .store-pill,
  .sku-band {
    background: var(--accent) !important;
    color: white !important;
  }
}
