:root {
  color-scheme: light;
  --bg: #eef3f8;
  --bg-soft: #dde7f1;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-alt: rgba(255, 255, 255, 0.78);
  --ink: #1d2730;
  --muted: #5f6872;
  --line: rgba(29, 39, 48, 0.08);
  --brand: #ff6a3d;
  --brand-2: #f97316;
  --teal: #0f9d8a;
  --teal-soft: rgba(15, 157, 138, 0.12);
  --gold: #f59e0b;
  --gold-soft: rgba(255, 183, 3, 0.14);
  --success: #16a34a;
  --warning: #f97316;
  --danger: #ef4444;
  --shadow: 0 22px 60px rgba(31, 41, 55, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1260px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11161c;
  --bg-soft: #161d25;
  --surface: rgba(20, 25, 31, 0.84);
  --surface-strong: #182028;
  --surface-alt: rgba(24, 32, 40, 0.72);
  --ink: #eef2f6;
  --muted: #9aa6b2;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 157, 138, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.1), transparent 24%),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 100%);
}

body.app-body {
  --bg: #07111f;
  --bg-soft: #0f1b30;
  --surface: rgba(11, 20, 36, 0.78);
  --surface-strong: #0b1424;
  --surface-alt: rgba(13, 23, 41, 0.86);
  --ink: #eef4ff;
  --muted: #a8b6cc;
  --line: rgba(148, 163, 184, 0.14);
  --brand: #4f8cff;
  --brand-2: #2dd4bf;
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.14);
  --gold: #fbbf24;
  --gold-soft: rgba(251, 191, 36, 0.16);
  --shadow: 0 24px 70px rgba(2, 8, 23, 0.42);
  background:
    radial-gradient(circle at top left, rgba(77, 140, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.1), transparent 24%),
    linear-gradient(180deg, #06080d 0%, #0a1018 42%, #0d131c 100%);
}

body.app-body.dashboard-mode {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(77, 140, 255, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.1), transparent 22%),
    linear-gradient(180deg, #05070d 0%, #0b111a 36%, #0d1320 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(226, 232, 240, 0.46));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1,
h2,
h3,
.brand strong,
.paper-header strong,
.mockup-top strong,
.paper-number,
.stat-card strong,
.mini-stat strong,
.mock-card strong,
.service-card strong,
.feature-card h3,
.contact-card strong,
.paper-card-head strong,
.sidebar-card strong,
.panel h2,
.panel h3,
.board-card strong {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.15;
}

p {
  margin: 0;
}

.btn,
.nav-toggle,
.icon-btn,
.theme-toggle,
.btn-login,
.report-card,
.link-btn,
.nav-link,
.notification-btn {
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover,
.nav-link:hover,
.icon-btn:hover,
.theme-toggle:hover,
.nav-toggle:hover,
.report-card:hover,
.btn-login:hover,
.link-btn:hover {
  transform: translateY(-1px);
}

.mobile-only {
  display: none;
}

.overlay {
  display: none;
}

.btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #2dd4bf);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.link-btn {
  background: transparent;
  color: var(--teal);
  font-weight: 800;
  padding: 6px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand strong {
  display: block;
  min-width: 0;
  font-size: 1.18rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none !important;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

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

.hero-lead {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.hero-actions,
.hero-mini-grid,
.feature-grid,
.service-stack,
.contact-grid,
.split-layout,
.dashboard-grid,
.stats-grid,
.cards-grid,
.paper-grid,
.field-grid,
.report-grid,
.filter-list {
  display: grid;
  gap: 16px;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
}

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

.ecom-hero {
  padding-top: 72px;
  padding-bottom: 44px;
}

.ecom-hero-grid {
  align-items: center;
  gap: 34px;
}

.ecom-hero .hero-copy h1 {
  max-width: 12ch;
}

.hero-badges {
  margin-top: 4px;
}

.hero-badge {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 39, 48, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-badge strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.catalog-section {
  padding-top: 56px;
}

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

.catalog-searchbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-searchbar input {
  flex: 1 1 320px;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(29, 39, 48, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: none;
}

.catalog-searchbar input:focus {
  border-color: rgba(15, 157, 138, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 157, 138, 0.1);
}

.catalog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(29, 39, 48, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.catalog-chip:hover {
  transform: translateY(-1px);
}

.catalog-chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #1fbf9f);
  border-color: transparent;
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.catalog-stats article {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(29, 39, 48, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.catalog-stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
}

.catalog-stats span {
  color: var(--muted);
  line-height: 1.6;
}

body.landing-page {
  --bg: #efeada;
  --bg-soft: #e2dcc7;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-alt: rgba(255, 255, 255, 0.74);
  --ink: #102117;
  --muted: #5d6960;
  --line: rgba(16, 33, 23, 0.1);
  --brand: #ef7f2d;
  --brand-2: #1b6a4e;
  --teal: #1b6a4e;
  --teal-soft: rgba(27, 106, 78, 0.12);
  --gold: #d28b2c;
  --gold-soft: rgba(239, 127, 45, 0.14);
  --shadow: 0 22px 56px rgba(16, 33, 23, 0.14);
  background:
    linear-gradient(180deg, #1b4a35 0 380px, #efeada 380px 100%);
}

body.landing-page .bg-orb {
  opacity: 0.22;
}

body.landing-page .orb-a {
  background: rgba(239, 127, 45, 0.24);
}

body.landing-page .orb-b {
  background: rgba(27, 106, 78, 0.22);
}

body.landing-page .site-header {
  background: rgba(27, 74, 53, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.landing-page .brand strong,
body.landing-page .brand small,
body.landing-page .site-nav a,
body.landing-page .nav-toggle {
  color: #fff;
}

body.landing-page .brand strong {
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body.landing-page .brand small {
  opacity: 0.7;
}

body.landing-page .brand-mark {
  background: linear-gradient(145deg, #2c8a62, #ef7f2d);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.18);
}

body.landing-page .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.landing-page .site-nav a {
  color: rgba(255, 255, 255, 0.76);
}

body.landing-page .site-nav a:hover {
  color: #ffffff;
}

body.landing-page .site-nav {
  align-items: center;
}

body.landing-page .site-nav .btn-primary {
  background: linear-gradient(135deg, #ef7f2d, #1b6a4e);
  box-shadow: 0 14px 28px rgba(239, 127, 45, 0.2);
}

.landing-hero {
  padding: 0;
  position: relative;
  isolation: isolate;
  background: #f6f1e4;
  overflow: hidden;
  min-height: calc(100svh - 80px);
}

.hero-shell {
  width: 100%;
}

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

.landing-hero-grid {
  display: block;
}

.landing-hero-copy {
  display: none;
}

.hero-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  justify-content: center;
}

.hero-panel-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(27, 106, 78, 0.08);
  color: #1b6a4e;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-slider-hero {
  display: grid;
  gap: 14px;
}

.catalog-slider-full {
  position: relative;
}

.catalog-slider-full .catalog-slider-window {
  width: 100%;
  height: calc(100svh - 80px);
  min-height: 620px;
  border-radius: 0;
  background: #0f2419;
  box-shadow: 0 28px 70px rgba(6, 15, 30, 0.22);
}

.catalog-slider-full .catalog-slider-track {
  height: 100%;
}

.catalog-slider-full .catalog-slide {
  height: 100%;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding:
    clamp(24px, 4vw, 56px)
    clamp(96px, 11vw, 180px)
    clamp(24px, 4vw, 56px)
    clamp(24px, 6vw, 84px);
  position: relative;
  isolation: isolate;
  grid-template-columns: 1fr;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 24, 17, 0.82) 0 42%, rgba(9, 24, 17, 0.42) 66%, rgba(9, 24, 17, 0.16) 100%),
    var(--slide-image) center / cover no-repeat;
}

.catalog-slider-full .catalog-slide::before,
.catalog-slider-full .catalog-slide::after {
  display: none;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(27, 74, 53, 0.28), transparent 42%),
    linear-gradient(90deg, rgba(7, 18, 13, 0.58), rgba(7, 18, 13, 0.08));
  z-index: 0;
}

.hero-slide-copy {
  max-width: min(980px, 72%);
  display: grid;
  gap: 22px;
  position: relative;
  z-index: 1;
  justify-items: start;
  margin-left: clamp(44px, 6vw, 124px);
}

.hero-slide-copy .spotlight-label {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #e9fff2;
  backdrop-filter: blur(10px);
  font-size: 0.94rem;
  letter-spacing: 0.18em;
}

.hero-slide-copy h3 {
  font-size: clamp(9rem, 14vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #ffffff;
  max-width: 7ch;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero-slide-copy p {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 1.65vw, 1.38rem);
  line-height: 1.66;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hero-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-slide-meta span {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-slide-copy .catalog-slide-actions {
  gap: 10px;
}

.hero-slide-copy .catalog-slide-actions .btn {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 1rem;
}

.hero-slide-price strong {
  color: #ffffff;
}

.hero-slide-price span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-slide-copy .catalog-slide-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.catalog-slider-full .catalog-slider-controls {
  position: absolute;
  right: 18px;
  top: 50%;
  left: auto;
  transform: translateY(-50%);
  padding: 12px 10px;
  border-radius: 999px;
  background: rgba(7, 18, 13, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.catalog-slider-full .slider-btn {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.catalog-slider-full .slider-dots {
  display: none;
}

.hero-panel {
  display: none;
}

.hero-panel-card {
  background:
    linear-gradient(180deg, rgba(243, 250, 245, 0.22), rgba(223, 239, 227, 0.14)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 26%),
    radial-gradient(circle at bottom left, rgba(27, 106, 78, 0.16), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 24px 52px rgba(8, 32, 23, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px) saturate(128%);
  -webkit-backdrop-filter: blur(20px) saturate(128%);
}

.hero-panel-head .eyebrow {
  color: #92b8a4;
}

.landing-hero .catalog-slide::after,
.landing-hero .catalog-slide.teal::after,
.landing-hero .catalog-slide.gold::after,
.landing-hero .catalog-slide.blue::after,
.landing-hero .catalog-slide.violet::after {
  background: rgba(27, 106, 78, 0.05);
}

.landing-hero .catalog-slider-full {
  width: 100%;
}

.catalog-section {
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(247, 244, 235, 0.96), rgba(236, 229, 212, 0.92));
}

.catalog-shell {
  gap: 18px;
}

.catalog-toolbar,
.catalog-stats article,
.catalog-side-card,
.catalog-card {
  background: rgba(255, 255, 255, 0.9);
}

.catalog-toolbar {
  border-color: rgba(16, 33, 23, 0.08);
}

.catalog-searchbar input {
  background: #ffffff;
  border-color: rgba(16, 33, 23, 0.12);
}

.catalog-chip.active {
  background: linear-gradient(135deg, #ef7f2d, #1b6a4e);
}

.catalog-layout {
  grid-template-columns: 250px minmax(0, 1fr);
}

.catalog-sidebar {
  top: 96px;
}

.catalog-side-card {
  border-color: rgba(16, 33, 23, 0.08);
  box-shadow: var(--shadow);
}

.catalog-side-card strong {
  color: #102117;
}

.landing-collection-grid article {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(16, 33, 23, 0.08);
  box-shadow: var(--shadow);
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #163628, #234f2f 54%, #1d4f39);
  box-shadow: var(--shadow);
}

.landing-cta h2 {
  color: #ffffff;
}

.landing-cta p {
  max-width: 60ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.landing-cta .hero-actions {
  align-items: center;
}

.landing-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
}

.landing-hero .catalog-slider-window {
  min-height: clamp(170px, 20vw, 250px);
}

.landing-hero .catalog-slide {
  min-height: clamp(170px, 20vw, 250px);
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  gap: 12px;
  padding: 14px;
  align-items: center;
}

.landing-hero .catalog-slide-copy {
  gap: 10px;
  max-width: 100%;
}

.landing-hero .catalog-slide-copy h3 {
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  line-height: 0.88;
  max-width: 8ch;
}

.landing-hero .catalog-slide-copy p {
  max-width: 28ch;
  font-size: 0.86rem;
  line-height: 1.5;
}

.landing-hero .catalog-slide-price strong {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.landing-hero .catalog-slide-frame {
  min-height: 160px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.74), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(223, 237, 228, 0.95));
  border: 1px solid rgba(27, 106, 78, 0.08);
}

.landing-hero .catalog-slide-image {
  max-width: min(190px, 82%);
  max-height: 78%;
}

.landing-page .site-footer {
  padding: 26px 0 34px;
  background: linear-gradient(180deg, #102117, #0c1711);
}

.landing-page .footer-inner {
  color: rgba(255, 255, 255, 0.72);
}

.landing-page .footer-inner strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
}

.landing-page .footer-inner .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.catalog-spotlight {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.catalog-spotlight-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(15, 157, 138, 0.08), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow);
}

.spotlight-label {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.catalog-visual {
  max-width: none;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.catalog-bottle {
  transform: scale(1.02);
}

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

.catalog-metrics article {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.catalog-metrics strong {
  display: block;
  font-size: 1.3rem;
  font-family: "Space Grotesk", sans-serif;
}

.catalog-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

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

.catalog-toolbar strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  line-height: 1.15;
}

.catalog-toolbar span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

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

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

.catalog-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(29, 39, 48, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 254, 0.94)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.04), transparent 24%);
  box-shadow:
    0 16px 38px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  min-width: 0;
}

.catalog-thumb-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.catalog-thumb {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}

.catalog-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  backdrop-filter: blur(8px);
}

.catalog-badge.ok {
  background: rgba(22, 163, 74, 0.9);
}

.catalog-badge.warn {
  background: rgba(249, 115, 22, 0.9);
}

.catalog-badge.low {
  background: rgba(239, 68, 68, 0.9);
}

.catalog-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.catalog-brand {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.catalog-body strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  line-height: 1.22;
}

.catalog-body p {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.8rem;
}

.catalog-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 800;
}

.catalog-rating small {
  color: var(--muted);
  font-weight: 700;
}

.catalog-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.catalog-price strong {
  font-size: 1.05rem;
}

.catalog-price s {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 0.82rem;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 22px;
  border-radius: 22px;
  border: 1px dashed rgba(29, 39, 48, 0.16);
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.catalog-cta p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 10px;
}

.chart-controls {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.chart-date-field {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.chart-date-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.chart-date-field input {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
}

.chart-date-field input:focus {
  border-color: rgba(77, 140, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(77, 140, 255, 0.1);
}

.mini-stat,
.feature-card,
.service-card,
.contact-card,
.info-card,
.paper-card,
.panel,
.stat-card,
.mockup-top,
.mock-card,
.paper-feel,
.board-column,
.alert-card,
.timeline-item,
.summary-card,
.stack-card > div,
.report-card,
.sidebar-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.94)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.04), transparent 22%);
  backdrop-filter: blur(18px);
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.mini-stat {
  padding: 18px;
  border-radius: 18px;
}

.mini-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.mini-stat span {
  color: var(--muted);
}

.hero-visual {
  min-width: 0;
}

.erp-mockup {
  padding: 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 250, 0.9)),
    radial-gradient(circle at top right, rgba(15, 157, 138, 0.08), transparent 28%);
  border: 1px solid rgba(29, 39, 48, 0.08);
}

.mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  margin-bottom: 16px;
}

.mockup-title {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.success {
  color: var(--success);
  background: rgba(22, 163, 74, 0.12);
}

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

.mock-card {
  padding: 16px;
  border-radius: 18px;
}

.mock-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.mock-card strong {
  font-size: 1.35rem;
}

.mock-card.accent {
  background: linear-gradient(160deg, rgba(15, 157, 138, 0.16), rgba(255, 255, 255, 0.82));
}

.mock-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-top: 18px;
  min-height: 220px;
}

.mock-chart div {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
}

.mock-chart span {
  width: 100%;
  max-width: 42px;
  height: var(--bar-height, 56%);
  margin-top: auto;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #0f9d8a, #43d3b2);
  box-shadow: 0 10px 20px rgba(15, 157, 138, 0.2);
}

.mock-chart small {
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  display: grid;
  gap: 14px;
}

.section-heading.centered {
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading p,
.service-card p,
.feature-card p,
.contact-card p,
.hero-copy p,
.info-card p {
  color: var(--muted);
  line-height: 1.8;
}

.split-layout {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.paper-feel {
  padding: 20px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.8)),
    repeating-linear-gradient(180deg, transparent 0, transparent 30px, rgba(100, 116, 139, 0.1) 31px);
}

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

.paper-header span {
  color: rgba(71, 85, 105, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.paper-grid label {
  display: block;
  margin-bottom: 4px;
  color: rgba(83, 62, 22, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 800;
}

.paper-grid p {
  margin: 0;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: normal;
}

.paper-lines {
  margin-top: 18px;
  min-height: 160px;
  border-top: 1px solid rgba(113, 83, 33, 0.15);
  background:
    linear-gradient(180deg, transparent 0, transparent 26px, rgba(113, 83, 33, 0.12) 27px);
  background-size: 100% 27px;
}

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

.feature-card {
  padding: 24px;
  border-radius: 22px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 157, 138, 0.12), rgba(255, 183, 3, 0.16));
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.service-stack {
  gap: 14px;
}

.service-card {
  padding: 18px 20px;
  border-radius: 20px;
}

.contact-grid {
  grid-template-columns: 1fr 420px;
  align-items: center;
}

.contact-card {
  padding: 24px;
  border-radius: 24px;
  display: grid;
  gap: 18px;
}

.site-footer {
  padding: 18px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
}

.theme-toggle,
.icon-btn,
.nav-toggle,
.notification-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid var(--line);
}

.icon-btn.mobile-only {
  display: none;
}

.notification-btn {
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.btn-login {
  margin-left: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.bg-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.48;
  z-index: 0;
}

.orb-a {
  top: -110px;
  left: -110px;
  background: rgba(255, 183, 3, 0.22);
}

.orb-b {
  top: 200px;
  right: -120px;
  background: rgba(15, 157, 138, 0.18);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 18, 24, 0.46);
}

.login-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 24px));
  z-index: 90;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.login-copy {
  padding: 24px 24px 8px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.9)),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 28%);
}

.login-form {
  padding: 16px 24px 24px;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.login-copy .eyebrow {
  margin-bottom: 8px;
}

.login-copy h2 {
  max-width: 12ch;
}

.login-form .field input {
  padding: 12px 14px;
}

.login-form .btn-block {
  min-height: 46px;
}

.sales-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100% - 24px));
  z-index: 90;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sales-modal-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.sales-modal-copy {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.9)),
    radial-gradient(circle at top right, rgba(15, 157, 138, 0.1), transparent 28%);
}

.sales-modal-copy p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
}

.sales-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.product-preview {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.96));
}

.product-preview-media {
  width: 168px;
  height: 168px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.75), transparent 20%),
    linear-gradient(180deg, rgba(15, 157, 138, 0.08), rgba(241, 245, 249, 0.96));
  display: grid;
  place-items: center;
}

.product-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-preview-copy {
  display: grid;
  gap: 6px;
}

.product-preview-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.product-preview-copy span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.product-preview:not(.has-image) .product-preview-media img {
  opacity: 0.32;
}

@media (max-width: 720px) {
  .product-preview {
    grid-template-columns: 1fr;
  }

  .product-preview-media {
    width: 100%;
    max-width: 240px;
    height: 240px;
    justify-self: center;
  }
}

.sales-modal-form {
  padding: 28px;
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.searchbox input {
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(29, 39, 48, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.searchbox input:focus {
  border-color: rgba(29, 122, 117, 0.5);
  box-shadow: 0 0 0 4px rgba(29, 122, 117, 0.1);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  z-index: 2;
}

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

.timeline-head .sales-edit-btn {
  flex: none;
}

.form-feedback {
  min-height: 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-feedback.error {
  color: var(--danger);
}

.app-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
  height: 100vh;
  gap: 0;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  margin: 14px 0 14px 14px;
  padding: 22px 18px;
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right-width: 1px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6, 11, 18, 0.96), rgba(10, 17, 28, 0.94)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 34%);
  backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 30px 60px rgba(2, 8, 23, 0.34);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-side strong {
  font-size: 1rem;
}

.brand-side small {
  font-size: 0.82rem;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.nav-link::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(29, 39, 48, 0.18);
  flex: none;
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(77, 140, 255, 0.18), rgba(45, 212, 191, 0.14));
  box-shadow:
    inset 0 0 0 1px rgba(77, 140, 255, 0.18),
    0 14px 24px rgba(2, 8, 23, 0.14);
}

.nav-link.active::before {
  background: var(--teal);
}

.nav-link.danger {
  justify-content: center;
  color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
}

.sidebar-card {
  padding: 16px;
  border-radius: 20px;
}

.sidebar-label {
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

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

.notify-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 39, 48, 0.08);
}

.notify-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.notify-item span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.app-main {
  min-width: 0;
  margin: 14px 14px 14px 12px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.98), rgba(236, 241, 247, 0.98)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.08), transparent 26%);
  border-radius: 30px;
  box-shadow:
    -12px 0 30px rgba(2, 8, 23, 0.08),
    0 20px 50px rgba(2, 8, 23, 0.08);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  margin-bottom: 14px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar-right {
  flex-wrap: wrap;
  justify-content: end;
}

.searchbox {
  width: min(360px, 44vw);
}

.searchbox input {
  min-width: 0;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.user-chip span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e2ac45);
  color: #fff;
  font-weight: 800;
  flex: none;
}

.user-chip strong {
  display: block;
  font-size: 0.92rem;
}

.user-chip p {
  color: var(--muted);
  font-size: 0.84rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body.app-body .app-main > section.section[id] {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 4px 2px 10px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 157, 138, 0.58) transparent;
}

body.app-body .app-main > section.section[id].is-active {
  display: block;
}

body.app-body .app-main > section.section[id] .section-header {
  margin-top: 6px;
}

body.app-body .app-main > section.section[id] > :last-child {
  margin-bottom: 0;
}

.section-actions,
.form-actions,
.filter-list,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.dashboard-examples {
  margin-top: 18px;
}

.example-panel {
  display: grid;
  gap: 14px;
}

.example-stack {
  display: grid;
  gap: 12px;
}

.example-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.95)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.04), transparent 24%);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.example-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
}

.example-card p {
  color: var(--muted);
  line-height: 1.7;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.82fr);
  gap: 16px;
  margin-bottom: 18px;
}

.showcase-main {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.94)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.11), transparent 28%),
    radial-gradient(circle at bottom left, rgba(77, 140, 255, 0.08), transparent 24%);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: center;
}

.showcase-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.showcase-copy h2 {
  font-size: clamp(1.9rem, 2.3vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.showcase-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.showcase-product {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
}

.product-visual {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1.15;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.7), transparent 20%),
    linear-gradient(180deg, rgba(15, 157, 138, 0.14), rgba(241, 245, 249, 0.96));
  border: 1px solid rgba(29, 39, 48, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  display: grid;
  place-items: center;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.product-visual::before {
  width: 82%;
  height: 18px;
  left: 9%;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(10px);
}

.product-bottle {
  position: relative;
  width: 118px;
  height: 182px;
  border-radius: 30px 30px 34px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 18%),
    linear-gradient(180deg, #22c1a6 0%, #0f9d8a 30%, #e9eef5 31%, #cbd5e1 100%);
  box-shadow: 0 30px 40px rgba(15, 157, 138, 0.22);
}

.product-bottle::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 56px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #e2e8f0, #94a3b8);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}

.product-bottle::after {
  content: "A0LE ^AMPUANI";
  position: absolute;
  inset: 54px 14px 24px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.showcase-product .product-bottle::after,
.catalog-bottle::after {
  content: "AILE SAMPUANI";
}

.showcase-price {
  text-align: center;
  display: grid;
  gap: 4px;
}

.showcase-price span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.showcase-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem;
}

.showcase-price p {
  color: var(--muted);
}

.showcase-side {
  display: grid;
  gap: 14px;
}

.promo-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.96));
  display: grid;
  gap: 8px;
}

.promo-card h3 {
  font-size: 1.2rem;
}

.promo-card p {
  color: var(--muted);
  line-height: 1.7;
}

.promo-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.promo-orange {
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.12), rgba(255, 255, 255, 0.86));
}

.promo-teal {
  background: linear-gradient(160deg, rgba(15, 157, 138, 0.12), rgba(255, 255, 255, 0.88));
}

.promo-gold {
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.88));
}

.span-2 {
  grid-column: span 2;
}

.panel {
  padding: 20px;
  border-radius: 24px;
  min-width: 0;
}

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

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.94)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.06), transparent 26%);
}

.stat-card p {
  color: var(--muted);
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.7rem;
}

.stat-card span {
  color: var(--muted);
}

.stat-card .trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(77, 140, 255, 0.08);
  color: #2d6cdf;
  font-size: 0.82rem;
  font-weight: 800;
}

.stat-card.accent {
  background: linear-gradient(160deg, rgba(77, 140, 255, 0.12), rgba(255, 255, 255, 0.92));
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 260px;
}

.bar-chart div {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-width: 0;
}

.bar-chart span {
  width: 100%;
  max-width: 46px;
  min-height: 16px;
  height: var(--height, 50%);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #0f9d8a, #43d3b2);
  box-shadow: 0 10px 20px rgba(15, 157, 138, 0.2);
  margin-top: auto;
}

.bar-chart small {
  color: var(--muted);
  font-weight: 700;
}

.rank-list,
.timeline-list {
  display: grid;
  gap: 12px;
}

.rank-list {
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 157, 138, 0.5) transparent;
}

body.app-body .app-main > section.section[id]::-webkit-scrollbar,
.rank-list::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

body.app-body .app-main > section.section[id]::-webkit-scrollbar-track,
.rank-list::-webkit-scrollbar-track {
  background: transparent;
}

body.app-body .app-main > section.section[id]::-webkit-scrollbar-thumb,
.rank-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(15, 157, 138, 0.74), rgba(71, 181, 159, 0.64));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

body.app-body .app-main > section.section[id]::-webkit-scrollbar-thumb:hover,
.rank-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(15, 157, 138, 0.88), rgba(71, 181, 159, 0.78));
}

.rank-item,
.timeline-item,
.board-card,
.alert-card,
.stock-card,
.customer-card,
.user-card,
.movement-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 251, 0.94)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.04), transparent 24%);
  min-width: 0;
}

.rank-item {
  scroll-snap-align: start;
  display: grid;
  gap: 10px;
}

.rank-item strong,
.timeline-item strong,
.board-card strong,
.alert-card strong,
.stock-card strong,
.customer-card strong,
.user-card strong,
.movement-card strong {
  display: block;
  margin-bottom: 4px;
}

.rank-item p,
.timeline-item p,
.board-card p,
.alert-card p,
.stock-card p,
.customer-card p,
.user-card p,
.movement-card p {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: normal;
}

.rank-head,
.card-head,
.stock-head,
.customer-head,
.user-head,
.movement-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.stock-head {
  align-items: center;
}

.product-thumb {
  width: 76px;
  height: 76px;
  flex: none;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.1);
}

.stock-copy {
  min-width: 0;
  flex: 1;
}

.stock-copy p {
  margin-top: 4px;
}

.rank-item .score {
  color: var(--teal);
  font-weight: 800;
}

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

.board-column {
  padding: 16px;
  border-radius: 22px;
  min-width: 0;
}

.board-column h3,
.board-column h4 {
  margin-bottom: 12px;
}

.board-stack {
  display: grid;
  gap: 10px;
}

.board-card .meta-row,
.stock-card .meta-row,
.customer-card .meta-row,
.user-card .meta-row,
.movement-card .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(77, 140, 255, 0.08);
  color: #2d6cdf;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.status.ok {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
}

.status.warn {
  color: #c2410c;
  background: rgba(249, 115, 22, 0.14);
}

.status.low {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.12);
}

.paper-form-shell {
  display: grid;
  gap: 18px;
}

.paper-card {
  padding: 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.82)),
    repeating-linear-gradient(180deg, transparent 0, transparent 32px, rgba(100, 116, 139, 0.1) 33px);
}

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

.paper-card-head strong {
  display: block;
  font-size: 1.2rem;
}

.paper-card-head span {
  color: rgba(71, 85, 105, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.paper-number {
  font-size: 1.15rem;
}

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

.field-group {
  margin: 0;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(29, 39, 48, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.field-group legend {
  padding: 0 8px;
  font-weight: 800;
  color: var(--teal);
}

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

.field {
  display: grid;
  gap: 8px;
  font-weight: 700;
  min-width: 0;
}

.field input,
.field select,
.field textarea,
.searchbox input {
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(29, 39, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus,
.searchbox input:focus {
  border-color: rgba(29, 122, 117, 0.55);
  box-shadow: 0 0 0 4px rgba(29, 122, 117, 0.1);
}

.order-lines {
  display: grid;
  gap: 10px;
}

.line-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(29, 39, 48, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.line-row .field {
  font-size: 0.84rem;
}

.line-row .small-field {
  display: grid;
  gap: 6px;
}

.line-row button {
  align-self: end;
  min-height: 44px;
}

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

.totals-box div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(29, 39, 48, 0.08);
}

.totals-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.totals-box strong {
  font-size: 1.2rem;
}

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

.stock-card .stock-meta,
.customer-card .customer-meta,
.user-card .user-meta,
.movement-card .movement-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  flex: none;
}

.product-avatar.alt {
  background: linear-gradient(145deg, var(--teal), #47a59f);
}

.category-bars {
  display: grid;
  gap: 14px;
}

.category-row {
  display: grid;
  gap: 7px;
}

.category-row span {
  font-weight: 800;
}

.category-row .line {
  height: 12px;
  border-radius: 999px;
  background: rgba(29, 39, 48, 0.08);
  overflow: hidden;
}

.category-row .line i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #47a59f);
}

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

.report-card {
  min-height: 100px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  color: var(--ink);
}

.stack-card {
  display: grid;
  gap: 12px;
}

.stack-card > div {
  padding: 16px;
  border-radius: 18px;
}

.stack-card strong {
  display: block;
  margin-bottom: 6px;
}

.stack-card p {
  color: var(--muted);
  line-height: 1.7;
}

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

.empty-state {
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(29, 39, 48, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.54);
}

body.app-body .sidebar {
  background:
    linear-gradient(180deg, #04070a, #0a1220),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 32%);
  border-right-color: rgba(255, 255, 255, 0.06);
}

body.app-body .topbar {
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.app-body .topbar h1,
body.app-body .section h2,
body.app-body .section h3,
body.app-body .panel h2,
body.app-body .panel h3,
body.app-body .showcase-main h2,
body.app-body .stat-card strong {
  color: #111827;
}

body.app-body .showcase-main {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.97)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.08), transparent 28%);
  border-color: rgba(15, 23, 42, 0.06);
}

body.app-body .showcase-copy p,
body.app-body .showcase-price span,
body.app-body .showcase-price p,
body.app-body .mock-card span,
body.app-body .panel p,
body.app-body .stat-card p,
body.app-body .stat-card span,
body.app-body .rank-item p,
body.app-body .timeline-item p,
body.app-body .board-card p,
body.app-body .stock-card p,
body.app-body .customer-card p,
body.app-body .user-card p,
body.app-body .movement-card p,
body.app-body .notify-item span {
  color: #5f6872;
}

body.app-body .product-visual {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.72), transparent 20%),
    linear-gradient(180deg, rgba(15, 157, 138, 0.14), rgba(241, 245, 249, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
}

body.app-body .promo-card,
body.app-body .panel,
body.app-body .stat-card,
body.app-body .board-column,
body.app-body .timeline-item,
body.app-body .alert-card,
body.app-body .stock-card,
body.app-body .customer-card,
body.app-body .user-card,
body.app-body .movement-card,
body.app-body .sidebar-card,
body.app-body .paper-card,
body.app-body .field-group,
body.app-body .totals-box div,
body.app-body .report-card,
body.app-body .empty-state {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.96));
  border-color: rgba(15, 23, 42, 0.06);
  color: #111827;
}

body.app-body .promo-orange {
  background: linear-gradient(160deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
}

body.app-body .promo-teal {
  background: linear-gradient(160deg, rgba(240, 253, 250, 0.98), rgba(255, 255, 255, 0.98));
}

body.app-body .promo-gold {
  background: linear-gradient(160deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.98));
}

body.app-body .stat-card.accent {
  background: linear-gradient(160deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.99));
}

body.app-body .nav-link {
  color: #dbe7ff;
}

body.app-body .nav-link::before {
  background: rgba(219, 231, 255, 0.26);
}

body.app-body .nav-link.active {
  background: linear-gradient(135deg, rgba(77, 140, 255, 0.2), rgba(45, 212, 191, 0.16));
  box-shadow: inset 0 0 0 1px rgba(77, 140, 255, 0.18);
}

body.app-body .nav-link.active::before {
  background: #60a5fa;
}

body.app-body .icon-btn,
body.app-body .theme-toggle,
body.app-body .notification-btn {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: rgba(77, 140, 255, 0.14);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

body.app-body .icon-btn:hover,
body.app-body .theme-toggle:hover,
body.app-body .notification-btn:hover {
  background: #ffffff;
  border-color: rgba(77, 140, 255, 0.22);
}

body.app-body .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #4d8cff 0%, #2dd4bf 100%);
  box-shadow: 0 16px 30px rgba(77, 140, 255, 0.22);
}

body.app-body .btn-primary:hover {
  box-shadow: 0 18px 34px rgba(77, 140, 255, 0.28);
}

body.app-body .btn-secondary {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(77, 140, 255, 0.14);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

body.app-body .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(77, 140, 255, 0.24);
}

body.app-body .nav-link.danger {
  color: #ffd7de;
  background: rgba(190, 18, 60, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.14);
}

body.app-body .nav-link.danger::before {
  background: rgba(255, 255, 255, 0.32);
}

body.app-body .nav-link.danger:hover {
  background: rgba(190, 18, 60, 0.18);
  color: #fff1f4;
}

body.app-body .btn-sm.btn-secondary,
body.app-body .timeline-head .sales-edit-btn,
body.app-body .stock-card-actions .btn {
  background: rgba(77, 140, 255, 0.08);
  border-color: rgba(77, 140, 255, 0.14);
  color: #17315f;
}

body.app-body .btn-sm.btn-secondary:hover,
body.app-body .timeline-head .sales-edit-btn:hover,
body.app-body .stock-card-actions .btn:hover {
  background: rgba(77, 140, 255, 0.14);
  border-color: rgba(77, 140, 255, 0.22);
}

body.app-body .searchbox input,
body.app-body .field input,
body.app-body .field select,
body.app-body .field textarea {
  background: #ffffff;
  color: #111827;
  border-color: rgba(15, 23, 42, 0.12);
}

body.app-body .searchbox input::placeholder,
body.app-body .field input::placeholder,
body.app-body .field textarea::placeholder {
  color: rgba(107, 114, 128, 0.8);
}

body.app-body .empty-state {
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.08);
}

body.app-body .app-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(253, 254, 255, 0.995)),
    radial-gradient(circle at top right, rgba(77, 140, 255, 0.04), transparent 24%);
  color: #111827;
  border-top-left-radius: 34px;
  border-bottom-left-radius: 34px;
  margin-left: 0;
  box-shadow: none;
}

body.app-body .app-main .section,
body.app-body .app-main .topbar {
  color: #111827;
}

body.app-body .app-main .eyebrow {
  color: var(--teal);
}

body.app-body .app-main .btn-secondary {
  background: rgba(255, 255, 255, 0.88);
}

.section h2,
.section h3 {
  overflow-wrap: break-word;
}

.sidebar,
.app-main,
.topbar,
.panel,
.card,
.feature-card,
.service-card,
.contact-card,
.hero-copy,
.info-card,
.paper-card,
.stat-card,
.mockup-top,
.mini-stat {
  min-width: 0;
}

@media (max-width: 1180px) {
  .hero-grid,
  .split-layout,
  .showcase-grid,
  .contact-grid,
  .login-shell,
  .dashboard-grid,
  .feature-grid,
  .cards-grid,
  .stats-grid,
  .report-grid,
  .filter-list {
    grid-template-columns: 1fr;
  }

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

  .span-2 {
    grid-column: auto;
  }

  .showcase-main {
    grid-template-columns: 1fr;
  }

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

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

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

  body.app-body .app-main {
    border-radius: 0;
    box-shadow: none;
    padding: 18px;
    margin: 0;
    height: auto;
    min-height: 100vh;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    margin: 0;
    border-radius: 0 28px 28px 0;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 60;
  }

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

  .app-shell.sidebar-open .overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 19, 25, 0.38);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.25s ease;
  }

  .mobile-only,
  .nav-toggle {
    display: inline-flex !important;
  }

  .nav-shell {
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 45;
    max-height: calc(100vh - 104px);
    overflow: auto;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .btn-login {
    margin-left: 0;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    font-size: 1rem;
  }

  .hero-grid,
  .catalog-layout,
  .showcase-grid,
  .login-shell,
  .sales-modal-shell {
    grid-template-columns: 1fr;
  }

  .landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .landing-hero h1 {
    max-width: 11ch;
  }

  .landing-hero .hero-lead {
    max-width: 100%;
  }

  .hero-panel-meta {
    justify-content: center;
  }

  .landing-hero::before {
    background: linear-gradient(
      180deg,
      rgba(27, 74, 53, 0.98) 0,
      rgba(27, 74, 53, 0.98) 344px,
      rgba(246, 241, 228, 0.98) 344px,
      rgba(246, 241, 228, 0.98) 100%
    );
  }

  .landing-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-slider-full .catalog-slider-window,
  .catalog-slider-full .catalog-slide {
    min-height: clamp(420px, 56vw, 720px);
    height: auto;
  }

  .hero-slide-copy {
    max-width: 74%;
    margin-left: clamp(28px, 5vw, 80px);
  }

  body.landing-page .site-nav {
    background: rgba(27, 74, 53, 0.98);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .catalog-sidebar {
    position: static;
    top: auto;
  }

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

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

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

  .section-header,
  .topbar,
  .catalog-toolbar,
  .catalog-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-right {
    justify-content: start;
  }

  .section-header {
    gap: 12px;
  }

  .showcase-main {
    grid-template-columns: 1fr;
  }

  .hero-mini-grid,
  .mockup-metrics,
  .totals-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-searchbar {
    width: 100%;
  }

  .catalog-searchbar input {
    flex: 1 1 100%;
  }

  .sales-modal,
  .login-modal {
    width: min(920px, calc(100% - 16px));
    max-height: calc(100vh - 16px);
    overflow: auto;
  }

  .sales-modal-copy,
  .sales-modal-form,
  .login-copy,
  .login-form {
    padding: 22px;
  }

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

  .catalog-slider-window {
    min-height: 460px;
  }
}

@media (max-width: 900px) {
  .catalog-hero,
  .catalog-layout,
  .catalog-cta {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    display: grid;
  }

  .catalog-cta {
    flex-direction: column;
    align-items: start;
  }

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

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

  .mockup-metrics,
  .hero-mini-grid,
  .stats-grid,
  .totals-box {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .nav-shell {
    min-height: 72px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding-top: 22px;
    padding-bottom: 44px;
  }

  .landing-hero-grid {
    gap: 20px;
  }

  .landing-hero h1 {
    max-width: 100%;
  }

  .landing-hero .hero-lead {
    width: 100%;
    padding: 13px 14px;
    font-size: 0.95rem;
  }

  .landing-hero::before {
    background: linear-gradient(
      180deg,
      rgba(27, 74, 53, 0.98) 0,
      rgba(27, 74, 53, 0.98) 320px,
      rgba(246, 241, 228, 0.98) 320px,
      rgba(246, 241, 228, 0.98) 100%
    );
  }

  .hero-panel-card {
    padding: 18px;
    border-radius: 24px;
    width: 100%;
  }

  .catalog-slider-window {
    min-height: 340px;
  }

  .catalog-slider-full .catalog-slider-window,
  .catalog-slider-full .catalog-slide {
    min-height: 300px;
    border-radius: 24px;
    height: auto;
  }

  .catalog-slider-full .catalog-slider-controls {
    right: 14px;
    top: auto;
    bottom: 14px;
    transform: none;
    padding: 10px 8px;
    flex-direction: row;
    gap: 0;
  }

  .hero-slide-copy {
    gap: 12px;
    margin-left: 18px;
    max-width: calc(100% - 36px);
  }

  .hero-slide-copy h3 {
    max-width: 8ch;
    font-size: clamp(4rem, 11vw, 6.2rem);
    line-height: 0.88;
  }

  .hero-slide-copy p {
    max-width: 100%;
    font-size: 1.02rem;
  }

  .hero-slide-meta span {
    font-size: 0.74rem;
    min-height: 32px;
  }

  .hero-panel-meta {
    gap: 6px;
  }

  .hero-panel-meta span {
    width: 100%;
    justify-content: center;
  }

  .hero-panel-stats {
    grid-template-columns: 1fr;
  }

  .landing-cta {
    padding: 20px;
  }

  .landing-cta .hero-actions {
    width: 100%;
  }

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

  .catalog-copy {
    padding: 20px;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: start;
  }

  .catalog-grid,
  .catalog-stats,
  .catalog-metrics {
    grid-template-columns: 1fr;
  }

  .catalog-actions {
    flex-direction: column;
  }

  .hero-mini-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .hero-mini-grid > * {
    flex: 0 0 min(240px, 78vw);
    scroll-snap-align: start;
  }

  .mockup-metrics,
  .showcase-grid,
  .paper-grid,
  .field-grid,
  .totals-box {
    grid-template-columns: 1fr;
  }

  .showcase-main {
    padding: 18px;
  }

  .product-bottle {
    width: 106px;
    height: 166px;
  }

  .paper-header {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .login-modal {
    border-radius: 22px;
  }

  .sales-modal,
  .login-modal {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 22px;
  }

  .catalog-grid,
  .catalog-stats,
  .catalog-metrics,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-mini-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .hero-mini-grid > * {
    flex: 0 0 min(220px, 82vw);
    scroll-snap-align: start;
  }

  .mockup-metrics,
  .totals-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.1rem;
  }

  .mock-chart {
    min-height: 200px;
  }

  .mock-chart span {
    max-width: 34px;
  }

  .panel,
  .paper-card,
  .contact-card,
  .feature-card,
  .service-card,
  .promo-card,
  .mini-stat,
  .stat-card {
    padding: 16px;
    border-radius: 18px;
  }

  .stock-head {
    flex-direction: column;
    align-items: start;
  }

  .product-thumb {
    width: 84px;
    height: 84px;
  }

  .stock-head .status {
    align-self: flex-start;
  }

  .line-row .field input,
  .line-row .field select {
    min-height: 44px;
  }
}

.stock-layout {
  align-items: start;
}

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

.stock-form-panel {
  display: grid;
  gap: 14px;
}

.stock-editor-state {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(247, 250, 252, 0.92), rgba(255, 255, 255, 0.92));
}

.stock-editor-state.active {
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.stock-editor-state img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
}

.stock-editor-state strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.stock-editor-state p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.stock-form-panel .field textarea {
  min-height: 92px;
}

.stock-card {
  display: grid;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

.stock-card-band {
  height: 6px;
  margin: -18px -18px 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.16), rgba(45, 212, 191, 0.28));
}

.stock-card-band.ok {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.7), rgba(45, 212, 191, 0.5));
}

.stock-card-band.warn {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.76), rgba(251, 191, 36, 0.52));
}

.stock-card-band.low {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.8), rgba(249, 115, 22, 0.48));
}

.stock-card.ok {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.06), rgba(255, 255, 255, 0.96));
  border-color: rgba(22, 163, 74, 0.14);
}

.stock-card.warn {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.06), rgba(255, 255, 255, 0.96));
  border-color: rgba(249, 115, 22, 0.14);
}

.stock-card.low {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06), rgba(255, 255, 255, 0.96));
  border-color: rgba(239, 68, 68, 0.16);
}

.stock-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.stock-card .stock-meta {
  margin-top: 0;
}

.stock-copy .stock-subline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.stock-card .meta-chip {
  background: rgba(15, 157, 138, 0.08);
}

.stock-card-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 2px;
}

.stock-card-actions .btn {
  min-width: 120px;
}

.stock-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
  font-weight: 800;
}

.stock-add-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
}

.stock-panel-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .stock-layout {
    grid-template-columns: 1fr;
  }

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

  .stock-form-panel .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stock-grid,
  .stock-form-panel .field-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-slider {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.catalog-slider-hero {
  width: 100%;
}

.catalog-slider-window {
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(4, 8, 18, 0.95), rgba(12, 23, 41, 0.96));
  box-shadow: 0 28px 70px rgba(6, 15, 30, 0.26);
  min-height: clamp(360px, 48vw, 540px);
}

.catalog-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.45s ease;
}

.catalog-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.92fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 36px);
  color: #f8fbff;
  position: relative;
  isolation: isolate;
  min-height: clamp(360px, 48vw, 540px);
}

.catalog-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
  z-index: -2;
}

.catalog-slide::after {
  content: "";
  position: absolute;
  inset: auto -100px -130px auto;
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.42;
  z-index: -1;
}

.catalog-slide.teal::before {
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(7, 15, 31, 0.96), rgba(11, 46, 56, 0.92));
}

.catalog-slide.gold::before {
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(27, 19, 5, 0.96), rgba(71, 44, 10, 0.94));
}

.catalog-slide.blue::before {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(6, 16, 36, 0.96), rgba(11, 44, 92, 0.94));
}

.catalog-slide.violet::before {
  background:
    radial-gradient(circle at top left, rgba(167, 139, 250, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(19, 10, 42, 0.96), rgba(57, 26, 106, 0.94));
}

.catalog-slide.teal::after {
  background: rgba(45, 212, 191, 0.28);
}

.catalog-slide.gold::after {
  background: rgba(251, 191, 36, 0.28);
}

.catalog-slide.blue::after {
  background: rgba(96, 165, 250, 0.26);
}

.catalog-slide.violet::after {
  background: rgba(167, 139, 250, 0.28);
}

.catalog-slide-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  min-width: 0;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.catalog-slide-copy h3 {
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.catalog-slide-copy p {
  color: rgba(241, 245, 249, 0.84);
  line-height: 1.7;
  max-width: 46ch;
}

.catalog-slide-price {
  display: grid;
  gap: 4px;
}

.catalog-slide-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.catalog-slide-price span {
  color: rgba(241, 245, 249, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.catalog-slide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-slide-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-slide-visual {
  min-width: 0;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.catalog-slide-frame {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.catalog-slide-image {
  width: 100%;
  height: 100%;
  max-width: min(340px, 86%);
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.24));
}

.catalog-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 4px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 15, 28, 0.92);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(6, 15, 30, 0.2);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex: 1;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(148, 163, 184, 0.38);
}

.slider-dot.active {
  width: 34px;
  background: linear-gradient(135deg, var(--teal), #1fbf9f);
}

@media (max-width: 1180px) {
  .catalog-slide {
    grid-template-columns: 1fr;
  }

  .catalog-slide-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .catalog-slider-window {
    min-height: 420px;
    border-radius: 28px;
  }

  .catalog-slide {
    min-height: 420px;
    padding: 18px;
  }

  .catalog-slide-copy h3 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .catalog-slide-price strong {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .catalog-slider-controls {
    flex-wrap: wrap;
  }

  .slider-dots {
    order: 3;
    width: 100%;
  }
}

/* Responsive polish for the Dore Global landing page */
@media (max-width: 1180px) {
  body.landing-page .brand strong {
    font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  }

  .landing-hero {
    min-height: auto;
  }

  .catalog-slider-full .catalog-slider-window {
    height: min(760px, calc(100svh - 74px));
    min-height: 560px;
  }

  .catalog-slider-full .catalog-slide {
    min-height: 560px;
    padding: clamp(28px, 5vw, 52px);
  }

  .hero-slide-copy {
    max-width: min(720px, 78%);
    margin-left: clamp(22px, 4vw, 72px);
  }

  .hero-slide-copy h3 {
    font-size: clamp(4.8rem, 10vw, 8.5rem);
    max-width: 8ch;
  }

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

@media (max-width: 900px) {
  body.landing-page .site-header {
    position: sticky;
  }

  body.landing-page .brand strong {
    font-size: clamp(1.55rem, 5vw, 2.25rem);
    letter-spacing: -0.04em;
  }

  body.landing-page .site-nav a {
    color: rgba(255, 255, 255, 0.86);
  }

  body.landing-page .site-nav .btn-primary {
    width: 100%;
  }

  .nav-shell {
    min-height: 72px;
  }

  .catalog-slider-full .catalog-slider-window {
    height: auto;
    min-height: 560px;
  }

  .catalog-slider-full .catalog-slide {
    align-items: end;
    min-height: 560px;
    padding: 34px 24px 82px;
    background:
      linear-gradient(180deg, rgba(9, 24, 17, 0.24) 0%, rgba(9, 24, 17, 0.72) 58%, rgba(9, 24, 17, 0.92) 100%),
      var(--slide-image) center / cover no-repeat;
  }

  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(7, 18, 13, 0.08), rgba(7, 18, 13, 0.78));
  }

  .hero-slide-copy {
    max-width: 100%;
    margin-left: 0;
    gap: 14px;
  }

  .hero-slide-copy h3 {
    font-size: clamp(3.6rem, 12vw, 6.4rem);
    max-width: 9ch;
  }

  .hero-slide-copy p {
    max-width: 48ch;
    font-size: 1rem;
  }

  .catalog-slider-full .catalog-slider-controls {
    right: 16px;
    top: auto;
    bottom: 18px;
    transform: none;
    flex-direction: row;
  }

  .catalog-toolbar {
    align-items: stretch;
  }

  .catalog-toolbar .btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  body.landing-page {
    background: #efeada;
  }

  .landing-hero {
    padding: 0;
  }

  .catalog-slider-full .catalog-slider-window {
    min-height: calc(100svh - 72px);
    border-radius: 0;
  }

  .catalog-slider-full .catalog-slide {
    min-height: calc(100svh - 72px);
    padding: 28px 16px 92px;
  }

  .hero-slide-copy .spotlight-label {
    padding: 8px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-slide-copy h3 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
    line-height: 0.9;
  }

  .hero-slide-copy p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-slide-meta {
    gap: 7px;
  }

  .hero-slide-meta span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .catalog-section {
    padding-top: 18px;
  }

  .catalog-toolbar {
    padding: 14px;
    border-radius: 16px;
  }

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

  .catalog-card {
    border-radius: 16px;
    padding: 10px;
  }

  .catalog-thumb {
    aspect-ratio: 1 / 0.9;
  }

  .catalog-body strong {
    font-size: 0.86rem;
  }

  .catalog-body p,
  .catalog-brand,
  .catalog-toolbar span {
    font-size: 0.76rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 18px));
  }

  .nav-shell {
    min-height: 66px;
    gap: 10px;
  }

  body.landing-page .brand strong {
    font-size: clamp(1.35rem, 8vw, 1.8rem);
    line-height: 1;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .site-nav {
    left: 9px;
    right: 9px;
  }

  .catalog-slider-full .catalog-slider-window,
  .catalog-slider-full .catalog-slide {
    min-height: calc(100svh - 66px);
  }

  .catalog-slider-full .catalog-slide {
    padding: 24px 14px 88px;
  }

  .hero-slide-copy h3 {
    font-size: clamp(2.65rem, 18vw, 4.3rem);
    max-width: 8.5ch;
  }

  .hero-slide-copy p {
    font-size: 0.9rem;
  }

  .hero-slide-meta span {
    width: 100%;
    justify-content: center;
  }

  .catalog-slider-full .slider-btn {
    width: 44px;
    height: 44px;
  }

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

  .catalog-actions .btn,
  .catalog-toolbar .btn {
    width: 100%;
  }

  .landing-page .footer-inner {
    text-align: center;
    align-items: center;
  }

  .login-modal {
    width: calc(100% - 18px);
    border-radius: 18px;
  }

  .login-copy,
  .login-form {
    padding: 18px;
  }
}
