:root {
  --color-primary: #14213d;
  --color-primary-soft: #1e3354;
  --color-accent: #c89b3c;
  --color-accent-hover: #b08832;
  --color-accent-soft: #fff8ec;
  --color-bg: #eef1f6;
  --color-surface: #ffffff;
  --color-border: #dde3eb;
  --color-border-strong: #c8d1dc;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-success-soft: #e8f5ee;
  --color-success: #276749;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 18px 44px rgba(20, 33, 61, 0.12);
  --nav-height: 64px;
  --bottom-nav-height: 64px;
  --container-max: 1180px;
  --font-body: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 15px;
  min-height: 100%;
  position: relative;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  margin-bottom: 0;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

body.app-authenticated {
  padding-bottom: 0;
}

@media (max-width: 991.98px) {
  body.app-authenticated {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }
}

.app-container {
  max-width: var(--container-max);
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.app-main {
  padding-bottom: 24px;
}

.app-header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1030;
}

.app-navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--color-border) !important;
  box-shadow: var(--shadow-sm);
  min-height: var(--nav-height);
}

.app-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: 32px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  border-color: var(--color-primary);
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary));
  border-color: var(--color-primary-soft);
}

.btn-outline-secondary {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  font-weight: 600;
}

.btn-outline-secondary:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.form-control,
.form-select {
  border-color: var(--color-border);
  border-radius: var(--radius-sm);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(200, 155, 60, 0.18);
}

.mobile-bottom-nav {
  align-items: stretch;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--color-border);
  bottom: 0;
  box-shadow: 0 -8px 24px rgba(20, 33, 61, 0.08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: fixed;
  right: 0;
  z-index: 1040;
}

.mobile-bottom-nav-link {
  align-items: center;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 2px;
  justify-content: center;
  min-height: var(--bottom-nav-height);
  padding: 8px 4px;
  text-align: center;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.mobile-bottom-nav-link:hover,
.mobile-bottom-nav-link:focus {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

.mobile-bottom-nav-link.active {
  color: var(--color-primary);
}

.mobile-bottom-nav-link.active .mobile-bottom-nav-icon {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.mobile-bottom-nav-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 1rem;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.navbar-brand {
  color: var(--color-primary);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.navbar {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1030;
}

.navbar-collapse {
  padding-bottom: 12px;
}

@media (min-width: 992px) {
  .navbar-collapse {
    padding-bottom: 0;
  }
}

.navbar .nav-link {
  border-radius: 6px;
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.navbar .nav-link::after {
  background: #c89b3c;
  border-radius: 999px;
  bottom: 4px;
  content: "";
  height: 2px;
  left: 0.75rem;
  opacity: 0;
  position: absolute;
  right: 0.75rem;
  transform: scaleX(0.35);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: #f6f1e7;
  color: #14213d !important;
}

.navbar .nav-link.active {
  background: #fff8ec;
  color: #14213d !important;
  font-weight: 700;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-client {
  align-items: center;
  color: #51606f;
  display: flex;
  font-size: 0.9rem;
}

.client-switcher {
  min-width: 190px;
}

.client-switcher .form-select {
  color: #1e252f;
  font-weight: 600;
}

.home-hero {
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2f4858 55%, #3d5a6e 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 8px;
  min-height: 285px;
  overflow: hidden;
  padding: 42px;
  position: relative;
}

.home-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.hero-copy {
  flex: 1 1 320px;
  max-width: 720px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-text {
  font-size: 1.2rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-brand-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-sm);
  box-shadow: none;
  color: #fff;
  font-weight: 600;
  line-height: 1.5;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
}

.btn-brand-outline:hover,
.btn-brand-outline:focus,
.btn-brand-outline:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  box-shadow: none;
  color: #fff;
}

.app-navbar .btn-brand-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.app-navbar .btn-brand-outline:hover,
.app-navbar .btn-brand-outline:focus,
.app-navbar .btn-brand-outline:active {
  background: var(--color-accent-soft);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.eyebrow {
  color: #66788a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: #cde3f7;
}

.hero-brand {
  align-items: center;
  display: flex;
  flex: 0 1 280px;
  justify-content: center;
  max-width: 360px;
  min-width: 220px;
  position: relative;
}

.hero-brand::before {
  background: rgba(255, 255, 255, 0.08);
  content: "";
  height: 150%;
  position: absolute;
  right: -40px;
  top: -25%;
  transform: skewX(-12deg);
  width: 120%;
}

.hero-brand img {
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  display: block;
  height: auto;
  max-height: 220px;
  max-width: min(100%, 220px);
  object-fit: contain;
  position: relative;
  width: auto;
  z-index: 1;
}

.hero-brand-fallback {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  display: flex;
  min-height: 135px;
  padding: 24px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-brand-fallback span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 2rem;
  font-weight: 700;
}

.info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

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

.info-card,
.auth-panel,
.report-link,
.filters,
.summary-strip,
.table-shell,
.feature-table-shell,
.contact-strip,
.contact-list a,
.work-home,
.dashboard-card,
.dashboard-panel,
.menu-panel,
.orders-panel,
.payments-panel,
.contact-panel,
.contact-form,
.work-action-card,
.choice-button {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-card {
  color: #1e252f;
  display: block;
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.info-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transform: translateY(-2px);
}

.info-card.static:hover {
  border-color: #dfe4ea;
  box-shadow: none;
  transform: none;
}

.info-grid h2 {
  font-size: 1.2rem;
}

.public-section {
  scroll-margin-top: 86px;
  margin-top: 48px;
}

.section-heading {
  margin-bottom: 20px;
  max-width: 820px;
}

.section-heading h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section-heading p {
  color: #66788a;
  margin-bottom: 16px;
}

.contact-strip {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 28px;
  padding: 24px;
}

.contact-strip h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.contact-strip p {
  margin-bottom: 0;
}

.feature-table-shell {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-table-shell:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-table {
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

.feature-table th {
  background: #eef3f7;
  color: #3f4d5a;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-table td,
.feature-table th {
  border-color: #e7ebf0;
  padding: 16px;
}

.feature-table tbody tr {
  transition: box-shadow 0.15s ease;
}

.feature-table tbody td {
  background: #fff;
  color: #5f6c79;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

.feature-table tbody tr:hover td {
  background: #fff8ec;
}

.feature-table tbody td:first-child {
  color: var(--color-text);
  font-weight: 800;
  white-space: nowrap;
}

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

.contact-list a {
  color: #1e252f;
  padding: 20px;
  text-decoration: none;
}

.contact-list span {
  color: #66788a;
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-page {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.contact-panel,
.contact-form,
.work-placeholder {
  padding: 24px;
}

.work-placeholder {
  max-width: 720px;
}

.work-placeholder h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.work-placeholder p {
  color: #66788a;
  margin-bottom: 0;
}

.work-home {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 28px;
}

.work-home-copy {
  max-width: 760px;
}

.work-home h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.work-home p {
  color: #66788a;
  margin-bottom: 0;
}

.work-actions {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.work-actions.compact .work-action-card {
  min-height: 126px;
}

.work-action-card {
  color: var(--color-text);
  display: block;
  min-height: 150px;
  padding: 22px;
  position: relative;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.work-action-card::before {
  display: none;
}

.work-action-icon {
  height: 44px;
  margin-bottom: 12px;
  width: 44px;
}

.feature-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon,
.pricing-icon {
  height: 52px;
  margin-bottom: 14px;
  width: 52px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.saas-highlights {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 12px;
}

.saas-highlight {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.saas-highlight h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.saas-highlight p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.photo-band {
  border-radius: var(--radius-xl);
  margin: 48px 0;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

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

.photo-band-overlay {
  background: linear-gradient(90deg, rgba(20, 33, 61, 0.92) 0%, rgba(20, 33, 61, 0.72) 48%, rgba(20, 33, 61, 0.35) 100%);
  inset: 0;
  position: absolute;
}

.photo-band-copy {
  color: #fff;
  max-width: 560px;
  padding: 48px;
  position: relative;
  z-index: 1;
}

.photo-band-copy .eyebrow {
  color: #e0bc6a;
}

.photo-band-copy h2 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.photo-band-copy p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.public-section-split {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-visual {
  border-radius: var(--radius-lg);
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.split-visual img {
  display: block;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  width: 100%;
}

.split-copy {
  align-self: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pricing-card:hover,
.info-card.static.pricing-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-options {
  align-items: stretch;
}

.pricing-plan {
  gap: 14px;
}

.pricing-plan.featured {
  border-color: rgba(200, 155, 60, 0.45);
  box-shadow: var(--shadow-sm);
}

.price-lines {
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 0;
  margin: 4px 0;
}

.price-lines div,
.pricing-note div {
  align-items: baseline;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 0;
}

.price-lines div + div,
.pricing-note div + div {
  border-top: 1px solid #edf0f3;
}

.price-lines span,
.pricing-note span {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.price-lines strong,
.pricing-note strong {
  color: var(--color-text);
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}

.pricing-note {
  background: #fbfcfd;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-top: 16px;
  padding: 8px 18px;
}

.contact-brand-mark {
  border-radius: 999px;
  height: 72px;
  margin-bottom: 12px;
  object-fit: contain;
  width: 72px;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.brand-mark {
  height: 32px;
  width: 32px;
}

.empty-state-visual {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 16px;
}

.empty-state-visual img {
  height: 48px;
  opacity: 0.55;
  width: 48px;
}

.work-action-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transform: translateY(-2px);
}

.work-action-card h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.work-action-card p {
  color: #66788a;
  margin-bottom: 0;
}

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

.dashboard-card,
.dashboard-panel {
  /* styled via shared surface rule */
}

.dashboard-card {
  padding: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.dashboard-card:nth-child(4n + 1) strong {
  color: var(--color-primary);
}

.dashboard-card:nth-child(4n + 2) strong {
  color: #2f6b4f;
}

.dashboard-card:nth-child(4n + 3) strong {
  color: #8a5a00;
}

.dashboard-card:nth-child(4n + 4) strong {
  color: #3b5f8a;
}

.dashboard-card span {
  color: #66788a;
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dashboard-card strong {
  font-size: 1.55rem;
}

.dashboard-wide-panel .table-shell {
  overflow-x: auto;
}

#dashboardTopProducts th:nth-child(2),
#dashboardTopProducts th:nth-child(3),
#dashboardTopProducts td:nth-child(2),
#dashboardTopProducts td:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}

#dashboardTopProducts th:first-child,
#dashboardTopProducts td:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.dashboard-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.dashboard-panel {
  padding: 18px;
}

.dashboard-wide-panel {
  margin-top: 20px;
}

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

.dashboard-line {
  align-items: center;
  background: #f6f7f9;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 12px;
}

.dashboard-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-line small {
  color: #66788a;
}

.menu-panel {
  padding: 18px;
}

.orders-panel,
.payments-panel {
  padding: 18px;
}

.menu-toolbar {
  align-items: center;
}

.menu-search {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  max-width: 620px;
  width: 100%;
}

.menu-tree {
  display: grid;
  gap: 10px;
}

.menu-category {
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  overflow: hidden;
}

.menu-category-header {
  align-items: center;
  background: #f8fafc;
  border: 0;
  color: #1e252f;
  display: grid;
  gap: 10px;
  grid-template-columns: 12px 32px minmax(0, 1fr) auto;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.menu-category-header:hover {
  background: #fff8ec;
}

.menu-color,
.menu-item-color {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  display: inline-block;
}

.menu-color {
  height: 12px;
  width: 12px;
}

.menu-category-title {
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-category-count {
  background: #eef1f4;
  border-radius: 999px;
  color: #66788a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
}

.menu-items {
  display: none;
  padding: 8px 14px 14px 58px;
}

.menu-category.open .menu-items {
  display: grid;
  gap: 8px;
}

.menu-item {
  align-items: center;
  border-bottom: 1px solid #edf0f4;
  display: grid;
  gap: 10px;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  min-height: 38px;
  padding: 8px 0;
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item-color {
  height: 10px;
  width: 10px;
}

.menu-item-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-item-price {
  white-space: nowrap;
}

.orders-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.sales-side-panels {
  display: grid;
  gap: 16px;
}

.orders-panel > .side-section {
  display: none;
}

.orders-summary-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.orders-summary-strip:empty {
  display: none;
}

.orders-summary-strip div {
  background: #f6f7f9;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  padding: 12px;
}

.orders-summary-strip span {
  color: #66788a;
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.orders-summary-strip strong {
  font-size: 1.15rem;
}

.side-section {
  border-top: 1px solid #e4e8ee;
  margin-top: 20px;
  padding-top: 18px;
}

.panel-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-heading h2,
.payments-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.orders-table-shell {
  max-height: none;
  overflow: visible;
}

.short-label {
  display: none;
}

#ordersTable .order-number-cell,
#ordersTable thead th:nth-child(4),
#ordersTable thead th:nth-child(5) {
  text-align: right;
  width: 112px;
}

#ordersTable tbody tr[data-cheque-id] {
  cursor: pointer;
}

#ordersTable tbody tr.order-row:hover > td {
  background: #fff8ec;
}

#ordersTable tbody tr.order-row.status-current > td {
  background: #f7fcf9;
}

#ordersTable tbody tr.order-row.status-closed > td {
  background: #fafbfc;
  color: #5f6c79;
}

#ordersTable tbody tr.order-row.status-reserved > td {
  background: #fffaf0;
}

#ordersTable tbody tr.order-row.selected-row > td {
  background: #f6f1e7;
}

#ordersTable tbody tr.order-row:hover > td {
  background: #fff8ec;
}

#ordersTable tbody tr.order-row.status-current > td:first-child {
  box-shadow: inset 3px 0 0 #8dc9a6;
}

#ordersTable tbody tr.order-row.status-closed > td:first-child {
  box-shadow: inset 3px 0 0 #c5ccd4;
}

#ordersTable tbody tr.order-row.status-reserved > td:first-child {
  box-shadow: inset 3px 0 0 #d9bd75;
}

#ordersTable tbody tr.order-row.selected-row > td:first-child {
  box-shadow: inset 3px 0 0 #c89b3c;
}

.status-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  white-space: nowrap;
}

.status-badge.status-current {
  background: #e8f5ee;
  color: #276749;
}

.status-badge.status-closed {
  background: #eef1f4;
  color: #51606f;
}

.status-badge.status-reserved {
  background: #fff5df;
  color: #8a5a00;
}

.status-badge.status-unknown {
  background: #f6f7f9;
  color: #66788a;
}

.expand-column {
  text-align: center;
  width: 44px;
}

.expand-button {
  align-items: center;
  background: transparent;
  border: 1px solid #d7dde4;
  border-radius: 999px;
  color: #1e252f;
  display: inline-flex;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 26px;
}

.expand-button::before {
  border-bottom: 2px solid #66788a;
  border-right: 2px solid #66788a;
  content: "";
  display: block;
  height: 7px;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  width: 7px;
}

.expand-button[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.expand-button:hover {
  background: #f6f7f9;
  border-color: #c8d0d9;
}

.order-detail-row > td {
  background: #fbfcfd;
  border-top: 0;
  padding: 0 16px 16px 60px;
}

.inline-details {
  border: 1px solid #dfe4ea;
  border-left: 3px solid #c89b3c;
  border-radius: 8px;
  padding: 16px;
}

.inline-details-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.inline-details-header h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.order-meta-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 12px;
}

.order-meta-strip:empty {
  display: none;
}

.order-meta-strip div {
  background: #f6f7f9;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  min-width: 0;
  padding: 9px 10px;
}

.order-meta-strip span {
  color: #66788a;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.order-meta-strip strong {
  display: block;
  font-size: 0.92rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-meta-strip .meta-wide {
  grid-column: span 2;
}

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

.order-meta-strip .meta-full {
  grid-column: 1 / -1;
}

.nested-table-shell {
  overflow-x: auto;
}

.nested-details-table {
  margin-bottom: 0;
  table-layout: fixed;
  width: 100%;
}

.nested-details-table th,
.nested-details-table td {
  vertical-align: top;
  white-space: normal;
}

.nested-details-table .detail-product-cell {
  overflow-wrap: anywhere;
}

.nested-details-table .detail-time-cell {
  white-space: nowrap;
  width: 76px;
}

.nested-details-table .detail-qty-cell {
  text-align: right;
  white-space: nowrap;
  width: 74px;
}

.nested-details-table .detail-money-cell {
  text-align: right;
  white-space: nowrap;
  width: 96px;
}

.inline-details-header > .detail-mode {
  display: none;
}

.detail-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.detail-footer .detail-mode label {
  font-size: 0;
}

.detail-footer .detail-mode input {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.detail-footer .detail-mode label::after {
  font-size: 0.84rem;
}

.detail-footer .detail-mode label:has(input[value="1"])::after {
  content: "\10E9\10D5\10D4\10E3\10DA\10D4\10D1\10E0\10D8\10D5\10D8";
}

.detail-footer .detail-mode label:has(input[value="2"])::after {
  content: "\10D3\10D4\10E2\10D0\10DA\10E3\10E0\10D8";
}

.detail-footer .detail-mode label:has(input[value="3"])::after {
  content: "\10E1\10E0\10E3\10DA\10D8";
}

.payments-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.payment-line {
  align-items: center;
  background: #f6f7f9;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.payment-line span {
  color: #66788a;
}

.payment-line strong {
  font-size: 1.05rem;
}

.detail-mode {
  background: #f6f7f9;
  border: 1px solid #dfe4ea;
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  justify-content: flex-end;
  padding: 3px;
}

.detail-mode label {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.84rem;
  gap: 4px;
  margin: 0;
  padding: 5px 9px;
}

.detail-mode label:has(input:checked) {
  background: #fff;
  box-shadow: 0 1px 4px rgba(30, 37, 47, 0.08);
  font-weight: 700;
}

.receipt-send-panel {
  align-items: center;
  background: #fff;
  border: 1px dashed #d7dde4;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  margin-top: 12px;
  padding: 12px;
}

.receipt-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 2000;
}

.receipt-modal.show {
  display: block;
}

.receipt-modal-backdrop {
  background: rgba(20, 33, 61, 0.56);
  inset: 0;
  position: absolute;
}

.receipt-modal-panel {
  background: #f4f6f8;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(20, 33, 61, 0.28);
  left: 50%;
  max-height: calc(100vh - 48px);
  max-width: 760px;
  overflow: auto;
  padding: 24px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px));
}

.receipt-modal-close {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 999px;
  color: #1e252f;
  display: inline-flex;
  font-size: 1.4rem;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  z-index: 1;
}

.receipt-paper {
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  max-width: 620px;
  padding: 28px;
}

.receipt-header {
  border-bottom: 1px dashed #cfd6df;
  margin-bottom: 16px;
  padding-bottom: 14px;
  text-align: center;
}

.receipt-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.receipt-header p {
  color: #66788a;
  font-weight: 700;
  margin: 4px 0 0;
}

.receipt-meta {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.receipt-meta:empty {
  display: none;
}

.receipt-meta div {
  background: #f8fafc;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  padding: 8px 10px;
}

.receipt-meta span {
  color: #66788a;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.receipt-meta strong {
  display: block;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.receipt-meta .meta-wide {
  grid-column: 1 / -1;
}

.receipt-meta .meta-full {
  grid-column: 1 / -1;
}

.receipt-items {
  border: 1px solid #edf0f3;
  border-radius: 8px;
  margin-bottom: 12px;
}

.receipt-total {
  border-bottom: 1px dashed #cfd6df;
  border-top: 1px dashed #cfd6df;
  display: grid;
  gap: 7px 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 12px;
  padding: 12px 0;
}

.receipt-total span {
  color: #66788a;
  font-weight: 700;
}

.receipt-total strong {
  font-size: 1rem;
  text-align: right;
}

.receipt-total span:last-of-type,
.receipt-total strong:last-of-type {
  color: #1e252f;
  font-size: 1.2rem;
}

.receipt-actions,
.receipt-close-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.receipt-modal-open {
  overflow: hidden;
}

.receipt-send-panel p {
  color: #66788a;
  margin-bottom: 0;
}

.receipt-send-fields {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.contact-items {
  display: grid;
  gap: 12px;
}

.contact-panel-visual {
  display: block;
  height: auto;
  margin: 0 auto 20px;
  max-width: 140px;
  width: 100%;
}

.contact-items a {
  background: #f6f7f9;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  color: #1e252f;
  display: block;
  padding: 16px;
  text-decoration: none;
}

.contact-items a:hover {
  background: var(--color-accent-soft);
  border-color: rgba(200, 155, 60, 0.35);
  color: #1e252f;
}

.contact-items span {
  align-items: center;
  color: #66788a;
  display: flex;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-item-icon {
  flex: 0 0 22px;
  height: 22px;
  width: 22px;
}

.footer-content {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 18px;
  padding-top: 18px;
}

.build-stamp {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-contacts a {
  color: #66788a;
  text-decoration: none;
}

.footer-contacts a:hover {
  color: #1e252f;
}

.auth-shell {
  display: grid;
  min-height: 60vh;
  place-items: center;
}

.auth-panel {
  max-width: 420px;
  padding: 28px;
  width: 100%;
}

.auth-panel.wide {
  max-width: 560px;
}

.auth-panel h1,
.page-heading h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

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

.choice-button,
.report-link {
  color: #1e252f;
  display: block;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.choice-button {
  color: var(--color-text);
  display: block;
  padding: 16px;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.choice-button:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}

.choice-button span,
.report-link span {
  display: block;
  font-weight: 700;
}

.choice-button small,
.report-link small {
  color: #66788a;
}

.page-heading {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 20px 0;
}

.page-heading > div {
  min-width: 0;
}

.report-links {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.report-link {
  padding: 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.report-link:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transform: translateY(-1px);
}

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

.filter-action {
  align-self: end;
}

.filter-action .btn {
  width: 100%;
}

.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  min-height: 54px;
  padding: 12px;
}

.summary-strip:empty {
  display: none;
}

.summary-strip div {
  background: #eef4f8;
  border-radius: 6px;
  min-width: 160px;
  padding: 8px 12px;
}

.summary-strip span {
  color: #66788a;
  display: block;
  font-size: 0.8rem;
}

.summary-strip strong {
  font-size: 1.1rem;
}

.table-shell {
  overflow: hidden;
}

.table-shell .table-responsive {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.table-shell table {
  margin-bottom: 0;
  white-space: nowrap;
}

.report-number-cell {
  min-width: 96px;
  text-align: right;
  white-space: nowrap;
}

.table-shell .table-responsive::after {
  background: linear-gradient(to left, rgba(238, 241, 246, 0.95), transparent);
  bottom: 0;
  content: "";
  pointer-events: none;
  position: sticky;
  right: 0;
  top: 0;
  width: 28px;
}

.table-shell thead th {
  background: #eef1f4;
  color: #3f4d5a;
  font-size: 0.86rem;
  font-weight: 700;
}

.empty-state {
  color: #66788a;
  padding: 24px;
  text-align: center;
}

@media (max-width: 991.98px) {
  body.app-authenticated .navbar-nav.me-auto {
    display: none;
  }

  .home-hero {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .hero-copy {
    flex-basis: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-brand {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .hero-brand::before {
    display: none;
  }

  .feature-cards,
  .saas-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .photo-band-copy {
    padding: 32px 24px;
  }

  .public-section-split {
    grid-template-columns: 1fr;
  }

  .split-visual {
    min-height: 220px;
  }

  .split-visual img {
    min-height: 220px;
  }

  .filters,
  .info-grid,
  .work-actions,
  .dashboard-summary,
  .dashboard-grid,
  .contact-list,
  .contact-page,
  .orders-layout {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-toolbar .menu-search {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .menu-toolbar .menu-search .btn {
    min-height: 44px;
  }

  .sales-side-panels {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    order: -1;
  }

  .orders-layout {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 58px;
  }

  .app-navbar .navbar-brand {
    font-size: 1rem;
  }

  .app-navbar .navbar-collapse {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 8px;
    padding: 12px;
  }

  .app-navbar .nav-link {
    border-radius: var(--radius-sm);
    padding: 10px 12px;
  }

  .client-switcher {
    min-width: 0;
    width: 100%;
  }

  .nav-client {
    width: 100%;
  }

  .home-hero {
    align-items: center;
    flex-direction: column;
    padding: 28px 22px;
    text-align: center;
  }

  .hero-copy {
    flex-basis: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-brand {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .hero-brand::before {
    display: none;
  }

  .hero-brand img {
    max-height: 180px;
    max-width: min(72vw, 200px);
  }

  .feature-cards,
  .saas-highlights {
    grid-template-columns: 1fr;
  }

  .photo-band {
    border-radius: var(--radius-lg);
    min-height: 280px;
  }

  .photo-band-copy h2 {
    font-size: 1.45rem;
  }

  .photo-band-copy {
    padding: 24px 20px;
  }

  .split-copy {
    padding: 22px;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters,
  .info-grid,
  .info-grid-four,
  .work-actions,
  .contact-list,
  .contact-page,
  .orders-layout {
    grid-template-columns: 1fr;
  }

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

  .price-lines div,
  .pricing-note div {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .price-lines strong,
  .pricing-note strong {
    text-align: left;
    white-space: normal;
  }

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

  .detail-mode {
    justify-content: flex-start;
  }

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

  .order-meta-strip .meta-wide {
    grid-column: 1 / -1;
  }

  .order-meta-strip .meta-full {
    grid-column: 1 / -1;
  }

  .receipt-send-panel,
  .receipt-send-fields {
    grid-template-columns: 1fr;
  }

  .work-home {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

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

  .work-home h1 {
    font-size: 1.45rem;
  }

  .work-home p {
    font-size: 0.92rem;
  }

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

  .dashboard-line {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-line small {
    grid-column: 1 / -1;
  }

  .orders-table-shell {
    border-radius: var(--radius-sm);
    margin: 0 -4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .orders-table-shell table {
    font-size: 0.8rem;
    table-layout: fixed;
    width: 100%;
  }

  .table-shell table {
    font-size: 0.82rem;
    white-space: normal;
  }

  .table-shell th,
  .table-shell td {
    padding: 8px 7px;
    vertical-align: top;
  }

  .report-number-cell {
    min-width: 72px;
  }

  .orders-table-shell th,
  .orders-table-shell td {
    padding: 7px 3px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .full-label {
    display: none;
  }

  .short-label {
    display: inline;
  }

  #ordersTable .expand-column {
    width: 28px;
  }

  #ordersTable thead th:nth-child(2),
  #ordersTable tbody td:nth-child(2) {
    width: 38px;
  }

  #ordersTable thead th:nth-child(4),
  #ordersTable thead th:nth-child(5),
  #ordersTable .order-number-cell {
    width: 52px;
  }

  .expand-button {
    height: 24px;
    width: 24px;
  }

  .order-detail-row > td {
    padding: 0 4px 12px 4px;
  }

  .inline-details {
    padding: 10px;
  }

  .inline-details-header {
    gap: 8px;
    margin-bottom: 8px;
  }

  .inline-details-header h3 {
    font-size: 1rem;
  }

  .order-meta-strip {
    gap: 6px;
  }

  .order-meta-strip div {
    padding: 7px 7px;
  }

  .order-meta-strip span {
    font-size: 0.68rem;
  }

  .order-meta-strip strong {
    font-size: 0.82rem;
  }

  .receipt-modal-panel {
    border-radius: 0;
    inset: 0;
    max-height: none;
    overflow: auto;
    padding: 16px;
    transform: none;
    width: 100%;
  }

  .receipt-paper {
    padding: 20px 14px;
  }

  .nested-details-table {
    font-size: 0.78rem;
  }

  .nested-details-table th,
  .nested-details-table td {
    padding: 7px 3px;
  }

  .nested-details-table .detail-time-cell {
    width: 50px;
  }

  .nested-details-table .detail-qty-cell {
    width: 44px;
  }

  .nested-details-table .detail-money-cell {
    width: 54px;
  }

  .nested-details-table .detail-product-cell {
    min-width: 0;
    overflow-wrap: anywhere;
  }

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

  .receipt-send-panel,
  .receipt-send-fields {
    grid-template-columns: 1fr;
  }

  .order-detail-row > td {
    padding: 0 8px 12px 8px;
  }

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

  .panel-heading .btn {
    width: 100%;
  }

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

  .filter-action .btn {
    min-height: 44px;
  }

  .summary-strip div {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .report-links {
    max-width: none;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .dashboard-card {
    min-height: 82px;
    padding: 12px;
  }

  .dashboard-card span {
    font-size: 0.72rem;
    margin-bottom: 5px;
  }

  .dashboard-card strong {
    font-size: 1.12rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .dashboard-panel {
    padding: 14px;
  }

  #dashboardTopProducts {
    table-layout: fixed;
    white-space: normal;
    width: 100%;
  }

  #dashboardTopProducts th,
  #dashboardTopProducts td {
    font-size: 0.86rem;
    padding: 9px 8px;
  }

  #dashboardTopProducts th:nth-child(2),
  #dashboardTopProducts td:nth-child(2) {
    width: 66px;
  }

  #dashboardTopProducts th:nth-child(3),
  #dashboardTopProducts td:nth-child(3) {
    width: 88px;
  }

  .menu-search {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .menu-items {
    padding-left: 18px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-contacts {
    flex-direction: column;
    gap: 6px;
  }
}
