
:root {
  --ink: #111815;
  --body: #4f5e5a;
  --muted: #7a8884;
  --bg: #eef4f1;
  --paper: #f9fbfa;
  --green: #053f37;
  --green-soft: #0d6b60;
  --gold: #c9a24a;
  --price-color: var(--gold);
  --ruby: #8f2d2a;
  --blue: #315f7d;
  --line: rgba(20, 50, 43, .13);
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .9);
  --shadow: 0 22px 70px rgba(5, 33, 29, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.liquid {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(1.18);
}

.visitor-app-body {
  min-height: 100vh;
  padding: 12px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(49,95,125,.18), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(201,162,74,.2), transparent 30%),
    linear-gradient(145deg, #f8fbf9, #e7efeb);
}
.visitor-shell {
  position: relative;
  width: min(1220px, 100%);
  min-height: calc(100vh - 24px);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.52)),
    radial-gradient(circle at 88% 0%, rgba(201,162,74,.18), transparent 34%);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow);
}
.visitor-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.visitor-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 46vh;
  object-fit: cover;
  opacity: .22;
  filter: saturate(1.05);
}
.visitor-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,251,249,.1), rgba(248,251,249,.96) 47%, rgba(236,244,240,.98));
}
.visitor-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding: 14px 14px 94px;
}
.app-top {
  min-height: 72px;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.app-brand img {
  width: 92px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  padding: 7px;
  background: var(--green);
}
.app-brand strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  line-height: 1.2;
}
.app-brand span {
  display: block;
  color: var(--body);
  font-size: 12px;
  font-weight: 850;
  margin-top: 3px;
}
.app-top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.app-icon-btn,
.app-pill-btn,
.bottom-tab,
.chip-button,
.sheet-action {
  min-height: 42px;
  border: 1px solid rgba(5,63,55,.12);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.78);
  color: var(--green);
  font-weight: 950;
}
.app-icon-btn {
  width: 42px;
  padding: 0;
}
.app-pill-btn {
  padding: 0 12px;
  background: var(--green);
  color: #fff;
}
.app-hero {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  margin-bottom: 12px;
}
.hero-glass {
  padding: clamp(18px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-glass span,
.app-section-title span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}
.hero-glass h1 {
  margin: 10px 0 0;
  color: var(--green);
  font-size: clamp(36px, 7vw, 78px);
  line-height: 1.04;
}
.hero-glass p {
  margin: 14px 0 0;
  max-width: 600px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 780;
}
.hero-visual {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,63,55,.22), transparent 52%);
}
.app-search-panel {
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px;
}
.app-search-panel input {
  min-height: 46px;
  border: 1px solid rgba(5,63,55,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  padding: 0 14px;
  color: var(--ink);
  outline: none;
}
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.chip-button {
  white-space: nowrap;
  padding: 0 12px;
}
.chip-button.active {
  background: var(--green);
  color: #fff;
}
.visitor-page {
  display: none;
}
.visitor-page.active {
  display: block;
}
.app-section-title {
  min-height: 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 10px;
}
.app-section-title h2 {
  margin: 4px 0 0;
  color: var(--green);
  font-size: clamp(26px, 4vw, 42px);
}
.app-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.app-product-card {
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 42px rgba(5,33,29,.09);
  overflow: hidden;
  text-align: right;
  color: var(--ink);
  padding: 0;
}
.app-product-card img {
  width: 100%;
  aspect-ratio: 1 / .86;
  object-fit: cover;
}
.app-product-card div {
  padding: 12px;
}
.app-product-card small {
  color: var(--muted);
  font-weight: 900;
}
.app-product-card strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.25;
}
.app-product-card span {
  display: block;
  margin-top: 8px;
  color: var(--ruby);
  font-weight: 950;
}
.app-metric-grid,
.app-branch-grid,
.cart-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.app-metric,
.app-branch,
.cart-line {
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 14px 42px rgba(5,33,29,.08);
}
.app-metric strong,
.app-branch strong,
.cart-line strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}
.app-metric span,
.app-branch span,
.cart-line span {
  display: block;
  margin-top: 6px;
  color: var(--body);
  font-weight: 820;
}
.app-branch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cart-list {
  grid-template-columns: 1fr;
}
.cart-total {
  margin-top: 10px;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bottom-tabs {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 40;
  width: min(680px, calc(100vw - 28px));
  border-radius: 8px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.bottom-tab {
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--body);
}
.bottom-tab.active {
  background: var(--green);
  color: #fff;
}
.product-sheet {
  position: fixed;
  inset: auto 12px 86px 12px;
  z-index: 45;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  display: none;
}
.product-sheet.active {
  display: grid;
  grid-template-columns: .85fr 1fr;
}
.product-sheet img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.sheet-copy {
  padding: 16px;
  background: rgba(255,255,255,.92);
}
.sheet-copy h3 {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 30px;
}
.sheet-copy p {
  color: var(--body);
  line-height: 1.7;
  font-weight: 780;
}
.sheet-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.sheet-controls select {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.14);
  background: #fff;
  padding: 0 10px;
}
.sheet-action {
  width: 100%;
  margin-top: 10px;
  background: var(--green);
  color: #fff;
}

.public-body {
  padding: 14px;
  background:
    radial-gradient(circle at 12% 8%, rgba(49, 95, 125, .13), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(201, 162, 74, .14), transparent 34%),
    linear-gradient(180deg, #f7faf8 0%, var(--bg) 46%, #e7efeb 100%);
}
.public-nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  max-width: 1240px;
  margin: 0 auto 14px;
  min-height: 68px;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.public-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.public-brand img {
  width: 92px;
  height: 44px;
  object-fit: contain;
  background: var(--green);
  border-radius: 8px;
  padding: 7px;
}
.public-brand span {
  color: var(--green);
  font-weight: 950;
  white-space: nowrap;
}
.public-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.public-nav nav a,
.hero-actions a,
.section-head > a,
.catalog-foot a {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-weight: 950;
  border: 1px solid rgba(5, 63, 55, .1);
  background: rgba(255,255,255,.66);
  color: var(--green);
}
.public-nav .nav-cta,
.hero-actions a:first-child,
.section-head > a,
.catalog-foot a {
  background: var(--green);
  color: #fff;
}
.public-hero {
  position: relative;
  max-width: 1240px;
  min-height: min(760px, calc(100vh - 110px));
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.public-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 18, 16, .86), rgba(5, 63, 55, .44) 48%, rgba(255,255,255,.05)),
    linear-gradient(0deg, rgba(2,18,16,.32), transparent 50%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-height: inherit;
  width: min(690px, 100%);
  padding: clamp(28px, 7vw, 82px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #fff;
}
.hero-copy > span,
.section-head span,
.editorial-band span,
.showroom-panel span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}
.hero-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 1.04;
  max-width: 760px;
}
.hero-copy p {
  margin: 16px 0 0;
  max-width: 560px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.85;
  font-weight: 750;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-actions a:last-child {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.quick-stats {
  max-width: 1180px;
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.quick-stats article,
.catalog-card,
.branch-card,
.editorial-band,
.showroom-panel,
.admin-card,
.panel,
.form-card {
  border-radius: 8px;
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}
.quick-stats article {
  min-height: 96px;
  padding: 16px;
  display: grid;
  align-content: center;
}
.quick-stats strong {
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}
.quick-stats span {
  color: var(--body);
  font-weight: 850;
  margin-top: 7px;
}
.category-strip {
  max-width: 1180px;
  margin: 22px auto 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-strip a {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  background: rgba(5, 63, 55, .08);
  color: var(--green);
  font-weight: 900;
  border: 1px solid rgba(5,63,55,.08);
}
.editorial-band,
.catalog-section,
.branch-section,
.showroom-panel {
  max-width: 1180px;
  margin: 34px auto 0;
}
.editorial-band {
  min-height: 180px;
  padding: clamp(18px, 4vw, 34px);
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: end;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.62)),
    linear-gradient(90deg, rgba(5,63,55,.08), rgba(49,95,125,.08));
}
.editorial-band h2,
.showroom-panel h2,
.section-head h2 {
  margin: 6px 0 0;
  color: var(--green);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
}
.editorial-band p,
.showroom-panel li,
.branch-card p,
.catalog-content p {
  color: var(--body);
  line-height: 1.7;
  font-weight: 760;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.catalog-card {
  overflow: hidden;
}
.catalog-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / .78;
  overflow: hidden;
  background: #d9e1dd;
}
.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}
.catalog-card:hover .catalog-media img {
  transform: scale(1.035);
}
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: rgba(5,63,55,.88);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 950;
}
.catalog-content {
  padding: 14px;
}
.catalog-meta,
.catalog-foot,
.size-row,
.swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.catalog-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.catalog-content h3 {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 22px;
  line-height: 1.25;
}
.catalog-content p {
  margin: 8px 0 0;
  min-height: 54px;
}
.swatches {
  min-height: 30px;
  margin-top: 10px;
}
.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(5,63,55,.14);
}
.tone-red { background: #9b2f25; }
.tone-blue { background: #365a78; }
.tone-gray { background: #7d827e; }
.tone-gold { background: #cfa137; }
.tone-beige { background: #d9c8ac; }
.tone-0 { background: #0d6b60; }
.tone-1 { background: #8f2d2a; }
.tone-2 { background: #315f7d; }
.tone-3 { background: #c9a24a; }
.tone-4 { background: #5f6f6a; }
.size-row {
  margin-top: 10px;
}
.size-row span {
  min-height: 30px;
  border-radius: 8px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  background: rgba(5,63,55,.07);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}
.catalog-foot {
  justify-content: space-between;
  margin-top: 14px;
}
.catalog-foot strong {
  color: var(--ruby);
  font-size: 18px;
}
.catalog-foot a {
  min-height: 38px;
}
.showroom-panel {
  display: grid;
  grid-template-columns: .95fr 1fr;
  overflow: hidden;
}
.showroom-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.showroom-panel > div {
  padding: clamp(20px, 4vw, 42px);
  display: grid;
  align-content: center;
}
.showroom-panel ul {
  margin: 18px 0 0;
  padding: 0 18px 0 0;
}
.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.branch-card {
  min-height: 150px;
  padding: 18px;
}
.branch-card span {
  color: var(--gold);
  font-weight: 950;
}
.branch-card strong {
  display: block;
  color: var(--green);
  font-size: 26px;
  margin-top: 8px;
}

.admin-body {
  background:
    radial-gradient(circle at 8% 8%, rgba(49,95,125,.12), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(201,162,74,.14), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.76), rgba(221,235,228,.72)),
    #edf3ef;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 16px;
  background: rgba(4, 47, 41, .96);
  color: #fff;
}
.side-brand {
  min-height: 90px;
  display: grid;
  align-content: center;
  border-bottom: 1px solid rgba(255,255,255,.14);
  margin-bottom: 14px;
}
.side-brand img {
  width: 118px;
  height: 46px;
  object-fit: contain;
}
.side-brand span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-weight: 850;
}
.side-tabs {
  display: grid;
  gap: 7px;
}
.side-tabs button {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
  text-align: right;
  padding: 0 12px;
  font-weight: 950;
}
.side-tabs button.active {
  background: #fff;
  color: var(--green);
}
.side-status {
  margin-top: 16px;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.side-status strong {
  display: block;
}
.side-status span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
  font-weight: 800;
}
.admin-main {
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.42), transparent 38%),
    radial-gradient(circle at 35% 2%, rgba(201,162,74,.08), transparent 34%);
}
.topbar {
  min-height: 84px;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.94), rgba(255,255,255,.62)),
    radial-gradient(circle at 10% 0%, rgba(5,63,55,.08), transparent 32%);
}
.topbar h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}
.topbar p {
  margin: 5px 0 0;
  color: var(--body);
  font-weight: 820;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.top-actions a,
.primary-btn,
.secondary-btn,
.danger-btn,
.status-select,
.table-action {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-weight: 950;
}
.top-actions a,
.primary-btn,
.table-action {
  background: var(--green);
  color: #fff;
}
.secondary-btn,
.status-select {
  background: #fff;
  color: var(--green);
}
.danger-btn {
  background: rgba(143,45,42,.1);
  color: var(--ruby);
}
.admin-page {
  display: none;
}
.admin-page.active {
  display: block;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.admin-card {
  min-height: 118px;
  padding: 15px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,250,248,.78)),
    radial-gradient(circle at 0% 0%, rgba(201,162,74,.1), transparent 38%);
}
.admin-card span {
  color: var(--muted);
  font-weight: 900;
}
.admin-card strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 32px;
  line-height: 1;
}
.admin-card small {
  display: block;
  margin-top: 8px;
  color: var(--body);
  font-weight: 800;
}
.work-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 12px;
}
.panel,
.form-card {
  padding: 14px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(249,251,250,.72)),
    rgba(255,255,255,.74);
  backdrop-filter: blur(22px) saturate(1.15);
}
.panel-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.panel-head h2 {
  margin: 0;
  color: var(--green);
  font-size: 22px;
}
.panel-head span,
.panel-head label {
  color: var(--muted);
  font-weight: 850;
}
.search-input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.14);
  background: rgba(255,255,255,.86);
  color: var(--ink);
  padding: 0 11px;
  outline: none;
}
.admin-form textarea {
  padding-top: 10px;
  min-height: 84px;
  resize: vertical;
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.admin-form .wide {
  grid-column: span 2;
}
.admin-form .full {
  grid-column: 1 / -1;
}
.table-list {
  display: grid;
  gap: 8px;
}
.table-row {
  min-height: 58px;
  display: grid;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  padding: 10px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(5,63,55,.08);
  box-shadow: 0 8px 24px rgba(5, 33, 29, .045);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.table-row:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.92);
  border-color: rgba(201,162,74,.34);
}
.table-row strong {
  color: var(--ink);
}
.table-row span {
  color: var(--body);
  font-weight: 780;
}
.row-orders { grid-template-columns: 1.2fr 1fr .8fr .7fr .8fr; }
.row-products { grid-template-columns: 1.25fr .75fr .6fr .75fr .65fr; }
.row-inventory { grid-template-columns: 1.3fr .85fr .6fr .6fr .7fr; }
.row-employees { grid-template-columns: 1fr .7fr .8fr .7fr .6fr; }
.row-contacts { grid-template-columns: 1.1fr .75fr .75fr 1fr; }
.row-procurement { grid-template-columns: 1fr .9fr .75fr .75fr .75fr; }
.row-hr-extra { grid-template-columns: 1fr .8fr .8fr .75fr; }
.empty-row {
  min-height: 74px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(5,63,55,.052);
  color: var(--body);
  font-weight: 850;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.app-card {
  min-height: 138px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.1);
  background: rgba(255,255,255,.78);
  padding: 12px;
  text-align: right;
  color: var(--ink);
  transition: transform .18s ease, border-color .18s ease;
}
.app-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.app-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: rgba(5,63,55,.09);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}
.app-card strong {
  display: block;
  color: var(--green);
  font-size: 17px;
}
.app-card span {
  display: block;
  margin-top: 6px;
  color: var(--body);
  line-height: 1.45;
  font-weight: 780;
}
.permission-grid {
  min-width: 760px;
  display: grid;
  gap: 8px;
}
.permission-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(6, minmax(84px, 1fr));
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(5,63,55,.052);
}
.permission-row.head {
  background: rgba(5,63,55,.12);
  color: var(--green);
  font-weight: 950;
}
.access-badge {
  min-height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-weight: 950;
}
.access-none { background: rgba(122,136,132,.14); color: var(--muted); }
.access-read { background: rgba(49,95,125,.13); color: var(--blue); }
.access-write { background: rgba(201,162,74,.18); color: #856211; }
.access-admin { background: rgba(5,63,55,.14); color: var(--green); }
.toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  min-height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--green);
  color: #fff;
  font-weight: 950;
  box-shadow: var(--shadow);
}
.loading-card {
  width: min(460px, calc(100vw - 32px));
  min-height: 180px;
  margin: 20vh auto 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 950;
}
.store-launcher {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--green);
}
.store-launcher-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.store-launcher-brand img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: contain;
}
.store-launcher-brand span {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}
.store-launcher-brand small {
  color: #55706a;
  font-size: 11px;
  font-weight: 800;
}
.store-launcher-brand strong {
  color: var(--green);
  font-size: 16px;
  font-weight: 950;
}
.store-launcher-track {
  position: relative;
  width: 84px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(5, 63, 55, .12);
}
.store-launcher-track i {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 34%;
  border-radius: inherit;
  background: var(--green);
  animation: store-launcher-shuttle 1.05s ease-in-out infinite alternate;
}
@keyframes store-launcher-shuttle {
  from { transform: translateX(-95%); }
  to { transform: translateX(290%); }
}
@media (prefers-reduced-motion: reduce) {
  .store-launcher-track i { animation: none; left: 33%; }
}

@media (max-width: 1120px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .side-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-grid, .editorial-band, .showroom-panel { grid-template-columns: 1fr; }
  .app-hero, .product-sheet.active { grid-template-columns: 1fr; }
  .app-product-grid, .app-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid, .quick-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showroom-panel img { min-height: 300px; }
}
@media (max-width: 680px) {
  .visitor-app-body { padding: 0; }
  .visitor-shell { min-height: 100vh; border-radius: 0; }
  .visitor-content { padding: 10px 10px 92px; }
  .app-top, .app-search-panel, .app-section-title { align-items: stretch; grid-template-columns: 1fr; flex-direction: column; }
  .app-top-actions { width: 100%; }
  .app-top-actions > * { flex: 1; }
  .app-hero { min-height: auto; }
  .hero-visual { min-height: 260px; }
  .app-product-grid, .app-metric-grid, .app-branch-grid { grid-template-columns: 1fr; }
  .bottom-tabs { bottom: 10px; width: calc(100vw - 20px); }
  .bottom-tab { font-size: 12px; }
  .product-sheet { inset: auto 10px 76px 10px; max-height: calc(100vh - 96px); overflow-y: auto; }
  .public-body, .admin-main { padding: 10px; }
  .public-nav, .topbar, .section-head, .catalog-foot { align-items: stretch; flex-direction: column; }
  .public-brand span { white-space: normal; }
  .public-nav nav, .side-tabs, .catalog-grid, .branch-grid, .kpi-grid, .quick-stats, .app-grid, .admin-form {
    grid-template-columns: 1fr;
  }
  .public-nav nav { width: 100%; }
  .public-nav nav a { flex: 1; }
  .public-hero { min-height: 620px; }
  .hero-copy { padding: 22px; }
  .row-orders,
  .row-products,
  .row-inventory,
  .row-employees,
  .row-contacts,
  .row-procurement,
  .row-hr-extra {
    grid-template-columns: 1fr;
  }
  .admin-form .wide { grid-column: auto; }
}

/* Mobile app parity for visitor website */
.visitor-app-body {
  padding: 0;
  background: var(--green);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}
.mobile-web-shell {
  min-height: 100vh;
  background: var(--green);
  color: var(--ink);
  direction: rtl;
  text-align: right;
  overflow-x: clip;
}
.mobile-web-top {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 74px;
  padding: 10px clamp(14px, 3vw, 24px);
  border-radius: 0;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
  background: rgba(4,48,42,.9);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.mobile-logo {
  justify-self: center;
  width: 156px;
  height: 46px;
  object-fit: contain;
}
.mobile-icon-btn,
.mobile-round-btn {
  min-height: 44px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  position: relative;
}
.mobile-icon-btn {
  width: 44px;
}
.mobile-web-shell svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
}
.mobile-icon-btn svg,
.mobile-round-btn svg {
  width: 21px;
  height: 21px;
}
.mobile-primary svg,
.mobile-ghost svg,
.mobile-portal svg,
.checkout-button svg,
.modal-add svg,
.modal-close svg {
  width: 18px;
  height: 18px;
}
.mobile-location-pill svg,
.mobile-count-pill svg {
  width: 16px;
  height: 16px;
}
.catalog-search svg,
.contact-tile-web svg,
.branch-card-web svg,
.info-row-web svg {
  width: 19px;
  height: 19px;
}
.scene-icon svg,
.studio-icon svg {
  width: 20px;
  height: 20px;
}
.mobile-cart-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  background: var(--gold);
  color: var(--green);
  font-size: 11px;
  display: grid;
  place-items: center;
}
.mobile-screen {
  min-height: calc(100vh - 74px);
  background: var(--bg);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
}
.mobile-page {
  display: none;
}
.mobile-page.active {
  display: block;
}
.mobile-scroll {
  --mobile-gutter: clamp(14px, 3.2vw, 34px);
  width: 100%;
  margin: 0 auto;
  padding: 18px var(--mobile-gutter) clamp(104px, 14vh, 132px);
}
.mobile-hero {
  min-height: 500px;
  margin: -18px calc(var(--mobile-gutter) * -1) 18px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  z-index: 20;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  display: flex;
  align-items: flex-end;
}
.mobile-hero.compact {
  min-height: 230px;
  margin: 0 0 18px;
  border-radius: 8px;
}
.mobile-hero img,
.scene-card img,
.studio-tile img,
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mobile-hero > img {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity .32s ease, transform .7s ease;
  transform: scale(1.01);
}
.mobile-hero::after {
  border-radius: inherit;
}
.mobile-hero > img.is-changing {
  opacity: .18;
  transform: scale(1.035);
}
.mobile-hero::after,
.scene-card::after,
.studio-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,18,16,.04), rgba(3,35,31,.42) 45%, rgba(1,13,12,.82));
}
.mobile-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(18px, 4vw, 30px);
  display: grid;
  justify-items: start;
  gap: 12px;
  direction: rtl;
  text-align: right;
}
.mobile-location-pill,
.mobile-count-pill {
  min-height: 34px;
  border-radius: 17px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 950;
  backdrop-filter: blur(18px);
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}
.mobile-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 7vw, 58px);
  line-height: 1.08;
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}
.hero-search-web {
  width: min(540px, 100%);
  min-height: 52px;
  padding: 5px 6px 5px 16px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  grid-template-areas: "field action";
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 16px 38px rgba(1,20,17,.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  direction: ltr;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-search-web:focus-within {
  background: rgba(255,255,255,.97);
  border-color: rgba(221,188,104,.88);
  box-shadow: 0 0 0 3px rgba(221,188,104,.16), 0 18px 42px rgba(1,20,17,.22);
}
.hero-search-web input {
  grid-area: field;
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 0 6px 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  font-size: 15px;
  text-align: right;
  direction: rtl;
}
.hero-search-web input::placeholder {
  color: rgba(27,55,50,.62);
  opacity: 1;
}
.hero-search-web button {
  grid-area: action;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.hero-search-web button:hover {
  background: #074e45;
}
.hero-search-web button:active {
  transform: scale(.95);
}
.hero-search-web svg {
  width: 18px;
  height: 18px;
}
.hero-dots-web {
  display: flex;
  flex-direction: row;
  gap: 6px;
  direction: rtl;
}
.hero-dots-web i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  transition: width .25s ease, background .25s ease;
}
.hero-dots-web i.active {
  width: 24px;
  border-radius: 5px;
  background: #fff;
}
.mobile-actions,
.studio-actions,
.payment-chips,
.modal-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  text-align: right;
}
.mobile-primary,
.mobile-ghost,
.mobile-portal,
.checkout-button,
.modal-add,
.modal-close {
  min-height: 50px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,.7);
  padding: 0 18px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 950;
  white-space: nowrap;
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
  text-decoration: none;
}
.mobile-primary {
  background: rgba(255,255,255,.94);
  color: var(--green);
  box-shadow: 0 14px 34px rgba(6,31,27,.15);
}
.mobile-ghost {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(20px);
}
.scene-grid,
.studio-grid-web,
.contact-grid-web,
.branch-list-web,
.pipeline-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.category-scene-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.scene-card,
.studio-tile {
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.68);
  background: var(--green);
  box-shadow: 0 14px 42px rgba(5,33,29,.08);
  color: #fff;
  text-align: right;
  direction: rtl;
  text-decoration: none;
  cursor: pointer;
}
.scene-card img,
.studio-tile img {
  position: absolute;
  inset: 0;
}
.scene-copy,
.studio-copy {
  position: absolute;
  z-index: 1;
  right: 13px;
  left: 13px;
  bottom: 13px;
}
.scene-icon,
.studio-icon {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.24);
  display: grid;
  place-items: center;
}
.scene-copy strong,
.studio-copy strong {
  display: block;
  font-size: 18px;
}
.scene-copy span,
.studio-copy span {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.76);
  font-weight: 850;
}
.app-section-title {
  margin: 24px 0 12px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: rtl;
  text-align: right;
}
.app-section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  text-align: right;
}
.app-section-title .secondary-btn,
.app-section-title button {
  flex: 0 0 auto;
}
.featured-strip {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scroll-snap-type: x mandatory;
  direction: rtl;
}
.featured-strip .mobile-product-card {
  width: 250px;
  min-width: 250px;
}
.mobile-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
  gap: clamp(10px, 1.8vw, 16px);
  align-items: stretch;
}
.mobile-product-card {
  width: 100%;
  min-width: 0;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 8px;
  overflow: hidden;
  text-align: right;
  box-shadow: 0 10px 28px rgba(5,33,29,.08);
  scroll-snap-align: end;
  color: var(--ink);
  direction: rtl;
}
.mobile-product-grid .mobile-product-card {
  width: auto;
  min-width: 0;
  height: 100%;
}
.mobile-product-card img {
  width: 100%;
  aspect-ratio: 1 / .72;
  min-height: 158px;
  max-height: 244px;
  object-fit: cover;
  background: var(--soft);
}
.mobile-product-body {
  padding: 11px;
}
.mobile-meta-row {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  direction: rtl;
  text-align: right;
}
.mobile-badge {
  border-radius: 5px;
  padding: 5px 8px;
  background: rgba(6,61,54,.9);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}
.mobile-collection {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.mobile-product-card h2,
.mobile-product-card h3 {
  margin: 7px 0 0;
  min-height: 44px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}
.mobile-product-card p {
  margin: 3px 0 0;
  min-height: 36px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.45;
}
.mobile-price-row {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  direction: rtl;
  text-align: right;
}
.mobile-price-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.mobile-price-row strong {
  color: var(--gold);
  font-size: 16px;
}
.catalog-search {
  min-height: 50px;
  border-radius: 14px;
  margin-top: 18px;
  padding: 4px 8px 4px 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.8);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  grid-template-areas: "field icon";
  align-items: center;
  gap: 6px;
  direction: ltr;
  box-shadow: 0 8px 24px rgba(1,20,17,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.catalog-search:focus-within {
  background: rgba(255,255,255,.96);
  border-color: rgba(221,188,104,.82);
  box-shadow: 0 0 0 3px rgba(221,188,104,.13), 0 10px 28px rgba(1,20,17,.08);
}
.catalog-search input {
  grid-area: field;
  min-width: 0;
  width: 100%;
  height: 40px;
  padding: 0 6px;
  border: 0;
  outline: none;
  background: transparent;
  text-align: right;
  direction: rtl;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}
.catalog-search input::placeholder {
  color: rgba(27,55,50,.58);
  opacity: 1;
}
.catalog-search svg {
  grid-area: icon;
  justify-self: center;
  color: var(--green);
}
.catalog-search button {
  grid-area: icon;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}
.search-autocomplete-web {
  position: relative;
  width: 100%;
  z-index: 70;
  direction: rtl;
  text-align: right;
}
.hero-autocomplete {
  width: min(540px, 100%);
}
.hero-autocomplete .hero-search-web {
  width: 100%;
}
.catalog-autocomplete {
  margin-top: 18px;
}
.catalog-autocomplete .catalog-search {
  margin-top: 0;
}
.search-suggestions-web {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(420px, 55vh);
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 16px;
  background: rgba(251,253,252,.96);
  box-shadow: 0 22px 58px rgba(1,30,25,.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 90;
}
.search-autocomplete-web:not(:focus-within) .search-suggestions-web {
  display: none;
}
.search-suggestion-web {
  width: 100%;
  min-height: 62px;
  padding: 7px;
  border: 0;
  border-radius: 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: right;
  direction: rtl;
  cursor: pointer;
  touch-action: manipulation;
}
.search-suggestion-web:hover,
.search-suggestion-web:focus-visible {
  background: rgba(4,65,56,.08);
  outline: none;
}
.search-suggestion-web + .search-suggestion-web {
  border-top: 1px solid rgba(4,65,56,.08);
}
.search-suggestion-main-web {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.search-suggestion-main-web > img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
}
.search-suggestion-copy-web {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.search-suggestion-copy-web strong,
.search-suggestion-copy-web small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggestion-web strong {
  font-size: 14px;
}
.search-suggestion-web small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.search-suggestion-web > b {
  color: var(--price-color);
  font-size: 12px;
  white-space: nowrap;
}
.search-suggestion-category-web {
  min-height: 46px;
}
.search-suggestion-category-web .search-suggestion-main-web {
  grid-template-columns: 34px minmax(0, 1fr);
}
.search-suggestion-category-web .search-suggestion-main-web > i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-style: normal;
}
.search-suggestion-category-web svg {
  width: 17px;
  height: 17px;
}
.search-suggestions-empty-web {
  padding: 18px 12px;
  display: grid;
  gap: 4px;
  color: var(--muted);
  text-align: center;
}
.search-suggestions-empty-web strong {
  color: var(--ink);
}
.category-row-web {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 0;
  direction: rtl;
  justify-content: flex-start;
}
.category-chip-web,
.payment-chip-web {
  min-height: 40px;
  border-radius: 20px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.56);
  color: var(--body);
  font-weight: 900;
  white-space: nowrap;
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}
.category-chip-web.active,
.payment-chip-web.active {
  background: rgba(6,61,54,.94);
  color: #fff;
  border-color: rgba(6,61,54,.12);
}
.studio-main {
  min-height: 430px;
}
.screen-title {
  margin: 8px 0 16px;
  color: var(--ink);
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.12;
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}
.mobile-portal,
.checkout-button,
.modal-add {
  width: 100%;
  margin-top: 16px;
  background: var(--green);
  color: #fff;
  border-color: transparent;
}
.empty-state-web,
.brand-panel-web,
.info-panel-web,
.cart-item-web,
.total-panel-web,
.order-card-web,
.contact-tile-web,
.branch-card-web,
.pipeline-card-web,
.form-panel-web {
  border-radius: 8px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: 0 10px 28px rgba(5,33,29,.07);
}
.empty-state-web {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--body);
}
.empty-state-web strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 6px;
}
.cart-list-web,
.orders-list-web,
.info-panel-web {
  display: grid;
  gap: 10px;
}
.cart-item-web {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  direction: rtl;
}
.cart-product-web {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  direction: rtl;
}
.cart-item-image-web {
  width: 72px;
  height: 72px;
  border-radius: 13px;
  border: 1px solid rgba(5,63,55,.1);
  background: #e8efec;
  object-fit: cover;
  display: block;
}
.qty-control-web {
  display: grid;
  grid-template-columns: 36px minmax(58px, auto) 36px;
  gap: 5px;
  align-items: center;
}
.qty-control-web button {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid rgba(5,63,55,.12);
  background: #fff;
  color: var(--green);
  font-weight: 950;
}
.qty-control-web span {
  text-align: center;
  color: var(--ink);
  font-weight: 950;
}
.cart-copy-web {
  text-align: right;
}
.cart-copy-web strong {
  color: var(--ink);
  font-size: 17px;
}
.cart-copy-web span {
  display: block;
  margin-top: 4px;
  color: var(--body);
  font-weight: 780;
}
.total-panel-web {
  margin-top: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.total-panel-web span {
  color: var(--body);
  font-weight: 850;
}
.total-panel-web strong {
  color: var(--gold);
  font-size: 24px;
}
.form-panel-web {
  margin-top: 12px;
  padding: 14px;
}
.checkout-form-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.checkout-form-web input {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.12);
  background: rgba(255,255,255,.82);
  padding: 0 12px;
  outline: none;
  text-align: right;
}
.checkout-account-web {
  min-height: 62px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(6,61,54,.1);
  background: rgba(6,61,54,.055);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  direction: rtl;
  text-align: right;
}
.checkout-account-web.guest {
  cursor: pointer;
}
.checkout-account-web svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}
.checkout-account-web strong,
.checkout-account-web span {
  display: block;
}
.checkout-account-web span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}
.location-picker-web {
  grid-column: 1 / -1;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid rgba(6,61,54,.11);
  background: rgba(239,247,244,.74);
}
.location-picker-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  direction: rtl;
  text-align: right;
}
.location-picker-head svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}
.location-picker-head strong,
.location-picker-head span {
  display: block;
}
.location-picker-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.location-picker-web > input {
  width: 100%;
}
.location-picker-actions {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  direction: rtl;
}
.location-picker-actions button,
.location-picker-actions a {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6,61,54,.13);
  background: #fff;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}
.payment-chips {
  margin-top: 12px;
}
.pipeline-web {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0;
}
.pipeline-card-web {
  padding: 14px;
  text-align: right;
}
.pipeline-card-web strong {
  display: block;
  color: var(--green);
  font-size: 26px;
}
.pipeline-card-web span {
  color: var(--body);
  font-weight: 850;
}
.order-card-web {
  padding: 14px;
}
.order-top-web,
.contact-tile-web,
.branch-card-web,
.info-row-web {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: rtl;
  text-align: right;
}
.order-card-web strong {
  color: var(--ink);
}
.order-card-web span,
.order-card-web p {
  color: var(--body);
  font-weight: 780;
}
.brand-panel-web {
  min-height: 190px;
  padding: 22px;
  display: grid;
  place-items: center;
  text-align: center;
}
.brand-panel-web img {
  width: 190px;
  height: 72px;
  object-fit: contain;
}
.brand-panel-web strong {
  color: var(--green);
  font-size: 18px;
}
.brand-panel-web span {
  color: var(--body);
  font-weight: 850;
}
.contact-grid-web {
  margin-top: 14px;
}
.contact-tile-web,
.branch-card-web {
  min-height: 96px;
  padding: 14px;
  direction: rtl;
  text-align: right;
}
.contact-tile-web > div,
.branch-card-web > div {
  flex: 1 1 auto;
  min-width: 0;
}
.contact-tile-web > svg,
.branch-card-web > svg {
  flex: 0 0 19px;
}
.contact-tile-web strong,
.branch-card-web strong,
.info-row-web strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}
.contact-tile-web span,
.branch-card-web span,
.info-row-web span {
  color: var(--body);
  font-weight: 780;
}
.info-panel-web {
  margin-top: 14px;
  padding: 12px;
}
.info-row-web {
  min-height: 58px;
  border-bottom: 1px solid rgba(5,63,55,.08);
}
.info-row-web:last-child {
  border-bottom: 0;
}
.mobile-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 70;
  transform: translateX(-50%);
  width: clamp(340px, 76vw, 1200px);
  max-width: calc(100vw - clamp(14px, 4vw, 42px));
  min-height: clamp(64px, 8.2vh, 82px);
  border-radius: clamp(22px, 3vw, 30px);
  padding: clamp(6px, 1.2vw, 10px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 8px);
  background: rgba(255,255,255,.58);
  direction: rtl;
}
.mobile-tab {
  position: relative;
  border: 0;
  border-radius: clamp(18px, 2.4vw, 24px);
  min-width: 0;
  min-height: clamp(50px, 6.4vh, 62px);
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 3px;
  font-size: clamp(10px, 1.9vw, 12px);
  font-weight: 900;
  line-height: 1.15;
  padding: 4px 2px;
  overflow: visible;
}
.cart-added-notice {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  width: max-content;
  max-width: min(260px, 80vw);
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 36px rgba(1,25,21,.24);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: none;
  z-index: 6;
}
.cart-added-notice::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--green);
}
.mobile-bottom-nav.product-context .cart-added-notice {
  bottom: calc(100% + clamp(102px, 13vh, 126px));
}
.mobile-tab span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-tab svg {
  width: clamp(17px, 3vw, 20px);
  height: clamp(17px, 3vw, 20px);
}
.mobile-tab.active {
  color: var(--green);
  background: linear-gradient(135deg, rgba(6,74,63,.16), rgba(207,161,55,.18));
}
.product-modal-web {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(3,20,18,.36);
  backdrop-filter: blur(10px);
  padding: 20px;
  align-items: end;
  justify-content: center;
}
.product-modal-web.active {
  display: flex;
}
.modal-sheet-web {
  width: min(960px, 100%);
  max-height: min(860px, calc(100vh - 40px));
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 34px 90px rgba(5,33,29,.22);
}
.modal-media {
  min-height: 420px;
  background: var(--soft);
}
.modal-copy {
  padding: 18px;
  overflow: auto;
  text-align: right;
  direction: rtl;
}
.modal-top-web {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  direction: rtl;
  text-align: right;
}
.modal-close {
  min-height: 42px;
  background: rgba(5,63,55,.08);
  color: var(--ink);
  border-color: rgba(5,63,55,.12);
}
.modal-copy h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
}
.modal-copy p {
  color: var(--body);
  line-height: 1.7;
  font-weight: 760;
}
.option-title-web {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}
.variant-list-web,
.color-list-web {
  display: grid;
  gap: 8px;
}
.variant-option-web,
.color-option-web {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.1);
  background: rgba(255,255,255,.76);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  direction: rtl;
  text-align: right;
}
.variant-option-web.active,
.color-option-web.active {
  border-color: rgba(6,61,54,.42);
  background: rgba(6,61,54,.08);
}
.variant-option-web.out-of-stock,
.color-option-web.out-of-stock {
  opacity: .5;
  background: rgba(110,121,118,.08);
  cursor: not-allowed;
}
.variant-option-web span,
.color-option-web span {
  min-width: 0;
}
.variant-option-web em,
.color-option-web small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.variant-option-web small {
  color: var(--gold);
  font-weight: 950;
}
.color-swatch-web {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(5,63,55,.14);
}
.product-detail-page {
  direction: rtl;
  text-align: right;
}
.product-detail-scroll {
  padding-bottom: clamp(198px, 25vh, 236px);
}
.product-detail-top {
  min-height: 56px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: rtl;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  direction: rtl;
}
.product-detail-media {
  width: 100%;
  padding: 0;
  position: relative;
  height: clamp(420px, 46vh, 680px);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 18px 50px rgba(5,33,29,.09);
}
.product-gallery-web {
  min-width: 0;
  display: grid;
  gap: 9px;
}
.product-zoom-hint {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  background: rgba(2,31,27,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.product-thumbnails-web {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 0 5px;
  direction: rtl;
}
.product-thumbnails-web button {
  width: 72px;
  min-width: 72px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.product-thumbnails-web button.active { border-color: var(--green); }
.product-thumbnails-web img { width: 100%; height: 100%; object-fit: cover; }
.product-description-web {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(5,63,55,.1);
  color: var(--body);
  line-height: 1.8;
  font-weight: 760;
}
.product-detail-footer .modal-add:disabled {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none;
}
.image-viewer-web {
  position: fixed;
  inset: 0;
  z-index: 160;
  padding: clamp(14px, 3vw, 36px);
  display: grid;
  place-items: center;
  background: rgba(1,14,12,.92);
  backdrop-filter: blur(16px);
}
.image-viewer-web img {
  max-width: 100%;
  max-height: calc(100vh - 40px);
  object-fit: contain;
}
.image-viewer-web button {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 28px;
}
.service-dialog-web {
  position: fixed;
  inset: 0;
  z-index: 155;
  padding: max(14px, env(safe-area-inset-top)) 14px max(108px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  background: rgba(1,18,15,.64);
  backdrop-filter: blur(18px);
}
.service-dialog-sheet-web {
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(248,252,250,.96);
  box-shadow: 0 26px 80px rgba(1,26,22,.28);
  direction: rtl;
  text-align: right;
}
.service-dialog-head-web {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(5,63,55,.1);
  background: rgba(248,252,250,.9);
  backdrop-filter: blur(14px);
}
.service-dialog-head-web h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.15;
}
.service-dialog-head-web p {
  margin: 7px 0 0;
  color: var(--body);
  font-weight: 800;
  line-height: 1.6;
}
.service-dialog-close-web {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(5,63,55,.14);
  background: #fff;
  color: var(--green);
  font-size: 24px;
  font-weight: 950;
  flex: 0 0 auto;
}
.service-dialog-body-web {
  padding: 16px;
}
.maintenance-before-after-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.maintenance-frame-web {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.12);
  background: #eaf3ef;
}
.maintenance-frame-web img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.maintenance-frame-web span {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  background: rgba(2,31,27,.74);
  color: #fff;
  font-weight: 950;
  backdrop-filter: blur(10px);
}
.service-dialog-points-web,
.ar-feature-grid-web {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.service-dialog-points-web div,
.ar-feature-grid-web div {
  min-height: 88px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.1);
  background: rgba(255,255,255,.78);
  color: var(--body);
  font-weight: 850;
  line-height: 1.55;
}
.service-dialog-points-web strong,
.ar-feature-grid-web strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
}
.service-dialog-actions-web {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.service-dialog-actions-web .mobile-primary,
.service-dialog-actions-web .mobile-ghost {
  border-color: rgba(5,63,55,.16);
}
.service-dialog-actions-web .mobile-primary {
  background: var(--green);
  color: #fff;
}
.service-dialog-actions-web .mobile-ghost {
  background: #fff;
  color: var(--green);
}
.ai-room-form-web {
  display: grid;
  gap: 12px;
}
.ai-room-form-web label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}
.ai-room-form-web input,
.ai-room-form-web select,
.ai-room-form-web textarea {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.18);
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.ai-room-form-web textarea {
  min-height: 96px;
  resize: vertical;
}
.ai-preview-web {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.1);
  background: rgba(255,255,255,.72);
}
.ai-preview-web img {
  width: 150px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
  background: #eaf3ef;
}
.ai-suggestions-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.ai-suggestions-web button {
  min-height: 64px;
  border: 1px solid rgba(5,63,55,.12);
  border-radius: 8px;
  padding: 8px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  text-align: right;
  direction: rtl;
}
.ai-suggestions-web button.active {
  border-color: rgba(5,63,55,.48);
  background: rgba(5,63,55,.08);
}
.ai-suggestions-web img {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  object-fit: cover;
}
.ai-suggestions-web strong,
.ai-suggestions-web small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-suggestions-web small {
  color: var(--body);
  font-weight: 800;
}
@media (max-width: 720px) {
  .service-dialog-web {
    align-items: end;
    padding-inline: 8px;
  }
  .service-dialog-sheet-web {
    max-height: 84vh;
  }
  .maintenance-before-after-web,
  .service-dialog-points-web,
  .ar-feature-grid-web,
  .ai-suggestions-web,
  .ai-preview-web {
    grid-template-columns: 1fr;
  }
  .maintenance-frame-web {
    min-height: 260px;
  }
  .ai-preview-web img {
    width: 100%;
    height: 180px;
  }
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-copy {
  min-width: 0;
  border-radius: 8px;
  padding: clamp(16px, 2.2vw, 24px);
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: 0 14px 42px rgba(5,33,29,.08);
  direction: rtl;
  text-align: right;
}
.product-detail-title {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.1;
  direction: rtl;
  text-align: right;
}
.product-detail-subtitle {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 780;
  direction: rtl;
  text-align: right;
}
.product-detail-footer {
  position: fixed;
  left: 50%;
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + clamp(74px, 9vh, 94px));
  z-index: 80;
  transform: translateX(-50%);
  width: min(900px, calc(100vw - 32px));
  min-height: 78px;
  border-radius: 28px;
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.62);
  direction: rtl;
  text-align: right;
}
.product-detail-footer .modal-add {
  width: auto;
  min-width: 190px;
  margin-top: 0;
}
.product-detail-footer span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.product-detail-footer strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  margin-top: 2px;
}
.cart-prompt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(1,20,17,.42);
  backdrop-filter: blur(10px);
}
.cart-prompt-sheet {
  width: min(620px, 100%);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 34px 90px rgba(1,25,21,.28);
  direction: rtl;
  text-align: right;
}
.cart-prompt-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(6,61,54,.1);
  color: var(--green);
  font-size: 26px;
  font-weight: 950;
}
.cart-prompt-copy strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
}
.cart-prompt-copy span {
  display: block;
  margin-top: 5px;
  color: var(--body);
  font-weight: 780;
}
.cart-prompt-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cart-prompt-actions .mobile-primary,
.cart-prompt-actions .mobile-ghost {
  width: 100%;
  margin: 0;
}
.cart-prompt-actions .mobile-ghost {
  color: var(--green);
  background: rgba(6,61,54,.07);
  border-color: rgba(6,61,54,.14);
}
.tracking-intro-web {
  max-width: 780px;
  margin: -6px 0 18px;
  color: var(--body);
  font-weight: 780;
  line-height: 1.8;
  text-align: right;
}
.tracking-form-web {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.78);
  direction: rtl;
}
.tracking-form-web input {
  min-width: 0;
  min-height: 50px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.13);
  padding: 0 13px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  text-align: right;
  direction: rtl;
  outline: 0;
}
.tracking-form-web .checkout-button {
  width: auto;
  min-width: 180px;
  margin: 0;
}
.tracking-result-web {
  margin-top: 14px;
  border-radius: 8px;
  padding: clamp(16px, 2.5vw, 24px);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 16px 42px rgba(5,33,29,.08);
  direction: rtl;
  text-align: right;
}
.tracking-order-head,
.tracking-summary-web {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: rtl;
}
.tracking-order-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.tracking-order-head strong {
  color: var(--ink);
  font-size: 20px;
}
.tracking-order-head b {
  border-radius: 18px;
  padding: 8px 12px;
  background: rgba(6,61,54,.1);
  color: var(--green);
}
.tracking-steps-web {
  margin: 18px 0 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  direction: rtl;
}
.tracking-step-web {
  position: relative;
  min-width: 0;
  min-height: 54px;
  padding: 10px 8px;
  border: 1px solid rgba(5,63,55,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}
.tracking-step-web::after {
  display: none;
}
.tracking-step-web:first-child::after {
  display: none;
}
.tracking-step-web i {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dce5e2;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(5,63,55,.12);
}
.tracking-step-web.done i,
.tracking-step-web.active i,
.tracking-step-web.done::after,
.tracking-step-web.active::after {
  background: var(--green);
}
.tracking-step-web.done {
  border-color: rgba(5,63,55,.18);
  background: rgba(5,63,55,.08);
  color: var(--green);
}
.tracking-step-web.active {
  border-color: rgba(5,63,55,.34);
  background: #fff;
  color: var(--green);
  box-shadow: 0 12px 24px rgba(5,63,55,.1);
}
.tracking-summary-web {
  padding-top: 14px;
  border-top: 1px solid rgba(5,63,55,.09);
  color: var(--body);
  font-weight: 850;
}
.tracking-summary-web strong {
  color: var(--gold);
  font-size: 20px;
}
.tracking-error-web,
.tracking-cancelled-web {
  margin-top: 14px;
  border-radius: 8px;
  padding: 14px;
  background: #fff1f0;
  border: 1px solid #ffd2ce;
  color: #9d2b20;
  font-weight: 850;
  text-align: right;
}
.tracking-support-web {
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 950;
  text-decoration: underline;
}
.account-panel-web,
.account-summary-web,
.order-success-web {
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 14px 40px rgba(5,33,29,.07);
  direction: rtl;
  text-align: right;
}
.account-panel-web {
  padding: clamp(14px, 2.5vw, 22px);
}
.account-switch-web {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 8px;
  background: rgba(6,61,54,.07);
}
.account-switch-web button {
  min-height: 43px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}
.account-switch-web button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 7px 18px rgba(5,33,29,.08);
}
.auth-form-web {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}
.auth-form-web input {
  min-width: 0;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(5,63,55,.12);
  background: rgba(255,255,255,.9);
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
  direction: rtl;
  text-align: right;
}
.auth-form-web .checkout-button {
  grid-column: 1 / -1;
  margin-top: 2px;
}
.account-error-web {
  margin-top: 10px;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff1f0;
  border: 1px solid #ffd2ce;
  color: #9d2b20;
  font-weight: 850;
}
.guest-track-divider {
  margin: 22px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.guest-track-divider::before,
.guest-track-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(5,63,55,.13);
}
.account-summary-web {
  min-height: 82px;
  padding: 13px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  gap: 11px;
  align-items: center;
}
.account-summary-web > svg {
  width: 23px;
  height: 23px;
  justify-self: center;
  color: var(--green);
}
.account-summary-web strong,
.account-summary-web span {
  display: block;
}
.account-summary-web span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.account-summary-web button,
.orders-heading-web button {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(6,61,54,.13);
  background: #fff;
  color: var(--green);
  padding: 0 12px;
  font-weight: 900;
}
.order-success-web {
  min-height: 72px;
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  border-color: rgba(6,107,95,.2);
  background: #edf8f4;
}
.order-success-web > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}
.order-success-web strong,
.order-success-web small {
  display: block;
}
.order-success-web small {
  margin-top: 3px;
  direction: ltr;
  text-align: right;
  color: var(--muted);
}
.order-success-web a {
  color: var(--green);
  font-weight: 950;
}
.orders-heading-web {
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.orders-heading-web h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}
.order-history-card + .order-history-card {
  margin-top: 12px;
}
.order-history-card.collapsible {
  padding: 0;
  overflow: hidden;
}
.order-history-toggle {
  width: 100%;
  min-height: 86px;
  padding: 14px 16px;
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 34px;
  align-items: center;
  gap: 14px;
  background: transparent;
  color: var(--ink);
  direction: rtl;
  text-align: right;
  cursor: pointer;
}
.order-banner-identity,
.order-banner-summary {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.order-banner-identity small,
.order-banner-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.order-banner-identity strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-banner-identity time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}
.order-banner-summary {
  min-width: 112px;
}
.order-banner-summary strong {
  color: var(--gold);
  font-size: 16px;
}
.order-banner-status {
  min-width: 96px;
  padding: 8px 11px;
  border-radius: 18px;
  background: rgba(6,61,54,.1);
  color: var(--green);
  font-size: 12px;
  text-align: center;
}
.order-expand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(6,61,54,.08);
  color: var(--green);
}
.order-expand-icon svg {
  width: 17px;
  height: 17px;
  transition: transform .2s ease;
}
.order-history-card.expanded .order-expand-icon svg {
  transform: rotate(45deg);
}
.order-history-details {
  padding: 0 clamp(14px, 2.5vw, 24px) clamp(16px, 2.5vw, 24px);
  border-top: 1px solid rgba(5,63,55,.08);
}
.tracking-order-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}
.order-card-actions-web {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.invoice-link-web {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.invoice-link-web.secondary {
  background: #fff;
  color: var(--green);
  border-color: rgba(6,61,54,.15);
}
.invoice-link-web svg {
  width: 17px;
  height: 17px;
}
.order-payment-web {
  margin-top: 13px;
  padding: 13px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  border: 1px solid rgba(6,61,54,.12);
  border-radius: 8px;
  background: #f7faf9;
}
.order-payment-web div:not(.payment-progress-web) { min-width: 0; }
.order-payment-web span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; }
.order-payment-web strong { display: block; margin-top: 4px; color: var(--ink); font-size: 15px; }
.order-payment-web strong.paid { color: #137560; }
.order-payment-web strong.remaining { color: #9b6424; }
.payment-progress-web { grid-column: 1/-1; height: 5px; overflow: hidden; border-radius: 99px; background: #dce8e4; }
.payment-progress-web i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.live-delivery-web { margin-top: 13px; overflow: hidden; border: 1px solid rgba(6,61,54,.14); border-radius: 8px; background: #fff; }
.live-delivery-head { min-height: 62px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live-delivery-head > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.live-delivery-head svg { width: 23px; height: 23px; color: var(--green); flex: 0 0 auto; }
.live-delivery-head span { min-width: 0; }
.live-delivery-head strong,.live-delivery-head small { display: block; }
.live-delivery-head small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.live-delivery-head a { color: var(--green); font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.live-delivery-map { aspect-ratio: 16/7; min-height: 230px; background: #e7efec; }
.live-delivery-map iframe { width: 100%; height: 100%; border: 0; }
.live-delivery-empty { height: 100%; min-height: 230px; display: grid; place-content: center; justify-items: center; padding: 24px; text-align: center; color: var(--muted); }
.live-delivery-empty svg { width: 34px; height: 34px; color: var(--green); }
.live-delivery-empty strong { margin-top: 8px; color: var(--ink); }
.live-delivery-empty span { margin-top: 4px; font-size: 12px; }
.notifications-panel-web { margin-top: 16px; padding: 14px; border: 1px solid rgba(6,61,54,.12); border-radius: 8px; background: #fff; }
.notifications-head-web,.notifications-head-web > div { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.notifications-head-web h2 { margin: 0; font-size: 18px; color: var(--ink); }
.notifications-head-web b { min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; }
.notifications-head-web button { min-height: 36px; border: 1px solid rgba(6,61,54,.15); border-radius: 7px; padding: 0 10px; background: #f4f8f6; color: var(--green); font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
.notification-ready-web { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 11px; font-weight: 850; }
.notification-ready-web svg { width: 15px; height: 15px; }
.notification-item-web { width: 100%; margin-top: 8px; padding: 10px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 9px; align-items: center; border: 0; border-radius: 7px; background: #f7faf9; color: var(--ink); text-align: right; font: inherit; cursor: pointer; }
.notification-item-web.unread { background: #e9f3ef; box-shadow: inset -3px 0 var(--green); }
.notification-item-web > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--green); }
.notification-item-web svg { width: 17px; height: 17px; }
.notification-item-web strong,.notification-item-web small { display: block; }
.notification-item-web strong { font-size: 13px; }
.notification-item-web small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.notification-item-web time { color: var(--muted); font-size: 10px; }
.notifications-empty-web { padding: 18px 8px 6px; color: var(--muted); text-align: center; font-size: 12px; }
.push-onboarding-web { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 18px; background: rgba(4,34,30,.62); backdrop-filter: blur(8px); }
.push-onboarding-card-web { width: min(440px,100%); padding: 24px; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(0,35,30,.28); text-align: center; }
.push-onboarding-card-web i { width: 52px; height: 52px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: #e9f3ef; color: var(--green); }
.push-onboarding-card-web i svg { width: 25px; }
.push-onboarding-card-web h2 { margin: 0 0 8px; font-size: 22px; color: var(--ink); }
.push-onboarding-card-web p { margin: 0 0 18px; color: var(--muted); line-height: 1.8; font-size: 13px; }
.push-onboarding-actions-web { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.push-onboarding-actions-web button { min-height: 46px; border: 0; border-radius: 7px; padding: 0 16px; font: inherit; font-weight: 900; cursor: pointer; }
.push-onboarding-actions-web [data-push-onboarding-enable] { background: var(--green); color: #fff; }
.push-onboarding-actions-web [data-dismiss-notification-prompt] { background: #eff4f2; color: var(--muted); }
.account-section-nav-web {
  margin-bottom: 14px;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid rgba(6,61,54,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 12px 34px rgba(5,33,29,.06);
}
.account-section-nav-web button {
  position: relative;
  min-width: 0;
  min-height: 54px;
  padding: 7px 8px;
  border: 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: #65746f;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.account-section-nav-web button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.account-section-nav-web button.active { background: var(--green); color: #fff; box-shadow: 0 7px 18px rgba(6,61,54,.18); }
.account-section-nav-web button b {
  position: absolute;
  top: 5px;
  left: 5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #d2a843;
  color: #17202a;
  font-size: 9px;
}
.account-section-view-web { min-height: 420px; }
.account-section-view-web > .notifications-panel-web,
.account-section-view-web > .support-center-web { margin-top: 0; }
.account-section-view-web > .orders-heading-web { margin-top: 0; }
.account-required-web {
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(6,61,54,.12);
  border-radius: 8px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  background: rgba(255,255,255,.72);
  text-align: center;
}
.account-required-web svg { width: 32px; height: 32px; color: var(--green); }
.account-required-web strong { color: var(--ink); font-size: 18px; }
.account-required-web span { max-width: 420px; color: var(--muted); line-height: 1.7; }
.account-required-web button { margin-top: 6px; }
.account-profile-details-web {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(6,61,54,.12);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: #fff;
}
.account-profile-details-web div { min-width: 0; padding: 10px; border-radius: 7px; background: #f7faf9; }
.account-profile-details-web span,
.account-profile-details-web strong { display: block; overflow-wrap: anywhere; }
.account-profile-details-web span { color: var(--muted); font-size: 10px; font-weight: 850; }
.account-profile-details-web strong { margin-top: 4px; color: var(--ink); font-size: 13px; }
.toast {
  z-index: 140;
}

/* Al Shobrak operations visual system */
.admin-body {
  --odoo-purple: #063D36;
  --odoo-purple-2: #0B6B5F;
  --odoo-gold: #D2A843;
  --odoo-bg: #f5f5f5;
  --odoo-border: #d8dadd;
  --odoo-text: #1f2933;
  --odoo-muted: #6b7280;
  background: var(--odoo-bg);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  background: var(--odoo-bg);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 8px 7px;
  background: #f1f2f3;
  border-left: 1px solid var(--odoo-border);
  color: var(--odoo-text);
}
.side-brand {
  min-height: 70px;
  margin: 0 0 8px;
  padding: 6px;
  border: 0;
  border-bottom: 1px solid var(--odoo-border);
  display: grid;
  place-items: center;
}
.side-brand img {
  width: 58px;
  height: 42px;
  padding: 6px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--green);
}
.side-brand span,
.side-status {
  display: none;
}
.side-tabs {
  display: grid;
  gap: 5px;
}
.side-tabs button {
  min-height: 64px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #3f3f46;
  padding: 7px 4px;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.2;
}
.side-tabs button::before {
  content: attr(data-icon);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--odoo-border);
  color: var(--odoo-purple);
  font-size: 15px;
  font-weight: 950;
}
.side-tabs button.active {
  background: #fff;
  border-color: var(--odoo-border);
  color: var(--odoo-purple);
  box-shadow: 0 7px 18px rgba(20,20,20,.06);
}
.admin-main {
  min-width: 0;
  padding: 0;
  background: var(--odoo-bg);
}
.topbar {
  min-height: 46px;
  border-radius: 0;
  margin: 0;
  padding: 0 14px;
  background: var(--odoo-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: none;
}
.topbar h1 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}
.topbar p {
  display: none;
}
.odoo-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.odoo-app-switcher {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 18px;
}
.odoo-top-links {
  display: flex;
  gap: 4px;
  overflow: auto;
}
.odoo-top-links button {
  min-height: 34px;
  border-radius: 8px;
  border: 0;
  padding: 0 10px;
  background: transparent;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  line-height: 1;
}
.odoo-top-links button.active {
  background: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--odoo-gold);
}
.top-actions {
  gap: 7px;
}
.top-actions a,
.top-actions .secondary-btn {
  min-height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}
.odoo-control-panel {
  min-height: 68px;
  padding: 10px 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-bottom: 1px solid var(--odoo-border);
}
.odoo-breadcrumb {
  color: var(--odoo-muted);
  font-size: 12px;
  font-weight: 800;
}
.odoo-control-panel h2 {
  margin: 4px 0 0;
  color: var(--odoo-text);
  font-size: 20px;
  line-height: 1.15;
}
.odoo-search-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.odoo-search-tools .search-input {
  width: min(330px, 38vw);
  min-height: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--odoo-border);
}
.admin-page {
  padding: 18px;
}
.primary-btn,
.table-action {
  background: var(--odoo-purple-2);
  border-color: var(--odoo-purple-2);
}
.secondary-btn,
.status-select,
.danger-btn,
.table-action {
  border-radius: 8px;
}
.secondary-btn,
.status-select {
  background: #fff;
  color: var(--odoo-purple);
  border-color: var(--odoo-border);
}
.danger-btn {
  background: #fff;
  color: #b42318;
  border-color: #f1c7c2;
}
.kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.admin-card,
.panel,
.form-card {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--odoo-border);
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  backdrop-filter: none;
}
.form-card.focus-card {
  border-color: rgba(210,168,67,.75);
  box-shadow: 0 0 0 3px rgba(210,168,67,.16);
}
.admin-card {
  min-height: 76px;
}
.admin-card span {
  color: var(--odoo-muted);
}
.admin-card strong {
  color: var(--odoo-purple);
  font-size: 21px;
}
.work-grid {
  grid-template-columns: 1fr;
}
.panel-head {
  border-bottom: 1px solid #eceef0;
  margin: -14px -14px 12px;
  padding: 10px 14px;
  min-height: 48px;
}
.panel-head h2 {
  color: var(--odoo-text);
  font-size: 16px;
}
.admin-form {
  padding: 2px 0 4px;
}
.search-input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 38px;
  border-radius: 8px;
  border-color: var(--odoo-border);
  background: #fff;
}
.table-list {
  gap: 0;
  overflow-x: auto;
}
.table-row {
  min-width: 780px;
  min-height: 48px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #eceef0;
  background: #fff;
  box-shadow: none;
  padding: 9px 12px;
}
.table-row:hover {
  transform: none;
  background: #f8f9fa;
  border-color: #eceef0;
}
.table-row strong {
  color: var(--odoo-text);
}
.table-row span {
  color: var(--odoo-muted);
}
.app-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.app-card {
  background: #fff;
  border-color: var(--odoo-border);
  color: var(--odoo-text);
  cursor: pointer;
  font-family: inherit;
  text-align: right;
}
.app-icon {
  border-radius: 8px;
  background: rgba(6,61,54,.1);
  color: var(--odoo-purple);
}
.app-card[data-module-target]::after {
  content: "فتح";
  margin-top: 10px;
  min-height: 28px;
  border-radius: 8px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  background: rgba(6,61,54,.09);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

/* Al-Shobrak operations UI */
.nova-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  background: #eef2f6;
  color: #17202a;
  direction: rtl;
  text-align: right;
  overflow-x: clip;
}
.nova-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 14px;
  background: var(--green);
  color: #fff;
  border-left: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 1px 0 rgba(255,255,255,.04);
  overflow: auto;
}
.nova-brand {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 12px;
  color: #fff;
  text-decoration: none;
}
.nova-brand img {
  width: 148px;
  height: 54px;
  display: block;
  object-fit: contain;
  object-position: right center;
}
.nova-brand span {
  color: rgba(255,255,255,.68);
  font-weight: 850;
}
.nova-nav {
  display: grid;
  gap: 7px;
}
.nova-nav button,
.nova-icon-btn,
.nova-btn,
.nova-tab,
.nova-select {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(19,42,57,.13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 950;
}
.nova-nav button {
  width: 100%;
  justify-content: flex-start;
  flex-direction: row;
  padding: 0 11px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  text-align: right;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nova-nav button:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.nova-nav button::before {
  content: attr(data-icon);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: #f0d58a;
  font-size: 12px;
}
.nova-nav button.active {
  background: #fff;
  border-color: #fff;
  color: var(--green);
  box-shadow: 0 7px 18px rgba(0,0,0,.14);
}
.nova-nav button.active::before {
  background: rgba(5,63,55,.1);
  color: var(--green);
}
.nova-side-card {
  margin-top: 14px;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}
.nova-side-card strong {
  display: block;
  font-size: 13px;
}
.nova-side-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
  font-weight: 800;
}
.nova-main {
  min-width: 0;
  width: 100%;
}
.nova-topbar {
  min-height: 64px;
  padding: 10px clamp(12px, 2vw, 22px);
  background: #fff;
  border-bottom: 1px solid #d9e1ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nova-topbar > div:first-child {
  min-width: 0;
  text-align: right;
}
.nova-breadcrumb {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}
.nova-topbar h1 {
  margin: 3px 0 0;
  color: #17202a;
  font-size: 24px;
  line-height: 1.15;
}
.nova-command {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: min(640px, 52vw);
  min-width: 320px;
}
.nova-search-wrap {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
  z-index: 120;
}
.nova-search {
  display: block;
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #cfd8e3;
  background: #f8fafc;
  color: #17202a;
  padding: 0 12px;
  outline: none;
  direction: rtl;
  text-align: right;
}
.nova-search-suggestions {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  max-height: min(440px, 62vh);
  padding: 7px;
  overflow: auto;
  border: 1px solid #d8e1e8;
  border-radius: 10px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 44px rgba(16,35,32,.18);
  z-index: 130;
}
.nova-search-wrap:not(:focus-within) .nova-search-suggestions {
  display: none;
}
.nova-search-suggestion {
  width: 100%;
  min-height: 52px;
  padding: 7px 8px;
  border: 0;
  border-radius: 7px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: #17202a;
  font: inherit;
  text-align: right;
  direction: rtl;
  cursor: pointer;
}
.nova-search-suggestion:hover,
.nova-search-suggestion:focus-visible {
  background: rgba(3,64,56,.08);
  outline: none;
}
.nova-search-suggestion + .nova-search-suggestion {
  border-top: 1px solid #edf1f4;
}
.nova-search-suggestion > i {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}
.nova-search-suggestion > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.nova-search-suggestion strong,
.nova-search-suggestion small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nova-search-suggestion small {
  color: #667085;
  font-size: 11px;
}
.nova-search-suggestion > b {
  color: var(--green);
  font-size: 10px;
  white-space: nowrap;
}
.nova-search-empty {
  padding: 16px 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.nova-icon-btn {
  width: 42px;
  flex: 0 0 42px;
  padding: 0;
  background: #f8fafc;
  color: var(--green);
}
.nova-btn {
  padding: 0 12px;
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  white-space: nowrap;
}
.nova-btn.secondary {
  background: #fff;
  color: var(--green);
  border-color: #cfd8e3;
}
.nova-page {
  display: none;
  padding: clamp(12px, 2vw, 22px);
}
.nova-page.active {
  display: block;
}
.nova-hero {
  min-height: 276px;
  border-radius: 8px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at 16% 18%, rgba(207,161,55,.28), transparent 34%),
    linear-gradient(135deg, #041f1c 0%, #06483f 52%, #0b6b5f 100%);
  color: #fff;
  margin-bottom: 14px;
}
.nova-hero h2 {
  margin: 10px 0 0;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.02;
  color: #fff;
}
.nova-hero p {
  margin: 12px 0 0;
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 800;
}
.nova-hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.nova-glass-stat {
  border-radius: 8px;
  padding: 13px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
}
.nova-glass-stat span,
.nova-card span,
.nova-panel-label {
  color: #667085;
  font-weight: 900;
}
.nova-glass-stat span {
  color: rgba(255,255,255,.7);
}
.nova-glass-stat strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 26px;
}
.nova-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.nova-card,
.nova-panel,
.nova-table,
.nova-stage,
.nova-builder,
.nova-volume,
.nova-app-card {
  border-radius: 8px;
  border: 1px solid #d9e1ea;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.nova-card {
  min-height: 112px;
  padding: 14px;
}
.nova-card strong {
  display: block;
  margin-top: 8px;
  color: #17202a;
  font-size: 26px;
  line-height: 1;
}
.nova-card small {
  display: block;
  margin-top: 8px;
  color: #4b5b6a;
  font-weight: 800;
  line-height: 1.45;
}
.nova-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 12px;
}
.nova-panel {
  padding: 14px;
  margin-bottom: 12px;
}
.nova-panel-head {
  min-height: 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  text-align: right;
}
.nova-panel-head h2 {
  margin: 0;
  color: #17202a;
  font-size: 19px;
}
.nova-panel-head.has-collapse {
  position: relative;
}
.nova-panel-collapse {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d4dee5;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f7faf9;
  color: var(--green);
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.nova-panel-collapse:hover {
  background: #edf4f2;
}
.nova-panel.is-collapsed > :not(.nova-panel-head) {
  display: none !important;
}
.nova-panel.is-collapsed > .nova-panel-head {
  margin-bottom: 0;
}
.nova-panel.is-collapsed .nova-panel-collapse {
  transform: rotate(-90deg);
}
.nova-chip-row,
.nova-actions,
.nova-tool-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.nova-chip {
  min-height: 28px;
  border-radius: 8px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  background: rgba(5,63,55,.09);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}
.nova-chip.good { background: #e7f6ec; color: #087443; }
.nova-chip.watch { background: #fff4db; color: #936b00; }
.nova-chip.risk,
.nova-chip.critical { background: #ffe8e5; color: #b42318; }
.nova-chip.info { background: rgba(5,63,55,.1); color: var(--green); }
.nova-table {
  overflow-x: auto;
  overflow-y: hidden;
}
.nova-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(180px, 1.05fr) minmax(130px, .85fr) minmax(110px, .7fr) minmax(100px, .7fr);
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid #edf1f5;
  min-width: 640px;
  text-align: right;
}
.nova-row:last-child {
  border-bottom: 0;
}
.nova-row strong {
  color: #17202a;
  text-align: right;
  min-width: 0;
}
.nova-row span {
  color: #5f6f7f;
  font-weight: 800;
  text-align: right;
  min-width: 0;
}
.nova-inline-links {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nova-inline-link {
  min-height: 30px;
  border-radius: 6px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(6,61,54,.16);
  background: rgba(6,61,54,.06);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.nova-order-money b { display: inline; color: #17202a; }
.nova-order-money b.paid { color: #087443; }
.nova-order-money b.remaining { color: #a26118; }
.nova-payment-entry {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(110px,.7fr) minmax(110px,.7fr) minmax(130px,.8fr) minmax(150px,1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 7px;
  background: #f6f9f8;
  border: 1px solid #e1e9e6;
}
.nova-payment-entry input,.nova-payment-entry select { width: 100%; min-height: 38px; border: 1px solid #cfd8e3; border-radius: 7px; padding: 0 10px; background: #fff; color: #17202a; font: inherit; direction: rtl; text-align: right; }
.nova-payment-entry.settled { grid-template-columns: auto 1fr; background: #edf8f1; color: #087443; }
.nova-app-grid,
.nova-builder-grid,
.nova-tool-grid,
.nova-volume-grid,
.nova-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.nova-app-card,
.nova-builder,
.nova-volume,
.nova-stage {
  padding: 13px;
  text-align: right;
}
.nova-app-card {
  min-height: 152px;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease;
}
.nova-app-card:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}
.nova-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(5,63,55,.09);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 9px;
}
.nova-app-card strong,
.nova-builder strong,
.nova-volume strong,
.nova-stage strong {
  display: block;
  color: #17202a;
  font-size: 17px;
}
.nova-app-card span,
.nova-builder span,
.nova-volume span,
.nova-stage span {
  display: block;
  margin-top: 7px;
  color: #5f6f7f;
  line-height: 1.45;
  font-weight: 800;
}
.nova-lane {
  display: grid;
  gap: 8px;
}
.nova-lane-item {
  min-height: 70px;
  border-radius: 8px;
  padding: 11px;
  background: #f8fafc;
  border: 1px solid #e4eaf1;
}
.nova-lane-item strong {
  display: block;
  color: #17202a;
}
.nova-lane-item span {
  display: block;
  margin-top: 5px;
  color: #5f6f7f;
  font-weight: 800;
}
.dashboard-task {
  width: 100%;
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.dashboard-task:hover {
  transform: translateY(-1px);
  border-color: rgba(185,137,46,.42);
  box-shadow: 0 10px 22px rgba(5,63,55,.08);
}
.dashboard-task-top {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px !important;
}
.dashboard-task-top b {
  color: var(--green);
  font-size: 12px;
}
.dashboard-task-top b.risk { color: #b42318; }
.dashboard-task-top time,
.dashboard-task-top > span {
  margin: 0 !important;
  color: #74847f;
  font-size: 11px;
}
.nova-ai-list {
  display: grid;
  gap: 9px;
}
.nova-ai-card {
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #d9e1ea;
  background: #fff;
}
.nova-ai-card.critical { border-color: #ffb5ad; background: #fff8f7; }
.nova-ai-card.warning { border-color: #f7d68a; background: #fffaf0; }
.nova-ai-card.success { border-color: #abe6c1; background: #f6fff8; }
.nova-ai-card.info { border-color: #bed8f8; background: #f6faff; }
.nova-ai-card h3 {
  margin: 0;
  font-size: 16px;
  color: #17202a;
}
.nova-ai-card p {
  margin: 7px 0 0;
  color: #4b5b6a;
  line-height: 1.55;
  font-weight: 800;
}
.nova-timeline {
  display: grid;
  grid-template-columns: repeat(8, minmax(130px, 1fr));
  gap: 8px;
  overflow-x: auto;
}
.nova-stage {
  min-height: 156px;
}
.nova-progress {
  height: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: #edf1f5;
  margin-top: 11px;
}
.nova-progress span {
  display: block;
  height: 100%;
  background: var(--gold);
}
.nova-debug-header {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.nova-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}
.nova-form input,
.nova-form select,
.nova-form textarea {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #17202a;
  padding: 0 11px;
  outline: none;
  direction: rtl;
  text-align: right;
  min-width: 0;
}
.nova-form textarea {
  padding-top: 10px;
  min-height: 84px;
}
.nova-form input[dir="ltr"] {
  direction: ltr;
  text-align: left;
}
.nova-form .wide {
  grid-column: span 2;
}
.nova-form .full {
  grid-column: 1 / -1;
}
.nova-user-summary {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
}
.nova-user-summary strong { color: #fff; font-size: 14px; }
.nova-user-summary span { color: rgba(255,255,255,.7); font-size: 11px; font-weight: 850; direction: ltr; text-align: right; }
.nova-session-label { display: block; margin-top: 4px; color: #667085; font-weight: 850; }
.nova-btn.good { background: var(--green); color: #fff; border-color: var(--green); }
.nova-btn.danger { background: #fff4f2; color: #b42318; border-color: #f2b8b2; }
.nova-users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 12px;
}
.nova-user-card {
  border: 1px solid #d9e1ea;
  border-radius: 9px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.nova-user-card > header,
.nova-user-card > header > div,
.nova-user-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nova-user-card > header > div { justify-content: flex-start; }
.nova-user-card h3 { margin: 0; font-size: 16px; color: #17202a; }
.nova-user-card h3 small { color: var(--green); font-size: 10px; }
.nova-user-card p { margin: 3px 0 0; color: #667085; font-size: 12px; font-weight: 850; direction: ltr; text-align: right; }
.nova-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  background: rgba(5,63,55,.1);
  color: var(--green);
  font-weight: 950;
}
.nova-user-meta {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.nova-user-meta span {
  padding: 9px;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid #edf1f5;
  color: #526170;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.nova-user-meta b { display: block; margin-bottom: 4px; color: #17202a; font-size: 10px; }
.nova-user-foot { margin-top: 12px; align-items: flex-end; }
.nova-user-foot small { color: #7a8794; line-height: 1.5; }
.nova-user-details { margin-top: 10px; border-top: 1px solid #edf1f5; padding-top: 9px; }
.nova-user-details summary { cursor: pointer; color: var(--green); font-weight: 950; }
.nova-user-details .nova-form { margin-top: 12px; }
.nova-user-form label,
.nova-user-edit label,
.nova-user-password label {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}
.nova-user-branches {
  padding: 10px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #f8fafc;
}
.nova-user-branches > div:first-child { display: grid; gap: 3px; margin-bottom: 8px; }
.nova-user-branches small { color: #667085; font-weight: 800; }
.nova-branch-checks { display: flex; flex-wrap: wrap; gap: 7px; }
.nova-branch-checks label,
.nova-switch {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 7px;
  display: inline-flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 7px !important;
  background: #fff;
  border: 1px solid #d9e1ea;
}
.nova-branch-checks input,
.nova-switch input { width: 17px; height: 17px; min-height: 0; padding: 0; accent-color: var(--green); }
.nova-audit-list { display: grid; gap: 7px; }
.nova-audit-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(120px, auto);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.nova-audit-row strong { display: block; color: #17202a; }
.nova-audit-row small { display: block; margin-top: 4px; color: #667085; }
.nova-audit-row code { direction: ltr; text-align: left; color: #526170; font-size: 10px; overflow-wrap: anywhere; }
.nova-settings-tabs {
  margin-bottom: 12px;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #fff;
}
.nova-settings-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #526170;
  font-weight: 900;
}
.nova-settings-tabs button:hover { background: #f3f7f6; color: var(--green); }
.nova-settings-tabs button.active {
  border-color: rgba(5,63,55,.18);
  background: var(--green);
  color: #fff;
}
.nova-inline-search {
  min-width: min(100%, 300px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #526170;
  font-size: 12px;
  font-weight: 900;
}
.nova-inline-search input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  direction: rtl;
  text-align: right;
  outline: none;
}
.nova-inline-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(5,63,55,.08); }
.nova-role-policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 12px; }
.nova-role-policy {
  padding: 14px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #fff;
}
.nova-role-policy > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.nova-role-policy h3 { margin: 0; color: #17202a; font-size: 16px; }
.nova-role-policy header small { display: block; margin-top: 4px; color: #667085; font-size: 11px; }
.nova-role-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.nova-role-controls label { display: grid; gap: 5px; color: #344054; font-size: 11px; font-weight: 900; }
.nova-role-controls select {
  min-width: 0;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #17202a;
  direction: rtl;
}
.nova-role-controls select:disabled { color: #667085; background: #f1f4f6; }
.nova-audit-changes { margin-top: 8px; }
.nova-audit-changes summary { cursor: pointer; color: var(--green); font-size: 11px; font-weight: 900; }
.nova-audit-changes pre {
  max-height: 280px;
  margin: 7px 0 0;
  padding: 10px;
  overflow: auto;
  border: 1px solid #dce4eb;
  border-radius: 7px;
  background: #fff;
  color: #344054;
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 10px;
}
@media (max-width: 640px) {
  .nova-settings-tabs { display: grid; grid-template-columns: 1fr; }
  .nova-inline-search { width: 100%; grid-template-columns: 1fr; }
  .nova-role-controls { grid-template-columns: 1fr; }
  .nova-audit-row { grid-template-columns: auto minmax(0, 1fr); }
  .nova-audit-row > button { grid-column: 1 / -1; }
}

.nova-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 12px;
}
.nova-product-editor {
  border-radius: 8px;
  border: 1px solid #d9e1ea;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.nova-product-media {
  position: relative;
  height: 220px;
  background: #f8fafc;
}
.nova-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nova-product-media > .nova-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 2px 7px rgba(16,24,40,.16);
}
.product-wizard-main {
  min-width: 0;
}
.product-wizard-steps {
  padding: 10px;
  border-bottom: 1px solid #e3e9ee;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  background: #f7faf9;
  overflow-x: auto;
}
.product-wizard-steps button {
  min-width: 90px;
  min-height: 58px;
  padding: 7px;
  border: 1px solid #d8e1e7;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  text-align: right;
  cursor: pointer;
}
.product-wizard-steps button b {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf1f4;
  color: #647381;
  font-size: 11px;
}
.product-wizard-steps button.done {
  border-color: #b8d9ce;
  color: #087443;
}
.product-wizard-steps button.done b {
  background: #e7f6ec;
  color: #087443;
}
.product-wizard-steps button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(5,63,55,.18);
}
.product-wizard-steps button.active b {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.product-live-preview-strip {
  margin: 10px 12px 0;
  padding: 10px;
  border: 1px solid rgba(3,60,52,.12);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,249,247,.96));
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  box-shadow: 0 10px 26px rgba(3,60,52,.08);
}
.product-live-preview-strip img {
  width: 74px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef3f1;
}
.product-live-preview-strip div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.product-live-preview-strip span {
  color: #697a75;
  font-size: 10px;
  font-weight: 900;
}
.product-live-preview-strip strong {
  color: #13201d;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-live-preview-strip small {
  color: #8a5b18;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}
.product-live-preview-strip img.is-empty { opacity: .58; filter: grayscale(.28); }
.product-live-preview-strip.draft-changed { border-color: rgba(180,134,45,.34); background: #fffaf0; }
.nova-product-form {
  padding: 12px;
}
.product-draft-restored {
  grid-column: 1 / -1;
  margin: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6c16f;
  border-radius: 8px;
  background: #fff9e8;
  color: #5e4615;
}
.product-draft-restored span { flex: 1; }
.product-draft-restored button { min-height: 44px; padding: 0 12px; border: 1px solid #d5b664; border-radius: 7px; background: #fff; color: #5e4615; font: inherit; font-weight: 900; cursor: pointer; }
.product-wizard-panel {
  display: none;
  min-width: 0;
  padding: 2px 0 4px;
}
.product-wizard-panel.active {
  display: block;
}
.product-step-intro {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #dce5e9;
  border-radius: 8px;
  background: #f7faf9;
}
.product-step-intro strong {
  display: block;
  color: #17202a;
  font-size: 15px;
}
.product-step-intro span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}
.product-wizard-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.product-wizard-fields .full {
  grid-column: 1 / -1;
}
.product-wizard-actions {
  padding-top: 12px;
  border-top: 1px solid #e4eaef;
  display: grid;
  grid-template-columns: 1fr minmax(150px, 1.15fr) 1fr;
  gap: 8px;
}
.product-wizard-actions .nova-btn {
  width: 100%;
}
.product-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(230px, .85fr);
  gap: 12px;
}
.product-preview-card,
.product-readiness {
  border: 1px solid #d9e1ea;
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}
.product-preview-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.product-preview-card > div {
  padding: 14px;
}
.product-preview-card span,
.product-preview-card small {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}
.product-preview-card h3 {
  margin: 6px 0;
  color: #17202a;
  font-size: 21px;
}
.product-preview-card p {
  margin: 0 0 12px;
  color: #526170;
  line-height: 1.6;
  font-weight: 800;
}
.product-preview-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 18px;
}
.product-readiness {
  padding: 14px;
}
.product-readiness h3 {
  margin: 0 0 12px;
  color: #17202a;
}
.product-readiness > div {
  min-height: 42px;
  margin-bottom: 7px;
  padding: 8px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}
.product-readiness > div b {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.product-readiness > div.ready { background: #edf8f1; color: #087443; }
.product-readiness > div.ready b { background: #d5f0df; }
.product-readiness > div.missing { background: #fff6e5; color: #936b00; }
.product-readiness > div.missing b { background: #fde7b7; }
.product-readiness p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}
.product-stock-row {
  grid-template-columns: minmax(150px, 1fr) minmax(130px, .8fr) minmax(120px, .7fr) minmax(100px, .55fr);
}
.product-stock-actions {
  margin-top: 10px;
}
.nova-product-form label,
.nova-product-extra label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #526170;
  font-size: 12px;
  font-weight: 900;
  direction: rtl;
  text-align: right;
}
.nova-products-workspace {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  direction: rtl;
}
.nova-products-list {
  position: sticky;
  top: 76px;
}
.nova-product-list-scroll {
  max-height: calc(100vh - 190px);
  overflow: auto;
  display: grid;
  gap: 6px;
}
.nova-product-list-row {
  width: 100%;
  min-height: 70px;
  padding: 7px;
  border-radius: 8px;
  border: 1px solid #d9e1ea;
  background: #fff;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: #17202a;
  direction: rtl;
  text-align: right;
}
.nova-product-list-row:hover,
.nova-product-list-row.active {
  border-color: rgba(6,61,54,.34);
  background: rgba(6,61,54,.055);
}
.nova-product-list-row img {
  width: 58px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
}
.nova-product-list-row span,
.nova-product-list-row b {
  min-width: 0;
}
.nova-product-list-row strong,
.nova-product-list-row small {
  display: block;
}
.nova-product-list-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nova-product-list-row small {
  margin-top: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}
.nova-product-list-row > b {
  color: var(--green);
  font-size: 12px;
  text-align: right;
}
.nova-product-details {
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}
.nova-product-details summary,
.nova-image-library > summary {
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: #17202a;
  font-weight: 950;
  direction: rtl;
  text-align: right;
}
.nova-product-details summary b {
  min-width: 26px;
  min-height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}
.nova-variants-editor {
  padding: 10px;
  display: grid;
  gap: 7px;
  border-top: 1px solid #d9e1ea;
}
.nova-variants-head,
.nova-variant-editor {
  display: grid;
  grid-template-columns: minmax(120px, 1.1fr) minmax(100px, .7fr) minmax(100px, .7fr) minmax(130px, 1fr) 76px;
  gap: 7px;
  direction: rtl;
}
.nova-variants-head {
  padding: 0 3px;
  color: #667085;
  font-size: 11px;
  font-weight: 950;
}
.nova-variant-editor {
  align-items: center;
}
.nova-meter-price-label,
.nova-meter-fixed-action {
  min-height: 40px;
  padding: 7px 10px;
  display: grid;
  align-content: center;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #f7faf9;
}
.nova-meter-price-label strong { color: var(--green); font-size: 12px; }
.nova-meter-price-label span,
.nova-meter-fixed-action { color: #667085; font-size: 10px; font-weight: 850; }
.nova-meter-fixed-action { place-items: center; text-align: center; }
.nova-variant-remove {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #f1c9c6;
  background: #fff7f6;
  color: #b42318;
  font-weight: 950;
}
.nova-variant-remove:hover {
  background: #fee4e2;
}
.nova-variants-actions {
  padding: 0 10px 10px;
  display: flex;
  justify-content: flex-start;
  direction: rtl;
}
.nova-variants-actions .nova-btn {
  min-width: 150px;
}
.nova-product-extra {
  padding: 10px;
  border-top: 1px solid #d9e1ea;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.nova-image-library {
  margin-top: 12px;
}
.nova-image-library[open] > summary {
  margin-bottom: 12px;
  border-bottom: 1px solid #d9e1ea;
}
.nova-report-actions {
  margin: 12px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  direction: rtl;
}
.nova-product-form textarea[readonly] {
  min-height: 76px;
  background: #f8fafc;
  color: #5f6f7f;
}
.nova-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nova-category-pill {
  min-height: 34px;
  border-radius: 8px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5,63,55,.07);
  color: var(--green);
  font-weight: 950;
}
.nova-category-pill strong {
  min-width: 24px;
  min-height: 24px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}
.nova-category-manager > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: #17202a;
  font-size: 17px;
  font-weight: 950;
  direction: rtl;
  text-align: right;
}
.nova-category-manager[open] > summary {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8ef;
}
.nova-category-create {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 120px auto;
  gap: 8px;
  align-items: end;
  direction: rtl;
}
.nova-category-create label,
.nova-category-editor label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #526170;
  font-size: 12px;
  font-weight: 900;
  direction: rtl;
  text-align: right;
}
.nova-category-list {
  display: grid;
  gap: 7px;
}
.nova-category-editor {
  min-width: 0;
  padding: 8px;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 100px 110px auto;
  gap: 8px;
  align-items: end;
  background: #fbfcfd;
  direction: rtl;
}
.nova-category-visibility {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  display: flex !important;
  grid-auto-flow: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px !important;
  background: #fff;
  white-space: nowrap;
}
.nova-category-visibility input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.nova-category-actions {
  display: flex;
  gap: 6px;
}
.nova-category-actions .nova-btn {
  min-height: 40px;
  padding-inline: 12px;
}
.nova-category-actions .danger {
  border-color: #f1c9c6;
  color: #b42318;
  background: #fff7f6;
}
.nova-site-settings > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: #17202a;
  font-size: 17px;
  font-weight: 950;
  direction: rtl;
  text-align: right;
}
.nova-site-settings[open] > summary {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8ef;
}
.nova-site-settings-form label,
.nova-color-fields label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #526170;
  font-size: 12px;
  font-weight: 900;
  direction: rtl;
  text-align: right;
}
.nova-field-title {
  margin: 6px 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  direction: rtl;
  text-align: right;
}
.nova-field-title strong { color: #17202a; }
.nova-field-title span { color: #667085; font-size: 12px; font-weight: 800; }
.nova-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 8px;
  direction: rtl;
}
.nova-site-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}
.nova-site-image-card {
  min-width: 0;
  padding: 8px;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background: #fff;
  text-align: right;
}
.nova-site-image-card img {
  width: 96px;
  height: 72px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  background: #eef2f4;
}
.nova-site-image-card > span {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
}
.nova-site-image-card select {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #ced8df;
  border-radius: 6px;
  color: #17202a;
  background: #fff;
}
.nova-site-upload {
  padding: 10px;
  border: 1px dashed #b9cac5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(5,63,55,.035);
}
.nova-site-upload input {
  min-width: 0;
  flex: 1;
}
.nova-asset-grid.compact { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.nova-asset-card {
  min-width: 0;
  padding: 5px;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  position: relative;
  color: #526170;
  text-align: center;
}
.nova-asset-card.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(5,63,55,.11);
  background: rgba(5,63,55,.035);
}
.nova-asset-card > label,
label.nova-asset-card {
  display: grid;
  gap: 5px;
  cursor: pointer;
}
.nova-asset-card input[type="checkbox"] {
  position: absolute;
  inset-inline-start: 8px;
  top: 8px;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  z-index: 2;
}
.nova-asset-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  background: #eef2f4;
}
.nova-asset-card.hero img { aspect-ratio: 16 / 9; }
.nova-asset-card span {
  min-height: 30px;
  display: grid;
  place-items: center;
  color: #526170;
  font-size: 10px;
  font-weight: 900;
}
.nova-asset-primary {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: #edf1f4;
  color: #465463;
  font-size: 10px;
  font-weight: 950;
  cursor: pointer;
}
.nova-asset-primary.active { background: var(--green); color: #fff; }
.nova-product-assets,
.nova-color-images {
  padding: 10px;
  border-top: 1px solid #d9e1ea;
}
.nova-product-assets > p {
  margin: 0 0 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}
.nova-colors-editor {
  padding: 10px;
  border-top: 1px solid #d9e1ea;
  display: grid;
  gap: 8px;
}
.nova-color-editor {
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.nova-color-editor > summary {
  min-height: 44px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  direction: rtl;
}
.nova-color-editor > summary strong { flex: 1; color: #17202a; text-align: right; }
.nova-color-editor > summary button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #f1b9b4;
  border-radius: 6px;
  background: #fff4f2;
  color: #b42318;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.nova-color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cfd8e3;
}
.nova-color-fields {
  padding: 10px;
  border-top: 1px solid #e2e8ef;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 8px;
}
.nova-color-fields input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 0 10px;
}
.nova-color-images > b { display: block; margin-bottom: 9px; color: #17202a; text-align: right; }
.nova-add-color { margin: 0 10px 10px; }
.nova-empty-colors { padding: 18px; color: #667085; font-weight: 800; text-align: center; }
.nova-empty-colors.subtle {
  padding: 12px;
  border: 1px dashed #cfd8e3;
  border-radius: 10px;
  background: #f8fbfa;
  font-size: 13px;
}
.nova-upload-status {
  min-height: 22px;
  color: #155d4d;
  font-size: 13px;
  font-weight: 800;
}
.nova-asset-picker-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #5b6e68;
  font-size: 12px;
  font-weight: 850;
}
.nova-library-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.nova-library-image {
  position: relative;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f4;
}
.nova-library-image img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
}
.nova-library-preview {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.nova-image-lightbox {
  position: fixed;
  z-index: 1200;
  inset: 0;
  padding: 76px 72px 28px;
  display: grid;
  place-items: center;
  background: rgba(6, 18, 16, .92);
}
.nova-image-lightbox > img {
  width: auto;
  max-width: min(1100px, 86vw);
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}
.nova-image-lightbox-toolbar {
  position: absolute;
  top: 14px;
  inset-inline: 18px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.nova-image-lightbox-toolbar span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nova-image-lightbox-toolbar button,
.nova-image-lightbox-nav {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font: inherit;
  font-size: 30px;
  cursor: pointer;
}
.nova-image-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.nova-image-lightbox-nav.previous { inset-inline-start: 18px; }
.nova-image-lightbox-nav.next { inset-inline-end: 18px; }
.admin-session-expired-notice {
  position: fixed;
  z-index: 1300;
  inset-inline: 18px;
  bottom: 18px;
  min-height: 64px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e6c16f;
  border-radius: 8px;
  background: #fff9e8;
  color: #5e4615;
  box-shadow: 0 12px 40px rgba(16,24,40,.22);
}
.admin-session-expired-notice span { flex: 1; }
.admin-session-expired-notice a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 7px; background: var(--green); color: #fff; font-weight: 900; }
@media (max-width: 640px) {
  .nova-image-lightbox { padding: 70px 52px 20px; }
  .nova-image-lightbox > img { max-width: calc(100vw - 30px); max-height: calc(100vh - 100px); }
  .nova-image-lightbox-nav.previous { inset-inline-start: 4px; }
  .nova-image-lightbox-nav.next { inset-inline-end: 4px; }
  .admin-session-expired-notice { align-items: stretch; flex-direction: column; }
  .admin-session-expired-notice a { justify-content: center; }
}
.nova-library-image .nova-icon-btn {
  position: absolute;
  top: 6px;
  inset-inline-start: 6px;
  background: rgba(255,255,255,.92);
  color: #b42318;
}
.nova-library-use {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 7px;
  background: rgba(3,76,67,.9);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.nova-library-more {
  width: min(420px,100%);
  margin: 12px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.nova-library-more span { color: #64756f; font-size: 11px; }
.nova-reports-primary {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

/* Sales operations */
.sales-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}
.sales-kpis article {
  min-height: 88px;
  padding: 13px 14px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.sales-kpis article span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}
.sales-kpis article strong {
  display: block;
  margin-top: 9px;
  color: #17202a;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.1;
}
.sales-kpis article.due {
  border-color: #efd29d;
  background: #fffbf2;
}
.sales-kpis article.due strong { color: #9b6416; }
.sales-toolbar {
  min-height: 58px;
  margin-bottom: 10px;
  padding: 9px 10px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sales-toolbar > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.sales-view-switch {
  min-height: 38px;
  padding: 3px;
  border: 1px solid #d7e0e7;
  border-radius: 7px;
  background: #f3f6f7;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.sales-view-switch button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #61707e;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.sales-view-switch button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px rgba(16,24,40,.12);
}
.inventory-tabs {
  margin-bottom: 10px;
}
.inventory-tabs button small {
  margin-inline-start: 5px;
  opacity: .75;
  font-size: 10px;
}
.inventory-toolbar select {
  min-width: 180px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #17202a;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}
.inventory-kpis .nova-card {
  min-height: 100px;
}
.inventory-stock-row {
  grid-template-columns: 52px minmax(240px, 1.35fr) minmax(150px, .75fr) minmax(140px, .7fr);
}
.availability-bulk-bar {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #dbe6e2;
  border-radius: 8px;
  background: #f8fbfa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.availability-bulk-bar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.availability-select {
  min-height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #28574d;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.availability-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.availability-row.is-selected {
  background: #f4fbf7;
  box-shadow: inset 0 0 0 1px rgba(0, 77, 64, .18);
}
.availability-bulk-count {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5f2;
  color: #0b4d40;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
}
.availability-bulk-bar button[disabled] {
  opacity: .55;
  cursor: not-allowed;
}
.availability-section {
  margin-top: 10px;
  border: 1px solid #dde8e4;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.availability-section-head {
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e8eeeb;
  background: #f8fbfa;
}
.availability-section-head strong {
  color: #15202b;
  font-size: 14px;
  font-weight: 950;
}
.availability-section-head span {
  flex: 0 0 auto;
}
.availability-section .availability-table {
  border: 0;
  border-radius: 0;
}
.inventory-movement-row {
  grid-template-columns: minmax(210px, 1.1fr) minmax(150px, .8fr) minmax(120px, .65fr) minmax(120px, .65fr) minmax(170px, .9fr) minmax(150px, .75fr);
  min-width: 980px;
}
.inventory-movement-row b.nova-chip {
  display: inline-flex;
  margin-bottom: 5px;
}
.inventory-limit-note {
  padding: 10px 12px;
  color: #667085;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}
.inventory-transfer-list {
  display: grid;
  gap: 10px;
}
.inventory-transfer-card {
  padding: 13px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #fff;
}
.inventory-transfer-card header,
.inventory-transfer-card footer,
.inventory-transfer-route,
.inventory-transfer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
}
.inventory-transfer-card header strong {
  display: block;
  color: #17202a;
  direction: ltr;
  text-align: right;
}
.inventory-transfer-card header span,
.inventory-transfer-card footer > span,
.inventory-transfer-card small {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}
.inventory-transfer-route {
  justify-content: flex-start;
  margin-top: 11px;
  padding: 10px;
  border-radius: 7px;
  background: #f5f8f7;
  color: var(--green);
  font-weight: 950;
}
.inventory-transfer-route b { color: var(--gold-dark); }
.inventory-transfer-card p {
  margin: 10px 0;
  color: #344054;
  line-height: 1.6;
  font-weight: 850;
}
.inventory-transfer-card small {
  display: block;
  margin-bottom: 10px;
}
.inventory-transfer-card footer {
  padding-top: 10px;
  border-top: 1px solid #edf1f5;
}
.inventory-transfer-actions .nova-btn {
  min-height: 36px;
}
.inventory-transfer-create label {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}
.sales-bulk-toolbar {
  min-height: 56px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #f8fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  opacity: .78;
}
.sales-bulk-toolbar.active {
  border-color: #a9cec7;
  background: #eef8f5;
  opacity: 1;
}
.sales-bulk-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sales-bulk-toolbar > div:first-child strong {
  min-width: 30px;
  min-height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
}
.sales-bulk-toolbar span {
  color: #526170;
  font-size: 11px;
  font-weight: 900;
}
.sales-bulk-toolbar select {
  min-height: 40px;
  min-width: 180px;
  padding: 0 10px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #17202a;
  font: inherit;
  text-align: right;
}
.sales-bulk-toolbar button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.sales-quantity-hint { display: block; margin-top: 6px; color: var(--text-muted); font-size: 11px; font-weight: 850; }
.sales-toolbar select,
.sales-create-form input,
.sales-create-form select,
.sales-assignment-form select,
.sales-payment-form input,
.sales-payment-form select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: #17202a;
  font: inherit;
  direction: rtl;
  text-align: right;
  outline: none;
}
.sales-toolbar select { width: auto; min-width: 150px; }
.sales-toolbar select:focus,
.sales-create-form input:focus,
.sales-create-form select:focus,
.sales-assignment-form select:focus,
.sales-payment-form input:focus,
.sales-payment-form select:focus { border-color: #287b70; box-shadow: 0 0 0 3px rgba(6,61,54,.08); }
.sales-create-panel {
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #fff;
}
.sales-create-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.sales-create-form label,
.sales-assignment-form label,
.sales-payment-form label {
  display: grid;
  gap: 6px;
  color: #526170;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}
.sales-create-form .wide { grid-column: span 2; }
.sales-create-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}
.sales-operations {
  display: grid;
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  direction: rtl;
}
.sales-order-list,
.sales-order-detail {
  min-width: 0;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.sales-order-list {
  position: sticky;
  top: 74px;
  max-height: calc(100vh - 96px);
  overflow: hidden;
}
.sales-order-list-head {
  min-height: 55px;
  padding: 10px 12px;
  border-bottom: 1px solid #e7ecf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sales-order-list-head strong { color: #17202a; font-size: 16px; }
.sales-order-list-head span { color: #758392; font-size: 11px; font-weight: 850; }
.sales-order-list-scroll { max-height: calc(100vh - 152px); overflow-y: auto; }
.sales-order-item {
  width: 100%;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  color: #17202a;
  text-align: right;
  cursor: pointer;
}
.sales-order-item:hover { background: #f7faf9; }
.sales-order-item.active {
  background: #edf6f3;
  box-shadow: inset -3px 0 0 var(--green);
}
.sales-order-item-top,
.sales-order-item-meta,
.sales-order-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sales-order-item-top b { color: #475467; font-size: 11px; letter-spacing: 0; }
.sales-order-item-top time { color: #8a96a3; font-size: 10px; font-weight: 800; }
.sales-order-item > strong { display: block; margin: 7px 0; color: #17202a; font-size: 14px; }
.sales-order-item-meta .nova-chip { min-height: 24px; font-size: 10px; }
.sales-order-item-meta > b { color: #17202a; font-size: 13px; }
.sales-order-item-foot { margin-top: 8px; }
.sales-order-item-foot small { color: #7b8794; font-size: 10px; font-style: normal; font-weight: 850; }
.sales-order-item-foot small.due { color: #a26118; }
.sales-order-item-foot small.paid { color: #087443; }
.sales-table-panel {
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  overflow-x: auto;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.sales-table-head,
.sales-table-row {
  min-width: 900px;
  display: grid;
  grid-template-columns: 38px minmax(135px,.9fr) minmax(180px,1.35fr) 112px 110px 110px 76px;
  gap: 9px;
  align-items: center;
  text-align: right;
}
.sales-table-head {
  min-height: 48px;
  padding: 7px 10px;
  border-bottom: 1px solid #dce4ea;
  background: #f4f7f8;
  color: #647381;
  font-size: 10px;
  font-weight: 950;
}
.sales-table-row {
  min-height: 66px;
  padding: 8px 10px;
  border-bottom: 1px solid #edf1f4;
  color: #344054;
  font-size: 11px;
}
.sales-table-row:last-child { border-bottom: 0; }
.sales-table-row:hover { background: #fafcfc; }
.sales-table-row > div { min-width: 0; display: grid; gap: 3px; }
.sales-table-row > div span,
.sales-table-order span { color: #7a8793; font-size: 10px; font-weight: 800; }
.sales-table-row > strong { color: #17202a; overflow-wrap: anywhere; }
.sales-table-row > strong.due { color: #9b6416; }
.sales-table-row > strong.paid { color: #087443; }
.sales-row-check {
  min-width: 32px;
  min-height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.sales-row-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.sales-table-order {
  min-width: 0;
  padding: 5px 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 3px;
  color: var(--green);
  font: inherit;
  text-align: right;
  cursor: pointer;
}
.sales-table-order strong { overflow-wrap: anywhere; }
.sales-kanban {
  width: 100%;
  padding-bottom: 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 1fr);
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.sales-kanban-column {
  min-height: 430px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #f4f7f8;
  overflow: hidden;
}
.sales-kanban-column > header {
  min-height: 48px;
  padding: 8px 10px;
  border-bottom: 1px solid #dce4ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sales-kanban-column > header > div { display: flex; align-items: center; gap: 7px; }
.sales-kanban-column > header i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #476b85;
}
.sales-kanban-column > header i.good { background: #087443; }
.sales-kanban-column > header i.watch { background: #b7791f; }
.sales-kanban-column > header i.risk { background: #b42318; }
.sales-kanban-column > header strong { color: #344054; font-size: 12px; }
.sales-kanban-column > header span {
  min-width: 25px;
  min-height: 25px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #e4eaee;
  color: #526170;
  font-size: 10px;
  font-weight: 950;
}
.sales-kanban-column-scroll {
  max-height: calc(100vh - 300px);
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
}
.sales-kanban-card {
  padding: 9px;
  border: 1px solid #dce4e9;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.sales-kanban-card-top,
.sales-kanban-card > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sales-kanban-card-top > span,
.sales-kanban-card > div:last-child span { color: #7a8793; font-size: 10px; font-weight: 850; }
.sales-kanban-card > button {
  width: 100%;
  margin: 3px 0 8px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 4px;
  color: #17202a;
  font: inherit;
  text-align: right;
  cursor: pointer;
}
.sales-kanban-card > button b { color: var(--green); font-size: 11px; overflow-wrap: anywhere; }
.sales-kanban-card > button strong { font-size: 13px; }
.sales-kanban-card > button small { color: #758291; font-size: 10px; font-weight: 800; }
.sales-kanban-card > div:last-child strong { color: #17202a; font-size: 12px; }
.sales-kanban-card > div:last-child span.due { color: #9b6416; }
.sales-kanban-card > div:last-child span.paid { color: #087443; }
.sales-kanban-empty {
  min-height: 100px;
  display: grid;
  place-items: center;
  color: #84909c;
  font-size: 11px;
  font-weight: 850;
}
.sales-order-detail { padding: clamp(12px, 1.6vw, 18px); }
.sales-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7ecf1;
}
.sales-order-head > div:first-child { min-width: 0; }
.sales-order-head span { color: #6d7986; font-size: 11px; font-weight: 900; }
.sales-order-head h2 { margin: 3px 0 4px; color: #17202a; font-size: 22px; line-height: 1.2; }
.sales-order-head time { color: #7b8794; font-size: 11px; font-weight: 800; }
.sales-order-head-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}
.sales-order-head-actions .nova-select { min-width: 130px; }
.sales-next-actions {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
}
.sales-next-action {
  min-height: 44px;
  padding: 0 12px;
}
.sales-final-state {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dde6ec;
  background: #f5f8fa;
  color: #667085;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
}
.sales-timeline {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(105px, 1fr));
  gap: 8px;
  direction: rtl;
}
.sales-timeline-step {
  position: relative;
  min-width: 0;
  min-height: 58px;
  padding: 10px 8px;
  border: 1px solid #dbe3ea;
  border-radius: 14px;
  background: #fff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  text-align: center;
}
.sales-timeline-step::before {
  display: none;
}
.sales-timeline-step i {
  position: relative;
  z-index: 1;
  top: auto;
  right: auto;
  width: 13px;
  height: 13px;
  margin-right: 0;
  border: 3px solid #dbe3ea;
  border-radius: 50%;
  background: #fff;
}
.sales-timeline-step.done i,
.sales-timeline-step.current i { border-color: #2e8074; background: #2e8074; }
.sales-timeline-step.current i { box-shadow: 0 0 0 4px rgba(46,128,116,.14); }
.sales-timeline-step strong { display: block; color: #667085; font-size: 11px; }
.sales-timeline-step.done { border-color: rgba(46,128,116,.24); background: rgba(46,128,116,.08); }
.sales-timeline-step.current strong { color: var(--green); }
.sales-timeline-step.current { border-color: rgba(46,128,116,.42); box-shadow: 0 10px 24px rgba(46,128,116,.1); }
.sales-timeline-step span { display: block; min-height: 15px; margin-top: 3px; color: #98a2b3; font-size: 9px; font-weight: 800; }
.sales-cancelled {
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid #f0c8c3;
  border-radius: 7px;
  background: #fff4f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #b42318;
}
.sales-cancelled span { font-size: 11px; font-weight: 850; }
.sales-detail-tabs {
  margin: 0 0 10px;
  padding: 3px;
  border: 1px solid #dce4ea;
  border-radius: 8px;
  background: #f3f6f7;
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 3px;
  overflow-x: auto;
}
.sales-detail-tabs button {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #61707e;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}
.sales-detail-tabs button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px rgba(16,24,40,.1);
}
.sales-tab-content { min-height: 260px; }
.sales-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.sales-detail-grid.wide { align-items: start; }
.sales-section {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  background: #fbfcfd;
}
.sales-section-head {
  min-height: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sales-section-head.compact { min-height: 26px; margin-bottom: 6px; }
.sales-section-head h3,
.sales-section-head h4 { margin: 0; color: #17202a; font-size: 14px; }
.sales-section-head h4 { font-size: 12px; }
.sales-section-head > span:not(.nova-chip) { color: #667085; font-size: 11px; font-weight: 900; }
.sales-customer { display: grid; gap: 7px; }
.sales-customer strong { color: #17202a; font-size: 17px; }
.sales-customer a { color: var(--green); font-weight: 900; text-decoration: none; }
.sales-customer span { color: #657382; font-size: 12px; font-weight: 800; line-height: 1.5; }
.sales-assignment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: end;
}
.sales-people-summary {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5eaef;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sales-people-summary span { color: #7a8793; font-size: 10px; font-weight: 850; }
.sales-people-summary b { display: block; margin-bottom: 2px; color: #17202a; font-size: 12px; }
.sales-lines { margin-bottom: 10px; overflow-x: auto; }
.sales-line-head,
.sales-line-row {
  min-width: 560px;
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) 70px 110px 110px;
  gap: 8px;
  align-items: center;
  text-align: right;
}
.sales-line-head { padding: 7px 8px; border-radius: 6px; background: #eef2f5; color: #697786; font-size: 10px; font-weight: 900; }
.sales-line-row { min-height: 54px; padding: 8px; border-bottom: 1px solid #e8edf1; color: #344054; font-size: 12px; }
.sales-line-row:last-child { border-bottom: 0; }
.sales-line-row > div { display: grid; gap: 3px; }
.sales-line-row > div strong { color: #17202a; }
.sales-line-row > div span { color: #7a8793; font-size: 10px; font-weight: 800; }
.sales-line-warning {
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff5e6;
  color: #9b6416 !important;
  font-size: 9px !important;
  font-weight: 950 !important;
}
.sales-reference-report .nova-row {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1fr) auto;
}
.sales-reference-report .missing-reference-count {
  background: #fff5e6;
  color: #9b6416;
  border-color: #f7d7a1;
}
.sales-money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.sales-money-grid > span {
  padding: 10px;
  border: 1px solid #e3e8ed;
  border-radius: 7px;
  background: #fff;
}
.sales-money-grid small { display: block; color: #758291; font-size: 10px; font-weight: 900; }
.sales-money-grid strong { display: block; margin-top: 5px; color: #17202a; font-size: 15px; }
.sales-money-grid strong.paid { color: #087443; }
.sales-money-grid strong.due { color: #9b6416; }
.sales-invoice-row {
  min-height: 48px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sales-invoice-row > div { display: grid; gap: 2px; }
.sales-invoice-row span { color: #7b8793; font-size: 10px; font-weight: 900; }
.sales-invoice-row strong { color: #17202a; font-size: 12px; }
.sales-payment-form {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #e2e8ed;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 7px;
  align-items: end;
}
.sales-paid-banner {
  margin-top: 9px;
  padding: 10px;
  border: 1px solid #bfe1cc;
  border-radius: 7px;
  background: #edf8f1;
  color: #087443;
}
.sales-paid-banner strong { display: block; font-size: 12px; }
.sales-paid-banner span { display: block; margin-top: 3px; font-size: 10px; font-weight: 800; }
.sales-receipts { margin-top: 10px; padding-top: 9px; border-top: 1px solid #e2e8ed; }
.sales-receipt,
.sales-communication,
.sales-history-row {
  min-height: 44px;
  padding: 7px 0;
  border-bottom: 1px solid #e8edf1;
  display: grid;
  align-items: center;
  gap: 7px;
}
.sales-receipt { grid-template-columns: minmax(0, 1fr) 70px 90px; }
.sales-receipt:last-child,
.sales-communication:last-child,
.sales-history-row:last-child { border-bottom: 0; }
.sales-receipt > div,
.sales-communication > div,
.sales-history-row > div { min-width: 0; display: grid; gap: 2px; }
.sales-receipt strong,
.sales-communication strong,
.sales-history-row strong { color: #344054; font-size: 11px; }
.sales-receipt span,
.sales-communication span,
.sales-history-row span { color: #7a8793; font-size: 9px; font-weight: 800; }
.sales-receipt > b { color: #087443; font-size: 11px; text-align: left; }
.sales-map {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 7px;
  background: #eef2f5;
}
.sales-map-empty {
  min-height: 140px;
  border: 1px dashed #c7d1da;
  border-radius: 7px;
  background: #f4f7f8;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 14px;
  text-align: center;
}
.sales-map-empty strong { color: #475467; font-size: 12px; }
.sales-map-empty span { color: #7b8793; font-size: 10px; font-weight: 800; }
.sales-location-meta {
  margin: 8px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.sales-location-meta span { min-width: 0; color: #697786; font-size: 10px; font-weight: 800; overflow-wrap: anywhere; }
.sales-location-meta b { display: block; margin-bottom: 2px; color: #344054; font-size: 10px; }
.sales-log-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sales-log-grid h4 { margin: 0 0 5px; color: #475467; font-size: 11px; }
.sales-communication { grid-template-columns: 32px minmax(0, 1fr) auto; }
.sales-channel {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #edf6f3;
  color: var(--green) !important;
  font-size: 9px !important;
  font-weight: 950 !important;
}
.sales-history-row { grid-template-columns: 10px minmax(0, 1fr) auto; }
.sales-history-row > i { width: 8px; height: 8px; border-radius: 50%; background: #617181; }
.sales-history-row > i.good { background: #087443; }
.sales-history-row > i.watch { background: #b7791f; }
.sales-history-row > i.risk { background: #b42318; }
.sales-history-row time { color: #7b8793; font-size: 9px; font-weight: 800; }
.sales-empty {
  min-height: 80px;
  padding: 16px;
  display: grid;
  place-content: center;
  gap: 5px;
  color: #7a8793;
  text-align: center;
  font-size: 11px;
  font-weight: 850;
}
.sales-empty.compact { min-height: 46px; padding: 8px; }
.sales-empty.large { min-height: 320px; }
.sales-empty strong { color: #344054; font-size: 14px; }
.sales-empty span { font-size: 11px; }

@media (min-width: 1280px) {
  .mobile-scroll {
    --mobile-gutter: clamp(28px, 3.8vw, 96px);
    width: 100%;
    padding-inline: var(--mobile-gutter);
  }
  .mobile-hero {
    min-height: clamp(560px, 54vh, 760px);
    margin-bottom: 24px;
  }
  .mobile-hero.compact {
    min-height: clamp(300px, 36vh, 440px);
  }
  .mobile-hero-title {
    font-size: clamp(46px, 4.4vw, 88px);
  }
  .scene-grid,
  .studio-grid-web,
  .contact-grid-web,
  .branch-list-web {
    gap: clamp(14px, 1.6vw, 22px);
  }
  .scene-card,
  .studio-tile {
    min-height: clamp(220px, 18vw, 320px);
  }
  .mobile-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
    justify-content: start;
  }
  .featured-strip .mobile-product-card {
    width: clamp(292px, 18vw, 360px);
    min-width: clamp(292px, 18vw, 360px);
  }
  .mobile-product-card img {
    max-height: 280px;
  }
  .mobile-bottom-nav {
    width: min(1200px, calc(100vw - 72px));
  }
}

@media (max-width: 1120px) {
  .mobile-product-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .kpi-grid, .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nova-grid, .nova-app-grid, .nova-builder-grid, .nova-tool-grid, .nova-volume-grid, .nova-market-grid, .nova-debug-header { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nova-workspace, .nova-hero { grid-template-columns: 1fr; }
  .nova-products-workspace { grid-template-columns: 1fr; }
  .product-preview-grid { grid-template-columns: 1fr; }
  .nova-products-list { position: static; }
  .nova-product-list-scroll { max-height: 440px; }
  .sales-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sales-operations { grid-template-columns: minmax(270px, 310px) minmax(0, 1fr); }
  .sales-detail-grid.wide { grid-template-columns: 1fr; }
  .sales-create-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nova-shell { grid-template-columns: 1fr; }
  .nova-sidebar {
    position: relative;
    height: auto;
    padding: 10px;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nova-brand { min-height: auto; padding-bottom: 10px; }
  .nova-nav {
    grid-template-columns: repeat(5, minmax(78px, 1fr));
    overflow-x: auto;
  }
  .nova-nav button { min-height: 46px; justify-content: center; padding: 0 8px; }
  .nova-nav button::before { width: 26px; height: 26px; }
  .nova-side-card { display: none; }
  .nova-topbar { position: relative; align-items: stretch; flex-direction: column; }
  .nova-command { width: 100%; min-width: 0; justify-content: flex-end; }
  .sales-operations { grid-template-columns: 1fr; }
  .sales-order-list { position: static; max-height: none; }
  .sales-order-list-scroll { max-height: 360px; }
  .sales-detail-grid.wide { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mobile-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-strip .mobile-product-card { width: 210px; min-width: 210px; }
  .scene-grid, .studio-grid-web, .contact-grid-web, .branch-list-web, .checkout-form-web { grid-template-columns: 1fr; }
  .tracking-form-web { grid-template-columns: 1fr; }
  .tracking-form-web .checkout-button { width: 100%; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-media { height: 330px; }
  .modal-sheet-web { grid-template-columns: 1fr; overflow: auto; }
  .modal-media { min-height: 300px; }
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
    padding: 6px;
    border-left: 0;
    border-bottom: 1px solid var(--odoo-border);
  }
  .side-brand { display: none; }
  .side-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: auto;
  }
  .side-tabs button { min-width: 76px; }
  .odoo-control-panel { align-items: stretch; flex-direction: column; }
  .odoo-search-tools { justify-content: stretch; }
  .odoo-search-tools .search-input { width: 100%; }
  .nova-shell { grid-template-columns: 1fr; }
  .nova-sidebar { position: relative; height: auto; padding: 10px; }
  .nova-brand { min-height: auto; padding-bottom: 10px; }
  .nova-nav { grid-template-columns: repeat(5, minmax(78px, 1fr)); overflow-x: auto; }
  .nova-nav button { min-height: 46px; justify-content: center; padding: 0 8px; }
  .nova-nav button::before { width: 26px; height: 26px; }
  .nova-side-card { display: none; }
  .nova-topbar { position: relative; align-items: stretch; flex-direction: column; }
  .nova-command { width: 100%; min-width: 0; justify-content: flex-end; }
  .nova-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nova-panel-head { align-items: flex-start; flex-direction: column; }
  .nova-panel-head.has-collapse {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
  }
  .nova-panel-head.has-collapse > h2 {
    grid-column: 1;
    grid-row: 1;
  }
  .nova-panel-head.has-collapse > :not(h2):not(.nova-panel-collapse) {
    grid-column: 1 / -1;
    width: 100%;
  }
  .nova-panel-head.has-collapse > .nova-panel-collapse {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .sales-operations { grid-template-columns: 1fr; }
  .sales-order-list { position: static; max-height: none; }
  .sales-order-list-scroll { max-height: 360px; }
  .sales-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-create-form .wide { grid-column: span 2; }
  .sales-assignment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-assignment-form .nova-btn { grid-column: 1 / -1; width: 100%; }
  .sales-payment-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sales-payment-form .nova-btn { grid-column: 1 / -1; width: 100%; }
  .sales-bulk-toolbar { align-items: stretch; flex-direction: column; }
  .sales-bulk-toolbar > div:last-child { width: 100%; flex-wrap: wrap; }
  .sales-bulk-toolbar select { flex: 1 1 180px; }
  .sales-kanban { grid-auto-columns: minmax(240px, 42vw); }
}
@media (max-width: 620px) {
  .mobile-logo { width: 132px; }
  .mobile-hero { min-height: 440px; }
  .mobile-hero-copy {
    min-width: 0;
    max-width: 100%;
    justify-items: stretch;
    overflow: hidden;
  }
  .mobile-location-pill,
  .hero-dots-web {
    width: max-content;
    max-width: 100%;
    justify-self: end;
  }
  .hero-search-web {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
  .mobile-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-actions .mobile-primary,
  .mobile-actions .mobile-ghost {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
  }
  .mobile-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline-web { grid-template-columns: 1fr; }
  .mobile-bottom-nav {
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 7px;
    right: 7px;
    width: auto;
    transform: none;
    min-height: 62px;
    border-radius: 22px;
    padding: 6px;
  }
  .product-detail-footer {
    left: 7px;
    right: 7px;
    width: auto;
    transform: none;
    min-height: 70px;
    border-radius: 22px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + 74px);
  }
  .product-detail-footer .modal-add {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }
  .hero-search-web { min-height: 48px; grid-template-columns: minmax(0, 1fr) 38px; padding: 4px 5px 4px 12px; border-radius: 16px; }
  .hero-search-web input { height: 38px; font-size: 13px; }
  .hero-search-web button { width: 38px; height: 38px; border-radius: 12px; }
  .catalog-search { min-height: 48px; grid-template-columns: minmax(0, 1fr) 36px; margin-top: 14px; }
  .cart-prompt-sheet { grid-template-columns: 46px minmax(0, 1fr); padding: 16px; }
  .cart-prompt-check { width: 46px; height: 46px; }
  .cart-prompt-actions { grid-template-columns: 1fr; }
  .tracking-steps-web { overflow: visible; grid-template-columns: 1fr; padding-bottom: 0; }
  .tracking-step-web { min-height: 46px; grid-template-columns: 24px minmax(0,1fr); justify-items: start; align-content: center; text-align: right; }
  .tracking-step-web i { grid-column: 1; grid-row: 1; }
  .tracking-step-web span { grid-column: 2; grid-row: 1; }
  .tracking-order-head, .tracking-summary-web { align-items: flex-start; flex-direction: column; }
  .auth-form-web { grid-template-columns: 1fr; }
  .account-summary-web { grid-template-columns: 40px minmax(0,1fr); }
  .account-summary-web button { grid-column: 1 / -1; width: 100%; }
  .account-section-nav-web { gap: 4px; padding: 4px; }
  .account-section-nav-web button {
    min-height: 52px;
    padding: 5px 2px;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    line-height: 1.1;
  }
  .account-section-nav-web button svg { width: 16px; height: 16px; }
  .account-section-nav-web button b { top: 3px; left: 3px; }
  .account-section-view-web { min-height: 320px; }
  .account-profile-details-web { grid-template-columns: 1fr; }
  .account-required-web { min-height: 260px; padding: 20px; }
  .order-success-web { grid-template-columns: 38px minmax(0,1fr); }
  .order-success-web a { grid-column: 1 / -1; text-align: center; }
  .order-card-actions-web { display: grid; grid-template-columns: 1fr; }
  .order-history-toggle {
    min-height: 80px;
    grid-template-columns: minmax(0, 1fr) auto 30px;
    gap: 8px;
    padding: 12px;
  }
  .order-banner-summary { display: none; }
  .order-banner-status { min-width: 82px; padding-inline: 8px; }
  .order-expand-icon { width: 30px; height: 30px; }
  .invoice-link-web { width: 100%; }
  .order-payment-web { grid-template-columns: 1fr; }
  .payment-progress-web { grid-column: auto; }
  .live-delivery-map { aspect-ratio: 4/3; min-height: 250px; }
  .notifications-head-web { align-items: flex-start; flex-direction: column; }
  .notifications-head-web button { width: 100%; }
  .notification-item-web { grid-template-columns: 32px minmax(0,1fr); }
  .notification-item-web time { grid-column: 2; }
  .mobile-tab { min-height: 50px; font-size: 10.5px; }
  .mobile-bottom-nav.product-context .cart-added-notice { bottom: calc(100% + 92px); }
  .product-modal-web { padding: 10px; }
  .modal-sheet-web { max-height: calc(100vh - 20px); }
  .admin-page { padding: 10px; }
  .kpi-grid, .app-grid { grid-template-columns: 1fr; }
  .topbar { align-items: stretch; min-height: auto; padding: 8px; flex-direction: column; }
  .odoo-top-links { width: 100%; }
  .nova-page { padding: 10px; }
  .nova-sidebar { padding: 6px; }
  .nova-brand {
    min-height: 38px;
    margin-bottom: 6px;
    padding: 0 4px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .nova-brand img { width: 96px; height: 40px; }
  .nova-brand span { font-size: 9px; }
  .nova-user-summary { display: none; }
  .nova-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }
  .nova-nav button {
    min-width: 0;
    min-height: 48px;
    padding: 3px 2px;
    flex-direction: column;
    gap: 2px;
    font-size: 9px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .nova-nav button::before {
    width: 21px;
    height: 21px;
    border-radius: 6px;
    font-size: 8px;
  }
  .nova-grid, .nova-app-grid, .nova-builder-grid, .nova-tool-grid, .nova-volume-grid, .nova-market-grid, .nova-debug-header, .nova-hero-kpis, .nova-product-grid { grid-template-columns: 1fr; }
  /* KPI cards are short and numeric. One per row pushed the actual content of
     every admin page below the fold on a phone, so they stay two across. */
  .nova-grid.inventory-kpis,
  .nova-grid.nova-appointment-kpis,
  .nova-grid.nova-support-kpis,
  .nova-hero-kpis,
  .nova-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nova-table { overflow: visible; }
  .nova-row { grid-template-columns: 1fr; min-width: 0; align-items: start; }
  .nova-payment-entry,.nova-payment-entry.settled { grid-template-columns: 1fr; width: 100%; }
  .nova-form, .nova-form .wide { grid-template-columns: 1fr; grid-column: auto; }
  .nova-user-meta { grid-template-columns: 1fr; }
  .nova-user-foot { align-items: stretch; flex-direction: column; }
  .nova-audit-row { grid-template-columns: 1fr; align-items: start; }
  .nova-search-wrap { flex-basis: 100%; order: 10; min-width: 0; }
  .nova-icon-btn { order: 3; }
  .nova-variants-head { display: none; }
  .nova-variant-editor, .nova-product-extra { grid-template-columns: 1fr; }
  .nova-category-create,
  .nova-category-editor { grid-template-columns: 1fr; }
  .nova-category-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nova-category-actions .nova-btn { width: 100%; }
  .nova-variant-remove { width: 100%; }
  .nova-color-fields { grid-template-columns: 1fr; }
  .nova-product-list-row { grid-template-columns: 50px minmax(0, 1fr); }
  .nova-product-list-row img { width: 50px; height: 48px; }
  .nova-product-list-row > b { grid-column: 2; text-align: right; }
  .product-wizard-steps { grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); grid-template-columns: none; }
  .product-wizard-fields { grid-template-columns: 1fr; }
  .product-wizard-fields .full { grid-column: auto; }
  .product-live-preview-strip {
    grid-template-columns: 58px minmax(0, 1fr);
    margin-inline: 8px;
  }
  .product-live-preview-strip img { width: 58px; height: 52px; }
  .product-live-preview-strip small {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: right;
  }
  .product-wizard-actions { grid-template-columns: 1fr 1fr; }
  .product-wizard-actions .nova-btn:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .product-stock-row { grid-template-columns: 1fr; min-width: 0; }
  .sales-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-kpis article:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sales-kpis article { min-height: 78px; padding: 11px; }
  .sales-kpis article strong { font-size: 19px; overflow-wrap: anywhere; }
  .sales-toolbar { align-items: stretch; flex-direction: column; }
  .sales-toolbar > div { width: 100%; }
  .sales-toolbar > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-toolbar select { flex: 1 1 140px; width: 100%; min-width: 0; }
  .sales-toolbar .nova-btn { width: 100%; }
  .sales-view-switch { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sales-view-switch button { width: 100%; min-height: 40px; }
  .inventory-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inventory-tabs button { padding: 0 6px; }
  .inventory-toolbar > div:last-child { grid-template-columns: 1fr; }
  .inventory-toolbar select { width: 100%; min-width: 0; }
  .inventory-movement-row { min-width: 0; }
  .inventory-transfer-card footer { align-items: stretch; flex-direction: column; }
  .inventory-transfer-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-transfer-actions .nova-btn { width: 100%; }
  .sales-bulk-toolbar > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .sales-bulk-toolbar select { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .sales-bulk-toolbar .nova-btn { width: 100%; }
  .sales-create-form { grid-template-columns: 1fr; }
  .sales-create-form .wide { grid-column: auto; }
  .sales-create-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-order-detail { padding: 10px; }
  .sales-table-panel { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .sales-table-head { display: none; }
  .sales-table-row {
    min-width: 0;
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #fff;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .sales-table-row > .sales-row-check { grid-column: 1; grid-row: 1; }
  .sales-table-row > .sales-table-order { grid-column: 2; grid-row: 1; }
  .sales-table-row > div { grid-column: 2 / -1; }
  .sales-table-row > span { grid-column: 2; }
  .sales-table-row > em { grid-column: 3; grid-row: 1; }
  .sales-table-row > strong { grid-column: 2; }
  .sales-table-row > .nova-btn { grid-column: 2 / -1; width: 100%; }
  .sales-kanban { grid-auto-columns: minmax(250px, 86vw); }
  .sales-kanban-column-scroll { max-height: none; }
  .sales-detail-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .sales-detail-tabs button { min-width: 96px; flex: 1 0 96px; }
  .nova-page :is(span, time, small, label, em, b, strong),
  .nova-sidebar :is(span, button) {
    font-size: max(11px, 1em);
  }
  .nova-page input:not([type="checkbox"]):not([type="radio"]),
  .nova-page select,
  .nova-page textarea {
    min-height: 44px;
  }
  .nova-page label:has(input[type="checkbox"]),
  .nova-page label:has(input[type="radio"]) {
    min-height: 44px;
    align-items: center;
  }
  .nova-page input[type="checkbox"],
  .nova-page input[type="radio"] {
    width: 22px;
    height: 22px;
  }
  .nova-asset-primary {
    min-height: 44px;
    font-size: 11px;
  }
  .nova-support-ticket b,
  .nova-support-ticket time,
  .nova-support-ticket em,
  .nova-support-detail-head span,
  .nova-support-reference,
  .nova-support-settings label,
  .nova-user-card h3 small {
    font-size: 11px;
  }
  .nova-support-workspace a[href^="tel:"],
  .nova-support-workspace a[href^="mailto:"] {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .sales-order-head { align-items: stretch; flex-direction: column; }
  .sales-order-head-actions { display: grid; grid-template-columns: 1fr; }
  .sales-order-head-actions .nova-select,
  .sales-order-head-actions .nova-btn { width: 100%; }
  .sales-timeline { overflow: visible; grid-template-columns: 1fr; padding: 5px 0 8px; }
  .sales-timeline-step { min-height: 50px; grid-template-columns: 24px minmax(0,1fr); justify-items: start; text-align: right; }
  .sales-timeline-step i { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .sales-timeline-step strong,
  .sales-timeline-step span { grid-column: 2; }
  .sales-timeline-step strong { font-size: 11px; }
  .sales-timeline-step span { font-size: 11px; overflow-wrap: anywhere; }
  .sales-customer a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .sales-detail-grid,
  .sales-log-grid { grid-template-columns: 1fr; }
  .sales-assignment-form,
  .sales-payment-form { grid-template-columns: 1fr; }
  .sales-assignment-form .nova-btn,
  .sales-payment-form .nova-btn { grid-column: auto; }
  .sales-money-grid { grid-template-columns: 1fr; }
  .sales-invoice-row { align-items: stretch; flex-direction: column; }
  .sales-invoice-row .nova-btn { width: 100%; }
  .sales-location-meta { grid-template-columns: 1fr; }
  .sales-map { height: 250px; }
  .sales-delivery .nova-actions { display: grid; grid-template-columns: 1fr; }
  .sales-delivery .nova-actions .nova-btn { width: 100%; }
  .sales-receipt { grid-template-columns: minmax(0, 1fr) 64px 78px; }
  .sales-lines { overflow: visible; }
  .sales-line-head { display: none; }
  .sales-line-row {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 0;
  }
  .sales-line-row > div { grid-column: 1 / -1; }
  .sales-line-row > div span { font-size: 11px; }
  .sales-line-row > span,
  .sales-line-row > strong {
    min-width: 0;
    padding: 7px 4px;
    border-radius: 6px;
    background: #f0f4f6;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .sales-line-row > span:nth-child(2)::before,
  .sales-line-row > span:nth-child(3)::before,
  .sales-line-row > strong:nth-child(4)::before {
    display: block;
    margin-bottom: 3px;
    color: #7a8793;
    font-size: 11px;
    font-weight: 900;
  }
  .sales-channel { font-size: 11px !important; }
  .sales-line-row > span:nth-child(2)::before { content: "الكمية"; }
  .sales-line-row > span:nth-child(3)::before { content: "السعر"; }
  .sales-line-row > strong:nth-child(4)::before { content: "الإجمالي"; }
}
@media (max-width: 380px) {
  .mobile-scroll { --mobile-gutter: 12px; padding-left: var(--mobile-gutter); padding-right: var(--mobile-gutter); }
  .mobile-product-grid { grid-template-columns: 1fr; }
  .mobile-hero { min-height: 390px; }
  .mobile-product-card img { max-height: 220px; }
  .mobile-bottom-nav { left: 5px; right: 5px; }
  .product-detail-media { height: 280px; }
  .product-detail-footer { left: 5px; right: 5px; }
  .mobile-tab span { font-size: 11px; }
  .nova-nav { gap: 5px; }
  .nova-nav button { font-size: 11px; }
}

.nova-support-workspace {
  display: grid;
  grid-template-columns: minmax(260px,330px) minmax(0,1fr);
  gap: 12px;
  direction: rtl;
}
.nova-support-list { padding: 10px; align-self: start; position: sticky; top: 92px; max-height: calc(100vh - 114px); overflow-y: auto; }
.nova-support-ticket {
  width: 100%;
  padding: 12px;
  display: grid;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f8fafc;
  color: #273b37;
  text-align: right;
  cursor: pointer;
}
.nova-support-ticket + .nova-support-ticket { margin-top: 7px; }
.nova-support-ticket:hover,
.nova-support-ticket.active { border-color: #a9c6bf; background: #fff; box-shadow: 0 3px 13px rgba(6,61,54,.08); }
.nova-support-ticket > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nova-support-ticket b { border-radius: 999px; padding: 4px 8px; background: #e6efec; color: #245047; font-size: 10px; }
.nova-support-ticket b.priority-urgent { background: #fff1cf; color: #815600; }
.nova-support-ticket b.priority-critical { background: #fee5e5; color: #a12626; }
.nova-support-ticket time { color: #788984; font-size: 10px; }
.nova-support-ticket strong,
.nova-support-ticket small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nova-support-ticket strong { color: #172e29; font-size: 13px; }
.nova-support-ticket small { color: #667873; }
.nova-support-ticket em { color: #086055; font-size: 10px; font-style: normal; font-weight: 900; }
.nova-support-main { padding: 0; overflow: hidden; }
.nova-support-detail-head { padding: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid #e1e9e7; }
.nova-support-detail-head span { color: #6c7e79; font-size: 10px; font-weight: 900; }
.nova-support-detail-head h2 { margin: 4px 0 6px; color: #17342e; font-size: 20px; }
.nova-support-detail-head small { color: #687a75; line-height: 1.7; overflow-wrap: anywhere; }
.nova-support-detail-head a { color: #086055; font-weight: 850; }
.nova-support-settings { padding: 12px 16px; display: grid; grid-template-columns: repeat(4,minmax(120px,1fr)) auto; gap: 8px; border-bottom: 1px solid #e1e9e7; background: #f8faf9; }
.nova-support-settings label { min-width: 0; display: grid; gap: 5px; color: #61736e; font-size: 10px; font-weight: 900; }
.nova-support-settings select,
.nova-support-call-editor input,
.nova-support-call-editor select { width: 100%; min-width: 0; min-height: 40px; border: 1px solid #cdd9d6; border-radius: 8px; background: #fff; color: #223b35; padding: 0 10px; font: inherit; direction: rtl; text-align: right; }
.nova-support-settings .nova-btn { align-self: end; }
.nova-support-reference { padding: 9px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-bottom: 1px solid #edf1f0; color: #667873; font-size: 10px; }
.nova-support-messages { min-height: 300px; max-height: 500px; }
.nova-support-calls { padding: 12px 16px; border-top: 1px solid #e1e9e7; }
.nova-support-calls h3 { margin: 0 0 8px; color: #26443d; font-size: 13px; }
.nova-support-call-editor { margin: 0 16px 16px; border: 1px solid #d9e3e0; border-radius: 8px; }
.nova-support-call-editor summary { min-height: 44px; padding: 10px 12px; color: #07594f; font-weight: 900; cursor: pointer; }
.nova-support-call-editor form { padding: 10px; display: grid; grid-template-columns: repeat(4,minmax(110px,1fr)); gap: 8px; border-top: 1px solid #dfe7e5; }
.nova-support-call-editor .wide { grid-column: span 3; }
.nova-support-empty { min-height: 480px; padding: 24px; display: grid; place-content: center; gap: 6px; color: #6e7f7a; text-align: center; }
.nova-support-empty strong { color: #234139; }
.nova-support-empty.compact { min-height: 140px; }
@media (max-width: 1180px) {
  .nova-support-settings { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nova-support-settings .nova-btn { grid-column: 1 / -1; }
  .nova-support-call-editor form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nova-support-call-editor .wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nova-support-workspace { grid-template-columns: 1fr; }
  .nova-support-list { position: static; max-height: 360px; }
}
@media (max-width: 620px) {
  .nova-support-settings,
  .nova-support-call-editor form { grid-template-columns: 1fr; }
  .nova-support-settings .nova-btn,
  .nova-support-call-editor .wide { grid-column: auto; }
  .nova-support-detail-head { flex-direction: column; }
}

.support-center-web {
  margin: 22px 0;
  border: 1px solid rgba(6,61,54,.12);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  direction: rtl;
  text-align: right;
}
.support-center-head-web {
  min-height: 76px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e2ebe8;
  background: #f7faf9;
}
.support-center-head-web span { display: block; color: #71817d; font-size: 11px; font-weight: 850; }
.support-center-head-web h2 { margin: 3px 0 0; color: var(--green); font-size: 20px; }
.support-ticket-form-web { padding: 16px; border-bottom: 1px solid #e2ebe8; background: #fbfcfc; }
.support-form-grid-web { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.support-form-grid-web label { min-width: 0; display: grid; gap: 6px; color: #42534f; font-size: 12px; font-weight: 850; }
.support-form-grid-web label.wide { grid-column: 1 / -1; }
.support-form-grid-web input,
.support-form-grid-web select,
.support-form-grid-web textarea,
.support-reply-web textarea,
.support-call-request-web input {
  width: 100%;
  min-width: 0;
  border: 1px solid #ccd9d5;
  border-radius: 8px;
  background: #fff;
  color: #18322d;
  padding: 11px 12px;
  font: inherit;
  direction: rtl;
  text-align: right;
  outline: none;
}
.support-form-grid-web textarea,
.support-reply-web textarea { resize: vertical; line-height: 1.7; }
.support-form-grid-web input:focus,
.support-form-grid-web select:focus,
.support-form-grid-web textarea:focus,
.support-reply-web textarea:focus,
.support-call-request-web input:focus { border-color: #0a665a; box-shadow: 0 0 0 3px rgba(10,102,90,.1); }
.support-form-actions-web { margin-top: 12px; display: flex; justify-content: flex-start; gap: 8px; }
.support-workspace-web { min-height: 470px; display: grid; grid-template-columns: minmax(230px,300px) minmax(0,1fr); direction: rtl; }
.support-ticket-list-web { padding: 10px; display: grid; align-content: start; gap: 7px; border-left: 1px solid #e2ebe8; background: #f7faf9; }
.support-ticket-row-web {
  width: 100%;
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #263b37;
  text-align: right;
  cursor: pointer;
}
.support-ticket-row-web:hover,
.support-ticket-row-web.active { border-color: #bfd3cd; background: #fff; box-shadow: 0 4px 16px rgba(6,61,54,.06); }
.support-ticket-row-web > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.support-ticket-row-web b,
.support-meta-web span { border-radius: 999px; padding: 4px 8px; background: #e8efed; color: #36504a; font-size: 10px; font-style: normal; }
.support-ticket-row-web b.priority-urgent,
.support-meta-web .priority-urgent { background: #fff2d7; color: #8a5c00; }
.support-ticket-row-web b.priority-critical,
.support-meta-web .priority-critical { background: #fee7e7; color: #a42424; }
.support-ticket-row-web time { color: #7a8b87; font-size: 10px; }
.support-ticket-row-web strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.support-ticket-row-web small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6c7c78; }
.support-ticket-row-web em { color: #0a665a; font-size: 10px; font-style: normal; font-weight: 900; }
.support-list-empty-web { padding: 28px 12px; color: #788884; text-align: center; font-size: 12px; }
.support-conversation-web { min-width: 0; display: flex; flex-direction: column; }
.support-conversation-web > header { padding: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e2ebe8; }
.support-conversation-web > header span { color: #71817d; direction: ltr; font-size: 10px; font-weight: 900; }
.support-conversation-web > header h3 { margin: 4px 0 0; color: #17352f; font-size: 17px; overflow-wrap: anywhere; }
.support-status { flex: 0 0 auto; border-radius: 999px; padding: 6px 9px; background: #e8efed; color: #37504b; font-size: 10px; }
.support-status.open { background: #e5f2ee; color: #07594f; }
.support-status.waiting_customer { background: #fff2d7; color: #855900; }
.support-status.resolved { background: #e6f4e9; color: #20662f; }
.support-status.closed { background: #eceff1; color: #66737a; }
.support-meta-web { padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #edf2f0; }
.support-messages-web { min-height: 230px; max-height: 520px; padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; background: #fbfcfc; }
.support-message-web { width: min(78%,620px); padding: 10px 12px; border-radius: 8px; background: #e7f1ee; align-self: flex-start; }
.support-message-web.employee { background: #fff; border: 1px solid #dce7e3; align-self: flex-end; }
.support-message-web.system { width: min(90%,720px); padding: 8px 10px; align-self: center; background: #f0f2f2; text-align: center; }
.support-message-web > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.support-message-web strong { color: #074f46; font-size: 11px; }
.support-message-web time { color: #7d8c88; font-size: 9px; }
.support-message-web p { margin: 6px 0 0; color: #253d38; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-calls-web { padding: 12px 16px; border-top: 1px solid #e2ebe8; }
.support-calls-web h4 { margin: 0 0 8px; color: #36504a; font-size: 12px; }
.support-call-web { padding: 9px; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 9px; border: 1px solid #e0e9e6; border-radius: 8px; }
.support-call-web + .support-call-web { margin-top: 6px; }
.support-call-web > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e5f1ed; color: #086055; }
.support-call-web svg { width: 16px; height: 16px; }
.support-call-web strong,
.support-call-web span,
.support-call-web small { display: block; }
.support-call-web span,
.support-call-web small { margin-top: 3px; color: #6b7c77; font-size: 10px; }
.support-reply-web { padding: 12px 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; border-top: 1px solid #e2ebe8; }
.support-reply-web button { min-width: 100px; }
.support-call-request-web { margin: 0 16px 16px; border: 1px solid #dce7e3; border-radius: 8px; background: #fff; }
.support-call-request-web summary { min-height: 42px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; color: #07594f; font-weight: 900; cursor: pointer; }
.support-call-request-web summary svg { width: 17px; height: 17px; }
.support-call-request-web form { padding: 10px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; gap: 8px; border-top: 1px solid #e2ebe8; }
.support-empty-web { min-height: 470px; padding: 28px; display: grid; place-items: center; align-content: center; gap: 8px; color: #73837f; text-align: center; }
.support-empty-web svg { width: 36px; height: 36px; color: #0a665a; }
.support-empty-web strong { color: #17352f; }
.support-closed-web { margin: 12px 16px 16px; padding: 11px; border-radius: 8px; background: #f1f3f3; color: #64726f; text-align: center; font-size: 11px; font-weight: 800; }
@media (max-width: 820px) {
  .support-workspace-web { grid-template-columns: 1fr; }
  .support-ticket-list-web { grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); border-left: 0; border-bottom: 1px solid #e2ebe8; }
  .support-empty-web { min-height: 300px; }
}
@media (max-width: 620px) {
  .nova-support-ticket b,
  .nova-support-ticket time,
  .nova-support-ticket em,
  .nova-support-detail-head span,
  .nova-support-detail-head small,
  .nova-support-reference,
  .nova-support-settings label,
  .support-call-web span,
  .support-call-web small {
    font-size: 11px;
  }
  .nova-support-detail-head a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .support-center-head-web { align-items: stretch; flex-direction: column; }
  .support-center-head-web button { width: 100%; }
  .support-form-grid-web { grid-template-columns: 1fr; }
  .support-form-grid-web label.wide { grid-column: auto; }
  .support-form-actions-web { display: grid; grid-template-columns: 1fr; }
  .support-ticket-list-web { grid-template-columns: 1fr; }
  .support-conversation-web > header { flex-direction: column; }
  .support-message-web { width: 92%; }
  .support-reply-web { grid-template-columns: 1fr; }
  .support-reply-web button { width: 100%; }
  .support-call-request-web form { grid-template-columns: 1fr; }
}

.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #e8efec;
}
.admin-login-shell {
  width: min(980px, 100%);
  min-height: min(680px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  overflow: hidden;
  border: 1px solid rgba(5, 63, 55, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 28px 90px rgba(5, 33, 29, .16);
}
.admin-login-visual { position: relative; min-height: 100%; overflow: hidden; }
.admin-login-visual > img { width: 100%; height: 100%; object-fit: cover; }
.admin-login-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 35, 31, .16), rgba(2, 35, 31, .76)); }
.admin-login-visual > div { position: absolute; z-index: 1; inset: auto 36px 36px; }
.admin-login-logo { width: 190px; }
.admin-login-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 64px); }
.admin-login-heading img { width: 150px; margin-bottom: 34px; }
.admin-login-heading h1 { margin: 0 0 10px; color: var(--green); font-size: clamp(28px, 4vw, 42px); }
.admin-login-heading p { margin: 0 0 34px; color: var(--body); line-height: 1.8; }
.admin-login-form { display: grid; gap: 18px; }
.admin-login-form label { display: grid; gap: 8px; color: var(--green); font-weight: 750; }
.admin-login-form input { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid rgba(5, 63, 55, .18); border-radius: 6px; background: #fff; outline: none; }
.admin-login-form input:focus { border-color: var(--green-soft); box-shadow: 0 0 0 3px rgba(13, 107, 96, .12); }
.admin-login-form button { min-height: 52px; border: 0; border-radius: 6px; color: #fff; background: var(--green); font-weight: 800; }
.admin-login-form button:disabled { opacity: .58; cursor: wait; }
#admin-login-error { min-height: 22px; margin: 0; color: #a22828; font-weight: 700; }
.admin-login-back { margin-top: 12px; color: var(--green-soft); font-weight: 750; }
@media (max-width: 760px) {
  .admin-login-body { padding: 0; }
  .admin-login-shell { min-height: 100vh; grid-template-columns: 1fr; border: 0; border-radius: 0; }
  .admin-login-visual { min-height: 230px; max-height: 32vh; }
  .admin-login-visual > div { inset: auto 24px 24px; }
  .admin-login-panel { padding: 30px 22px 40px; }
  .admin-login-heading img { width: 126px; margin-bottom: 20px; }
}

.measurement-page-web { padding-bottom: 120px; }
.screen-heading-web {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.screen-heading-web > button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #d9e5e1;
  border-radius: 50%;
  color: #083f37;
  background: #fff;
  font-size: 20px;
}
.screen-heading-web span,
.measurement-form-head span {
  color: #6f807b;
  font-size: 11px;
  font-weight: 800;
}
.screen-heading-web h1,
.measurement-form-head h2 { margin: 3px 0 0; color: #073f37; }
.measurement-form-web,
.measurement-list-web,
.measurement-auth-web {
  border: 1px solid #dce8e4;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 44px rgba(6, 56, 48, .08);
}
.measurement-form-web { padding: clamp(16px, 3vw, 28px); }
.measurement-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.measurement-form-head p { margin: 8px 0 0; color: #667873; font-size: 12px; line-height: 1.7; }
.measurement-form-head > a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #bad1ca;
  border-radius: 7px;
  color: #07594f;
  font-weight: 900;
  white-space: nowrap;
}
.measurement-form-head svg { width: 16px; height: 16px; }
.measurement-fields-web {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.measurement-fields-web label { display: grid; gap: 7px; color: #254b44; font-size: 11px; font-weight: 850; }
.measurement-fields-web label.wide { grid-column: 1 / -1; }
.measurement-fields-web input,
.measurement-fields-web select,
.measurement-fields-web textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d5e2de;
  border-radius: 6px;
  color: #173d36;
  background: #fbfdfc;
  outline: none;
}
.measurement-fields-web textarea { min-height: 90px; resize: vertical; }
.measurement-fields-web input:focus,
.measurement-fields-web select:focus,
.measurement-fields-web textarea:focus {
  border-color: #157264;
  box-shadow: 0 0 0 3px rgba(21, 114, 100, .1);
}
.measurement-submit-web {
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #07594f;
  font-weight: 900;
}
.measurement-submit-web:disabled { opacity: .58; cursor: wait; }
.measurement-list-web { margin-top: 18px; padding: 18px; }
.measurement-card-web {
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #dce7e3;
  border-radius: 7px;
  background: #fff;
}
.measurement-card-web.cancelled { opacity: .68; }
.measurement-card-web > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.measurement-card-web > header strong { color: #123f37; }
.measurement-card-web > header small { display: block; margin-top: 4px; color: #7a8985; direction: ltr; text-align: right; }
.measurement-status-web,
.nova-appointment-item em,
.nova-appointment-detail > header > b {
  padding: 5px 8px;
  border-radius: 999px;
  color: #07594f;
  background: #e2f0ec;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}
.measurement-meta-web {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.measurement-meta-web > span { padding: 9px; border-radius: 6px; background: #f4f8f6; }
.measurement-meta-web small { display: block; color: #778682; font-size: 9px; }
.measurement-meta-web strong { display: block; margin-top: 4px; color: #244c44; font-size: 11px; line-height: 1.5; }
.measurement-history-web { margin-top: 12px; border-top: 1px solid #e6ecea; }
.measurement-history-web summary { padding-top: 11px; color: #07594f; font-size: 11px; font-weight: 900; cursor: pointer; }
.measurement-history-web ol { margin: 10px 0 0; padding: 0 18px 0 0; color: #60736e; font-size: 10px; line-height: 1.8; }
.measurement-auth-web { padding: 20px; text-align: right; }
.measurement-auth-web h2 { margin: 0; color: #073f37; }
.measurement-auth-web > p { color: #657771; }

.nova-notification-wrap { position: relative; }
.nova-notification-button {
  position: relative;
  width: auto !important;
  min-width: 76px;
  padding: 0 12px !important;
  gap: 6px;
  font-size: 11px;
}
.nova-notification-button b {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #ba3b34;
  font-size: 9px;
}
.nova-notification-button.active { border-color: #07594f; background: #e9f2ef; }
.nova-notifications-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 9px);
  left: 0;
  width: min(390px, calc(100vw - 28px));
  max-height: min(620px, 72vh);
  overflow: auto;
  border: 1px solid #d5e3df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(5, 45, 39, .2);
}
.nova-notifications-head {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e2eae7;
  background: rgba(255, 255, 255, .96);
}
.nova-notifications-head strong,
.nova-notifications-head span { display: block; }
.nova-notifications-head strong { color: #073f37; }
.nova-notifications-head span { margin-top: 3px; color: #788682; font-size: 9px; }
.nova-notifications-head button {
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid #c9d9d4;
  border-radius: 6px;
  color: #07594f;
  background: #fff;
  font-size: 9px;
  font-weight: 850;
}
.nova-notification-row {
  width: 100%;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  border: 0;
  border-bottom: 1px solid #edf1ef;
  color: #25473f;
  background: #fff;
  text-align: right;
}
.nova-notification-row.unread { background: #edf7f3; }
.nova-notification-row > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #07594f;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.nova-notification-row strong,
.nova-notification-row small,
.nova-notification-row time { display: block; }
.nova-notification-row small { margin-top: 4px; color: #61736e; line-height: 1.55; }
.nova-notification-row time { margin-top: 5px; color: #899591; font-size: 8px; }
.nova-notification-empty { padding: 28px 16px; color: #73827e; text-align: center; }

.nova-appointment-kpis { margin-bottom: 18px; }
.nova-appointment-workspace {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 16px;
}
.nova-appointment-list { align-self: start; max-height: 760px; overflow: auto; }
.nova-appointment-item {
  width: 100%;
  padding: 12px;
  display: grid;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid #e7eeeb;
  color: #284b44;
  background: transparent;
  text-align: right;
}
.nova-appointment-item:hover,
.nova-appointment-item.active { background: #eaf4f1; }
.nova-appointment-item > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.nova-appointment-item time { color: #7c8b87; font-size: 9px; }
.nova-appointment-item small { color: #687974; }
.nova-appointment-item em { justify-self: start; }
.nova-appointment-detail { padding: clamp(15px, 2.4vw, 26px); }
.nova-appointment-detail > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e1e9e6;
}
.nova-appointment-detail > header span,
.nova-appointment-detail > header small { color: #788783; font-size: 10px; }
.nova-appointment-detail > header h2 { margin: 5px 0; color: #073f37; font-size: 23px; direction: ltr; text-align: right; }
.nova-appointment-contact {
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nova-appointment-contact span,
.nova-appointment-contact strong,
.nova-appointment-contact small { display: block; }
.nova-appointment-contact span { color: #7c8985; font-size: 10px; }
.nova-appointment-contact strong { margin: 4px 0; color: #173f38; font-size: 16px; }
.nova-appointment-contact small { margin-top: 3px; color: #657570; }
.nova-appointment-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.nova-appointment-address { padding: 13px; border-radius: 7px; background: #f1f6f4; }
.nova-appointment-address span { display: block; color: #788984; font-size: 9px; }
.nova-appointment-address strong { display: block; margin-top: 4px; color: #214a42; }
.nova-appointment-address p { margin: 8px 0 0; color: #5e706b; line-height: 1.7; }
.nova-appointment-form {
  margin-top: 16px;
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid #dce7e3;
  border-radius: 7px;
}
.nova-appointment-form label { display: grid; gap: 6px; color: #34564f; font-size: 10px; font-weight: 850; }
.nova-appointment-form label.wide,
.nova-appointment-form .wide { grid-column: 1 / -1; }
.nova-appointment-form input,
.nova-appointment-form select,
.nova-appointment-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #d4e0dc;
  border-radius: 5px;
  color: #173f38;
  background: #fff;
}
.nova-appointment-form textarea { resize: vertical; }
.nova-appointment-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nova-appointment-form-actions span { max-width: 580px; color: #6d7c78; font-size: 9px; line-height: 1.6; }
.nova-appointment-history { margin-top: 18px; }
.nova-appointment-history h3 { margin: 0 0 12px; color: #123f37; }
.nova-appointment-history ol { margin: 0; padding: 0; list-style: none; }
.nova-appointment-history li {
  position: relative;
  padding: 0 22px 15px 0;
  border-right: 1px solid #cddbd6;
}
.nova-appointment-history li > i {
  position: absolute;
  top: 2px;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0a6559;
}
.nova-appointment-history li strong,
.nova-appointment-history li span,
.nova-appointment-history li time { display: block; }
.nova-appointment-history li span,
.nova-appointment-history li time { margin-top: 3px; color: #74827e; font-size: 9px; }
.nova-appointment-empty { min-height: 420px; display: grid; place-items: center; align-content: center; gap: 8px; color: #71807c; text-align: center; }
.nova-appointment-empty strong { color: #173f38; }
.nova-appointment-empty.compact { min-height: 180px; padding: 20px; }
.appointment-status-completed { color: #2a704f !important; background: #def0e5 !important; }
.appointment-status-cancelled { color: #a13832 !important; background: #fae6e4 !important; }
.appointment-status-on_the_way,
.appointment-status-assigned { color: #8a5a10 !important; background: #fbefd6 !important; }

@media (max-width: 980px) {
  .nova-appointment-workspace { grid-template-columns: 1fr; }
  .nova-appointment-list { max-height: none; }
  .nova-appointment-list .nova-panel-head { position: sticky; top: 0; background: #fff; }
  .nova-appointment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nova-appointment-list .nova-panel-head { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .measurement-form-head,
  .nova-appointment-contact,
  .nova-appointment-form-actions { align-items: stretch; flex-direction: column; }
  .measurement-form-head > a,
  .nova-appointment-actions .nova-btn { justify-content: center; }
  .measurement-fields-web,
  .measurement-meta-web,
  .nova-appointment-form,
  .nova-appointment-list { grid-template-columns: 1fr; }
  .nova-appointment-list .nova-panel-head,
  .nova-appointment-form label.wide,
  .nova-appointment-form .wide { grid-column: auto; }
  .nova-appointment-actions { display: grid; grid-template-columns: 1fr; }
  .nova-notifications-panel { position: fixed; top: 72px; left: 14px; right: 14px; width: auto; }
}

.mobile-scroll {
  padding-bottom: clamp(140px, 18vh, 184px);
}
.mobile-web-shell button,
.mobile-web-shell a.mobile-primary,
.mobile-web-shell a.mobile-ghost {
  min-height: 44px;
}
.mobile-web-shell .scene-card,
.mobile-web-shell .studio-tile {
  min-height: 180px;
}
@media (min-width: 1280px) {
  .featured-strip { --featured-card-width: clamp(292px, 18vw, 360px); }
  .mobile-web-shell .scene-card,
  .mobile-web-shell .studio-tile {
    min-height: clamp(220px, 18vw, 320px);
  }
}
.mobile-web-shell small,
.mobile-web-shell time,
.variant-option-web em,
.color-option-web small,
.account-profile-details-web span,
.notification-item-web time {
  font-size: max(11px, .72rem);
}
.mobile-tab span {
  font-size: 12px;
}
.account-section-nav-web button span {
  font-size: 11px;
}
.hero-search-web button {
  width: 44px;
  height: 44px;
}
.nova-shell small,
.nova-shell time,
.nova-shell code,
.nova-shell em,
.nova-shell .nova-chip,
.nova-shell .nova-row span,
.nova-shell .sales-workspace span,
.nova-shell .nova-brand span,
.nova-shell .nova-nav button {
  font-size: max(11px, .72rem);
}
@media (max-width: 820px) {
  .nova-shell button,
  .nova-shell a.nova-btn {
    min-height: 44px;
  }
}
@media (max-width: 680px) {
  .hero-search-web {
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .hero-search-web input {
    height: 44px;
    font-size: 14px;
  }
  .hero-search-web button {
    width: 44px;
    height: 44px;
  }
  .catalog-search {
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .mobile-tab {
    font-size: 12px;
  }
  .mobile-tab span,
  .nova-shell .nova-nav button {
    font-size: 11px;
  }
}

/* A consistent readable and touch-friendly admin baseline at every viewport. */
.nova-shell button,
.nova-shell .nova-btn,
.nova-shell input:not([type="checkbox"]):not([type="radio"]),
.nova-shell select,
.nova-shell textarea {
  min-height: 44px;
}
.nova-shell label:has(input[type="checkbox"]),
.nova-shell label:has(input[type="radio"]),
.nova-branch-checks label,
.nova-switch {
  min-height: 44px;
  align-items: center;
}
.nova-shell input[type="checkbox"],
.nova-shell input[type="radio"] {
  width: 22px;
  height: 22px;
}
.nova-asset-card span,
.nova-asset-primary,
.nova-search-suggestion > b,
.nova-user-card h3 small,
.nova-user-meta b,
.nova-audit-row code,
.sales-order-item-top time,
.sales-order-item-meta .nova-chip,
.sales-order-item-foot small,
.sales-timeline-step span,
.sales-people-summary span,
.sales-line-head,
.sales-line-row > div span,
.sales-money-grid small,
.sales-invoice-row span,
.sales-paid-banner span,
.sales-receipt span,
.sales-communication span,
.sales-history-row span,
.sales-map-empty span,
.sales-location-meta span,
.sales-location-meta b,
.sales-history-row time,
.nova-support-ticket b,
.nova-support-ticket time,
.nova-support-ticket em,
.nova-support-detail-head span,
.nova-support-settings label,
.nova-support-reference,
.support-status,
.support-call-web span,
.support-call-web small,
.nova-appointment-item em,
.nova-appointment-item time,
.nova-appointment-detail > header > b,
.nova-appointment-detail > header small,
.nova-appointment-contact span,
.nova-appointment-address span,
.nova-appointment-form label,
.nova-appointment-form-actions span,
.nova-appointment-history li time,
.nova-notifications-head span,
.nova-notification-row time,
.nova-notification-row em {
  font-size: 11px;
}
.nova-asset-primary {
  min-height: 44px;
}
.sales-channel {
  font-size: 11px !important;
}
.sales-customer a,
.nova-support-workspace a[href^="tel:"],
.nova-support-workspace a[href^="mailto:"] {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nova-settings-tabs button {
  min-height: 44px;
}
.product-card-shell-web { position: relative; min-width: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 14px 40px rgba(15,23,42,.08); }
.product-card-shell-web .mobile-product-card { width: 100%; min-width: 0; border-radius: 0; box-shadow: none; }
/* The featured row scrolls horizontally. Its direct flex items must never shrink,
   otherwise Safari compresses the shell while the inner card keeps its width and
   the title/body are visibly cut off. */
.featured-strip {
  --featured-card-width: clamp(260px, 82vw, 340px);
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(3,60,52,.42) rgba(3,60,52,.08);
}
.featured-strip::-webkit-scrollbar { height: 8px; }
.featured-strip::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(3,60,52,.08);
}
.featured-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(3,60,52,.42);
}
.featured-strip::-webkit-scrollbar-thumb:hover {
  background: rgba(3,60,52,.62);
}
.featured-strip > .product-card-shell-web {
  flex: 0 0 min(var(--featured-card-width), calc(100vw - (var(--mobile-gutter, 14px) * 2)));
  width: min(var(--featured-card-width), calc(100vw - (var(--mobile-gutter, 14px) * 2)));
  min-width: min(var(--featured-card-width), calc(100vw - (var(--mobile-gutter, 14px) * 2)));
  max-width: calc(100vw - (var(--mobile-gutter, 14px) * 2));
  scroll-snap-align: start;
}
.featured-strip > .product-card-shell-web .mobile-product-card {
  width: 100%;
  min-width: 0;
}
.product-card-actions-web { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; border-top: 1px solid rgba(15,23,42,.07); }
.product-card-actions-web.has-whatsapp { grid-template-columns: repeat(2,minmax(0,1fr)); }
.product-card-actions-web button, .product-card-actions-web a, .product-detail-collections-web button { border: 0; border-radius: 12px; min-height: 44px; background: #f4f5f7; color: #46505f; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; cursor: pointer; text-decoration: none; }
.product-card-actions-web button.active, .product-detail-collections-web button.active { background: #fff0d4; color: #8d5d12; }
.product-card-actions-web a.product-whatsapp-action { background: rgba(5,63,55,.08); color: var(--green); font-weight: 950; }
.product-card-actions-web span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card-actions-web svg, .product-detail-collections-web svg { width: 17px; height: 17px; }
.checkout-steps-web { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 12px 0 20px; }
.checkout-steps-web div { min-width: 0; text-align: center; color: #8b94a2; font-size: 11px; }
.checkout-steps-web i { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; background: #e8ebef; font-style: normal; font-weight: 800; }
.checkout-steps-web .active, .checkout-steps-web .done { color: #8a5a12; }
.checkout-steps-web .active i, .checkout-steps-web .done i { background: #d7aa57; color: #fff; }
.checkout-navigation-web { display: grid; grid-template-columns: minmax(100px,.7fr) 1.3fr; gap: 10px; margin-top: 14px; }
.saved-address-picker-web { margin: 14px 0; }
.saved-address-picker-web > strong { display: block; margin-bottom: 8px; }
.saved-address-picker-web > div { display: grid; gap: 8px; }
.saved-address-picker-web button { text-align: right; border: 1px solid #e2e5e9; background: #fff; border-radius: 14px; padding: 11px; display: grid; gap: 3px; }
.saved-address-picker-web button.active { border-color: #d7aa57; background: #fff9ed; }
.saved-address-picker-web button span, .saved-address-picker-web button small { color: #727b88; font-size: 12px; }
.save-address-check-web { display: flex !important; align-items: center; gap: 8px; }
.save-address-check-web input { width: auto !important; }
.checkout-review-web, .success-order-web, .policy-content-web, .address-form-web, .address-card-web { background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 12px 35px rgba(15,23,42,.07); }
.checkout-review-address { display: grid; gap: 5px; margin: 14px 0; padding: 14px; border-radius: 14px; background: #f6f7f8; }
.checkout-policy-note-web { font-size: 12px; line-height: 1.8; color: #697280; }
.checkout-policy-note-web button { border: 0; background: none; color: #8a5a12; text-decoration: underline; font: inherit; }
.success-order-web { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.success-order-web > svg { width: 64px; height: 64px; padding: 15px; border-radius: 50%; background: #e5f7ec; color: #25864c; }
.success-order-web > strong { font-size: 24px; letter-spacing: 1px; }
.success-order-web > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.auth-link-web { border: 0; background: none; color: #8a5a12; font: inherit; text-decoration: underline; }
.address-form-web { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.address-form-web input, .address-form-web select { width: 100%; min-height: 45px; border: 1px solid #dfe3e8; border-radius: 12px; padding: 10px; font: inherit; }
.address-form-web label { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.address-form-web label input { width: auto; min-height: 0; }
.addresses-grid-web { display: grid; gap: 10px; }
.address-card-web { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.address-card-web.default { border: 1px solid #d7aa57; }
.address-card-web > div:first-child { display: grid; gap: 4px; }
.address-card-web span, .address-card-web small { color: #6f7885; }
.address-card-web > div:last-child { display: flex; gap: 6px; }
.address-card-web button { border: 0; border-radius: 9px; padding: 8px 10px; font: inherit; }
.saved-product-grid-web { margin-bottom: 22px; }
.policy-tabs-web { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.policy-tabs-web button { white-space: nowrap; border: 0; border-radius: 999px; padding: 10px 14px; background: #eef0f3; font: inherit; }
.policy-tabs-web button.active { background: #1d2733; color: #fff; }
.policy-content-web p { white-space: normal; line-height: 2; color: #596372; }
.product-facts-web { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.product-facts-web > div { padding: 12px; border-radius: 13px; background: #f5f6f7; display: grid; gap: 4px; }
.product-facts-web .wide { grid-column: 1/-1; }
.product-facts-web span { color: #77808c; font-size: 12px; }
.product-detail-collections-web { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
@media (max-width: 620px) { .address-form-web { grid-template-columns: 1fr; } .product-card-actions-web span { display: none; } .checkout-navigation-web { grid-template-columns: 1fr 1fr; } }

/* Admin responsive hardening and functional layout fixes */
.nova-shell,
.nova-main,
.nova-page,
.nova-panel,
.nova-workspace,
.nova-products-workspace,
.product-wizard-main,
.product-wizard-panel,
  .inventory-ledger-table,
.nova-category-manager {
  min-width: 0;
  max-width: 100%;
}
.nova-main { overflow-x: clip; }
.nova-panel { overflow: hidden; }
.nova-panel > .nova-table,
  .inventory-ledger-table { overflow-x: auto; overscroll-behavior-inline: contain; }
.nova-page input,
.nova-page select,
.nova-page textarea,
.nova-page button { max-width: 100%; }
.nova-page label { min-width: 0; }

.nova-category-create {
  grid-template-columns: minmax(220px, 1.2fr) minmax(110px, .42fr) minmax(260px, 1.15fr) minmax(150px, auto);
}
.nova-category-create .nova-btn { width: 100%; min-height: 42px; }
.nova-category-editor {
  grid-template-columns: minmax(220px, 1.15fr) minmax(105px, .42fr) minmax(260px, 1.15fr) minmax(145px, .55fr) minmax(180px, .65fr);
}
.nova-category-editor input,
.nova-category-editor select,
.nova-category-create input,
.nova-category-create select { width: 100%; min-width: 0; }
.nova-category-actions { justify-content: stretch; }
.nova-category-actions .nova-btn { flex: 1 1 0; min-width: 0; }

.product-wizard-steps {
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  scrollbar-width: thin;
}
.product-wizard-steps button { min-width: 0; }
.product-wizard-actions {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  padding: 14px 0 2px;
  gap: 9px;
}
.product-wizard-actions .nova-btn { min-height: 44px; }
.product-wizard-actions .product-save-button { order: 2; }
.product-wizard-actions .product-nav-button:first-child { order: 1; }
.product-wizard-actions .product-nav-button:nth-child(3) { order: 3; }
.product-wizard-actions [data-product-lifecycle="publish"] { order: 4; }
.product-wizard-actions [data-product-lifecycle="archive"] { order: 5; }
.product-wizard-actions [data-product-lifecycle="delete"] { order: 6; }

.inventory-toolbar { align-items: stretch; }
.inventory-toolbar > div { min-width: 0; }
.inventory-toolbar select { flex: 1 1 190px; width: auto; max-width: 100%; }
.inventory-stock-row { min-width: 0; }
.inventory-transfer-card { min-width: 0; }
.inventory-transfer-card p,
.inventory-transfer-card small,
.inventory-transfer-route { overflow-wrap: anywhere; }

@media (max-width: 1320px) {
  .nova-category-create { grid-template-columns: minmax(0, 1fr) 130px; }
  .nova-category-create .nova-category-image-field { grid-column: 1 / -1; }
  .nova-category-create .nova-btn { grid-column: 1 / -1; width: min(100%, 320px); justify-self: start; }
  .nova-category-editor { grid-template-columns: minmax(0, 1fr) 130px; }
  .nova-category-editor .nova-category-image-field { grid-column: 1 / -1; }
  .nova-category-editor .nova-category-visibility { grid-column: 1; }
  .nova-category-editor .nova-category-actions { grid-column: 2; }
  .product-wizard-steps { grid-auto-flow: column; grid-auto-columns: minmax(145px, 1fr); grid-template-columns: none; }
}

@media (max-width: 1100px) {
  .inventory-stock-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .inventory-stock-row > :first-child { grid-column: 1 / -1; }
  .inventory-movement-row {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff;
  }
  .inventory-movement-row > :first-child { grid-column: 1 / -1; }
  .inventory-ledger-table { overflow: visible; }
}

@media (max-width: 820px) {
  .nova-category-create,
  .nova-category-editor { grid-template-columns: 1fr; }
  .nova-category-create .nova-category-image-field,
  .nova-category-create .nova-btn,
  .nova-category-editor .nova-category-image-field,
  .nova-category-editor .nova-category-visibility,
  .nova-category-editor .nova-category-actions { grid-column: auto; width: 100%; }
  .nova-category-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-wizard-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-wizard-actions .product-save-button { grid-column: 1 / -1; grid-row: 1; }
  .inventory-toolbar { flex-direction: column; }
  .inventory-toolbar > div { width: 100%; display: grid; grid-template-columns: 1fr; }
  .inventory-toolbar select,
  .inventory-toolbar .nova-btn { width: 100%; min-width: 0; }
}

@media (max-width: 520px) {
  .nova-page { padding-inline: 8px; }
  .nova-panel { border-radius: 7px; }
  .product-wizard-steps { grid-auto-columns: minmax(128px, 76vw); }
  .product-wizard-actions { grid-template-columns: 1fr; }
  .product-wizard-actions .product-save-button { grid-column: auto; }
  .inventory-tabs { display: grid; grid-template-columns: 1fr; }
  .inventory-tabs button { width: 100%; min-height: 44px; }
  .inventory-stock-row,
  .inventory-movement-row { grid-template-columns: 1fr; }
  .inventory-stock-row > :first-child,
  .inventory-movement-row > :first-child { grid-column: auto; }
  .inventory-transfer-actions,
  .nova-category-actions { grid-template-columns: 1fr; }
}

/* Compact admin header for phone work: search first, actions second, no dead whitespace. */
@media (max-width: 620px) {
  .nova-topbar {
    top: auto !important;
    min-height: 0 !important;
    padding: 10px 10px 12px !important;
    gap: 9px !important;
  }
  .nova-topbar > div:first-child {
    display: grid;
    gap: 2px;
  }
  .nova-breadcrumb {
    max-width: 100%;
    overflow: hidden;
    color: #77837f;
    font-size: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nova-topbar h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
  }
  .nova-session-label {
    margin-top: 0;
    font-size: 10px;
    line-height: 1.4;
  }
  .nova-command {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-auto-rows: minmax(44px, auto);
    gap: 7px !important;
  }
  .nova-search-wrap {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0 !important;
  }
  .nova-search {
    min-height: 44px;
    border-radius: 13px;
    font-size: 12px;
  }
  .nova-command > [data-admin-back] {
    grid-column: 1;
    grid-row: 2;
    width: 44px;
  }
  .nova-notification-wrap {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
  }
  .nova-notification-button {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center;
    border-radius: 13px !important;
  }
  .nova-command > [data-action="reload"] {
    grid-column: 3;
    grid-row: 2;
    width: 44px;
  }
  .nova-command > a {
    display: none !important;
  }
}


/* 2026 product experience refresh — visitor + administration */
:root {
  --green-deep: #033c34;
  --green-950: #022f2a;
  --green-700: #0b6559;
  --green-100: #dfeee9;
  --gold-600: #b9892e;
  --gold-100: #f6edd9;
  --surface: #ffffff;
  --surface-soft: #f5f8f7;
  --text-strong: #10221e;
  --text-muted: #687a75;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 34px rgba(4, 48, 42, .08);
  --shadow-card: 0 18px 50px rgba(4, 48, 42, .12);
}

.visitor-app-body { background: #edf4f1; }
.mobile-web-shell { min-height: 100dvh; background: #edf4f1; }
.visitor-site-header {
  min-height: 72px;
  padding-top: max(10px, env(safe-area-inset-top));
  grid-template-columns: 48px minmax(150px, 1fr) 48px;
  background: rgba(3,60,52,.96);
  box-shadow: 0 8px 26px rgba(2,35,30,.13);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}
.visitor-brand-link { width: max-content; max-width: 100%; justify-self: center; border: 0; background: transparent; padding: 0; }
.visitor-brand-link .mobile-logo { width: clamp(142px, 20vw, 196px); height: 48px; }
.desktop-visitor-nav { display: none; }
.header-phone-action,.header-whatsapp-action { transition: transform .18s ease, background .18s ease; }
.header-phone-action:hover,.header-whatsapp-action:hover { transform: translateY(-1px); background: rgba(255,255,255,.2); }
.mobile-screen { min-height: calc(100dvh - 72px); border-radius: 0; background: #edf4f1; overflow: visible; }
.mobile-scroll { max-width: 1480px; padding-bottom: calc(102px + env(safe-area-inset-bottom)); }

.mobile-hero {
  min-height: clamp(420px, 68dvh, 620px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 58px rgba(3,48,42,.15);
  overflow: hidden;
}
.mobile-hero::after { background: linear-gradient(180deg, rgba(2,30,26,.08), rgba(2,30,26,.36) 40%, rgba(2,25,22,.9)); }
.mobile-hero-copy { max-width: 900px; gap: 12px; padding-bottom: clamp(24px, 5vw, 48px); }
.hero-kicker-web { display: inline-flex; width: max-content; max-width: 100%; padding: 7px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; background: rgba(255,255,255,.13); font-size: 12px; font-weight: 900; }
.mobile-hero-title { max-width: 680px; font-size: clamp(34px, 6vw, 72px); text-wrap: balance; }
.hero-lead-web { max-width: 620px; margin: 0; color: rgba(255,255,255,.84); font-size: clamp(14px, 2vw, 19px); font-weight: 720; line-height: 1.7; }
.hero-cta-row-web { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-primary-action,.hero-secondary-action { min-height: 46px; border-radius: 999px; padding: 0 18px; border: 1px solid rgba(255,255,255,.55); font: inherit; font-weight: 900; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px; white-space: nowrap; line-height: 1; text-align: center; direction: rtl; }
.hero-branch-label { display: block; line-height: 1; white-space: nowrap; min-width: 0; }
.hero-branch-icon { flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center; opacity: .96; }
.hero-branch-icon svg,.hero-primary-action svg,.hero-secondary-action svg { width: 18px; height: 18px; display: block; }
.hero-primary-action { background: #fff; color: var(--green-deep); }
.hero-secondary-action { background: rgba(3,60,52,.45); color: #fff; backdrop-filter: blur(14px); }
.hero-branch-actions { margin-top: 0; }

.app-section-title { margin-top: clamp(24px, 4vw, 44px); }
.app-section-title h2 { font-size: clamp(22px, 2.8vw, 34px); letter-spacing: -.02em; }
.app-section-title button { border-radius: 999px; border-color: rgba(3,60,52,.18); background: #fff; }

.featured-strip { gap: 14px; padding: 4px 2px 18px; scroll-snap-type: x proximity; }
.product-card-shell-web {
  border: 1px solid rgba(3,60,52,.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card-shell-web:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(185,137,46,.28); }
.product-card-shell-web .mobile-product-card { flex: 1 1 auto; display: flex; flex-direction: column; text-align: right; background: #fff; }
.product-image-wrap-web { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; margin: 8px 8px 0; border-radius: calc(var(--radius-md) - 6px); background: linear-gradient(135deg, #e8efec, #f6faf7); }
.product-image-wrap-web img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.product-card-shell-web:hover .product-image-wrap-web img { transform: scale(1.025); }
.product-stock-state-web { position: absolute; top: 10px; right: 10px; z-index: 2; min-height: 28px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; color: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.product-stock-state-web.available { background: rgba(3,78,67,.94); }
.product-stock-state-web.sold-out { background: rgba(77,87,84,.9); }
.product-unavailable-copy-web {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  margin-top: 8px;
  padding: 0 9px;
  align-items: center;
  border-radius: 999px;
  background: rgba(154,102,24,.1);
  color: #8a5b18;
  font-size: 11px;
  font-weight: 900;
}
.mobile-product-body { padding: 14px 14px 12px; }
.mobile-product-body h2 { margin-top: 9px; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mobile-product-body p { min-height: 40px; color: var(--text-muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mobile-price-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(3,60,52,.08); }
.mobile-price-row strong { color: var(--price-color); font-size: clamp(16px, 1.65vw, 20px); }
.product-card-discount-web { margin-top: 12px; padding-top: 10px; display: grid; gap: 5px; border-top: 1px solid rgba(3,60,52,.08); }
.product-card-discount-web > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.product-card-discount-web span { color: var(--text-muted); font-size: 11px; font-weight: 850; }
.product-card-discount-web s { color: #7b8581; font-size: 13px; direction: ltr; }
.product-card-discount-web strong { color: var(--price-color); font-size: clamp(16px, 1.65vw, 20px); direction: ltr; }
.mobile-price-row strong,
.product-card-discount-web strong,
.product-card-discount-web s { max-width: 68%; overflow-wrap: anywhere; line-height: 1.45; text-align: left; }
.product-card-open-web { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--green-700); font-size: 12px; font-weight: 950; }
.product-card-actions-web { padding: 8px 10px 10px; background: #fff; }
.product-card-actions-web button, .product-card-actions-web a { border-radius: 999px; background: var(--surface-soft); }
.product-card-shell-web.is-sold-out { filter: saturate(.82); }
.product-card-shell-web.is-sold-out .mobile-price-row strong { color: var(--price-color); }

.scene-grid.category-scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-scene-grid .scene-card { min-height: clamp(160px, 34vw, 260px); border-radius: var(--radius-md); }
.category-scene-grid .scene-card::after { background: linear-gradient(180deg, transparent 22%, rgba(2,25,22,.82)); }
.category-scene-grid .scene-copy strong { font-size: clamp(18px, 2.2vw, 26px); }

.catalog-autocomplete { position: sticky; top: calc(72px + env(safe-area-inset-top)); z-index: 25; padding-top: 8px; background: linear-gradient(#edf4f1 75%, transparent); }
.catalog-search { border-radius: 999px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-soft); }
.catalog-filter-bar-web {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(3,60,52,.08);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 28px rgba(5,33,29,.06);
}
.catalog-filter-field-web { min-width: 0; display: grid; gap: 6px; color: var(--text-muted); font-size: 11px; font-weight: 900; }
.catalog-filter-field-web select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(3,60,52,.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}
.category-row-web {
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(3,60,52,.42) rgba(3,60,52,.08);
  scroll-snap-type: x proximity;
}
.category-row-web::-webkit-scrollbar { height: 8px; }
.category-row-web::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(3,60,52,.08);
}
.category-row-web::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(3,60,52,.42);
}
.category-row-web::-webkit-scrollbar-thumb:hover {
  background: rgba(3,60,52,.62);
}
.category-chip-web { flex: 0 0 auto; border-radius: 999px; scroll-snap-align: start; }
.mobile-product-grid { gap: 14px; }

.checkout-field-web { display: grid; gap: 6px; min-width: 0; color: var(--text-muted); font-size: 12px; font-weight: 900; }
.checkout-field-web.wide { grid-column: 1 / -1; }
.checkout-field-web input { width: 100%; }
.checkout-field-web:focus-within { color: var(--green-700); }
.checkout-form-web input:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(11,101,89,.12); }

.product-detail-page { background: #f2f6f4; }
.product-detail-scroll { padding-top: 14px; padding-bottom: calc(166px + env(safe-area-inset-bottom)); }
.product-detail-top { max-width: 1320px; margin: 0 auto 14px; }
.product-detail-top .modal-close { min-height: 44px; border-radius: 999px; background: #fff; color: var(--green-deep); border-color: rgba(3,60,52,.12); }
.product-detail-layout { max-width: 1320px; margin: 0 auto; gap: clamp(18px, 3vw, 38px); align-items: start; }
.product-gallery-web,.product-detail-copy { border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.product-gallery-web { padding: 10px; position: sticky; top: 90px; }
.product-detail-media { border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; background: #e7eeeb; }
.product-detail-media img { transition: transform .35s ease; }
.product-detail-media:hover img { transform: scale(1.012); }
.product-zoom-hint { border-radius: 999px; padding: 9px 12px; background: rgba(3,60,52,.9); }
.product-thumbnails-web { padding-top: 10px; }
.product-thumbnails-web button { border-radius: 12px; }
.product-detail-copy { padding: clamp(18px, 3vw, 34px); }
.product-eyebrow-web { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--text-muted); font-weight: 850; }
.product-eyebrow-web span,.product-eyebrow-web b { padding: 6px 10px; border-radius: 999px; background: var(--surface-soft); }
.product-eyebrow-web b { color: var(--green-700); }
.product-detail-title { margin-top: 14px; font-size: clamp(34px, 4.5vw, 58px); letter-spacing: -.035em; }
.product-detail-subtitle { font-size: clamp(15px, 1.6vw, 20px); line-height: 1.8; }
.product-price-summary-web { margin: 18px 0; padding: 16px 18px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 12px; align-items: center; border-radius: var(--radius-md); background: linear-gradient(135deg, #edf5f2, #fff8e9); border: 1px solid rgba(3,60,52,.08); }
.product-price-summary-web > span { color: var(--text-muted); font-weight: 850; }
.product-price-summary-web > strong { grid-row: span 2; color: var(--green-deep); font-size: clamp(26px, 3vw, 38px); direction: ltr; }
.selected-discount-price-web { grid-row: span 2; display: grid; justify-items: end; gap: 2px; direction: ltr; }
.selected-discount-price-web s { color: #7b8581; font-size: 15px; }
.selected-discount-price-web strong { color: var(--green-deep); font-size: clamp(24px, 3vw, 36px); }
.variant-discount-price-web { display: grid; justify-items: end; gap: 2px; direction: ltr; }
.variant-discount-price-web s { color: #7b8581; font-size: 11px; }
.variant-discount-price-web b { color: var(--green-deep); font-size: 14px; }
.product-price-summary-web > small { font-weight: 900; }
.product-price-summary-web > small.available { color: #18714f; }
.product-price-summary-web > small.sold-out { color: #a23f3a; }
.product-option-section-web { margin-top: 22px; }
.meter-quantity-picker-web { display: grid; grid-template-columns: 44px minmax(120px, 190px) 44px; gap: 8px; align-items: stretch; }
.meter-quantity-picker-web > div { grid-column: 1 / -1; }
.meter-quantity-picker-web > button { min-width: 44px; min-height: 48px; border: 1px solid rgba(5,63,55,.16); border-radius: 8px; background: #fff; color: var(--green-deep); font: inherit; font-size: 21px; font-weight: 950; }
.meter-quantity-picker-web > label { min-height: 48px; padding: 0 12px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; border: 1px solid rgba(5,63,55,.16); border-radius: 8px; background: #fff; }
.meter-quantity-picker-web input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text-strong); font: inherit; font-size: 18px; font-weight: 950; direction: ltr; }
.meter-quantity-picker-web label span { color: var(--text-muted); font-weight: 900; }
.meter-quantity-picker-web > div { min-height: 48px; padding: 8px 13px; display: grid; align-content: center; border-right: 3px solid var(--gold); background: var(--surface-soft); }
.meter-quantity-picker-web > div span { color: var(--text-muted); font-size: 11px; font-weight: 850; }
.meter-quantity-picker-web > div strong { color: var(--green-deep); font-size: 18px; }
@media (min-width: 621px) {
  /* The length controls, the derived area and the total fit one row on a wide
     screen; below 620px each readout takes its own full-width row. */
  .meter-quantity-picker-web { grid-template-columns: 44px minmax(120px, 190px) 44px minmax(150px, 1fr) minmax(150px, 1fr); }
  .meter-quantity-picker-web > div { grid-column: auto; }
}
.option-heading-web { margin-bottom: 10px; display: flex; align-items: end; justify-content: space-between; }
.option-heading-web span,.option-heading-web small { display: block; }
.option-heading-web span { color: var(--text-strong); font-size: 18px; font-weight: 950; }
.option-heading-web small { margin-top: 2px; color: var(--text-muted); font-size: 11px; }
.color-list-web,.variant-list-web { gap: 9px; }
.color-option-web,.variant-option-web { border-radius: var(--radius-sm); background: #fff; border-color: rgba(3,60,52,.12); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.color-option-web:not(:disabled):hover,.variant-option-web:not(:disabled):hover { transform: translateY(-1px); border-color: var(--green-700); box-shadow: 0 8px 20px rgba(3,60,52,.08); }
.color-option-web.active,.variant-option-web.active { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(11,101,89,.11); }
.color-option-web strong,.variant-option-web strong { display: block; }
.unavailable-options-web { margin-top: 10px; border-top: 1px dashed rgba(3,60,52,.15); padding-top: 10px; }
.unavailable-options-web summary { width: max-content; max-width: 100%; padding: 8px 11px; border-radius: 999px; background: var(--surface-soft); color: var(--text-muted); font-size: 11px; font-weight: 900; cursor: pointer; }
.unavailable-list-web { margin-top: 9px; opacity: .68; }
.out-of-stock:disabled { cursor: not-allowed; filter: grayscale(.45); }
.product-description-web { margin-top: 20px; padding: 16px; border-radius: var(--radius-md); background: var(--surface-soft); color: var(--text-muted); line-height: 1.8; }
.product-description-web h2 { margin: 0 0 8px; color: var(--text-strong); font-size: 17px; }
.product-description-web p { margin: 0; }
.product-detail-footer { grid-template-columns: minmax(0,1fr) minmax(180px, 260px); padding: 10px 12px; border-radius: var(--radius-md); background: rgba(255,255,255,.94); box-shadow: 0 16px 50px rgba(2,37,32,.18); }
.product-detail-footer .modal-add { border-radius: 999px; }

.mobile-bottom-nav { min-height: 66px; border-radius: 24px; padding: 6px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.92); box-shadow: 0 18px 50px rgba(2,37,32,.17); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.mobile-tab { min-height: 52px; border-radius: 18px; }
.mobile-tab.active { background: linear-gradient(135deg, rgba(3,60,52,.11), rgba(201,162,74,.18)); color: var(--green-deep); }

.account-section-nav-web { border-radius: var(--radius-md); padding: 7px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.account-section-nav-web button { min-height: 60px; border-radius: var(--radius-sm); }
.account-section-nav-web button.active { background: var(--green-deep); }

.nova-main { background: #f3f6f5; }
.nova-topbar { border-bottom-color: rgba(3,60,52,.1); box-shadow: 0 6px 20px rgba(3,60,52,.05); }
.nova-hero.nova-operations-hero { border-radius: 18px; background: linear-gradient(135deg, #073f37 0%, #0d6559 62%, #98722b 155%); box-shadow: 0 22px 54px rgba(3,60,52,.18); }
.nova-operations-hero h2 { max-width: 720px; font-size: clamp(27px, 3.3vw, 48px); letter-spacing: -.03em; }
.nova-operations-hero p { max-width: 680px; line-height: 1.8; }
.nova-hero-actions { flex-wrap: wrap; }
.nova-operations-hero .nova-glass-stat { width: 100%; border: 1px solid rgba(255,255,255,.16); color: #fff; text-align: right; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.nova-operations-hero .nova-glass-stat:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); }
.nova-operations-hero .nova-glass-stat small { display: block; margin-top: 3px; color: rgba(255,255,255,.7); }
.nova-action-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.nova-action-card { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; grid-template-areas: "icon title arrow" "icon value arrow" "desc desc desc"; gap: 3px 10px; text-align: right; border: 1px solid rgba(3,60,52,.09); background: #fff; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.nova-action-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(185,137,46,.3); }
.nova-action-card > i { grid-area: icon; width: 42px; height: 42px; display: grid; place-items: center; align-self: center; border-radius: 13px; background: var(--green-100); color: var(--green-deep); font-size: 11px; font-style: normal; font-weight: 950; }
.nova-action-card > span { grid-area: title; }
.nova-action-card > strong { grid-area: value; }
.nova-action-card > small { grid-area: desc; margin-top: 8px; }
.nova-action-card > b { grid-area: arrow; align-self: center; color: var(--green-700); }
.nova-panel { border-radius: 16px; border-color: rgba(3,60,52,.09); box-shadow: 0 8px 28px rgba(3,60,52,.05); }
.nova-btn { border-radius: 10px; }
.nova-search { border-radius: 999px; }
.nova-card { border-radius: 15px; }
.nova-form input,.nova-form select,.nova-form textarea { border-radius: 10px; }


/* 2026-07 production usability hotfix */
.product-detail-scroll { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.product-purchase-actions-web {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) minmax(130px, .8fr);
  gap: 10px;
}
.product-purchase-actions-web button {
  min-height: 54px;
  border: 1px solid rgba(3,60,52,.12);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--green-deep);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
.product-purchase-actions-web .modal-add {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #fff;
}
.product-purchase-actions-web button.active {
  border-color: rgba(201,162,74,.55);
  background: #fff7df;
  color: #765816;
}
.product-purchase-actions-web button:disabled { cursor: not-allowed; opacity: .62; }
.product-description-web { order: 1; }
.product-option-section-web { order: 2; }
.product-facts-web { order: 3; }
.product-price-summary-web { order: 4; }
.product-purchase-actions-web { order: 5; }
.product-detail-copy { display: flex; flex-direction: column; }
.hero-cta-row-web a { text-decoration: none; }
.hero-cta-row-web a svg { width: 18px; height: 18px; }

/* Clear, professional admin workspace with visible scrolling. */
.admin-body { background: #edf2ef; }
.nova-shell {
  position: relative;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100dvh;
  height: 100dvh;
  background: #edf2ef;
  overflow: hidden;
}
.nova-sidebar {
  height: 100dvh;
  padding: 16px 12px;
  background: linear-gradient(180deg, #063d36 0%, #052f2a 100%);
  border-left: 1px solid rgba(255,255,255,.1);
  scrollbar-gutter: stable;
  scrollbar-color: rgba(255,255,255,.3) transparent;
}
.nova-sidebar::-webkit-scrollbar { width: 9px; }
.nova-sidebar::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(255,255,255,.28); background-clip: padding-box; }
.nova-brand { min-height: 94px; padding: 8px 6px 14px; }
.nova-brand img { width: 164px; height: 58px; }
.nova-nav { gap: 6px; }
.nova-nav button { min-height: 44px; border-radius: 11px; padding-inline: 10px; }
.nova-nav button::before { border-radius: 9px; }
.nova-main {
  min-height: 0;
  height: 100dvh;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable both-edges;
  scrollbar-width: none;
  background: #f3f7f5;
}
.nova-main::-webkit-scrollbar { width: 0; height: 0; }
.nova-main-visible-scrollbar {
  position: absolute;
  inset-block: 12px;
  inset-inline-end: 5px;
  z-index: 70;
  width: 12px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(225,235,231,.95);
  box-shadow: inset 0 0 0 1px rgba(3,60,52,.12);
  /* The shell stays transparent to the pointer so the 2px padding never eats a
     click meant for the page, while the track and thumb below stay draggable.
     Without the re-enable the drag and click-to-jump handlers never fire. */
  pointer-events: none;
}
/* The picker used to be one horizontal strip, so all but four or five images
   sat off screen behind a thin scrollbar that is hard to drag on a touchpad.
   It now wraps, shows several rows at once, and scrolls vertically like the
   rest of the panel. */
.nova-image-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); grid-auto-rows: 78px; gap: 8px; width: 100%; min-width: 0; max-width: 100%; max-height: 268px; overflow-x: hidden; overflow-y: auto; overscroll-behavior-block: contain; scrollbar-width: thin; margin-top: 6px; padding: 6px; border-radius: 10px; background: #f5f8f7; box-shadow: inset 0 0 0 1px rgba(3,60,52,.1); }
.nova-image-picker-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.nova-image-picker-toolbar input { flex: 1 1 160px; min-width: 0; min-height: 40px; padding: 0 10px; border: 1px solid rgba(3,60,52,.16); border-radius: 8px; background: #fff; font: inherit; }
.nova-image-picker-count { color: #60736e; font-size: 12px; font-weight: 800; }
.nova-image-tile { position: relative; width: 100%; height: 78px; min-width: 78px; min-height: 78px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px transparent; cursor: pointer; }
.nova-image-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nova-image-tile.selected { box-shadow: 0 0 0 3px #073f37; }
.nova-image-tile.selected::after { content: "✓"; position: absolute; inset-block-start: 3px; inset-inline-end: 3px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: #073f37; color: #fff; font-size: 12px; font-weight: 800; }
.nova-image-picker-empty { margin-top: 6px; padding: 12px; border-radius: 10px; background: #faf8f2; color: #60736e; font-size: 13px; line-height: 1.7; }
.nova-field-label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: #073f37; }
.nova-category-image-field { display: block; width: 100%; min-width: 0; overflow: hidden; }
.nova-purge-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #f2f6f4; box-shadow: inset 0 0 0 1px rgba(3,60,52,.1); }
.nova-purge-toolbar.active { background: #fdf1ec; box-shadow: inset 0 0 0 1px rgba(150,63,49,.22); }
.nova-purge-toolbar .nova-btn { min-height: 44px; }
.nova-purge-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; cursor: pointer; }
.nova-purge-all input, .nova-purge-check input { width: 20px; height: 20px; accent-color: #073f37; cursor: pointer; }
.nova-purge-count { color: #60736e; font-size: 13px; font-weight: 700; }
.nova-purge-row { display: flex; align-items: center; gap: 8px; }
.nova-purge-row > button { flex: 1; min-width: 0; }
.nova-purge-check { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }
.nova-main-visible-track { position: relative; width: 100%; height: 100%; border-radius: inherit; pointer-events: auto; cursor: pointer; }
.nova-main-visible-thumb { position: absolute; inset-inline: 0; top: 0; min-height: 48px; border-radius: 999px; background: #668a81; box-shadow: 0 2px 7px rgba(3,60,52,.22); transform: translateY(0); pointer-events: auto; cursor: grab; touch-action: none; }
.nova-main-visible-thumb:active { cursor: grabbing; }
.nova-main-visible-thumb[hidden] { display: none; }
.nova-topbar {
  min-height: 76px;
  padding: 12px clamp(16px, 2vw, 28px);
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(3,60,52,.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nova-topbar h1 { font-size: clamp(22px, 2vw, 30px); }
.nova-session-label { display: block; margin-top: 4px; color: #71827d; }
.nova-command { width: min(720px, 58vw); }
.nova-page {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 20px clamp(14px, 2vw, 28px) 42px;
}
.nova-panel {
  border: 1px solid rgba(3,60,52,.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(3,60,52,.055);
}
.nova-panel-head { padding-bottom: 12px; border-bottom: 1px solid rgba(3,60,52,.08); }
.nova-operations-hero { padding: clamp(22px, 3vw, 38px); }
.nova-action-grid { gap: 12px; margin: 14px 0; }
.nova-action-card { min-height: 128px; border-radius: 17px; padding: 16px; }
.nova-workspace { gap: 14px; align-items: start; }
.dashboard-task { border-radius: 13px; }

.nova-products-workspace {
  grid-template-columns: minmax(340px, .78fr) minmax(620px, 1.52fr);
  gap: 16px;
  align-items: start;
}
.nova-products-list {
  position: sticky;
  top: 92px;
  max-height: calc(100dvh - 116px);
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}
.nova-products-list .nova-panel-head { flex: 0 0 auto; }
.nova-product-list-scroll {
  min-height: 260px;
  max-height: calc(100dvh - 210px);
  padding: 8px 8px 8px 3px;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #668a81 #e5eeeb;
}
.nova-product-list-scroll::-webkit-scrollbar { width: 13px; }
.nova-product-list-scroll::-webkit-scrollbar-track { border-radius: 999px; background: #e5eeeb; }
.nova-product-list-scroll::-webkit-scrollbar-thumb { border: 3px solid #e5eeeb; border-radius: 999px; background: #668a81; }
.nova-product-list-row { min-height: 78px; border-radius: 12px; }
.nova-product-list-row.active { border-color: #0b6b5f; box-shadow: 0 0 0 3px rgba(11,107,95,.1); }
.product-wizard { border-radius: 15px; }
.product-wizard-actions {
  position: sticky;
  bottom: 8px;
  z-index: 8;
  padding: 10px;
  border: 1px solid rgba(3,60,52,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(3,60,52,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nova-library-grid { max-height: 520px; overflow-y: auto; scrollbar-gutter: stable; }
.nova-library-image .nova-icon-btn { background: #fff; color: #a22929; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.nova-library-image .nova-icon-btn:disabled { opacity: .55; cursor: wait; }

@media (max-width: 1180px) {
  .nova-shell { grid-template-columns: 220px minmax(0,1fr); }
  .nova-products-workspace { grid-template-columns: minmax(300px,.75fr) minmax(520px,1.25fr); }
}

@media (max-width: 900px) {
  .nova-shell { height: auto; min-height: 100dvh; grid-template-columns: 1fr; overflow: visible; }
  .nova-sidebar { position: sticky; top: 0; z-index: 50; width: 100%; height: auto; overflow-x: auto; overflow-y: hidden; }
  .nova-main { height: auto; min-height: 100dvh; overflow: visible; }
  .nova-main-visible-scrollbar { display: none; }
  .nova-topbar { top: 70px; }
  .nova-command { width: 100%; min-width: 0; }
  .nova-products-workspace { grid-template-columns: 1fr; }
  .nova-reports-primary { grid-template-columns: 1fr; }
  .nova-asset-picker-head { align-items: stretch; flex-direction: column; }
  .nova-products-list { position: static; max-height: none; }
  .nova-product-list-scroll { max-height: 430px; }
  .product-wizard-actions { bottom: 8px; }
}

@media (max-width: 620px) {
  .product-detail-scroll { padding-bottom: calc(98px + env(safe-area-inset-bottom)); }
  .product-purchase-actions-web { grid-template-columns: 1fr 1fr; }
  .product-purchase-actions-web .modal-add { grid-column: 1 / -1; }
  .hero-cta-row-web a { min-height: 46px; }
  .nova-page { padding: 12px 10px 28px; }
  .nova-topbar { top: 62px; padding: 10px; }
  .nova-topbar > div:first-child { width: 100%; }
  .nova-command { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; }
  .nova-command > a { display: none; }
  .nova-products-workspace { gap: 10px; }
  .nova-product-list-scroll { max-height: 360px; }
}

:where(button,a,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid rgba(201,162,74,.78) !important; outline-offset: 2px; }


/* Product administration workspace: product list on the right, editor on the left */
.nova-products-workspace {
  display: grid !important;
  grid-template-columns: minmax(0, 1.38fr) minmax(390px, .92fr) !important;
  grid-template-areas: "list editor";
  gap: 18px !important;
  align-items: start;
}
.nova-products-workspace > * { min-width: 0; }
.nova-products-list {
  grid-area: list;
  position: sticky !important;
  top: 92px !important;
  max-height: calc(100dvh - 116px) !important;
  padding-bottom: 12px !important;
  display: flex;
  flex-direction: column;
}
.nova-product-editor-panel { grid-area: editor; }
.nova-product-list-scroll-shell {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) 22px;
  gap: 7px;
  padding: 0 8px 0 3px;
}
.nova-product-list-scroll {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
  min-height: 300px !important;
  max-height: calc(100dvh - 240px) !important;
  padding: 10px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: linear-gradient(180deg,#f5f9f7,#edf5f2);
  border: 1px solid rgba(3,60,52,.1);
  border-radius: 16px;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.nova-product-list-scroll::-webkit-scrollbar { width: 0; height: 0; }
.nova-visible-scrollbar {
  min-height: 300px;
  max-height: calc(100dvh - 240px);
  display: grid;
  grid-template-rows: 40px minmax(90px,1fr) 40px;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(3,60,52,.14);
  border-radius: 22px;
  background: #e5eeeb;
}
.nova-visible-scrollbar > button {
  width: 100%; min-width: 0; min-height: 40px; padding: 0; border: 0; border-radius: 16px;
  background: #fff; color: #075a50; font-size: 14px; font-weight: 950; cursor: pointer;
}
.nova-visible-scrollbar > button:disabled { opacity: .35; cursor: default; }
.nova-visible-scroll-track { position: relative; min-height: 80px; border-radius: 999px; background: rgba(102,138,129,.18); cursor: pointer; }
.nova-visible-scroll-thumb { position: absolute; inset-inline: 2px; top: 0; min-height: 42px; border-radius: 999px; background: #668a81; box-shadow: 0 3px 8px rgba(3,60,52,.24); cursor: grab; touch-action: none; }
.nova-visible-scroll-thumb:active { cursor: grabbing; }
.nova-bulk-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 12px; padding: 10px 12px; border-radius: 14px;
  background: #f3f7f5; box-shadow: inset 0 0 0 1px rgba(3,60,52,.10);
}
.nova-bulk-toolbar.active { background: #eaf4ef; box-shadow: inset 0 0 0 1px rgba(3,60,52,.22); }
.nova-bulk-toolbar > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nova-bulk-select { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 800; color: #075a50; }
.nova-bulk-select input { width: 20px; height: 20px; accent-color: #075a50; cursor: pointer; }
.nova-bulk-count { font-weight: 900; color: #075a50; }
.nova-product-pick, .nova-library-pick {
  position: absolute; inset-block-start: 8px; inset-inline-start: 8px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  /* Explicit width, not just min-width: the row layout shrinks an auto-sized
     absolute child below the 44px touch-target floor. */
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; cursor: pointer;
  border-radius: 12px; background: rgba(255,255,255,.92);
  box-shadow: 0 1px 4px rgba(3,60,52,.18);
}
.nova-product-pick input, .nova-library-pick input { width: 22px; height: 22px; accent-color: #075a50; cursor: pointer; }
.nova-product-list-row { position: relative; }
.nova-product-list-row.picked { box-shadow: 0 0 0 2px #075a50 !important; }
.nova-library-image { position: relative; }
.nova-library-image.picked { outline: 2px solid #075a50; outline-offset: 2px; }
.nova-product-list-row {
  min-height: 176px !important;
  padding: 0 !important;
  border: 1px solid rgba(3,60,52,.12) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(3,60,52,.07);
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  color: #16231f;
}
.nova-product-list-row:hover,
.nova-product-list-row.active {
  border-color: #0b6b5f !important;
  box-shadow: 0 0 0 3px rgba(11,107,95,.08),0 12px 30px rgba(3,60,52,.1) !important;
}
.nova-product-list-select {
  width: 100%;
  min-height: 118px;
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: right;
  cursor: pointer;
}
.nova-product-thumb,
.nova-product-thumb-placeholder {
  width: 112px;
  height: 94px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg,#e8f1ee,#d9e7e2);
  border: 1px solid rgba(3,60,52,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #527168;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.nova-product-thumb { position: relative; }
.nova-product-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.nova-product-thumb > em {
  position: absolute;
  inset-inline: 6px;
  bottom: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(3,60,52,.78);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(5px);
}
.nova-product-list-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nova-product-list-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.nova-product-list-title strong { font-size: 15px; line-height: 1.45; white-space: normal; }
.nova-product-list-copy small { color: #66756f; font-size: 12px; font-weight: 800; line-height: 1.5; }
.nova-product-list-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.nova-product-list-meta span { padding: 5px 8px; border-radius: 999px; background: #f2f6f4; color: #31554c; font-size: 11px; font-weight: 900; }
.nova-product-card-actions {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(3,60,52,.08);
  background: #fbfdfc;
}
.nova-product-card-actions .nova-btn {
  min-height: 44px;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.nova-products-workspace > .product-wizard,
.nova-products-workspace > .nova-panel { width: 100%; }
.product-wizard-main { max-width: none !important; }
.nova-site-settings:not([open]) { padding-bottom: 0; }
.nova-site-settings > summary,
.nova-image-library > summary {
  cursor: pointer;
  user-select: none;
}
.nova-site-settings > summary::after,
.nova-image-library > summary::after {
  content: "فتح";
  margin-inline-start: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef5f2;
  color: #075a50;
  font-size: 12px;
  font-weight: 900;
}
.nova-site-settings[open] > summary::after,
.nova-image-library[open] > summary::after { content: "إغلاق"; }
.nova-products-secondary-settings {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.nova-products-secondary-settings > details { margin: 0; }
.nova-offer-manager-intro { padding: 12px 16px 0; color: #5f6f6a; font-weight: 800; }
.nova-offer-editor { margin: 14px; padding: 14px; border: 1px solid #d9e1ea; border-radius: 8px; background: #f8fbfa; }
.nova-offer-editor > header { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nova-offer-editor > header button,
.nova-offer-product button { width: 44px; min-width: 44px; height: 44px; border: 1px solid #efb8b3; border-radius: 7px; background: #fff; color: #b42318; font: inherit; font-weight: 900; cursor: pointer; }
.nova-offer-fields { display: grid; grid-template-columns: minmax(220px, 1fr) 120px 150px; gap: 10px; align-items: end; }
.nova-offer-fields label,
.nova-offer-search label { display: grid; gap: 6px; color: #52615d; font-size: 12px; font-weight: 900; }
.nova-offer-fields input,
.nova-offer-search input { width: 100%; min-height: 44px; padding: 0 11px; border: 1px solid #cfd8e3; border-radius: 7px; background: #fff; font: inherit; }
.nova-offer-active { min-height: 44px; display: flex !important; align-items: center; gap: 8px; }
.nova-offer-active input { width: 22px; min-height: 22px; }
.nova-offer-search { margin-top: 12px; }
.nova-offer-search [data-offer-search-results] { margin-top: 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.nova-offer-search-result { min-height: 48px; padding: 7px 9px; border: 1px solid #d5dfe5; border-radius: 7px; background: #fff; display: flex; align-items: center; gap: 8px; text-align: right; cursor: pointer; }
.nova-offer-search-result img,
.nova-offer-product img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; background: #e8efec; }
.nova-offer-search-result span,
.nova-offer-product span { min-width: 0; flex: 1; display: grid; gap: 2px; }
.nova-offer-search-result small,
.nova-offer-product small { color: #6a7974; }
.nova-offer-products { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 7px; }
.nova-offer-product { min-height: 58px; padding: 7px; border: 1px solid #d9e1ea; border-radius: 7px; background: #fff; display: flex; align-items: center; gap: 8px; }
.nova-offer-empty { padding: 14px; border: 1px dashed #ccd7dd; border-radius: 7px; color: #6b7975; text-align: center; }
.nova-offer-manager-actions { padding: 0 14px 14px; display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 720px) {
  .nova-offer-fields { grid-template-columns: 1fr; }
  .nova-offer-products { grid-template-columns: 1fr; }
  .nova-offer-manager-actions { display: grid; grid-template-columns: 1fr; }
  .nova-offer-manager-actions .nova-btn { width: 100%; }
}

@media (max-width: 1180px) {
  .nova-products-workspace {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr) !important;
  }
}
@media (max-width: 920px) {
  .nova-products-workspace {
    grid-template-columns: 1fr !important;
    grid-template-areas: "list" "editor";
  }
  .nova-products-list {
    position: static !important;
    top: auto !important;
    max-height: none !important;
  }
  .nova-product-list-scroll { max-height: 430px !important; }
  .nova-visible-scrollbar { max-height: 430px; min-height: 260px; }
}
@media (max-width: 620px) {
  .nova-product-list-scroll { max-height: 400px !important; padding: 10px !important; }
  .nova-visible-scrollbar { max-height: 400px; min-height: 240px; }
  .nova-product-list-select { grid-template-columns: 88px minmax(0,1fr); min-height: 110px; gap: 10px; padding: 10px; }
  .nova-product-thumb,.nova-product-thumb-placeholder { width: 88px; height: 82px; }
  .nova-product-card-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nova-product-card-actions .nova-btn { min-height: 44px; }
}

@media (min-width: 901px) {
  .visitor-site-header { grid-template-columns: 190px minmax(420px,1fr) auto 52px; padding-inline: clamp(28px, 5vw, 72px); }
  .visitor-brand-link { justify-self: start; grid-column: 1; grid-row: 1; }
  .desktop-visitor-nav { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 4px; }
  .desktop-visitor-nav button { min-height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.73); font: inherit; font-size: 13px; font-weight: 900; }
  .desktop-visitor-nav button:hover,.desktop-visitor-nav button.active { color: #fff; background: rgba(255,255,255,.12); }
  .header-phone-action { grid-column: 3; grid-row: 1; width: auto; min-width: 108px; padding-inline: 14px; }
  .header-phone-action::after { content: "اتصال"; margin-inline-start: 7px; font-size: 12px; font-weight: 900; }
  .header-whatsapp-action { grid-column: 4; grid-row: 1; }
  .mobile-bottom-nav { display: none; }
  .mobile-scroll { padding-bottom: 54px; }
  .mobile-hero { margin-top: 0; border-radius: var(--radius-lg); min-height: min(620px, 70vh); }
  .mobile-hero-copy { padding-inline: clamp(42px, 7vw, 96px); }
  .hero-search-web { width: min(680px, 100%); }
  .scene-grid.category-scene-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .mobile-product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); justify-content: start; }
  .product-detail-scroll { padding-bottom: 48px; }
  .product-detail-footer { position: sticky; bottom: 18px; margin: 18px auto 0; max-width: 1320px; left: auto; right: auto; width: auto; transform: none; }
  .account-section-nav-web { grid-template-columns: repeat(8, minmax(0,1fr)); }
}

@media (min-width: 1280px) {
  .mobile-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
  }
}

@media (max-width: 1100px) {
  .nova-action-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .mobile-scroll { --mobile-gutter: clamp(12px, 3.5vw, 22px); }
  .product-gallery-web { position: static; }
}

@media (max-width: 620px) {
  .visitor-site-header { min-height: 68px; grid-template-columns: 44px minmax(132px,1fr) 44px; padding-inline: 12px; }
  .visitor-brand-link .mobile-logo { width: 150px; height: 42px; }
  .mobile-screen { min-height: calc(100dvh - 68px); }
  .mobile-hero { min-height: 470px; margin-top: -18px; }
  [data-page="catalog"] .mobile-hero.compact { min-height: 220px; margin-top: 0; }
  .mobile-hero-copy { gap: 10px; padding: 20px 16px 24px; }
  .mobile-hero-title { font-size: clamp(32px, 10vw, 46px); }
  .hero-lead-web { font-size: 13px; line-height: 1.6; }
  .hero-cta-row-web { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-primary-action,.hero-secondary-action { min-width: 0; padding-inline: 12px; gap: 6px; font-size: 12px; }
  .hero-branch-icon { width: 16px; height: 16px; }
  .hero-branch-icon svg { width: 16px; height: 16px; }
  .hero-branch-actions { display: none; }
  .featured-strip { --featured-card-width: min(82vw, 310px); }
  .scene-grid.category-scene-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-scene-grid .scene-card { min-height: 150px; }
  .mobile-product-grid { grid-template-columns: 1fr; }
  .product-card-shell-web { border-radius: 18px; }
  .mobile-product-grid > .product-card-shell-web .mobile-product-card { display: grid; grid-template-columns: 40% minmax(0,1fr); align-items: stretch; min-height: clamp(214px, 55vw, 246px); }
  .mobile-product-grid > .product-card-shell-web .product-image-wrap-web { aspect-ratio: auto; min-height: calc(100% - 16px); height: auto; margin: 8px; border-radius: 13px; align-self: stretch; }
  .mobile-product-grid > .product-card-shell-web .product-image-wrap-web img { height: 100%; min-height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }
  .mobile-product-grid > .product-card-shell-web .mobile-product-body { display: flex; flex-direction: column; min-height: 0; padding: 10px; }
  .mobile-product-grid > .product-card-shell-web .mobile-meta-row { min-height: 22px; gap: 6px; }
  .mobile-product-grid > .product-card-shell-web .mobile-badge { padding: 4px 7px; font-size: 10px; }
  .mobile-product-body h2 { margin-top: 6px; font-size: 18px; line-height: 1.28; }
  .mobile-product-body p { min-height: 0; margin: 6px 0 0; font-size: 11px; line-height: 1.5; }
  .mobile-price-row { margin-top: 8px; padding-top: 8px; }
  .mobile-price-row strong,
  .product-card-discount-web strong { font-size: 16px; }
  .catalog-autocomplete { position: relative; top: auto; z-index: 35; padding-top: 0; background: transparent; }
  .catalog-search { min-height: 54px; border-radius: 16px; padding: 4px 8px; }
  .catalog-search input { height: 44px; padding-inline: 8px; font-size: 16px; }
  .search-suggestions-web { max-height: min(390px, 46dvh); padding: 6px; border-radius: 14px; }
  .search-suggestion-web { min-height: 82px; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 4px; padding: 9px; }
  .search-suggestion-main-web { width: 100%; gap: 9px; }
  .search-suggestion-copy-web strong,
  .search-suggestion-copy-web small { white-space: normal; overflow-wrap: anywhere; }
  .search-suggestion-copy-web strong { line-height: 1.35; }
  .search-suggestion-copy-web small { line-height: 1.4; }
  .search-suggestion-web > b { width: 100%; padding-inline-start: 57px; white-space: normal; font-size: 11px; line-height: 1.4; text-align: right; }
  .search-suggestion-category-web { min-height: 72px; }
  .search-suggestion-category-web > b { padding-inline-start: 43px; }
  .cart-item-web { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cart-product-web { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
  .cart-item-image-web { width: 68px; height: 68px; border-radius: 12px; }
  .qty-control-web { width: 100%; grid-template-columns: 44px minmax(48px, 1fr) 44px; }
  .qty-control-web button { width: 44px; height: 44px; border-radius: 22px; }
  .catalog-filter-bar-web { grid-template-columns: 1fr; gap: 8px; padding: 10px; border-radius: 16px; }
  .catalog-filter-field-web { grid-template-columns: 72px minmax(0,1fr); align-items: center; }
  .catalog-filter-field-web select { min-height: 46px; }
  .product-unavailable-copy-web { min-height: 21px; margin-top: 5px; padding-inline: 7px; font-size: 9.5px; line-height: 1.3; }
  .product-card-open-web { padding-top: 6px; font-size: 11px; }
  .mobile-product-grid > .product-card-shell-web .product-card-actions-web { grid-template-columns: 1fr 1fr; padding: 6px 8px 8px; }
  .mobile-product-grid > .product-card-shell-web .product-card-actions-web.has-whatsapp { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mobile-product-grid > .product-card-shell-web .product-card-actions-web button,
  .mobile-product-grid > .product-card-shell-web .product-card-actions-web a { min-height: 40px; font-size: 11px; }
  .mobile-product-grid > .product-card-shell-web .product-card-actions-web.has-whatsapp button,
  .mobile-product-grid > .product-card-shell-web .product-card-actions-web.has-whatsapp a { padding-inline: 4px; }
  .product-card-actions-web { grid-template-columns: 1fr 1fr; }
  .checkout-form-web { grid-template-columns: 1fr; }
  .checkout-field-web.wide { grid-column: auto; }
  .product-detail-scroll { padding-bottom: calc(154px + env(safe-area-inset-bottom)); }
  .product-detail-copy { padding: 16px; border-radius: 20px; }
  .product-detail-title { font-size: 34px; }
  .product-price-summary-web { grid-template-columns: 1fr auto; padding: 13px; }
  .product-price-summary-web > strong { font-size: 26px; }
  .meter-quantity-picker-web { grid-template-columns: 42px minmax(0,1fr) 42px; }
  .meter-quantity-picker-web > div { grid-column: 1 / -1; }
  .color-list-web,.variant-list-web { grid-template-columns: 1fr; }
  .product-detail-footer { min-height: 72px; grid-template-columns: minmax(0,1fr) minmax(128px,44%); gap: 8px; padding: 8px 10px; bottom: calc(max(8px, env(safe-area-inset-bottom)) + 72px); }
  .product-detail-footer .modal-add { width: 100%; min-height: 50px; }
  .product-detail-footer strong { font-size: 20px; }
  .product-detail-footer span { font-size: 10px; }
  .mobile-bottom-nav { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); width: auto; transform: none; }
  .account-section-nav-web { grid-template-columns: repeat(4,minmax(0,1fr)); overflow: visible; }
  .account-section-nav-web button { flex-direction: column; gap: 3px; padding-inline: 2px; font-size: 10px; }
  .nova-action-grid { grid-template-columns: 1fr; }
  .product-wizard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    overflow: visible;
    padding: 8px;
    gap: 8px;
  }
  .product-wizard-steps button {
    min-height: 52px;
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 7px;
    border-radius: 12px;
    font-size: 11px;
  }
  .product-wizard-steps button b {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .product-wizard-steps button span {
    white-space: normal;
    line-height: 1.25;
  }
  .nova-visible-scrollbar {
    grid-template-rows: 44px minmax(90px,1fr) 44px;
    border-radius: 20px;
  }
  .nova-visible-scrollbar > button {
    min-height: 44px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .product-wizard-steps { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

