:root {
  --bg: #f4efe8;
  --panel: #fffdfa;
  --panel-strong: #ffffff;
  --line: #ddd4c7;
  --text: #211b17;
  --muted: #75695f;
  --accent: #9a6a32;
  --accent-strong: #7a5226;
  --accent-soft: #f3e6d5;
  --accent-ghost: #faf6f0;
  --sidebar-bg: #17120f;
  --sidebar-surface: rgba(255, 248, 240, 0.05);
  --sidebar-line: rgba(255, 248, 240, 0.1);
  --sidebar-text: #f7f3ee;
  --sidebar-muted: #b0a398;
  --danger: #9f4139;
  --success: #456b56;
  --shadow: 0 18px 42px rgba(30, 24, 20, 0.07);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(154, 106, 50, 0.08), transparent 24rem),
    radial-gradient(circle at top right, rgba(122, 82, 38, 0.05), transparent 26rem),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 100%);
  color: var(--text);
}

body.sidebar-open {
  overflow: hidden;
}

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

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

.auth-card,
.card,
.stat,
.table-wrap {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(231, 226, 218, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card {
  width: min(100%, 480px);
  padding: 34px;
}

.auth-card h1,
.topbar h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.03em;
}

.auth-card p,
.topbar-note,
.muted,
th {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.field label {
  font-weight: 700;
  font-size: 14px;
}

.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: var(--panel-strong);
}

.search-field {
  position: relative;
  flex: 1 1 300px;
}

.search-field-wide {
  flex: 2.2 1 420px;
  min-width: 320px;
}

.select-compact {
  flex: 0.95 1 220px;
  min-width: 220px;
  max-width: 300px;
}

.field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.field-icon svg,
.product-inline-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.input-with-icon {
  padding-left: 46px;
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 101, 8, 0.12);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.button-with-icon {
  gap: 8px;
}

.button .product-inline-icon,
.button-with-icon .product-inline-icon {
  color: #fff;
}

.button-secondary {
  background: var(--accent-ghost);
  color: var(--accent-strong);
  border: 1px solid rgba(139, 101, 8, 0.12);
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at top left, rgba(207, 160, 116, 0.1), transparent 14rem),
    linear-gradient(180deg, #17120f 0%, #120e0c 100%);
  color: var(--sidebar-text);
  overflow: hidden;
  border-right: 1px solid rgba(255, 248, 240, 0.06);
}

.sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sidebar-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.sidebar-main::-webkit-scrollbar {
  width: 4px;
}

.sidebar-main::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.sidebar-main::-webkit-scrollbar-track {
  background: transparent;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 10px 14px;
  border-bottom: 1px solid var(--sidebar-line);
  flex: 1;
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  padding: 9px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

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

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  letter-spacing: 0.16em;
  font-size: 13px;
  color: #fffaf2;
}

.brand small,
.admin-card small {
  display: block;
  margin-top: 4px;
  color: var(--sidebar-muted);
}

.brand small {
  margin-top: 0;
  font-size: 13px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--sidebar-text);
  font-weight: 600;
  opacity: 0.78;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.nav a.is-active,
.nav a:hover {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(255, 248, 240, 0.04));
  border-color: rgba(240, 212, 138, 0.18);
  color: #fff;
  opacity: 1;
  transform: translateX(2px);
}

.nav-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sidebar-muted);
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.nav a.is-active .nav-icon,
.nav a:hover .nav-icon,
.ghost-link:hover .nav-icon {
  color: #f0d48a;
}

.sidebar-foot {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--sidebar-line);
  flex-shrink: 0;
}

.sidebar-toggle,
.sidebar-close-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(139, 101, 8, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  padding: 0;
}

.sidebar-close-btn {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-toggle span,
.sidebar-close-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.sidebar-toggle {
  flex-direction: column;
  gap: 4px;
}

.sidebar-close-btn span {
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform-origin: center;
}

.sidebar-close-btn span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.sidebar-close-btn span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sidebar-overlay {
  display: none;
}

.admin-card {
  padding: 13px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.07), rgba(255, 248, 240, 0.04));
  border: 1px solid rgba(255, 248, 240, 0.08);
}

.admin-card strong {
  display: block;
  font-size: 15px;
  color: #fffaf2;
}

.ghost-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 248, 240, 0.08);
  text-align: center;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ghost-link:hover {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(255, 248, 240, 0.04));
  border-color: rgba(240, 212, 138, 0.16);
  transform: translateY(-1px);
}

.main {
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.topbar-inline {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(31, 24, 18, 0.98), rgba(55, 40, 25, 0.96)),
    var(--sidebar-bg);
  box-shadow: 0 18px 42px rgba(25, 19, 14, 0.22);
}

.brand-inline {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand-inline .brand-logo {
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.brand-inline .brand-copy {
  gap: 2px;
}

.brand-inline .brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #fff8ef;
}

.brand-inline .brand-copy small {
  margin: 0;
  color: rgba(255, 248, 239, 0.72);
  font-size: 13px;
}

.topbar-inline .sidebar-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.topbar-inline .sidebar-toggle span {
  background: #fff8ef;
}

.flash {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.flash-success {
  background: rgba(39, 94, 53, 0.12);
  color: var(--success);
}

.flash-error {
  background: rgba(163, 58, 43, 0.12);
  color: var(--danger);
}

.offer-toast-stack {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 70;
  display: grid;
  gap: 0.75rem;
  width: min(24rem, calc(100vw - 2rem));
  pointer-events: none;
}

.offer-toast {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1rem 1rem 0.95rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.94);
  color: #fff7f7;
  box-shadow: 0 22px 48px rgba(28, 25, 23, 0.22);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-8px) translateX(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: auto;
}

.offer-toast.offer-toast--success {
  border-color: rgba(110, 231, 183, 0.26);
  background: rgba(20, 83, 45, 0.94);
  color: #f0fdf4;
}

.offer-toast.offer-toast--success .offer-toast-copy span {
  color: rgba(240, 253, 244, 0.88);
}

.offer-toast.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.offer-toast.is-hiding {
  opacity: 0;
  transform: translateY(8px) translateX(12px);
}

.offer-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.offer-toast-copy {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.offer-toast-copy strong {
  font-size: 0.95rem;
  line-height: 1.2rem;
}

.offer-toast-copy span {
  font-size: 0.88rem;
  line-height: 1.35rem;
  color: rgba(255, 243, 243, 0.9);
}

.offer-toast-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.1rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat,
.card {
  padding: 22px;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.table-wrap {
  overflow: hidden;
}

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

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(221, 210, 194, 0.65);
}

td strong {
  display: block;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.hero-card {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.4fr 1fr;
}

.notice {
  padding: 16px;
  border-radius: 16px;
  background: rgba(139, 101, 8, 0.08);
  color: var(--accent-strong);
}

.offer-inline-errors {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(163, 58, 43, 0.08);
  border: 1px solid rgba(163, 58, 43, 0.14);
  color: var(--danger);
}

.offer-inline-errors strong {
  display: block;
  margin-bottom: 8px;
}

.offer-error-list {
  margin: 0;
  padding-left: 18px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.toolbar-search {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1 1 520px;
  flex-wrap: wrap;
}

.row-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.section-header-space {
  justify-content: space-between;
}

.table-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.table-link-danger {
  color: var(--danger);
}

.products-catalog {
  display: grid;
  gap: 16px;
}

.product-list-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(231, 226, 218, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-list-media {
  display: block;
}

.product-list-media img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfbf8 0%, #f3efe8 100%);
  padding: 12px;
}

.product-list-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.product-list-top h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.product-list-top h3 a:hover {
  color: var(--accent-strong);
}

.product-list-heading {
  display: grid;
  gap: 10px;
}

.product-list-id,
.product-list-meta,
.product-meta-pill,
.catalog-head,
.catalog-range,
.button-secondary-icon,
.pagination-link,
.pagination-page,
.pagination-pages {
  display: flex;
  align-items: center;
}

.product-list-id {
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.product-list-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-list-meta {
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product-meta-pill {
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #f8f6f2;
  border: 1px solid rgba(231, 226, 218, 0.9);
  color: var(--text);
  font-size: 14px;
}

.product-inline-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.product-list-desc {
  margin: 16px 0 0;
  color: var(--text);
  line-height: 1.6;
}

.product-list-actions {
  margin-top: 18px;
}

.button-secondary-icon {
  gap: 8px;
}

.catalog-head {
  justify-content: space-between;
  gap: 14px;
  padding: 0 4px;
  color: var(--muted);
  flex-wrap: wrap;
}

.catalog-head strong {
  color: var(--text);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.catalog-head span {
  margin-left: 8px;
}

.catalog-range {
  gap: 8px;
  font-size: 14px;
}

.clients-hero-card {
  display: grid;
  gap: 18px;
}

.clients-add-button {
  align-self: flex-start;
  gap: 8px;
}

.clients-summary-strip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fcfaf6;
  border: 1px solid rgba(231, 226, 218, 0.95);
}

.clients-summary-pill,
.clients-summary-note,
.clients-contact-cell .muted,
.clients-action-link {
  display: flex;
  align-items: center;
}

.clients-summary-pill {
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.clients-summary-note {
  color: var(--muted);
}

.clients-search-form {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.clients-search-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.clients-table-wrap td {
  vertical-align: top;
}

.clients-company-cell,
.clients-contact-cell,
.clients-empty-state {
  display: grid;
  gap: 6px;
}

.clients-contact-cell .muted {
  gap: 8px;
}

.clients-empty-state {
  padding: 20px 0;
}

.clients-empty-state strong {
  font-size: 18px;
}

.clients-action-link {
  gap: 6px;
}

.clients-action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(139, 101, 8, 0.12);
  background: #fff;
  color: var(--accent-strong);
  font-weight: 700;
}

.clients-action-chip:hover {
  border-color: rgba(139, 101, 8, 0.28);
  background: var(--accent-ghost);
}

.clients-action-chip-danger {
  border: 1px solid rgba(163, 58, 43, 0.16);
  background: rgba(163, 58, 43, 0.08);
  color: var(--danger);
  cursor: pointer;
}

.clients-action-chip-danger:hover {
  background: rgba(163, 58, 43, 0.14);
}

.clients-dialog {
  width: min(100%, 520px);
  border: 0;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 24px 70px rgba(28, 25, 23, 0.24);
}

.clients-dialog::backdrop {
  background: rgba(23, 19, 17, 0.48);
}

.clients-dialog-card {
  padding: 24px;
}

.clients-dialog-head,
.clients-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.clients-dialog-head {
  margin-bottom: 14px;
}

.clients-dialog-head strong {
  font-size: 22px;
}

.clients-dialog-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f4;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.clients-dialog-actions {
  margin-top: 22px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}

.dashboard-hero-main,
.dashboard-hero-side,
.dashboard-stat-card {
  position: relative;
  overflow: hidden;
}

.dashboard-hero-main::before,
.dashboard-hero-side::before,
.dashboard-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 101, 8, 0.08), transparent 34%);
  pointer-events: none;
}

.dashboard-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.dashboard-status-pill.is-ready {
  color: #166534;
  background: #ecfdf5;
}

.dashboard-stat-card {
  display: grid;
  gap: 8px;
}

.dashboard-stat-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(139, 101, 8, 0.1);
  color: var(--accent);
}

.dashboard-stat-icon svg,
.dashboard-quick-icon svg,
.dashboard-quick-arrow svg,
.dashboard-roadmap-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.dashboard-quick-list,
.dashboard-roadmap {
  display: grid;
  gap: 12px;
}

.dashboard-quick-item,
.dashboard-roadmap-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(231, 226, 218, 0.95);
  background: rgba(255, 255, 255, 0.78);
}

.dashboard-quick-item:hover {
  border-color: rgba(139, 101, 8, 0.22);
  background: #fff;
}

.dashboard-quick-icon,
.dashboard-roadmap-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(139, 101, 8, 0.1);
  color: var(--accent);
}

.dashboard-quick-copy {
  display: grid;
  gap: 4px;
}

.dashboard-quick-copy strong,
.dashboard-roadmap-item strong {
  display: block;
}

.dashboard-quick-arrow {
  color: var(--muted);
}

.dashboard-roadmap-item {
  grid-template-columns: auto 1fr;
}

.dashboard-table-wrap {
  margin-top: 0;
}

.offers-stat-card {
  padding: 22px;
  border: 1px solid rgba(231, 226, 218, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.offers-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.offers-list-card {
  padding: 22px;
  border: 1px solid rgba(231, 226, 218, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.offers-list-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.offers-list-heading {
  display: grid;
  gap: 6px;
}

.offers-list-heading h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.offers-list-tags,
.offers-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.offers-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.offers-meta-item {
  padding: 14px;
  border-radius: 16px;
  background: #fcfaf6;
  border: 1px solid rgba(231, 226, 218, 0.95);
}

.offers-meta-item strong {
  display: block;
  margin-bottom: 6px;
}

.offers-actions {
  margin-top: 18px;
}

.offers-actions .button-secondary .product-inline-icon {
  color: var(--accent-strong);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.product-detail-main-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  background: #f2ece1;
}

.product-detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.product-thumb-button {
  width: 88px;
  height: 72px;
  border: 1px solid rgba(221, 210, 194, 0.9);
  border-radius: 12px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
}

.product-thumb-button.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 101, 8, 0.12);
}

.product-thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

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

.detail-grid-compact strong,
.product-meta-block h3 {
  display: block;
  margin-top: 6px;
}

.product-meta-block {
  margin-top: 22px;
}

.color-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(221, 210, 194, 0.9);
}

.color-chip-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(38, 29, 20, 0.08);
}

.sizes-table {
  display: grid;
  gap: 10px;
}

.size-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(221, 210, 194, 0.9);
}

.product-detail-description {
  line-height: 1.7;
  color: var(--text);
}

.public-page {
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(139, 101, 8, 0.12), transparent 26rem),
    radial-gradient(circle at bottom right, rgba(139, 101, 8, 0.08), transparent 24rem),
    linear-gradient(180deg, #fbfaf7 0%, #f2eee7 100%);
}

.public-page-guard {
  background:
    radial-gradient(circle at top left, rgba(139, 101, 8, 0.16), transparent 24rem),
    radial-gradient(circle at bottom right, rgba(49, 37, 22, 0.14), transparent 30rem),
    linear-gradient(135deg, #f6f1e7 0%, #eee5d6 52%, #f8f4ed 100%);
}

.public-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.public-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(228, 219, 203, 0.92);
  box-shadow: 0 18px 40px rgba(31, 26, 23, 0.05);
  backdrop-filter: blur(12px);
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.public-brand-logo {
  width: 108px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.public-brand-logo img {
  max-width: 108px;
  max-height: 62px;
  display: block;
}

.public-brand-copy {
  display: grid;
  gap: 3px;
}

.public-brand-copy strong {
  font-size: clamp(18px, 2.1vw, 28px);
  letter-spacing: -0.03em;
}

.public-brand-copy small {
  color: var(--muted);
  font-size: 15px;
}

.public-brand-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.public-brand-meta span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(139, 101, 8, 0.08);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 13px;
}

.public-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 101, 8, 0.09);
  border: 1px solid rgba(206, 183, 140, 0.58);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 14px;
}

.public-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(175, 129, 19, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 230, 0.94));
}

.public-hero-copy {
  flex: 1 1 auto;
  max-width: 720px;
}

.public-hero-copy h1 {
  margin: 6px 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.public-hero-copy .muted {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
}

.public-company {
  min-width: 240px;
  max-width: 340px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(139, 101, 8, 0.08);
  border: 1px solid rgba(209, 188, 148, 0.5);
  align-self: stretch;
}

.public-company strong {
  display: block;
  font-size: 24px;
  line-height: 1.15;
}

.public-company small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.public-company-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.public-company-details span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(221, 210, 194, 0.92);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.public-company-meta {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(221, 210, 194, 0.92);
}

.public-company-meta span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.public-products {
  display: grid;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 20px;
}

.product-card-media {
  display: flex;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 18px;
  background: #f2ece1;
}

.product-card-body h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.public-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.public-product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139, 101, 8, 0.08);
  border: 1px solid rgba(206, 183, 140, 0.42);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 600;
}

.public-description {
  line-height: 1.7;
  color: var(--text);
}

.public-block {
  margin-top: 14px;
}

.color-list,
.size-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.public-size-table {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.public-size-row {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(221, 210, 194, 0.92);
}

.public-size-row strong,
.public-size-row span {
  font-size: 15px;
}

.public-size-row-head {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 2px;
}

.public-size-row-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-summary {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(221, 210, 194, 0.65);
}

.public-summary-no-quantity span:first-child {
  display: none;
}

.public-guard-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 20px 0;
}

.public-guard-card {
  width: min(100%, 620px);
  padding: 40px;
  border-radius: 34px;
  display: grid;
  justify-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(226, 215, 197, 0.92);
  box-shadow: 0 28px 64px rgba(39, 29, 18, 0.11);
}

.public-guard-card-simple {
  text-align: center;
}

.public-guard-logo {
  width: min(280px, 78%);
  height: auto;
  display: block;
  margin-bottom: 2px;
}

.public-guard-card-head {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.public-guard-card-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.public-guard-inline-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.public-guard-inline-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 101, 8, 0.08);
  border: 1px solid rgba(206, 183, 140, 0.42);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.public-guard-card > .muted {
  margin: 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.public-guard-form {
  display: grid;
  gap: 12px;
  width: 100%;
}

.public-guard-form .field {
  margin-top: 0;
  text-align: left;
}

.public-guard-form .input {
  min-height: 62px;
  padding: 18px 20px;
  border-radius: 20px;
  font-size: 17px;
}

.public-guard-actions {
  margin-top: 6px;
  width: 100%;
}

.public-guard-actions .button {
  min-height: 60px;
  padding: 18px 26px;
  width: 100%;
  font-size: 17px;
  border-radius: 20px;
}

.public-lock-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(250, 242, 227, 0.98), rgba(244, 231, 199, 0.96));
  border: 1px solid rgba(210, 186, 141, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.public-lock-icon span {
  position: relative;
  width: 22px;
  height: 18px;
  border-radius: 6px;
  background: var(--accent);
}

.public-lock-icon span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 16px;
  height: 14px;
  border: 3px solid var(--accent);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
}

.public-status-card,
.public-notes-card {
  padding: 24px;
}

.offer-builder-hero {
  display: block;
  padding: 18px 22px;
  background:
    radial-gradient(circle at top right, rgba(175, 129, 19, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 233, 0.96));
  border: 1px solid rgba(218, 205, 186, 0.9);
}

.offer-builder-hero-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 3vw, 38px);
}

.offer-builder-hero-copy .muted {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.55;
}

.offer-builder-shell {
  padding: 20px;
  border: 1px solid rgba(226, 216, 199, 0.92);
  box-shadow: 0 16px 34px rgba(43, 31, 18, 0.05);
}

.offer-step-panel {
  padding: 6px 4px 2px;
}

.offer-step-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(229, 220, 205, 0.92);
}

.offer-step-header h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.2vw, 30px);
}

.offer-step-badge {
  max-width: 300px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(250, 242, 227, 0.96);
  border: 1px solid rgba(215, 198, 169, 0.92);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .public-brand-bar,
  .public-hero,
  .product-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .public-brand-bar {
    justify-content: stretch;
  }

  .public-brand-meta {
    justify-content: flex-start;
  }

  .public-company {
    max-width: none;
    min-width: 0;
  }

  .public-size-row {
    grid-template-columns: 1fr 1fr;
  }

  .public-guard-card-head h2 {
    max-width: none;
  }

  .public-guard-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .public-page {
    padding: 16px;
  }

  .public-brand-bar,
  .public-hero,
  .public-guard-card,
  .product-card,
  .public-status-card,
  .public-notes-card {
    padding: 18px;
  }

  .public-brand {
    align-items: flex-start;
  }

  .public-brand-logo {
    width: 88px;
    height: 58px;
  }

  .public-brand-logo img {
    max-width: 88px;
    max-height: 46px;
  }

  .public-hero-copy .muted {
    font-size: 16px;
  }

  .public-guard-card > .muted {
    font-size: 14px;
  }

  .public-guard-card-head h2 {
    font-size: 24px;
  }

  .public-guard-form .input {
    min-height: 58px;
    font-size: 16px;
  }

  .public-guard-logo {
    width: min(220px, 82%);
  }

  .public-product-meta span {
    width: 100%;
    justify-content: flex-start;
  }

  .public-size-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.pricing-bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pricing-bulk-input {
  width: min(220px, 100%);
}

.offer-form-grid {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 248, 241, 0.94));
  border: 1px solid rgba(231, 224, 211, 0.95);
}

.product-picker {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.product-picker-stacked {
  grid-template-columns: 1fr;
}

.product-picker-sticky {
  position: sticky;
  top: 20px;
}

.product-picker-sidebar {
  align-self: start;
}

.selected-products-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(244, 233, 205, 0.9));
  border: 1px solid rgba(208, 184, 132, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.selected-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.selected-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.offer-selected-summary {
  margin-top: 0;
}

.offer-product-stage {
  display: grid;
  gap: 18px;
}

.offer-product-catalog {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.94));
  border: 1px solid rgba(220, 212, 198, 0.92);
}

.offer-product-toolbar {
  margin-bottom: 0;
}

.offer-filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(220px, 0.75fr));
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(244, 239, 229, 0.92), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(216, 205, 184, 0.9);
}

.selected-product-chip {
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #ffffff, #f4ede0);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  box-shadow: 0 6px 18px rgba(38, 29, 20, 0.08);
}

.product-picker-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

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

.product-option {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(221, 210, 194, 0.82);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 242, 234, 0.92));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-option:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 101, 8, 0.45);
  box-shadow: 0 12px 28px rgba(38, 29, 20, 0.08);
}

.product-option.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 101, 8, 0.14);
  background: linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(245, 236, 208, 0.95));
}

.product-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-option-media img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
  background: #f2ece1;
}

.product-option-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.product-option-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.product-option-action {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-strong);
}

.empty-products {
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed rgba(221, 210, 194, 0.9);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(221, 210, 194, 0.9);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.88));
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.stepper-item:hover {
  transform: translateY(-1px);
  border-color: rgba(161, 120, 25, 0.36);
  box-shadow: 0 14px 28px rgba(46, 34, 18, 0.06);
}

.stepper-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.stepper-item.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 101, 8, 0.12);
  background: linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(245, 233, 195, 0.92));
}

.stepper-index {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5e6be, #ecd18d);
  color: var(--accent-strong);
  font-weight: 700;
  flex-shrink: 0;
}

.step-panel {
  display: none;
}

.step-panel.is-active {
  display: block;
}

.step-actions {
  margin-top: 18px;
  justify-content: space-between;
}

.offer-access-help {
  margin-top: 14px;
}

.offer-version-banner {
  display: grid;
  gap: 6px;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.pagination-bar-inline {
  justify-content: center;
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 243, 234, 0.96), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(222, 213, 196, 0.94);
}

.pagination-icon-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 205, 184, 0.95);
  border-radius: 14px;
  background: #fff;
  color: var(--accent-strong);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.pagination-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 101, 8, 0.38);
  box-shadow: 0 12px 22px rgba(45, 33, 17, 0.08);
}

.pagination-icon-button:disabled {
  opacity: 0.42;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.pagination-page-indicator {
  min-width: 170px;
  padding: 0 18px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(222, 213, 196, 0.95);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-weight: 700;
}

.pagination-bar-card {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(231, 226, 218, 0.95);
  box-shadow: var(--shadow);
}

.pagination-link,
.pagination-page {
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(231, 226, 218, 0.95);
  background: #fff;
  font-weight: 700;
}

.pagination-link:hover,
.pagination-page:hover {
  border-color: rgba(139, 101, 8, 0.28);
  color: var(--accent-strong);
}

.pagination-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pagination-pages {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-page {
  min-width: 46px;
  justify-content: center;
}

.pagination-page.is-current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination-dots {
  color: var(--muted);
  font-weight: 700;
  padding: 0 4px;
}

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

.summary-card {
  padding: 22px;
  border: 1px solid rgba(221, 210, 194, 0.9);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 238, 0.9));
}

.summary-list {
  display: grid;
  gap: 12px;
}

.summary-product-row {
  display: grid;
  gap: 4px;
}

.offer-pricing-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.pricing-item-card {
  padding: 18px;
  border: 1px solid rgba(231, 226, 218, 0.95);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 240, 231, 0.92));
  box-shadow: 0 16px 34px rgba(44, 31, 18, 0.05);
}

.pricing-product-layout {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pricing-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pricing-item-head strong {
  display: block;
  font-size: 18px;
}

.pricing-text-input {
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.01em;
  background: #fffdf9;
}

.pricing-collapsed-note {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(250, 247, 241, 0.92);
  border: 1px dashed rgba(221, 210, 194, 0.9);
}

.pricing-remove-button {
  align-self: flex-start;
}

.pricing-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pricing-meta-grid-compact {
  margin-top: 0;
}

.pricing-meta-box {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 229, 0.94));
  border: 1px solid rgba(224, 215, 198, 0.95);
}

.pricing-meta-box small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.pricing-meta-box strong {
  display: block;
}

.pricing-inline-value {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(231, 226, 218, 0.95);
  background: #fcfaf6;
  font-weight: 700;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(216, 201, 173, 0.94);
  background: linear-gradient(180deg, rgba(249, 241, 220, 0.98), rgba(255, 255, 255, 0.94));
  font-weight: 600;
  color: var(--text);
}

.pricing-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.pricing-size-table-wrap {
  border: 1px solid rgba(231, 226, 218, 0.95);
  border-radius: 22px;
  background: rgba(252, 250, 246, 0.98);
  overflow: hidden;
}

.pricing-size-table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(231, 226, 218, 0.95);
}

.pricing-copy-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 201, 173, 0.94);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 223, 0.95));
  color: var(--accent-strong);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-copy-button:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 101, 8, 0.42);
  box-shadow: 0 10px 18px rgba(45, 33, 17, 0.08);
}

.pricing-size-table {
  display: grid;
}

.pricing-size-row {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 220px) minmax(160px, 220px);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid rgba(239, 233, 224, 0.9);
}

.pricing-size-row:first-child {
  border-top: 0;
}

.pricing-size-row-head {
  background: rgba(247, 241, 231, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-size-value {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(231, 226, 218, 0.95);
  background: #fff;
}

.pricing-size-value-strong {
  font-weight: 700;
}

@media (max-width: 1080px) {
  .shell,
  .grid-3,
  .grid-4,
  .grid-2,
  .hero-card,
  .dashboard-hero,
  .offers-meta-grid,
  .offer-filter-bar,
  .pricing-meta-grid,
  .pricing-size-row,
  .product-picker,
  .product-grid,
  .stepper,
  .summary-grid,
  .product-detail-layout,
  .detail-grid-compact {
    grid-template-columns: 1fr;
  }

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

  .offer-step-header {
    flex-direction: column;
  }

  .offer-step-badge {
    max-width: none;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: min(86vw, 320px);
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-main {
    overflow-y: auto;
    padding-right: 2px;
  }

  .sidebar-toggle,
  .sidebar-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-overlay.is-visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(23, 19, 17, 0.44);
  }

  .main {
    padding: 24px 20px;
  }

  .product-picker-sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .search-field,
  .search-field-wide,
  .select-compact {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .toolbar,
  .toolbar-search,
  .offer-filter-bar,
  .offer-product-toolbar,
  .product-picker-toolbar,
  .clients-filter-bar,
  .clients-filter-grow,
  .offers-filter-bar,
  .offers-filter-grow,
  .products-filter-bar,
  .products-filter-grow,
  .pricing-size-table-head {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar-search > *,
  .offer-filter-bar > *,
  .clients-filter-bar > *,
  .clients-filter-grow > *,
  .offers-filter-bar > *,
  .offers-filter-grow > *,
  .products-filter-bar > *,
  .products-filter-grow > * {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .toolbar-search,
  .clients-filter-grow,
  .offers-filter-grow,
  .products-filter-grow {
    flex: none;
  }

  .clients-filter-bar .button,
  .clients-filter-bar .button-secondary,
  .offers-filter-bar .button,
  .offers-filter-bar .button-secondary,
  .products-filter-bar .button,
  .products-filter-bar .button-secondary,
  .offer-filter-bar .button,
  .offer-filter-bar .button-secondary,
  .toolbar-search .button,
  .toolbar-search .button-secondary {
    width: 100%;
  }

  .offer-builder-shell,
  .offer-builder-hero,
  .offer-form-grid,
  .offer-product-catalog,
  .selected-products-box {
    padding: 18px;
  }

  .topbar {
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }

  .topbar-inline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .topbar-inline .brand-inline {
    order: 1;
  }

  .topbar-inline .sidebar-toggle {
    order: 2;
    margin-left: auto;
  }

  .main {
    padding: 18px;
  }

  .topbar > div:last-child,
  .topbar > div:first-of-type {
    width: 100%;
  }

  .product-card,
  .public-hero,
  .product-list-card {
    grid-template-columns: 1fr;
  }

  .pagination-bar {
    flex-direction: column;
  }

  .clients-search-form,
  .clients-summary-strip,
  .section-header {
    flex-direction: column;
  }

  .auth-card,
  .card,
  .stat {
    padding: 18px;
  }
}

.public-wrap {
  max-width: 1240px;
  gap: 20px;
}

.public-document-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 34px 36px 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 246, 239, 0.98));
  border: 1px solid rgba(230, 220, 205, 0.9);
  box-shadow: 0 18px 36px rgba(34, 27, 18, 0.05);
}

.public-document-brand-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 880px;
}

.public-document-mark {
  display: inline-flex;
  align-items: flex-start;
  margin-bottom: 4px;
}

.public-document-logo {
  width: 300px;
  height: auto;
  display: block;
  filter: contrast(1.12) saturate(1.08);
}

.public-document-brand-copy .eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.public-document-brand-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.public-document-brand-copy p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.6;
}

.public-document-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-meta-box {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fffaf2;
  border: 1px solid rgba(221, 210, 194, 0.92);
}

.public-meta-box span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.public-meta-box strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.public-meta-box-value {
  background:
    radial-gradient(circle at top right, rgba(255, 223, 160, 0.24), transparent 42%),
    linear-gradient(180deg, #f7edd5, #f2dfb2);
  border-color: rgba(184, 147, 61, 0.28);
}

.public-meta-box-value strong {
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.public-document-parties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.public-party-card {
  padding: 26px 28px;
}

.public-party-card h2 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.12;
}

.public-party-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.public-party-lines p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.public-note-card {
  padding: 22px 28px;
}

.public-note-content {
  margin-top: 10px;
  color: var(--text);
  line-height: 1.7;
}

.public-empty-card {
  padding: 28px;
}

.public-empty-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.public-product-card {
  align-items: start;
  padding: 28px;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(183, 140, 56, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.98));
}

.public-gallery {
  display: grid;
  gap: 12px;
}

.public-gallery-main {
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(230, 219, 202, 0.9);
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 20px 34px rgba(35, 28, 18, 0.08);
}

.public-gallery-main img {
  width: 100%;
  min-height: 230px;
  max-height: 300px;
  object-fit: contain;
  display: block;
  padding: 16px;
}

.public-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.public-gallery-thumbs-expanded {
  margin-top: 12px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.public-gallery-thumb {
  padding: 0;
  border: 1px solid rgba(221, 210, 194, 0.92);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.public-gallery-thumb:hover,
.public-gallery-thumb.is-active {
  border-color: rgba(139, 101, 8, 0.7);
  box-shadow: 0 10px 24px rgba(39, 29, 18, 0.08);
  transform: translateY(-1px);
}

.public-gallery-thumb img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
  background: #fcfaf5;
}

.public-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.public-product-card .product-card-body h2 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.public-product-meta {
  margin-top: 16px;
  margin-bottom: 0;
}

.public-product-meta span {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
  background: #f7f2e8;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.public-description {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #4e4338;
}

.public-product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px;
  align-items: start;
}

.public-product-copy {
  display: grid;
  gap: 0;
}

.public-pricing-panel {
  display: grid;
  gap: 12px;
}

.public-pricing-hero {
  display: grid;
  gap: 10px;
  padding: 22px 22px 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 217, 145, 0.45), transparent 34%),
    linear-gradient(140deg, #231a12 0%, #3a2b1b 62%, #5a4328 100%);
  border: 1px solid rgba(131, 98, 44, 0.55);
  box-shadow: 0 24px 40px rgba(47, 33, 19, 0.2);
}

.public-pricing-hero span {
  color: rgba(250, 241, 224, 0.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-pricing-hero strong {
  color: #fff7ea;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.public-pricing-hero small {
  color: rgba(250, 241, 224, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.public-pricing-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.public-pricing-fact {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 244, 237, 0.92);
  border: 1px solid rgba(227, 216, 197, 0.94);
}

.public-pricing-fact span {
  color: #7f725f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-pricing-fact strong {
  color: #201914;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.public-pricing-fact-highlight {
  background: linear-gradient(180deg, #f8edd5, #f4e3b6);
  border-color: rgba(182, 145, 57, 0.35);
}

.public-block strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.color-list {
  gap: 10px;
}

.color-list .tag {
  border-radius: 12px;
  background: #f7f2e8;
  border: 1px solid rgba(214, 198, 171, 0.75);
  color: var(--text);
  font-weight: 600;
}

.public-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.public-color-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8f4ed;
  border: 1px solid rgba(221, 210, 194, 0.92);
}

.public-color-swatch {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(161, 146, 121, 0.58);
}

.public-color-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.public-size-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid rgba(221, 210, 194, 0.92);
  border-radius: 18px;
}

.public-size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.public-size-table thead th {
  padding: 14px 18px;
  background: #f8f4ed;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.public-size-table tbody td {
  padding: 14px 18px;
  font-size: 15px;
  border-top: 1px solid rgba(232, 224, 213, 0.92);
}

.public-size-table tbody tr:nth-child(even) td {
  background: rgba(251, 248, 242, 0.76);
}

.public-summary {
  margin-top: 20px;
  padding-top: 18px;
  gap: 10px;
}

.public-summary span,
.public-summary strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f8f4ed;
  border: 1px solid rgba(221, 210, 194, 0.92);
  font-size: 14px;
}

.public-summary strong {
  color: var(--accent-strong);
}

.public-disclosure {
  margin-top: 16px;
  border: 0;
  background: transparent;
}

.public-disclosure-wide {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(229, 220, 206, 0.92);
}

.public-disclosure summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid rgba(221, 210, 194, 0.92);
  background: linear-gradient(180deg, #fffdf9, #f8f1e6);
  box-shadow: 0 12px 24px rgba(34, 26, 17, 0.05);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.public-disclosure summary::-webkit-details-marker {
  display: none;
}

.public-disclosure summary::after {
  content: "+";
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(158, 119, 31, 0.12);
  font-size: 22px;
  line-height: 1;
}

.public-disclosure[open] summary {
  margin-bottom: 14px;
}

.public-disclosure[open] summary::after {
  content: "-";
}

.public-disclosure > *:not(summary) {
  padding: 0;
}

.public-disclosure-wide > *:not(summary) {
  padding-top: 8px;
}

.public-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.public-size-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: #f8f4ed;
  border: 1px solid rgba(221, 210, 194, 0.92);
}

.public-size-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-size-card strong {
  font-size: 16px;
  line-height: 1.3;
}

.public-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 32px 86px;
  background: rgba(17, 13, 10, 0.9);
}

.public-lightbox[hidden] {
  display: none;
}

.public-lightbox-image {
  max-width: min(1180px, 100%);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  background: #fff;
  padding: 16px;
}

.public-lightbox-close,
.public-lightbox-nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.public-lightbox-close {
  top: 22px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.public-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
}

.public-lightbox-prev {
  left: 18px;
}

.public-lightbox-next {
  right: 18px;
}

body.is-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .public-document-head,
  .public-document-parties,
  .public-product-card {
    grid-template-columns: 1fr;
  }

  .public-product-top {
    grid-template-columns: 1fr;
  }

  .public-document-brand {
    align-items: flex-start;
  }

  .public-document-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-gallery-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .public-lightbox {
    padding: 24px 72px;
  }
}

@media (max-width: 720px) {
  .public-page {
    padding: 16px;
  }

  .public-document-head,
  .public-party-card,
  .public-note-card,
  .public-product-card {
    padding: 20px;
  }

  .public-document-brand {
    align-items: flex-start;
  }

  .public-document-logo {
    width: 240px;
  }

  .public-document-meta {
    grid-template-columns: 1fr;
  }

  .public-document-brand-copy h1,
  .public-product-card .product-card-body h2 {
    font-size: 28px;
  }

  .public-gallery-main img {
    min-height: 220px;
    max-height: 280px;
  }

  .public-summary {
    flex-direction: column;
  }

  .public-summary span,
  .public-summary strong {
    width: 100%;
  }

  .public-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .public-gallery-thumbs-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-pricing-strip,
  .public-color-grid,
  .public-size-grid {
    grid-template-columns: 1fr;
  }

  .public-pricing-facts {
    grid-template-columns: 1fr 1fr;
  }

  .public-lightbox {
    padding: 16px;
  }

  .public-lightbox-image {
    max-height: calc(100vh - 90px);
    padding: 10px;
    border-radius: 18px;
  }

  .public-lightbox-close {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    font-size: 26px;
  }

  .public-lightbox-nav {
    display: none;
  }
}
