:root {
  color-scheme: light;
  --bg: #f5f2ea;
  --surface: #fffdf8;
  --surface-2: #f0eadc;
  --surface-3: #e4dcc9;
  --text: #1d1e1c;
  --muted: #66685f;
  --line: rgba(48, 50, 43, 0.12);
  --pine: #214d3e;
  --pine-2: #2f6b52;
  --moss: #8da26b;
  --leaf: #d8e3b5;
  --gold: #d0a85c;
  --berry: #4171c8;
  --berry-2: #7f8be7;
  --shadow: 0 24px 60px rgba(29, 30, 28, 0.12);
  --shadow-soft: 0 12px 30px rgba(29, 30, 28, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --sidebar: 290px;
  --max: 1320px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(141, 162, 107, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(65, 113, 200, 0.12), transparent 32%),
    linear-gradient(180deg, #f8f5ee 0%, #f3efe6 48%, #efe8db 100%);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
}

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

.app {
  min-height: 100vh;
}

.shell {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248, 245, 238, 0.78);
  border-bottom: 1px solid rgba(41, 45, 37, 0.08);
}

.topbar-inner {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #1f6b4c 0%, #245841 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), var(--shadow-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 82%;
  height: 82%;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav button,
.nav a {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  transition: 160ms ease;
}

.nav button:hover,
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(41, 45, 37, 0.08);
}

.nav .is-active {
  color: var(--pine);
  background: rgba(33, 77, 62, 0.08);
  border-color: rgba(33, 77, 62, 0.14);
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  transition: 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
}

.primary-btn {
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-2) 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(33, 77, 62, 0.22);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(33, 77, 62, 0.27);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border: 1px solid rgba(41, 45, 37, 0.1);
}

.ghost-btn {
  background: transparent;
  color: var(--pine);
  border: 1px solid rgba(33, 77, 62, 0.18);
}

.ghost-btn.danger {
  color: #a24134;
  border-color: rgba(162, 65, 52, 0.24);
}

.hero {
  padding: 24px 0 18px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(141, 162, 107, 0.28), transparent 22%),
    radial-gradient(circle at top right, rgba(65, 113, 200, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.86) 100%);
  border: 1px solid rgba(41, 45, 37, 0.1);
  border-radius: 42px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 40px);
  min-height: 680px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 10px 0 14px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  max-width: 11ch;
}

.hero-text {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.7;
}

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

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

.highlight-chip {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(41, 45, 37, 0.08);
  box-shadow: 0 10px 24px rgba(29, 30, 28, 0.05);
}

.highlight-chip strong,
.highlight-chip span {
  display: block;
}

.highlight-chip strong {
  font-size: 0.98rem;
}

.highlight-chip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.metric {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(41, 45, 37, 0.08);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(29, 30, 28, 0.06);
}

.metric strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-content-image {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  border-radius: 30px;
  opacity: 0.2;
  filter: saturate(1.12);
  z-index: 1;
}

.hero-visual .curve {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(33, 77, 62, 0.96), rgba(33, 77, 62, 0.88)),
    linear-gradient(135deg, rgba(141, 162, 107, 0.3), rgba(214, 218, 174, 0.08));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.hero-visual .curve::before,
.hero-visual .curve::after {
  content: "";
  position: absolute;
  top: -18px;
  bottom: -18px;
  width: 46%;
  background-size: cover;
  background-position: center;
  filter: saturate(1.02) contrast(1.04);
}

.hero-visual .curve::before {
  left: -3%;
  clip-path: polygon(0 0, 62% 0, 86% 20%, 88% 42%, 82% 62%, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(29, 30, 28, 0.16), rgba(29, 30, 28, 0.14)),
    radial-gradient(circle at 28% 76%, rgba(113, 166, 70, 0.96), transparent 14%),
    radial-gradient(circle at 49% 58%, rgba(73, 122, 48, 0.92), transparent 18%),
    radial-gradient(circle at 72% 83%, rgba(170, 133, 228, 0.9), transparent 14%),
    linear-gradient(135deg, #16341f, #29502c 50%, #0f2114);
}

.hero-visual .curve::after {
  right: -3%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 18% 100%, 10% 66%, 16% 44%, 18% 22%);
  background:
    linear-gradient(180deg, rgba(29, 30, 28, 0.16), rgba(29, 30, 28, 0.14)),
    radial-gradient(circle at 30% 78%, rgba(219, 125, 145, 0.96), transparent 11%),
    radial-gradient(circle at 53% 68%, rgba(189, 85, 161, 0.94), transparent 12%),
    radial-gradient(circle at 42% 46%, rgba(194, 120, 199, 0.92), transparent 14%),
    linear-gradient(135deg, #335a21, #4d7a2a 46%, #24411a);
}

.hero-visual .brand-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: min(78%, 380px);
  transform: translate(-50%, -50%);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(41, 45, 37, 0.08);
  box-shadow: var(--shadow);
  padding: 30px 26px 26px;
  text-align: center;
}

.brand-badge .round-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1f7b54, #21603f);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-badge .round-logo svg {
  width: 84px;
  height: 84px;
}

.brand-badge h2 {
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1;
}

.brand-badge p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: 18px 0 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 38px 0 18px;
}

.section-title h3 {
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1;
}

.section-title p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.catalog-pill {
  border: 1px solid rgba(33, 77, 62, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--pine);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
  transition: 160ms ease;
}

.catalog-pill:hover,
.catalog-pill.is-active {
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-2) 100%);
  color: #fff;
  box-shadow: 0 14px 24px rgba(33, 77, 62, 0.2);
}

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

.review-grid {
  margin-top: 16px;
}

.trust-card,
.review-card {
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(141, 162, 107, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(41, 45, 37, 0.08);
  box-shadow: 0 16px 36px rgba(29, 30, 28, 0.06);
}

.trust-card h4,
.review-card strong {
  margin: 12px 0 0;
  font-size: 1.12rem;
}

.trust-card p,
.review-card p,
.review-card span {
  color: var(--muted);
  line-height: 1.65;
}

.review-card p {
  margin: 0 0 14px;
  font-size: 1rem;
}

.review-card span {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
}

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

.product-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(41, 45, 37, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 12px 18px;
  box-shadow: 0 14px 30px rgba(29, 30, 28, 0.05);
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(21, 37, 27, 0.24));
  pointer-events: none;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(33, 77, 62, 0.08);
  color: var(--pine);
  font-size: 0.84rem;
  font-weight: 650;
}

.product-card h4 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.product-meta,
.product-note,
.sales-list .sale-row small,
.muted {
  color: var(--muted);
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  padding-top: 8px;
  border-top: 1px dashed rgba(41, 45, 37, 0.12);
}

.price {
  font-size: 1.38rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.order-btn {
  padding: 10px 14px;
  min-width: 120px;
}

.public-order {
  margin-top: 18px;
  position: relative;
  width: min(760px, calc(100vw - 28px));
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(41, 45, 37, 0.08);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(29, 30, 28, 0.06);
}

.public-order-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(25, 31, 26, 0.48);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(41, 45, 37, 0.08);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  z-index: 1;
}

.public-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(33, 77, 62, 0.08);
  color: var(--pine);
  font-weight: 650;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-panel {
  padding: 24px;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(141, 162, 107, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
}

.contact-main {
  min-height: 100%;
}

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

.contact-copy strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.contact-panel strong,
.contact-panel span {
  display: block;
}

.contact-panel span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-panel a {
  color: var(--pine);
  font-weight: 700;
}

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

.contact-actions .primary-btn {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.map-panel,
.ask-panel {
  padding: 20px;
}

.map-frame {
  margin-top: 8px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(41, 45, 37, 0.08);
  min-height: 320px;
  background: rgba(242, 238, 229, 0.7);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.status-low {
  color: #b34c3d;
}

.bulk-panel,
.inventory-panel,
.form-panel,
.summary-panel,
.sales-panel,
.info-panel,
.content-editor,
.users-panel,
.login-card,
.import-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(41, 45, 37, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(29, 30, 28, 0.06);
}

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

.sidebar {
  position: sticky;
  top: 94px;
  background: linear-gradient(180deg, rgba(33, 77, 62, 0.98), rgba(33, 77, 62, 0.92));
  color: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.sidebar h3 {
  margin: 0 0 10px;
  font-family: "Georgia", serif;
  font-size: 1.55rem;
}

.sidebar p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

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

.sidebar button {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-radius: 16px;
  padding: 13px 15px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: 160ms ease;
}

.sidebar button:hover,
.sidebar button.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.main-stack {
  display: grid;
  gap: 16px;
}

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

.quick-card {
  text-align: left;
  border: 1px solid rgba(41, 45, 37, 0.08);
  background:
    radial-gradient(circle at top right, rgba(141, 162, 107, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(29, 30, 28, 0.05);
  display: grid;
  gap: 8px;
  transition: 160ms ease;
}

.quick-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(29, 30, 28, 0.08);
}

.quick-label {
  font-size: 0.84rem;
  color: var(--pine);
  font-weight: 700;
}

.quick-card strong {
  font-size: 1.06rem;
  color: var(--text);
}

.quick-card small {
  color: var(--muted);
  line-height: 1.45;
}

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

.summary-card {
  padding: 18px;
}

.summary-card .label {
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-card .value {
  margin-top: 8px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 760;
  line-height: 1;
}

.summary-card .foot {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.dashboard-top h2 {
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
}

.dashboard-top p {
  margin: 6px 0 0;
  color: var(--muted);
}

.login-screen {
  padding: 34px 0;
}

.login-card {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 24px;
  padding: clamp(22px, 4vw, 44px);
  background:
    radial-gradient(circle at 16% 22%, rgba(141, 162, 107, 0.24), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(65, 113, 200, 0.12), transparent 18%),
    rgba(255, 255, 255, 0.92);
}

.login-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-copy h1 {
  margin: 16px 0 12px;
  font-family: "Georgia", serif;
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  line-height: 0.98;
}

.login-copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

.security-list,
.demo-accounts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.security-list span,
.demo-accounts span,
.security-note {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(33, 77, 62, 0.07);
  color: var(--muted);
}

.login-form {
  align-self: center;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(41, 45, 37, 0.08);
  box-shadow: 0 18px 34px rgba(29, 30, 28, 0.08);
}

.login-form h2 {
  margin: 0;
  font-family: "Georgia", serif;
  font-size: 2rem;
}

.login-message {
  margin: 0;
  color: #a24134;
}

.demo-accounts {
  margin-top: 4px;
  font-size: 0.92rem;
}

.users-panel {
  padding: 18px;
}

.users-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 16px;
}

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

.user-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(41, 45, 37, 0.07);
}

.user-row strong,
.user-row span,
.user-row small {
  display: block;
}

.user-row span,
.user-row small {
  margin-top: 4px;
  color: var(--muted);
}

.user-create {
  padding: 18px;
}

.security-note {
  margin-top: 14px;
  line-height: 1.55;
}

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

.field,
.field-inline {
  display: grid;
  gap: 7px;
}

.field label,
.field-inline label {
  font-size: 0.88rem;
  color: var(--muted);
}

input,
select,
textarea {
  border: 1px solid rgba(41, 45, 37, 0.12);
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: 140ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(33, 77, 62, 0.36);
  box-shadow: 0 0 0 4px rgba(33, 77, 62, 0.08);
}

.bulk-panel {
  padding: 18px;
}

.import-panel {
  padding: 18px;
}

.content-editor {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(33, 77, 62, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.92);
}

.content-status {
  min-width: 210px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(41, 45, 37, 0.08);
  background: rgba(255, 255, 255, 0.74);
  display: grid;
  gap: 3px;
}

.content-status span,
.content-status small,
.content-hint {
  color: var(--muted);
}

.content-status strong {
  font-size: 1.05rem;
}

.content-status.is-published {
  border-color: rgba(33, 125, 86, 0.22);
  background: rgba(33, 125, 86, 0.09);
}

.content-status.is-draft {
  border-color: rgba(183, 136, 49, 0.24);
  background: rgba(183, 136, 49, 0.1);
}

.content-status.is-unpublished {
  border-color: rgba(162, 65, 52, 0.24);
  background: rgba(162, 65, 52, 0.1);
}

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

.content-field.full {
  grid-column: 1 / -1;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.content-hint {
  margin: 12px 0 0;
  line-height: 1.55;
}

.unpublished-page .hero-panel {
  min-height: 520px;
}

.import-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.import-steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(33, 77, 62, 0.06);
  color: var(--muted);
}

.import-steps strong {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pine);
  color: #fff;
  font-size: 0.88rem;
}

.import-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: stretch;
}

.import-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.file-drop {
  display: grid;
  gap: 5px;
  border: 1px dashed rgba(33, 77, 62, 0.28);
  background: rgba(246, 243, 236, 0.82);
  border-radius: 16px;
  padding: 15px;
  cursor: pointer;
}

.file-drop input {
  display: none;
}

.file-drop span,
.import-message {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.panel-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-title h3 {
  margin: 0;
  font-size: 1.18rem;
}

.panel-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

.inventory-panel {
  overflow: hidden;
}

.inventory-toolbar {
  padding: 18px 18px 0;
}

.inventory-table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(41, 45, 37, 0.08);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(244, 240, 231, 0.7);
  position: sticky;
  top: 0;
  z-index: 1;
}

td .mini {
  color: var(--muted);
  font-size: 0.9rem;
}

.row-name {
  font-weight: 700;
}

.edit-input {
  width: 92px;
  padding: 10px 11px;
  border-radius: 12px;
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(41, 45, 37, 0.1);
  background: #fff;
  display: grid;
  place-items: center;
}

.switch {
  display: inline-flex;
  align-items: center;
}

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

.switch span {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d7d2c4;
  position: relative;
  transition: 160ms ease;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(29, 30, 28, 0.18);
  transition: 160ms ease;
}

.switch input:checked + span {
  background: var(--pine-2);
}

.switch input:checked + span::after {
  transform: translateX(18px);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(33, 77, 62, 0.06);
  color: var(--muted);
}

.check-col {
  width: 42px;
}

.sales-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 16px;
}

.sales-panel,
.form-panel,
.info-panel {
  padding: 18px;
}

.sales-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.sale-row {
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(41, 45, 37, 0.08);
  background: rgba(246, 243, 236, 0.82);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sale-row strong {
  display: block;
  margin-bottom: 4px;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.status-line span {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(33, 77, 62, 0.08);
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 650;
}

.field-inline select {
  min-width: 190px;
}

.order-actions {
  justify-content: flex-end;
  margin-top: 8px;
}

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

.order-board div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(41, 45, 37, 0.08);
  box-shadow: 0 12px 26px rgba(29, 30, 28, 0.05);
}

.order-board span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.order-board strong {
  display: block;
  margin-top: 6px;
  font-size: 1.55rem;
  line-height: 1;
}

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

.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(246, 243, 236, 0.82);
  border: 1px solid rgba(41, 45, 37, 0.08);
}

.history-row strong,
.history-row span {
  display: block;
}

.history-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.stack {
  display: grid;
  gap: 16px;
}

.section-band {
  padding: 18px 0 36px;
}

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

.blueberry-group {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(41, 45, 37, 0.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(29, 30, 28, 0.05);
}

.blueberry-group h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(65, 113, 200, 0.08);
  color: #2d4d97;
  font-size: 0.88rem;
  border: 1px solid rgba(65, 113, 200, 0.14);
}

.footer-note {
  padding: 18px 0 36px;
  color: var(--muted);
  font-size: 0.94rem;
}

.table-scroll {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(41, 45, 37, 0.08);
}

.spec-table {
  width: 100%;
}

.spec-table {
  min-width: 1050px;
}

.spec-table th,
.spec-table td {
  font-size: 0.94rem;
}

.spec-table td:nth-child(1) {
  font-weight: 700;
}

.spec-table tr:nth-child(even) td {
  background: rgba(242, 238, 229, 0.55);
}

.hide {
  display: none !important;
}

@media (max-width: 1180px) {
  .hero-panel,
  .layout-grid,
  .sales-layout,
  .login-card,
  .users-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

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

  .hero-highlights,
  .trust-grid,
  .review-grid,
  .bulk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .import-grid,
  .import-steps,
  .order-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell,
  .topbar-inner {
    width: min(100vw - 20px, var(--max));
  }

  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-card {
    border-radius: 28px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-metrics,
  .summary-grid,
  .catalog-grid,
  .quick-strip,
  .blueberry-grid,
  .hero-highlights,
  .trust-grid,
  .review-grid,
  .content-grid,
  .bulk-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .section-title,
  .dashboard-top,
  .panel-title {
    flex-direction: column;
    align-items: start;
  }

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

  .quick-card {
    padding: 14px 16px;
  }

  .hero-text,
  .section-title p,
  .dashboard-top p {
    line-height: 1.65;
  }
}
