:root {
  --radius: 18px;
  --ink: #21123d;
  --muted: #6d6280;
  --line: rgba(104, 65, 171, 0.16);
  --brand: #6d28d9;
  --brand-dark: #3f197d;
  --accent: #8b5cf6;
  --success: #166534;
  --warning: #f4c95d;
  --bg: #f7f4ff;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(73, 38, 132, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ff 38%, #efe7ff 100%);
}

button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  min-height: 100vh;
  color: var(--ink);
  background: transparent;
  padding-bottom: 26px;
}

.top-ribbon {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(90deg, #3f197d, #6d28d9, #8b5cf6);
  font-size: 13px;
  font-weight: 900;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  position: sticky;
  top: 12px;
  z-index: 30;
  margin: 18px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 44px rgba(73, 38, 132, 0.14);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3f197d, #8b5cf6);
  color: #fff;
  font-weight: 900;
  font-size: 24px;
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 20px; letter-spacing: .01em; }
.brand small { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a, .cart-button, .menu-toggle, .drawer-header button, .assistant-header button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 10px 13px;
  cursor: pointer;
  font-weight: 800;
}
.nav-links a:hover, .cart-button:hover, .menu-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.nav-links a:hover, .cart-button:hover, .menu-toggle:hover {
  color: var(--brand);
  background: rgba(109, 40, 217, 0.1);
}
.menu-toggle { display: none; }
.cart-button span {
  margin-left: 6px;
  background: var(--warning);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 2px 8px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(86vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(380px, 0.64fr);
  gap: clamp(18px, 2vw, 30px);
  align-items: stretch;
  padding: 26px 0 36px;
}
.hero h1, .section-heading h2 {
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.02;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 900;
}
.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}
.hero-actions, .form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  border: 0;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); }
.button.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(180deg, #ffffff, #faf8ff);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 8px solid var(--warning);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.hero-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.hero-panel div { padding: 16px 4px 4px; }
.hero-panel strong { display: block; font-size: 20px; margin-bottom: 6px; }
.hero-panel span { color: var(--muted); line-height: 1.55; }

.hero-content {
  position: relative;
  min-height: clamp(620px, calc(100vh - 168px), 790px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(34px, 5vw, 76px);
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(35, 16, 70, 0.92), rgba(77, 29, 149, 0.68) 48%, rgba(109, 40, 217, 0.24)),
    url("assets/catalog/page-03.jpg") center / cover no-repeat;
  box-shadow: 0 34px 90px rgba(35, 16, 70, 0.22);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 8px solid var(--warning);
  pointer-events: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-content .eyebrow {
  width: fit-content;
  padding: 8px 11px;
  color: var(--brand-dark);
  background: #fff;
  border-radius: var(--radius);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.hero-stats span {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.86);
}
.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.highlights article, .product-card, .planner, .staff-card, .admin-dashboard, .admin-login, .drawer-panel, .assistant-panel, .role-login, .login-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.highlights article {
  padding: 22px;
  border-top: 5px solid var(--brand);
}
.highlights strong { display: block; color: var(--brand-dark); font-size: 17px; margin-bottom: 8px; }
.highlights span { color: var(--muted); line-height: 1.55; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
}
main .eyebrow, .section-heading .eyebrow { color: var(--brand); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14);
}
textarea { min-height: 104px; resize: vertical; }
label { display: grid; gap: 7px; color: #475569; font-weight: 800; font-size: 13px; }
.filters input { min-width: 280px; }
.filters select { min-width: 220px; }

.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.category-pills button {
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  border-radius: var(--radius);
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
}
.category-pills button.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .16s ease, box-shadow .16s ease;
  border-top: 4px solid rgba(109, 40, 217, 0.76);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 72px rgba(73, 38, 132, 0.18);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  background: #efe7ff;
}
.product-body {
  padding: 15px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.product-body h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta { display: flex; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 12px; font-weight: 700; }
.tag {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(109, 40, 217, 0.1);
  color: var(--brand-dark);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.price { font-weight: 900; color: var(--brand-dark); }
.product-card .button { padding: 10px 12px; }

.planner, .staff-card, .admin-login, .admin-dashboard, .role-login, .login-note { padding: 24px; }
.planner, .staff-card, .admin-dashboard, .role-login, .login-note {
  box-shadow: var(--shadow);
}
.event-form, .staff-card form, .inventory-form, .settings-form, .content-form, .account-form, .role-login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wide { grid-column: 1 / -1; }
.staff-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.availability-list { display: grid; gap: 10px; align-content: start; }
.availability-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: #faf8ff;
}
.availability-item strong { display: block; }
.availability-item span { display: block; color: var(--muted); margin-top: 4px; }

.admin-login, .role-login, .login-note { max-width: 760px; }
.login-note { display: grid; gap: 10px; align-content: start; }
.login-note strong { display: block; font-size: 19px; }
.login-note span, .login-status { color: var(--muted); line-height: 1.5; margin: 0; }
.role-login button, .login-status { align-self: end; }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.admin-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  border-radius: var(--radius);
  padding: 10px 13px;
  font-weight: 900;
  cursor: pointer;
}
.admin-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.admin-pane { display: none; }
.admin-pane.active { display: block; }
.admin-table { margin-top: 18px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .10em; color: var(--muted); background: #f7f0ff; }
td button {
  margin-right: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cart-drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  margin-left: auto;
  width: min(460px, 100%);
  height: 100vh;
  border-radius: 0;
  padding: 22px;
  overflow-y: auto;
}
.drawer-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.drawer-header button, .assistant-header button {
  color: var(--ink);
  background: #faf8ff;
  border: 1px solid var(--line);
}
.cart-line {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.cart-line img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.cart-line button { margin-left: auto; border: 0; color: #be123c; background: transparent; cursor: pointer; font-weight: 900; }
.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.checkout-form label:nth-child(5),
.checkout-form .button,
.checkout-status {
  grid-column: 1 / -1;
}
.checkout-status { min-height: 22px; color: var(--brand); font-weight: 800; }

.assistant-launch {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  border: 0;
  background: linear-gradient(135deg, #3f197d, #6d28d9);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 16px;
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.assistant-panel {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: min(390px, calc(100vw - 32px));
  z-index: 45;
  padding: 16px;
}

.cart-drawer.open ~ .assistant-launch,
.cart-drawer.open ~ .assistant-panel {
  display: none;
}
.assistant-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.assistant-messages { max-height: 310px; overflow-y: auto; display: grid; gap: 10px; margin-bottom: 12px; }
.message { padding: 10px 12px; border-radius: var(--radius); line-height: 1.5; background: #e0f2fe; }
.message.user { background: #f4efff; }
.assistant-panel form { display: flex; gap: 8px; }
.assistant-panel button[type="submit"] {
  border: 0;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 0 14px;
  font-weight: 900;
}

.login-section {
  width: min(1180px, calc(100% - 32px));
  margin-top: 34px;
  padding: 42px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.28), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.18), transparent 20%),
    linear-gradient(135deg, #140820 0%, #0c1020 42%, #12071d 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
}

.login-section .section-heading {
  color: #fff;
}

.login-section .section-heading .eyebrow {
  color: #f5d0fe;
}

.role-login {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.role-login label,
.role-login .login-status {
  color: rgba(255, 255, 255, 0.82);
}

.role-login input,
.role-login select {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.role-login input::placeholder {
  color: #d8b4fe;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 24px;
  padding: 30px;
  border-radius: 8px 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #120821, #3f197d);
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 8px;
  font-weight: 750;
}

.login-section,
.admin-section,
.staff-section {
  display: none;
}

[hidden] {
  display: none !important;
}

body.route-login,
body.route-portal,
body.route-staff-portal {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.1), transparent 26%),
    #f7f5ff;
}

body.route-login .site-header,
body.route-login .highlights,
body.route-login .catalog-section,
body.route-login .planner,
body.route-login .staff-section,
body.route-login .admin-section,
body.route-login .site-footer,
body.route-login .assistant-launch,
body.route-portal .site-header,
body.route-portal .highlights,
body.route-portal .catalog-section,
body.route-portal .planner,
body.route-portal .staff-section,
body.route-portal .site-footer,
body.route-portal .assistant-launch,
body.route-staff-portal .site-header,
body.route-staff-portal .highlights,
body.route-staff-portal .catalog-section,
body.route-staff-portal .planner,
body.route-staff-portal .admin-section,
body.route-staff-portal .site-footer,
body.route-staff-portal .assistant-launch {
  display: none;
}

body.route-login main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

body.route-login .login-section {
  width: min(1120px, 100%);
  min-height: min(720px, calc(100vh - 40px));
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

body.route-login .login-section .section-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0;
  min-height: 100%;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(139,92,246,.42), rgba(109,40,217,.34)),
    url("assets/catalog/page-07.jpg") center / cover no-repeat;
}

body.route-login .login-section .section-heading h2 {
  max-width: 620px;
  font-size: clamp(36px, 5vw, 62px);
  color: #fff;
}

body.route-login .role-login {
  max-width: none;
  min-height: 100%;
  align-content: center;
  border-radius: 0;
  padding: 42px;
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.24), transparent 24%),
    linear-gradient(135deg, #140820 0%, #0c1020 42%, #12071d 100%);
}

body.route-portal main,
body.route-staff-portal main {
  min-height: 100vh;
}

body.route-portal .admin-section,
body.route-staff-portal .staff-section {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.1), transparent 26%),
    #f7f5ff;
}

body.route-portal .admin-section > .section-heading,
body.route-staff-portal .staff-section > .section-heading {
  position: sticky;
  top: 0;
  z-index: 3;
  pointer-events: none;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  margin: 0;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

body.route-portal .admin-section > .section-heading button,
body.route-staff-portal .staff-section > .section-heading button {
  pointer-events: auto;
}

body.route-portal .admin-section > .section-heading h2,
body.route-staff-portal .staff-section > .section-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

body.route-portal .admin-dashboard {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body.route-portal .admin-tabs {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 0;
  min-height: 100vh;
  align-content: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  background: #ffffff;
  box-shadow: var(--shadow);
}

body.route-portal .admin-tabs::before,
body.route-staff-portal .staff-card::before {
  content: "Moskabo Portal";
  display: block;
  margin-bottom: 10px;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, #f4efff, #ffffff);
  border: 1px solid var(--line);
  font-weight: 950;
}

body.route-portal .admin-tabs button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 15px 16px;
}

body.route-portal .admin-pane {
  grid-column: 2;
  grid-row: 1;
  padding: 118px 28px 32px;
}

body.route-portal .admin-pane.active {
  display: block;
}

body.route-portal #adminGate {
  grid-column: 2;
}

body.route-staff-portal .staff-card {
  grid-column: 1 / -1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body.route-staff-portal .staff-card::before {
  grid-column: 1;
  grid-row: 1 / span 3;
  min-height: 100vh;
  margin: 0;
  border-radius: 0;
  padding: 28px 18px;
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
}

body.route-staff-portal #staffGate,
body.route-staff-portal #staffForm,
body.route-staff-portal #publicAvailability {
  grid-column: 2;
  margin: 0 28px 22px;
}

body.route-staff-portal #staffForm,
body.route-staff-portal #publicAvailability {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

body.route-staff-portal #staffForm {
  margin-top: 118px;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { min-height: auto; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 20;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a, .cart-button {
    width: 100%;
    text-align: left;
    color: var(--ink);
    background: #fff;
    border-radius: var(--radius);
  }
  .hero {
    min-height: auto;
    padding: 46px 0 58px;
  }
  .hero-content {
    min-height: 540px;
    padding: 28px 22px;
  }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .filters { justify-content: stretch; }
  .filters input, .filters select { min-width: 0; }
  .highlights, .product-grid, .event-form, .staff-card form, .inventory-form, .settings-form, .content-form, .account-form, .role-login { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .section { padding: 48px 0; }
  .login-section {
    padding: 24px 18px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
}


.order-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.order-toolbar button, .admin-table button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
  border-radius: 12px;
  padding: 8px 11px;
  font-weight: 850;
  cursor: pointer;
}
.order-toolbar button:hover, .admin-table button:hover {
  background: #f3edff;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 35;
  padding: 13px 16px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(22, 163, 74, .28);
}
body.route-login .whatsapp-float, body.route-portal .whatsapp-float, body.route-staff-portal .whatsapp-float {
  display: none;
}
.product-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(73, 38, 132, .16);
}
.admin-table {
  overflow-x: auto;
}
.admin-table table {
  min-width: 760px;
}
@media (max-width: 860px) {
  body.route-portal .admin-section,
  body.route-staff-portal .staff-section,
  body.route-portal .admin-dashboard,
  body.route-staff-portal .staff-card {
    display: block;
    min-height: auto;
  }
  body.route-portal .admin-tabs,
  body.route-staff-portal .staff-card::before {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  body.route-portal .admin-section > .section-heading,
  body.route-staff-portal .staff-section > .section-heading {
    position: static;
    padding: 22px;
  }
  body.route-portal .admin-pane {
    padding: 22px;
  }
  body.route-staff-portal #staffGate,
  body.route-staff-portal #staffForm,
  body.route-staff-portal #publicAvailability {
    margin: 18px;
  }
  body.route-staff-portal #staffForm {
    margin-top: 18px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    bottom: 80px;
    right: 16px;
  }
}

/* Moskabo next-level operational upgrade */
.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  border: 2px solid rgba(244, 201, 93, .55);
  box-shadow: 0 10px 24px rgba(18, 8, 33, .14);
}
.brand-mark { display: none; }
.hero-content {
  background:
    linear-gradient(90deg, rgba(35, 16, 70, 0.92), rgba(77, 29, 149, 0.68) 48%, rgba(109, 40, 217, 0.24)),
    var(--hero-bg-image, url("assets/catalog/page-03.jpg")) center / cover no-repeat;
}
.hide-planner #planner { display: none; }
.hide-public-staff:not(.route-staff-portal) main > .staff-section { display: none; }
.editor-help {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #fff8e5);
}
.editor-help strong { font-size: 18px; }
.editor-help span { color: var(--muted); line-height: 1.55; }
.custom-sections:empty { display: none; }
.custom-section-card {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.custom-section-card h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 48px); }
.custom-section-card p { color: var(--muted); line-height: 1.7; }
.custom-media {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 16px;
  background: #f4efff;
}
.login-brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}
.login-brand-card img {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
}
.login-brand-card strong, .login-brand-card span { display: block; }
.login-brand-card strong { color: #fff; font-size: 20px; }
.login-brand-card span { color: rgba(255,255,255,.72); margin-top: 4px; }
.login-return { margin-top: 18px; background: rgba(255,255,255,.95); color: var(--brand-dark); }
body.route-login .login-section .section-heading {
  background:
    linear-gradient(135deg, rgba(13, 22, 46, .72), rgba(109, 40, 217, .34)),
    url("assets/logo-moskabo.jpeg") center / cover no-repeat;
}
body.route-login .role-login {
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 201, 93, 0.18), transparent 24%),
    radial-gradient(circle at 90% 80%, rgba(42, 173, 94, .18), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #111827 45%, #20103d 100%);
}
.app-toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 92px;
  max-width: min(420px, calc(100% - 44px));
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #166534, #15803d);
  box-shadow: 0 18px 46px rgba(22, 101, 52, .28);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  font-weight: 900;
}
.app-toast.show { transform: translateY(0); opacity: 1; }

/* Fix portal blank/blur issue: clean dashboard instead of blurred split screen */
body.route-portal .admin-section {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 24px;
  background: #f7f5ff;
}
body.route-portal .admin-section > .section-heading {
  position: static;
  display: flex;
  pointer-events: auto;
  margin: 0 0 18px 300px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  backdrop-filter: none;
  box-shadow: 0 14px 36px rgba(73, 38, 132, .08);
}
body.route-portal .admin-dashboard {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.route-portal .admin-tabs {
  position: sticky;
  top: 18px;
  min-height: 0;
  height: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(73, 38, 132, .08);
}
body.route-portal .admin-tabs::before {
  content: "Moskabo Portal";
  background:
    linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,255,255,.94)),
    url("assets/logo-moskabo.jpeg") center / cover no-repeat;
}
body.route-portal .admin-pane {
  grid-column: 2;
  padding: 0;
  min-width: 0;
}
body.route-portal .admin-pane.active {
  display: block;
}
body.route-portal .content-form,
body.route-portal .inventory-form,
body.route-portal .settings-form,
body.route-portal .account-form,
body.route-portal .admin-table,
body.route-portal .editor-help {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(73, 38, 132, .08);
}
body.route-portal .admin-table { padding: 18px; overflow-x: auto; }
body.route-portal .content-form,
body.route-portal .inventory-form,
body.route-portal .settings-form,
body.route-portal .account-form { padding: 20px; margin-bottom: 18px; }

@media (max-width: 900px) {
  .custom-section-card { grid-template-columns: 1fr; }
  body.route-portal .admin-section { padding: 12px; }
  body.route-portal .admin-section > .section-heading { margin: 0 0 12px; }
  body.route-portal .admin-dashboard { grid-template-columns: 1fr; }
  body.route-portal .admin-tabs { position: static; flex-direction: row; overflow-x: auto; }
  body.route-portal .admin-pane { grid-column: 1; }
}

/* Moskabo professional revision: clean login, no forced cart open, stronger dashboard */
.login-section {
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  padding: 0;
}
.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(109,40,217,.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 15%, rgba(244,201,93,.22), transparent 22%),
    radial-gradient(circle at 90% 20%, rgba(42,173,94,.16), transparent 26%),
    linear-gradient(135deg, #ffffff, #f7f2ff 52%, #fff7df);
  box-shadow: 0 34px 90px rgba(35,16,70,.14);
}
.login-hero-copy {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 54px);
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(63,25,125,.86)),
    url("assets/catalog/page-10.jpg") center / cover no-repeat;
  overflow: hidden;
  position: relative;
}
.login-hero-copy::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(244,201,93,.24);
}
.login-mini-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: auto;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 900;
}
.login-mini-brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 14px; background: #fff; }
.login-hero-copy h2 { margin: 0; font-size: clamp(42px, 5vw, 76px); letter-spacing: -.04em; line-height: .95; color: #fff; }
.login-hero-copy p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.78); line-height: 1.75; font-size: 17px; }
.login-hero-copy .eyebrow { color: #fde68a; margin-top: auto; }
.login-return { width: fit-content; margin-top: 18px; background: #fff; color: var(--brand-dark); }
.role-login {
  max-width: none;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(109,40,217,.12);
  box-shadow: 0 24px 70px rgba(35,16,70,.12);
  backdrop-filter: none;
}
.role-login label, .role-login .login-status { color: var(--muted); }
.role-login input, .role-login select {
  color: var(--ink);
  background: #fbfaff;
  border: 1px solid rgba(109,40,217,.16);
  border-radius: 14px;
  padding: 13px 14px;
}
.role-login input::placeholder { color: #9a8db2; }
.login-brand-card {
  background: linear-gradient(135deg, #f7f2ff, #fff8e5);
  border: 1px solid rgba(109,40,217,.12);
}
.login-brand-card strong { color: var(--ink); }
.login-brand-card span { color: var(--muted); }
body.route-login main { display: grid; place-items: center; padding: 24px; }
body.route-login .login-section { width: 100%; min-height: auto; display: block; background: transparent; box-shadow: none; border-radius: 0; }
body.route-login .login-shell { min-height: min(720px, calc(100vh - 48px)); }
body.route-login .role-login { min-height: auto; align-content: start; border-radius: var(--radius); }
body.route-login .login-section .section-heading { display: none; }

body.route-portal .admin-section {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(244,201,93,.18), transparent 25%),
    radial-gradient(circle at bottom left, rgba(42,173,94,.12), transparent 24%),
    #f6f3fb;
}
body.route-portal .admin-section > .section-heading {
  margin: 0 0 18px 300px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
}
body.route-portal .admin-section > .section-heading h2 { font-size: clamp(26px, 2.4vw, 38px); }
body.route-portal .admin-dashboard { grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
body.route-portal .admin-tabs {
  padding: 14px;
  background: #fff;
  gap: 8px;
  align-content: start;
}
body.route-portal .admin-tabs::before {
  content: "Moskabo Portal\A CEO/Admin Console";
  white-space: pre-line;
  display: block;
  margin: 0 0 12px;
  padding: 92px 16px 16px;
  border-radius: 20px;
  color: #fff;
  font-weight: 950;
  line-height: 1.25;
  background:
    linear-gradient(180deg, rgba(15,23,42,.22), rgba(15,23,42,.82)),
    url("assets/logo-moskabo.jpeg") center 18px / 82px 82px no-repeat,
    linear-gradient(135deg, #3f197d, #6d28d9);
}
body.route-portal .admin-tabs button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border-radius: 15px;
  background: #fbfaff;
}
body.route-portal .admin-tabs button.active { background: linear-gradient(135deg, #21123d, #6d28d9); color: #fff; }
.dashboard-hero-card,
.overview-panel,
.overview-grid article {
  border: 1px solid rgba(109,40,217,.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(35,16,70,.08);
}
.dashboard-hero-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.93), rgba(63,25,125,.86)),
    url("assets/catalog/page-20.jpg") center / cover no-repeat;
}
.dashboard-hero-card h3 { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; }
.dashboard-hero-card span { display: block; margin-top: 10px; max-width: 720px; color: rgba(255,255,255,.78); line-height: 1.65; }
.dashboard-hero-card .eyebrow { color: #fde68a; }
.overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.overview-grid article { padding: 20px; }
.overview-grid span { display: block; color: var(--muted); font-weight: 850; font-size: 13px; }
.overview-grid strong { display: block; margin: 8px 0; font-size: 36px; color: var(--brand-dark); letter-spacing: -.03em; }
.overview-grid small { color: var(--muted); line-height: 1.45; }
.overview-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.overview-panel { padding: 22px; }
.overview-panel h3 { margin: 0 0 14px; font-size: 20px; }
.overview-order { padding: 13px 0; border-bottom: 1px solid var(--line); }
.overview-order:last-child { border-bottom: 0; }
.overview-order strong, .overview-order span { display: block; }
.overview-order span, .muted-note { color: var(--muted); margin-top: 4px; }
.stock-chip-list { display: flex; flex-wrap: wrap; gap: 9px; }
.stock-chip-list span { padding: 9px 11px; border-radius: 999px; background: #f7f2ff; color: var(--brand-dark); font-weight: 850; }
.product-card .price-row .button::after { content: ""; }
@media (max-width: 1000px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-hero-copy { min-height: 420px; }
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-split { grid-template-columns: 1fr; }
  body.route-portal .admin-section > .section-heading { margin-left: 0; }
}
@media (max-width: 720px) {
  .login-shell { padding: 14px; }
  .login-hero-copy { min-height: 360px; padding: 26px; }
  .overview-grid { grid-template-columns: 1fr; }
  .dashboard-hero-card { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   MOSKABO CREATIVE PRO THEME - distinct from NGO/scout layout
   ========================================================= */
:root {
  --radius: 28px;
  --ink: #141414;
  --muted: #647084;
  --line: rgba(20, 20, 20, 0.09);
  --brand: #ff7a00;
  --brand-dark: #d9480f;
  --accent: #00a7e1;
  --green: #27b44b;
  --red: #ef3340;
  --sun: #ffd23f;
  --bg: #fffaf0;
  --card: #ffffff;
  --shadow: 0 26px 80px rgba(19, 31, 54, 0.13);
}

body {
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 210, 63, .30), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(0, 167, 225, .24), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(15, 76, 129, .08), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #ffffff 42%, #f3fbff 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(90deg, rgba(255,122,0,.08) 1px, transparent 1px),
    linear-gradient(rgba(0,167,225,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.12));
}

.top-ribbon {
  background: linear-gradient(90deg, #0b1220, #0f4c81, #f59e0b);
  color: #101010;
  font-weight: 1000;
  letter-spacing: .02em;
}

.topbar {
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.86);
  border-radius: 999px;
  box-shadow: 0 16px 60px rgba(20,20,20,.10);
}

.brand-logo, .login-mini-brand img, .login-brand-card img {
  border-radius: 22px !important;
  background: #fff;
  box-shadow: 0 12px 34px rgba(239, 51, 64, .16);
  object-fit: cover;
}

.brand-logo { width: 54px; height: 54px; }
.brand strong { color: #ef3340; font-weight: 1000; }
.brand small { color: #0b7fab; }

.nav-links a, .cart-button, .menu-toggle {
  border-radius: 999px;
}
.nav-links a:hover, .cart-button:hover, .menu-toggle:hover {
  color: #111;
  background: linear-gradient(135deg, rgba(255,210,63,.6), rgba(255,122,0,.18));
}
.cart-button span { background: var(--red); color: #fff; }

.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr);
}

.hero-content {
  color: #111;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,250,240,.78) 46%, rgba(255,210,63,.14)),
    var(--hero-bg-image, url("assets/catalog/page-03.jpg")) center / cover no-repeat !important;
  border-radius: 42px;
  box-shadow: 0 36px 100px rgba(255, 122, 0, .18);
  border: 2px solid rgba(255,255,255,.96);
}
.hero-content::before {
  border: 0;
  background:
    linear-gradient(90deg, #0b1220, #0f4c81, #f59e0b) top/100% 12px no-repeat,
    radial-gradient(circle at 18% 20%, rgba(239,51,64,.12), transparent 23%),
    radial-gradient(circle at 86% 74%, rgba(0,167,225,.14), transparent 28%);
}
.hero p { color: #3c4656; font-size: 19px; }
.hero h1 {
  color: #101010;
  max-width: 820px;
  text-wrap: balance;
}
.hero-content .eyebrow {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--brand));
  box-shadow: 0 14px 28px rgba(239,51,64,.18);
}
.hero-stats span {
  border: 1px solid rgba(20,20,20,.08);
  background: rgba(255,255,255,.76);
  color: #172033;
}
.hero-stats strong { color: var(--red); }

.hero-panel {
  border: 0;
  border-radius: 42px;
  background:
    radial-gradient(circle at 20% 0, rgba(255,210,63,.35), transparent 30%),
    linear-gradient(180deg, #101828, #13233b 55%, #0b7fab);
  color: #fff;
  overflow: hidden;
  padding: 18px;
}
.hero-panel img {
  border-radius: 32px;
  aspect-ratio: 4/5;
  border: 8px solid rgba(255,255,255,.08);
}
.hero-panel span { color: rgba(255,255,255,.78); }

.button.primary {
  color: #151515;
  background: linear-gradient(135deg, var(--sun), var(--brand));
  box-shadow: 0 14px 34px rgba(255,122,0,.25);
}
.button.primary:hover { background: linear-gradient(135deg, var(--brand), var(--red)); color: #fff; }
.button.ghost { border: 1px solid rgba(20,20,20,.10); background: rgba(255,255,255,.9); }

.highlights article, .product-card, .planner, .staff-card, .admin-dashboard, .drawer-panel, .assistant-panel, .role-login, .login-note,
.custom-section-card, .overview-panel, .dashboard-hero-card, .overview-grid article, .editor-help {
  border-radius: 32px !important;
  border: 1px solid rgba(20,20,20,.08) !important;
  box-shadow: 0 22px 70px rgba(19, 31, 54, .10) !important;
}

.highlights article:nth-child(1) { border-top: 8px solid var(--red) !important; }
.highlights article:nth-child(2) { border-top: 8px solid var(--sun) !important; }
.highlights article:nth-child(3) { border-top: 8px solid var(--accent) !important; }

.product-card {
  overflow: hidden;
  background: #fff;
  transform: translateZ(0);
}
.product-card::before {
  content: "";
  height: 8px;
  display: block;
  background: linear-gradient(90deg, #0b1220, #0f4c81, #f59e0b);
}
.product-card:hover {
  transform: translateY(-8px) rotate(-.3deg);
  box-shadow: 0 30px 90px rgba(0, 167, 225, .18) !important;
}
.product-card img { border-radius: 0 0 24px 24px; }
.tag { border-radius: 999px; background: #fff7d1; color: #7c3b00; border-color: rgba(255,122,0,.22); }
.price { color: var(--red); }

.login-shell {
  max-width: 1040px;
  margin: 0 auto;
  grid-template-columns: .95fr 1.05fr;
  border-radius: 42px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 36px 120px rgba(19,31,54,.16);
  border: 1px solid rgba(20,20,20,.08);
}
.login-hero-copy {
  background:
    radial-gradient(circle at 0 0, rgba(255,210,63,.52), transparent 38%),
    radial-gradient(circle at 100% 16%, rgba(0,167,225,.20), transparent 36%),
    linear-gradient(160deg, #fffaf0, #ffffff 56%, #fff4e6);
  color: #101010;
  border-radius: 0 !important;
}
.login-hero-copy h2 {
  color: #111;
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: -.05em;
  line-height: .94;
}
.login-hero-copy p { color: #506070; }
.role-login {
  border: 0 !important;
  box-shadow: none !important;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, #0f4c81, #f59e0b) border-box;
  border-left: 1px solid rgba(20,20,20,.08) !important;
}
.login-brand-card {
  background: #f7fbff;
  border: 1px solid rgba(0,167,225,.12);
  border-radius: 24px;
}

.admin-section .section-heading h2,
#tab-overview h3 { letter-spacing: -.03em; }
.admin-dashboard {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,250,240,.9));
  padding: 18px;
}
.admin-tabs {
  padding: 10px;
  border-radius: 28px;
  background: #111827;
  gap: 8px;
}
.admin-tabs button {
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: transparent;
}
.admin-tabs button.active {
  color: #111;
  background: linear-gradient(135deg, var(--sun), var(--brand));
  box-shadow: 0 14px 32px rgba(255,122,0,.28);
}
.dashboard-hero-card {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,210,63,.38), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(239,51,64,.22), transparent 24%),
    linear-gradient(135deg, #111827, #12304a 52%, #0b7fab) !important;
  border: 0 !important;
  color: #fff;
}
.dashboard-hero-card h3 { color: #fff; }
.overview-grid article {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.overview-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,210,63,.8), rgba(255,122,0,.35));
}
.overview-grid article:nth-child(2)::after { background: linear-gradient(135deg, rgba(0,167,225,.55), rgba(15,76,129,.18)); }
.overview-grid article:nth-child(3)::after { background: linear-gradient(135deg, rgba(239,51,64,.50), rgba(255,210,63,.45)); }
.overview-grid article:nth-child(4)::after { background: linear-gradient(135deg, rgba(15,76,129,.24), rgba(0,167,225,.35)); }
.overview-grid strong { color: #111827; font-size: 42px; }
.editor-help {
  background: linear-gradient(135deg, #fff7d1, #fff, #eefaff) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.editor-help strong::before { content: "LIVE · "; color: var(--red); }
.content-form label:focus-within, .inventory-form label:focus-within, .role-login label:focus-within {
  box-shadow: 0 0 0 4px rgba(255,122,0,.12);
  border-radius: 18px;
}

.live-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.live-preview-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34,197,94,.14);
}
.admin-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

@media (max-width: 880px) {
  .topbar { border-radius: 28px; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { min-height: 560px; }
  .login-shell { grid-template-columns: 1fr; }
}

/* =========================================================
   MOSKABO STUDIO PRO THEME - no rainbow styling
   ========================================================= */
:root {
  --radius: 24px;
  --ink: #111827;
  --muted: #667085;
  --line: rgba(17, 24, 39, .10);
  --brand: #f59e0b;
  --brand-dark: #b45309;
  --accent: #0f4c81;
  --navy: #0b1220;
  --red: #dc2626;
  --sun: #f59e0b;
  --bg: #f8fafc;
  --card: #ffffff;
  --shadow: 0 28px 80px rgba(15, 23, 42, .13);
}
body {
  background:
    radial-gradient(circle at 12% 6%, rgba(245, 158, 11, .16), transparent 28%),
    radial-gradient(circle at 90% 4%, rgba(15, 76, 129, .12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #eef4fb 100%);
}
body::before {
  background-image:
    linear-gradient(90deg, rgba(15, 76, 129, .045) 1px, transparent 1px),
    linear-gradient(rgba(245, 158, 11, .04) 1px, transparent 1px);
}
.top-ribbon {
  background: linear-gradient(90deg, #0b1220, #0f4c81 62%, #b45309);
  color: #fff;
}
.topbar { box-shadow: 0 16px 44px rgba(15,23,42,.10); }
.nav-links a:hover, .cart-button:hover, .menu-toggle:hover {
  color: var(--accent);
  background: rgba(15, 76, 129, .08);
}
.brand strong { color: #dc2626; }
.brand small { color: var(--accent); }
.hero-content {
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(248,250,252,.88) 58%, rgba(245,158,11,.13)),
    var(--hero-bg-image, url("assets/catalog/page-03.jpg")) center / cover no-repeat !important;
  box-shadow: 0 36px 100px rgba(15,23,42,.12);
}
.hero-content::before {
  background:
    linear-gradient(90deg, #dc2626, #f59e0b) top/100% 10px no-repeat,
    radial-gradient(circle at 18% 20%, rgba(245,158,11,.14), transparent 23%),
    radial-gradient(circle at 86% 74%, rgba(15,76,129,.12), transparent 28%) !important;
}
.hero-content .eyebrow { background: linear-gradient(135deg, #0f4c81, #0b1220); }
.hero-panel {
  background:
    radial-gradient(circle at 24% 0, rgba(245,158,11,.28), transparent 32%),
    linear-gradient(180deg, #0b1220, #132238 58%, #0f4c81) !important;
}
.button.primary {
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  box-shadow: 0 14px 34px rgba(245, 158, 11, .22);
}
.button.primary:hover { color: #fff; background: linear-gradient(135deg, #0f4c81, #0b1220) !important; }
.highlights article:nth-child(1), .highlights article:nth-child(2), .highlights article:nth-child(3) { border-top: 8px solid #f59e0b !important; }
.product-card::before { background: linear-gradient(90deg, #dc2626, #f59e0b) !important; }
.product-card:hover { box-shadow: 0 30px 90px rgba(15, 76, 129, .16) !important; }
.role-login {
  background: #fff !important;
  border-left: 1px solid rgba(17,24,39,.08) !important;
}
.login-hero-copy {
  background:
    radial-gradient(circle at 0 0, rgba(245,158,11,.24), transparent 38%),
    radial-gradient(circle at 100% 16%, rgba(15,76,129,.12), transparent 36%),
    linear-gradient(160deg, #ffffff, #f8fafc 62%, #fff7ed) !important;
}
.admin-dashboard {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94)) !important;
}
.admin-tabs { background: #0b1220 !important; }
.admin-tabs button.active { color: #111827; background: linear-gradient(135deg, #fbbf24, #f59e0b) !important; }
.dashboard-hero-card {
  background:
    radial-gradient(circle at 12% 18%, rgba(245,158,11,.24), transparent 28%),
    linear-gradient(135deg, #0b1220, #132238 54%, #0f4c81) !important;
}
.overview-grid article::after { background: linear-gradient(135deg, rgba(245,158,11,.74), rgba(180,83,9,.22)) !important; }
.editor-help { background: linear-gradient(135deg, #fff7ed, #fff, #f1f5f9) !important; }
.editor-help strong::before { color: #dc2626; }

.site-studio-launch {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 95;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f4c81, #0b1220);
  font-weight: 1000;
  box-shadow: 0 18px 50px rgba(15,23,42,.24);
  cursor: pointer;
}
.site-studio-panel {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(430px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.97);
  box-shadow: 0 34px 110px rgba(15,23,42,.22);
  backdrop-filter: blur(18px);
}
.studio-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.studio-head strong { display: block; font-size: 18px; color: #0b1220; }
.studio-head span, .studio-status { color: var(--muted); font-size: 12px; font-weight: 700; }
.studio-head button {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}
.studio-status {
  background: #fff7ed;
  border: 1px solid rgba(245,158,11,.18);
  border-radius: 16px;
  padding: 10px 12px;
}
.studio-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}
.studio-tabs button.active { color: #111827; background: #fbbf24; border-color: rgba(245,158,11,.45); }
.studio-form { display: grid; gap: 12px; overflow: auto; padding: 4px 4px 10px; }
.studio-form label { display: grid; gap: 7px; font-weight: 900; color: #334155; }
.studio-form input, .studio-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #f8fafc;
  color: #111827;
}
.studio-form textarea { min-height: 92px; resize: vertical; }
.studio-form input:focus, .studio-form textarea:focus { outline: 3px solid rgba(245,158,11,.18); border-color: rgba(245,158,11,.55); background: #fff; }
.studio-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
body.studio-editing [data-content] {
  outline: 2px dashed rgba(15,76,129,.42);
  outline-offset: 5px;
  cursor: text;
  transition: outline-color .15s, background .15s;
}
body.studio-editing [data-content]:hover {
  outline-color: #f59e0b;
  background: rgba(245,158,11,.10);
}
body.route-login .site-studio-launch, body.route-portal .site-studio-launch, body.route-staff-portal .site-studio-launch { display: none; }
body.studio-editing .site-studio-launch { display: none; }
body.studio-editing .whatsapp-float, body.studio-editing .assistant-launch { display: none; }

@media (max-width: 720px) {
  .site-studio-panel { inset: 10px; width: auto; }
  .site-studio-launch { right: 14px; bottom: 76px; }
}


/* =========================================================
   FINAL MOSKABO EXECUTIVE FIX — clean, non-rainbow, professional
   ========================================================= */
:root {
  --radius: 18px;
  --ink: #0f172a;
  --muted: #667085;
  --line: rgba(15,23,42,.10);
  --brand: #f59e0b;
  --brand-dark: #b45309;
  --accent: #0f4c81;
  --navy: #07111f;
  --red: #d32027;
  --bg: #f6f8fb;
  --card: #ffffff;
  --shadow: 0 20px 60px rgba(15,23,42,.10);
}
html, body { min-height: 100%; }
body {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 48%, #eef3f8 100%) !important;
  color: var(--ink);
}
body::before { display: none !important; }
.top-ribbon {
  color: #fff !important;
  background: #07111f !important;
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar {
  border-radius: 18px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 14px 40px rgba(15,23,42,.08) !important;
}
.brand-logo { width: 52px; height: 52px; border-radius: 14px !important; box-shadow: none !important; }
.brand strong { color: var(--red) !important; }
.brand small { color: var(--accent) !important; }
.nav-links a:hover, .cart-button:hover, .menu-toggle:hover { background: #f1f5f9 !important; color: var(--accent) !important; }
.cart-button span { background: var(--brand) !important; color: #111827 !important; }

.hero { grid-template-columns: 1.04fr .72fr !important; gap: 22px; }
.hero-content {
  min-height: 620px !important;
  border-radius: 28px !important;
  color: #fff !important;
  background:
    linear-gradient(90deg, rgba(7,17,31,.94), rgba(15,76,129,.78) 58%, rgba(245,158,11,.28)),
    var(--hero-bg-image, url("assets/catalog/page-03.jpg")) center / cover no-repeat !important;
  box-shadow: 0 30px 90px rgba(15,23,42,.18) !important;
}
.hero-content::before {
  background: linear-gradient(90deg, var(--red), var(--brand)) top/100% 8px no-repeat !important;
}
.hero h1 { color: #fff !important; font-size: clamp(42px, 5.8vw, 78px) !important; }
.hero p { color: rgba(255,255,255,.82) !important; }
.hero-content .eyebrow { background: rgba(255,255,255,.12) !important; color: #fbbf24 !important; border: 1px solid rgba(255,255,255,.18); }
.hero-stats span { background: rgba(255,255,255,.10) !important; color: rgba(255,255,255,.8) !important; border-color: rgba(255,255,255,.16) !important; }
.hero-stats strong { color: #fff !important; }
.hero-panel {
  border-radius: 28px !important;
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
}
.hero-panel img { border: 0 !important; border-radius: 20px !important; aspect-ratio: 4/5 !important; }
.hero-panel span { color: var(--muted) !important; }
.button.primary { background: var(--brand) !important; color: #111827 !important; box-shadow: none !important; }
.button.primary:hover { background: var(--brand-dark) !important; color: #fff !important; }
.button.ghost { background: #fff !important; border: 1px solid var(--line) !important; color: var(--ink) !important; }
.highlights article, .product-card, .planner, .staff-card, .custom-section-card, .drawer-panel, .assistant-panel {
  border-radius: 22px !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
  background: #fff !important;
}
.highlights article:nth-child(1), .highlights article:nth-child(2), .highlights article:nth-child(3) { border-top: 5px solid var(--brand) !important; }
.product-card::before { height: 5px !important; background: linear-gradient(90deg, var(--red), var(--brand)) !important; }
.product-card:hover { transform: translateY(-5px) !important; box-shadow: 0 24px 70px rgba(15,23,42,.14) !important; }
.tag { background: #f8fafc !important; color: #334155 !important; border: 1px solid var(--line) !important; }
.price { color: var(--red) !important; }
.site-footer { border-radius: 22px 22px 0 0 !important; background: #07111f !important; }

/* Route fixes: no public blocks leaking into login/portal pages */
body.route-login .custom-sections,
body.route-login .login-note:not(#adminGate):not(#staffGate),
body.route-portal .custom-sections,
body.route-portal .login-section,
body.route-staff-portal .custom-sections,
body.route-staff-portal .login-section { display: none !important; }

/* Professional login page */
body.route-login {
  background: linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%) !important;
}
body.route-login main { min-height: 100vh !important; display: grid !important; place-items: center !important; padding: 28px !important; }
body.route-login .login-section { display: block !important; width: min(1040px,100%) !important; min-height: auto !important; padding: 0 !important; }
.login-shell {
  display: grid !important;
  grid-template-columns: .88fr 1.12fr !important;
  gap: 0 !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 30px 90px rgba(15,23,42,.14) !important;
}
.login-hero-copy {
  min-height: 620px !important;
  padding: 44px !important;
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(7,17,31,.94), rgba(15,76,129,.88)),
    url("assets/logo-moskabo.jpeg") center / 70% no-repeat !important;
  border-radius: 0 !important;
}
.login-hero-copy::after { display: none !important; }
.login-mini-brand { background: rgba(255,255,255,.10) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important; }
.login-mini-brand img { width: 42px !important; height: 42px !important; border-radius: 12px !important; box-shadow: none !important; }
.login-hero-copy .eyebrow { color: #fbbf24 !important; }
.login-hero-copy h2 { color: #fff !important; font-size: clamp(38px,4.4vw,64px) !important; line-height: 1 !important; letter-spacing: -.03em !important; }
.login-hero-copy p:not(.eyebrow) { color: rgba(255,255,255,.76) !important; }
.login-return { color: #111827 !important; background: #fff !important; }
.role-login {
  padding: clamp(28px,4vw,52px) !important;
  background: #fff !important;
  border: 0 !important;
  border-left: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.login-brand-card { border-radius: 18px !important; background: #f8fafc !important; border: 1px solid var(--line) !important; }
.role-login input, .role-login select {
  border-radius: 12px !important;
  border: 1px solid #d0d5dd !important;
  background: #fff !important;
  box-shadow: none !important;
}
.role-login label { padding: 0 !important; color: #344054 !important; }
.role-login label:focus-within { box-shadow: none !important; }
.role-login .button { width: 100%; border-radius: 12px !important; }
.login-status { color: var(--muted) !important; font-size: 13px !important; }

/* Professional dashboard */
body.route-portal { background: #f5f7fb !important; }
body.route-portal .admin-section {
  display: block !important;
  width: 100% !important;
  min-height: 100vh !important;
  padding: 18px !important;
  background: #f5f7fb !important;
}
body.route-portal .admin-section > .section-heading {
  margin: 0 0 16px 296px !important;
  padding: 18px 22px !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(15,23,42,.06) !important;
}
body.route-portal .admin-dashboard {
  display: grid !important;
  grid-template-columns: 280px minmax(0,1fr) !important;
  gap: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.route-portal .admin-tabs {
  position: sticky !important;
  top: 18px !important;
  height: calc(100vh - 36px) !important;
  overflow: auto !important;
  padding: 16px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  background: #07111f !important;
  box-shadow: 0 20px 60px rgba(15,23,42,.16) !important;
}
body.route-portal .admin-tabs::before {
  content: "MOSKABO\AOperations Console" !important;
  white-space: pre-line !important;
  display: block !important;
  margin: 0 0 16px !important;
  padding: 96px 16px 16px !important;
  border-radius: 16px !important;
  color: #fff !important;
  background:
    url("assets/logo-moskabo.jpeg") center 14px / 70px 70px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
}
body.route-portal .admin-tabs button {
  width: 100% !important;
  justify-content: flex-start !important;
  text-align: left !important;
  color: rgba(255,255,255,.76) !important;
  background: transparent !important;
  border-radius: 12px !important;
  padding: 13px 14px !important;
}
body.route-portal .admin-tabs button:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
body.route-portal .admin-tabs button.active { color: #111827 !important; background: var(--brand) !important; }
body.route-portal .admin-pane { grid-column: 2 !important; padding: 0 !important; min-width: 0 !important; }
.dashboard-hero-card {
  border-radius: 20px !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #07111f 0%, #0f4c81 70%, #b45309 100%) !important;
  box-shadow: 0 20px 60px rgba(15,23,42,.14) !important;
}
.dashboard-hero-card .eyebrow { color: #fbbf24 !important; }
.dashboard-hero-card h3 { color: #fff !important; }
.overview-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
.overview-grid article, .overview-panel, body.route-portal .content-form, body.route-portal .inventory-form, body.route-portal .settings-form, body.route-portal .account-form, body.route-portal .admin-table, body.route-portal .editor-help {
  border-radius: 18px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(15,23,42,.06) !important;
}
.overview-grid article::after { background: rgba(245,158,11,.20) !important; }
.overview-grid strong { color: #0f172a !important; }
.editor-help { background: #fff7ed !important; }
.editor-help strong::before { content: "LIVE EDITOR · " !important; color: var(--red) !important; }
.content-form, .inventory-form, .settings-form, .account-form { gap: 16px !important; }
.content-form input, .content-form textarea, .content-form select, .inventory-form input, .inventory-form textarea, .inventory-form select, .settings-form input, .settings-form textarea, .account-form input, .account-form select {
  border-radius: 12px !important;
  border: 1px solid #d0d5dd !important;
  background: #fff !important;
}

/* Live studio like the reference video: direct inline editing */
.site-studio-launch { background: var(--red) !important; color: #fff !important; box-shadow: 0 16px 44px rgba(211,32,39,.24) !important; }
.site-studio-panel {
  border-radius: 20px !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  background: #fff !important;
  box-shadow: 0 28px 90px rgba(15,23,42,.22) !important;
}
.studio-head strong { color: var(--ink) !important; }
.studio-tabs button.active { background: var(--brand) !important; color: #111827 !important; }
.studio-status { background: #f8fafc !important; border-color: var(--line) !important; }
body.studio-editing [data-content] {
  outline: 2px dashed rgba(211,32,39,.55) !important;
  outline-offset: 5px !important;
  cursor: text !important;
}
body.studio-editing [data-content]:hover,
body.studio-editing [data-content]:focus {
  outline-color: var(--brand) !important;
  background: rgba(245,158,11,.13) !important;
}
body.studio-editing [contenteditable="true"] { min-height: 1em; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr !important; }
  .login-shell { grid-template-columns: 1fr !important; }
  .login-hero-copy { min-height: 360px !important; }
  body.route-portal .admin-section > .section-heading { margin-left: 0 !important; }
  body.route-portal .admin-dashboard { grid-template-columns: 1fr !important; }
  body.route-portal .admin-tabs { position: static !important; height: auto !important; display: flex !important; flex-direction: row !important; overflow-x: auto !important; }
  body.route-portal .admin-tabs::before { display: none !important; }
  body.route-portal .admin-pane { grid-column: 1 !important; }
  .overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 700px) {
  body.route-login main { padding: 12px !important; }
  .overview-grid { grid-template-columns: 1fr !important; }
  .hero-content { min-height: 520px !important; padding: 28px !important; }
  .hero-stats { grid-template-columns: 1fr !important; }
}

/* Option B backend studio upgrades */
.hero-media-wrap { width: 100%; }
.hero-media-item,
.hero-panel .hero-media-item {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  border-radius: 24px !important;
  display: block !important;
  background: #0b1729 !important;
}
.product-card .product-media {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border: 0;
  background: #0b1729;
}
.cart-video-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #07152a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.media-file-input {
  margin-top: 8px;
  padding: 10px !important;
  border: 1px dashed rgba(7,21,42,.25) !important;
  background: rgba(255,255,255,.72) !important;
}
.live-preview-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
#serverSaveStatus {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}
.site-studio-panel small,
.content-form small,
.inventory-form small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
}
.custom-media {
  max-height: 460px;
  object-fit: cover;
  background: #0b1729;
}

/* Moskabo catalog studio v7: professional navy/gold/red theme, no rainbow/purple bar */
:root {
  --ink: #081321;
  --muted: #617089;
  --line: rgba(8, 19, 33, 0.10);
  --brand: #0b1f33;
  --brand-dark: #061321;
  --accent: #f59e0b;
  --success: #166534;
  --warning: #f6b21a;
  --danger: #d81927;
  --bg: #f4f7fb;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(8, 19, 33, 0.12);
}
body { background: linear-gradient(180deg, #f8fbff 0%, #f2f6fb 45%, #eef4fa 100%); }
.top-ribbon { display: none !important; }
.topbar { top: 14px; border: 1px solid rgba(8,19,33,.08); background: rgba(255,255,255,.96); }
.brand-mark { background: linear-gradient(135deg, #d81927, #f59e0b); color: #fff; }
.nav-links a:hover, .cart-button:hover, .menu-toggle:hover { color: #d81927; background: rgba(216, 25, 39, 0.08); }
.cart-button span { background: #f59e0b; color: #061321; }
.button.primary { background: linear-gradient(135deg, #f6b21a, #f59e0b); color: #061321; box-shadow: 0 12px 30px rgba(245,158,11,.24); }
.button.primary:hover { background: linear-gradient(135deg, #f59e0b, #d97706); color: #061321; }
.button.ghost { background: #fff; color: #0b1f33; border: 1px solid rgba(8,19,33,.12); }
.button.danger, .catalog-card-admin .danger { color: #d81927; border-color: rgba(216,25,39,.22); }
.eyebrow { color: #d81927; }
.hero-content { background: linear-gradient(90deg, rgba(6,19,33,.94), rgba(11,31,51,.78) 48%, rgba(216,25,39,.18)), var(--hero-bg-image, url("assets/catalog/page-03.jpg")) center / cover no-repeat; box-shadow: 0 34px 90px rgba(8,19,33,.25); }
.hero-content::before, .hero-panel { border-top-color: #f59e0b; }
.hero-content .eyebrow { color: #061321; }
.hero-panel { background: linear-gradient(180deg, #ffffff, #f8fbff); }
.product-card { border-color: rgba(8,19,33,.08); border-top: 6px solid #d81927; box-shadow: 0 18px 45px rgba(8,19,33,.10); overflow: hidden; }
.product-card::before { content: ""; display: block; height: 6px; margin-top: -6px; background: linear-gradient(90deg, #d81927, #f59e0b, #0b1f33); }
.product-media { aspect-ratio: 1.23 / 1; object-fit: cover; width: 100%; }
.price { color: #d81927; }
.category-pills button.active { background: #0b1f33; color: #fff; }
.login-section, .admin-section { background: transparent; }
.login-shell { background: #ffffff; border: 1px solid rgba(8,19,33,.08); box-shadow: 0 32px 90px rgba(8,19,33,.13); }
.login-hero-copy { background: linear-gradient(135deg, rgba(6,19,33,.95), rgba(11,31,51,.84)), url("assets/logo-moskabo.jpeg") center / cover no-repeat; color: #fff; }
.login-hero-copy p { color: rgba(255,255,255,.82); }
.login-brand-card { background: #f8fbff; border: 1px solid rgba(8,19,33,.10); }
.admin-dashboard { border: 1px solid rgba(8,19,33,.08); background: #ffffff; box-shadow: 0 28px 80px rgba(8,19,33,.13); }
.admin-tabs { background: #061321; }
.admin-tabs button { color: rgba(255,255,255,.72); }
.admin-tabs button.active, .admin-tabs button:hover { background: linear-gradient(135deg, #f6b21a, #f59e0b); color: #061321; }
.dashboard-hero-card, .overview-panel { background: #f8fbff; border: 1px solid rgba(8,19,33,.08); }
.site-footer { background: linear-gradient(135deg, #061321, #0b1f33); }
.whatsapp-float, .assistant-launch, .site-studio-launch { background: #d81927; color: #fff; }
.site-studio-panel { border: 1px solid rgba(8,19,33,.12); box-shadow: 0 28px 90px rgba(8,19,33,.20); }
.studio-head { background: #061321; color: #fff; }
.studio-tabs button.active { background: #0b1f33; color: #fff; }
.studio-editing [data-content] { outline: 2px dashed rgba(245,158,11,.85); background: rgba(245,158,11,.10); border-radius: 10px; }
.catalog-card-admin { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(8,19,33,.08); }
.catalog-card-admin .button { padding: 8px 11px; font-size: 13px; }
.catalog-admin-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.catalog-admin-tools input { flex: 1 1 260px; min-width: 220px; padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(8,19,33,.12); background: #fff; }
.admin-product-cell { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.admin-product-thumb { width: 74px; height: 58px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(8,19,33,.10); background: #f8fbff; }
video.admin-product-thumb { object-fit: cover; }
.media-file-input { margin-top: 8px; padding: 10px !important; background: #f8fbff !important; border-style: dashed !important; }
.studio-catalog-tools { display: grid; gap: 10px; }
.studio-catalog-tools span { color: var(--muted); font-weight: 800; }
@media (max-width: 720px) {
  .catalog-admin-tools { display: grid; }
  .catalog-admin-tools input, .catalog-admin-tools .button { width: 100%; }
  .catalog-card-admin .button { flex: 1; }
}

/* FINAL MOSKABO EXECUTIVE FIX - clean professional design, no rainbow, no public staff portal */
:root{
  --mk-navy:#061321;
  --mk-navy-2:#0d2238;
  --mk-gold:#f5a000;
  --mk-red:#d81927;
  --mk-bg:#f5f7fb;
  --mk-card:#ffffff;
  --mk-muted:#667085;
  --mk-line:#e6eaf0;
}
body{background:var(--mk-bg)!important;color:#101828!important;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif!important;}
.site-header{background:linear-gradient(180deg,#ffffff 0%,#f4f7fb 100%)!important;border-bottom:1px solid var(--mk-line)!important;}
.topbar{background:rgba(255,255,255,.96)!important;color:#101828!important;border:1px solid var(--mk-line)!important;box-shadow:0 18px 48px rgba(16,24,40,.08)!important;}
.brand,.nav-links a{color:#101828!important}.brand-logo{box-shadow:none!important;border:1px solid var(--mk-line)!important}.brand small{color:var(--mk-muted)!important}.nav-links a:hover{color:var(--mk-red)!important;background:#fff4f4!important}.cart-button{background:#fff!important;border:1px solid var(--mk-line)!important;color:#101828!important;box-shadow:0 8px 24px rgba(16,24,40,.06)!important}.cart-button span{background:var(--mk-navy)!important;color:#fff!important;}
.hero{background:linear-gradient(135deg,#ffffff 0%,#f7f9fc 55%,#fff8e8 100%)!important;border:1px solid var(--mk-line)!important;box-shadow:0 24px 70px rgba(16,24,40,.08)!important;}
.hero h1,.section-heading h2{color:#101828!important}.eyebrow{color:var(--mk-red)!important;letter-spacing:.14em!important}.button.primary{background:linear-gradient(135deg,var(--mk-gold),#f59e0b)!important;color:#061321!important;box-shadow:0 12px 28px rgba(245,160,0,.22)!important}.button.ghost{background:#fff!important;color:#101828!important;border:1px solid var(--mk-line)!important}.button:hover{transform:translateY(-1px)}
.product-card{border:1px solid var(--mk-line)!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 16px 36px rgba(16,24,40,.08)!important;background:#fff!important}.product-card::before{background:linear-gradient(90deg,var(--mk-red),var(--mk-gold))!important}.product-media{height:235px!important;object-fit:cover!important;border-radius:0!important}.product-body h3{font-size:21px!important;color:#101828!important}.price{color:var(--mk-red)!important}.tag{background:#f8fafc!important;border:1px solid var(--mk-line)!important;color:#344054!important}.catalog-card-admin{border-top:1px solid var(--mk-line)!important;margin-top:14px!important;padding-top:12px!important;}
.join-section{display:block!important}.join-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px;align-items:start;background:#fff;border:1px solid var(--mk-line);border-radius:28px;padding:30px;box-shadow:0 20px 60px rgba(16,24,40,.08)}.join-copy{min-height:100%;border-radius:22px;padding:32px;background:linear-gradient(135deg,var(--mk-navy),var(--mk-navy-2));color:#fff;display:flex;flex-direction:column;justify-content:center;gap:12px}.join-copy strong{font-size:clamp(30px,4vw,54px);line-height:1}.join-copy span{color:rgba(255,255,255,.78);font-size:17px;line-height:1.7}.join-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.join-form label{display:grid;gap:8px;font-weight:800;color:#344054}.join-form .wide{grid-column:1/-1}.join-form input,.join-form select,.join-form textarea{border:1px solid var(--mk-line);border-radius:14px;background:#fbfcfe;color:#101828;padding:13px 14px;font:inherit}.join-form textarea{min-height:110px;resize:vertical}.join-form input:focus,.join-form select:focus,.join-form textarea:focus{outline:3px solid rgba(245,160,0,.18);border-color:var(--mk-gold)}
body.route-login{background:linear-gradient(135deg,#eef3f8,#ffffff)!important}.login-shell{grid-template-columns:minmax(0,.95fr) minmax(360px,520px)!important;background:#fff!important;border:1px solid var(--mk-line)!important;box-shadow:0 28px 80px rgba(16,24,40,.12)!important;border-radius:30px!important;padding:18px!important;gap:18px!important}.login-hero-copy{background:linear-gradient(145deg,rgba(6,19,33,.96),rgba(13,34,56,.93)),url('assets/logo-moskabo.jpeg') center/55% no-repeat!important;border-radius:24px!important;min-height:560px!important}.login-hero-copy::after{background:rgba(245,160,0,.16)!important}.login-hero-copy .eyebrow{color:#fbd38d!important}.login-hero-copy h2{font-size:clamp(48px,6vw,84px)!important}.role-login{background:#fff!important;border:1px solid var(--mk-line)!important;border-radius:24px!important;box-shadow:none!important;padding:34px!important;align-self:center!important}.role-login label{background:transparent!important;border:0!important;color:#344054!important;padding:0!important;box-shadow:none!important}.role-login input,.role-login select{background:#f8fafc!important;border:1px solid var(--mk-line)!important;color:#101828!important;border-radius:14px!important}.login-brand-card{background:#f8fafc!important;border:1px solid var(--mk-line)!important;border-radius:18px!important}.login-brand-card img{background:#fff;border:1px solid var(--mk-line)}.login-status{color:var(--mk-muted)!important}.login-return{color:#101828!important}.role-login .button{width:100%}
body.route-portal{background:#eef3f8!important}body.route-portal main{padding:0!important}body.route-portal .admin-section{display:block!important;padding:22px!important;background:#eef3f8!important}body.route-portal .admin-section>.section-heading{margin:0 0 18px 300px!important;background:#fff!important;border:1px solid var(--mk-line)!important;box-shadow:0 12px 36px rgba(16,24,40,.08)!important;border-radius:22px!important}body.route-portal .admin-dashboard{display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;gap:20px!important;background:transparent!important;border:0!important;box-shadow:none!important}.admin-tabs{background:#061321!important;border:0!important;border-radius:24px!important;box-shadow:0 22px 70px rgba(6,19,33,.22)!important}.admin-tabs::before{content:'Moskabo\A Control Center'!important;white-space:pre-line!important;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03)),url('assets/logo-moskabo.jpeg') center 18px/78px 78px no-repeat!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important}.admin-tabs button{background:rgba(255,255,255,.06)!important;color:rgba(255,255,255,.78)!important;border:1px solid rgba(255,255,255,.08)!important}.admin-tabs button.active{background:linear-gradient(135deg,var(--mk-gold),#f59e0b)!important;color:#061321!important}.admin-pane{min-width:0}.dashboard-hero-card,.overview-panel,.overview-grid article,.content-form,.inventory-form,.settings-form,.account-form,.admin-table,.editor-help{background:#fff!important;border:1px solid var(--mk-line)!important;box-shadow:0 16px 42px rgba(16,24,40,.08)!important;border-radius:22px!important}.dashboard-hero-card h3{color:#101828!important}.overview-grid article strong{color:var(--mk-navy)!important}.admin-table table{border-collapse:separate!important;border-spacing:0!important;width:100%}.admin-table th{background:#f8fafc!important;color:#344054!important}.admin-table td,.admin-table th{border-bottom:1px solid var(--mk-line)!important;padding:12px!important}button[data-delete],button[data-delete-account],button[data-delete-application],.danger{color:#b42318!important;border-color:#fecdca!important;background:#fff5f5!important}
.site-footer{background:linear-gradient(135deg,#061321,#0d2238)!important;border-radius:28px 28px 0 0!important}.site-footer a:hover{color:#f5a000!important}.whatsapp-float{background:#25d366!important;color:#061321!important}.assistant-launch{background:#061321!important;color:#fff!important}.hide-public-staff:not(.route-staff-portal) main>.staff-section{display:none!important}.staff-section{display:none!important}
@media(max-width:900px){.join-card,.join-form,.login-shell,body.route-portal .admin-dashboard{grid-template-columns:1fr!important}body.route-portal .admin-section>.section-heading{margin:0 0 14px!important}.admin-tabs{position:static!important;display:flex!important;overflow-x:auto!important}.login-hero-copy{min-height:360px!important}.product-media{height:210px!important}}


/* Moskabo final stability/design patch */
.custom-section-card .eyebrow{display:none!important}
.custom-section-card{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;background:#fff;border:1px solid rgba(16,24,40,.08);border-radius:28px;padding:32px;box-shadow:0 24px 70px rgba(16,24,40,.08)}
.custom-section-card h2{margin:0 0 14px;color:#0b1628;font-size:clamp(32px,4vw,58px);letter-spacing:-.04em;line-height:1.05}.custom-section-card p{max-width:720px;color:#475569;font-size:18px;line-height:1.75}.custom-section-card .custom-media{width:100%;max-height:420px;object-fit:cover;border-radius:22px;background:#f8fafc}.hero-video{width:100%;height:100%;min-height:320px;object-fit:cover;border-radius:28px;background:#061321}.login-shell:has(.role-login[hidden]){grid-template-columns:1fr!important}.role-login[hidden]{display:none!important}#globalLogout:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;max-width:260px;margin:28px auto 0}.site-footer a[href="#planner"]{display:none!important}.admin-dashboard[hidden],#adminGate[hidden]{display:none!important}body.route-portal .admin-section{min-height:100vh!important}.admin-pane:not(.active){display:none!important}.admin-pane.active{display:block!important}


/* Final polish: Join-us appears only as one careers section, not everywhere. */
.join-section { display: block; background: linear-gradient(135deg,#ffffff,#f8fafc); border:1px solid rgba(8,19,33,.08); box-shadow:0 24px 70px rgba(8,19,33,.08); }
.join-section .eyebrow { color:#d71920 !important; }
.join-card { border:1px solid rgba(8,19,33,.08); background:#fff; box-shadow:0 18px 55px rgba(8,19,33,.08); }
.logged-in-panel { align-self:center; display:grid; gap:16px; background:#fff; border:1px solid var(--mk-line); border-radius:24px; padding:34px; min-height:320px; align-content:center; }
.logged-in-panel[hidden] { display:none !important; }
.logged-in-panel .button { width:100%; border-radius:14px !important; }
.button.danger { background:#fff !important; color:#d71920 !important; border:1px solid rgba(215,25,32,.24) !important; box-shadow:none !important; }
body.route-login .login-shell:has(.role-login[hidden]) { grid-template-columns:minmax(0,.95fr) minmax(360px,520px)!important; }
.login-hero-copy { color:#fff !important; }
.login-hero-copy p { color:rgba(255,255,255,.86) !important; }
.site-footer { background:#061321 !important; border-radius:26px 26px 0 0 !important; }
.site-footer a[href="#admin"] { display:none !important; }


/* Join-us is a real separate page, not a homepage section */
body:not(.route-join) .join-section {
  display: none !important;
}

body.route-join {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(15, 45, 73, 0.12), transparent 30%),
    #f5f7fb;
}

body.route-join .hero,
body.route-join .highlights,
body.route-join .catalog-section,
body.route-join .planner,
body.route-join .custom-sections,
body.route-join .login-section,
body.route-join .admin-section,
body.route-join .assistant-launch {
  display: none !important;
}

body.route-join .site-header {
  min-height: auto;
  padding-bottom: 0;
}

body.route-join main {
  padding: 42px 20px 70px;
}

body.route-join .join-section {
  display: block !important;
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(6, 19, 33, 0.08);
  box-shadow: 0 26px 70px rgba(6, 19, 33, 0.12);
}

body.route-join .join-section .section-heading {
  margin-bottom: 24px;
}

body.route-join .join-section .section-heading h2 {
  font-size: clamp(34px, 4vw, 58px);
}

body.route-join .join-card {
  border: 1px solid rgba(6, 19, 33, 0.08);
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(6, 19, 33, 0.04), rgba(245, 158, 11, 0.08));
}

.nav-join-link {
  font-weight: 800;
  color: var(--brand);
}


/* Patch: keep Join us visible as one top navigation link, while the form remains on its own page */
.nav-links a[href="#join"] { display: inline-flex !important; }
body:not(.route-join) .join-section { display: none !important; }
body.route-join .join-section { display: block !important; }

/* Final layout fix: Join us is external + dashboard tabs stack cleanly */
.nav-links a[href="join.html"] {
  display: inline-flex !important;
}
.join-section {
  display: none !important;
}

body.route-portal,
body.route-portal main,
body.route-portal .admin-section {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.route-portal .admin-dashboard {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.route-portal .admin-tabs button {
  width: 100% !important;
  justify-content: flex-start !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 900px) {
  body.route-portal .admin-section {
    padding: 12px !important;
  }

  body.route-portal .admin-section > .section-heading {
    margin: 0 0 12px 0 !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  body.route-portal .admin-dashboard {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.route-portal .admin-tabs {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

  body.route-portal .admin-tabs::before {
    display: none !important;
  }

  body.route-portal .admin-pane,
  body.route-portal .admin-pane.active {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .dashboard-hero-card,
  .overview-split,
  .content-form,
  .inventory-form,
  .settings-form,
  .account-form,
  .event-form,
  .checkout-form {
    grid-template-columns: 1fr !important;
  }

  .admin-table {
    width: 100% !important;
    overflow-x: auto !important;
  }
}

@media (max-width: 520px) {
  body.route-portal .admin-section { padding: 8px !important; }
  body.route-portal .admin-tabs { border-radius: 16px !important; padding: 10px !important; }
  body.route-portal .admin-tabs button { min-height: 48px !important; padding: 12px 14px !important; }
  .topbar { width: calc(100% - 16px) !important; }
}

/* === Moskabo professional upgrade: operations, media library, product details === */
.admin-dashboard{
  max-width: 100%;
  overflow: hidden;
}
.admin-tabs{
  align-content: start;
  overflow: visible;
}
.admin-tabs button{
  width: 100%;
  text-align: left;
  white-space: normal;
}
.admin-table{
  width: 100%;
  overflow-x: auto;
}
.admin-table table{
  min-width: 860px;
}
.status-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  background:#e5e7eb;
  color:#0f172a;
}
.status-pending{background:#fef3c7;color:#92400e;}
.status-confirmed{background:#dbeafe;color:#1d4ed8;}
.status-delivered{background:#ede9fe;color:#5b21b6;}
.status-completed{background:#dcfce7;color:#166534;}
.status-cancelled{background:#fee2e2;color:#991b1b;}
.order-status-select{
  min-width: 140px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid #dbe4ef;
  font-weight:800;
  background:#fff;
}
.calendar-panel{
  background:#fff;
  border:1px solid #e6edf5;
  border-radius:24px;
  padding:18px;
  margin-bottom:18px;
  box-shadow:0 16px 35px rgba(15,23,42,.06);
}
.product-media-button{
  border:0;
  padding:0;
  background:transparent;
  display:block;
  width:100%;
  cursor:pointer;
}
.linklike{
  border:0;
  background:transparent;
  padding:0;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.linklike:hover{text-decoration:underline;}
.product-modal{
  position:fixed;
  inset:0;
  z-index:80;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(3,10,18,.72);
  backdrop-filter:blur(8px);
}
.product-modal.open{display:flex;}
.product-modal-panel{
  position:relative;
  width:min(980px,96vw);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:30px;
  padding:26px;
  box-shadow:0 40px 90px rgba(0,0,0,.35);
}
.product-modal-close{
  position:absolute;
  right:18px;
  top:18px;
  border:0;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  background:#f1f5f9;
  cursor:pointer;
}
.product-detail-grid{
  display:grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap:26px;
  align-items:start;
}
.product-detail-media{
  width:100%;
  max-height:560px;
  object-fit:cover;
  border-radius:24px;
  background:#edf2f7;
}
.detail-facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:20px 0;
}
.detail-facts span{
  background:#f8fafc;
  border:1px solid #e6edf5;
  border-radius:18px;
  padding:14px;
}
.media-upload-box{
  display:flex;
  align-items:center;
  gap:14px;
  background:#f8fafc;
  border:1px dashed #94a3b8;
  border-radius:20px;
  padding:16px;
  margin:16px 0;
}
.media-url-copy{
  width:min(460px,70vw);
  border:1px solid #dbe4ef;
  border-radius:12px;
  padding:10px;
  font-size:12px;
}
.overview-grid{
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
@media (max-width: 920px){
  .admin-dashboard{
    grid-template-columns:1fr !important;
  }
  .admin-tabs{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px;
    width:100%;
    position:static;
  }
  .admin-pane.active{
    width:100%;
    overflow:hidden;
  }
  .product-detail-grid{
    grid-template-columns:1fr;
  }
  .detail-facts{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   MOSKABO PREMIUM DESIGN UPGRADE - navy / gold / red / white
   ========================================================= */
:root{
  --radius: 24px;
  --ink:#081321;
  --muted:#5d6b7e;
  --line:rgba(8,19,33,.10);
  --brand:#0b2a44;
  --brand-dark:#061321;
  --accent:#f5a000;
  --accent-2:#e30613;
  --success:#0f7a48;
  --warning:#f7b21b;
  --bg:#f4f7fb;
  --card:#ffffff;
  --soft:#eef4fa;
  --shadow:0 24px 80px rgba(8,19,33,.10);
  --shadow-strong:0 36px 110px rgba(8,19,33,.18);
}

html{scroll-padding-top:110px;}
body{
  color:var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(245,160,0,.12), transparent 26%),
    radial-gradient(circle at 100% 8%, rgba(11,42,68,.12), transparent 30%),
    linear-gradient(180deg,#f8fbff 0%,#f1f5f9 46%,#ffffff 100%) !important;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background-image:linear-gradient(rgba(8,19,33,.035) 1px, transparent 1px),linear-gradient(90deg,rgba(8,19,33,.035) 1px, transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.72),transparent 72%);
}

.site-header{min-height:auto;padding-bottom:28px;}
.top-ribbon{display:none!important;}
.topbar{
  top:14px;
  width:min(1260px,calc(100% - 32px));
  padding:12px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.86)!important;
  border:1px solid rgba(8,19,33,.08)!important;
  box-shadow:0 18px 70px rgba(8,19,33,.12)!important;
}
.brand{gap:14px;}
.brand-logo{width:52px!important;height:52px!important;border-radius:18px!important;object-fit:cover;background:#fff;padding:4px;box-shadow:0 10px 30px rgba(8,19,33,.14);}
.brand strong{font-size:22px;color:var(--brand-dark);letter-spacing:-.03em;}
.brand small{color:var(--accent-2);letter-spacing:.16em;font-weight:950;}
.nav-links{gap:8px;}
.nav-links a,.cart-button,.menu-toggle{
  border-radius:999px!important;
  color:#142235!important;
  padding:11px 16px!important;
  font-weight:950!important;
}
.nav-links a:hover,.cart-button:hover,.menu-toggle:hover{background:#eef4fa!important;color:var(--brand)!important;}
.nav-links a[href="join.html"]{background:#fff3d7!important;color:#8a4b00!important;border:1px solid rgba(245,160,0,.18)!important;}
.cart-button{border:1px solid rgba(8,19,33,.10)!important;background:#fff!important;}
.cart-button span{background:var(--brand-dark)!important;color:#fff!important;}

.hero{
  width:min(1260px,calc(100% - 32px));
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);
  min-height:auto;
  padding:30px 0 44px;
}
.hero-content{
  min-height:680px;
  justify-content:center;
  padding:clamp(36px,6vw,86px)!important;
  border-radius:36px!important;
  background:
    linear-gradient(105deg,rgba(6,19,33,.94),rgba(11,42,68,.80) 52%,rgba(227,6,19,.18)),
    url("assets/catalog/page-03.jpg") center/cover no-repeat!important;
  box-shadow:var(--shadow-strong)!important;
}
.hero-content::before{border:1px solid rgba(255,255,255,.18)!important;border-top:0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);border-radius:36px;}
.hero-content::after{
  content:"";
  position:absolute;
  right:-90px;top:-90px;width:260px;height:260px;border-radius:50%;
  background:rgba(245,160,0,.22);
  filter:blur(8px);
}
.hero-content .eyebrow,
.login-hero-copy .eyebrow{
  color:#fff!important;
  background:rgba(245,160,0,.94)!important;
  border-radius:999px!important;
  padding:9px 13px!important;
  box-shadow:0 10px 30px rgba(245,160,0,.22);
}
.hero h1{max-width:850px;font-size:clamp(46px,6vw,92px);letter-spacing:-.065em;color:#fff;}
.hero p{color:rgba(255,255,255,.86)!important;font-size:clamp(17px,1.5vw,21px);max-width:730px;}
.hero-actions{margin-top:10px;}
.button{border-radius:999px!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;}
.button:hover{transform:translateY(-1px);}
.button.primary{background:linear-gradient(135deg,#f7b21b,#f29900)!important;color:#061321!important;box-shadow:0 14px 34px rgba(245,160,0,.26);}
.button.primary:hover{background:linear-gradient(135deg,#ffc247,#f5a000)!important;}
.button.ghost{background:#fff!important;color:#061321!important;border:1px solid rgba(8,19,33,.10)!important;}
.hero-content .button.ghost{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.24)!important;backdrop-filter:blur(12px);}
.hero-stats{max-width:760px;}
.hero-stats span{border-radius:22px;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.18)!important;}
.hero-stats strong{color:#ffc247!important;}
.hero-panel{
  border:1px solid rgba(8,19,33,.08)!important;
  border-top:0!important;
  border-radius:36px!important;
  background:linear-gradient(180deg,#fff,#f7fafc)!important;
  box-shadow:var(--shadow)!important;
  padding:16px!important;
  position:relative;overflow:hidden;
}
.hero-panel::before{content:"Featured";position:absolute;left:22px;top:22px;z-index:2;background:#e30613;color:#fff;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;}
.hero-panel img,.hero-panel video{aspect-ratio:4/5!important;border-radius:28px!important;box-shadow:0 20px 60px rgba(8,19,33,.16);}
.hero-panel div{padding:20px 8px 10px!important;}
.hero-panel strong{font-size:28px;letter-spacing:-.04em;color:#061321;}
.hero-panel span{font-size:16px;color:#5d6b7e;}

.section{width:min(1260px,calc(100% - 32px));padding:58px 0;}
.highlights{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:12px;}
.highlights article{
  border-top:0!important;
  padding:26px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  box-shadow:0 18px 54px rgba(8,19,33,.08)!important;
  position:relative;overflow:hidden;
}
.highlights article::before{content:"";display:block;width:46px;height:6px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent-2));margin-bottom:18px;}
.highlights strong{color:#061321!important;font-size:20px;letter-spacing:-.02em;}
.section-heading{align-items:center;margin-bottom:26px;}
.section-heading h2{color:#061321;font-size:clamp(34px,4vw,56px);letter-spacing:-.055em;}
main .eyebrow,.section-heading .eyebrow{color:#e30613!important;}
.filters input,.filters select{border-radius:999px!important;background:#fff!important;box-shadow:0 10px 32px rgba(8,19,33,.05);}
input:focus,select:focus,textarea:focus{border-color:var(--accent)!important;box-shadow:0 0 0 4px rgba(245,160,0,.16)!important;}
.category-pills{gap:10px;margin-bottom:28px;}
.category-pills button{border-radius:999px!important;padding:10px 15px!important;background:#fff!important;color:#243247!important;box-shadow:0 8px 24px rgba(8,19,33,.05);}
.category-pills button.active{background:#061321!important;border-color:#061321!important;color:#fff!important;}

.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
.product-card{
  border-radius:30px!important;
  border:1px solid rgba(8,19,33,.08)!important;
  border-top:0!important;
  background:#fff!important;
  box-shadow:0 16px 48px rgba(8,19,33,.08)!important;
  overflow:hidden;
  position:relative;
}
.product-card::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#e30613,#f5a000,#0b2a44);z-index:2;}
.product-card:hover{transform:translateY(-7px)!important;box-shadow:0 32px 80px rgba(8,19,33,.16)!important;}
.product-card img,.product-card video{aspect-ratio:1.18/1!important;object-fit:cover;background:#e9eef5!important;}
.product-body{padding:18px!important;gap:12px!important;}
.product-body h3{font-size:20px!important;letter-spacing:-.035em;color:#061321;}
.product-body p{color:#667085!important;font-size:15px;line-height:1.55;}
.meta{gap:8px!important;}
.tag{background:#eef4fa!important;color:#344054!important;border:1px solid rgba(8,19,33,.08);font-size:12px;font-weight:950;}
.price-row{padding-top:8px!important;}
.price{font-size:20px;color:#e30613!important;letter-spacing:-.02em;}
.product-card .button{min-width:136px;}

.planner,.admin-dashboard,.role-login,.login-note,.drawer-panel,.assistant-panel{
  border-radius:32px!important;
  border:1px solid rgba(8,19,33,.08)!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:var(--shadow)!important;
}
.planner{padding:32px!important;background:linear-gradient(135deg,#fff,#f7fafc)!important;}
.event-form label,.inventory-form label,.settings-form label,.content-form label,.account-form label{color:#344054;}
textarea,input,select{border-radius:18px!important;border-color:rgba(8,19,33,.12)!important;background:#fff!important;}

.login-section{
  background:linear-gradient(135deg,#061321,#0b2a44 58%,#071827)!important;
  border-radius:36px!important;
}
body.route-login{background:linear-gradient(135deg,#eef4fa,#fff 48%,#fff8e8)!important;}
body.route-login .login-section{
  border-radius:36px!important;
  box-shadow:var(--shadow-strong)!important;
  background:#fff!important;
}
body.route-login .login-section .section-heading{
  background:
    linear-gradient(145deg,rgba(6,19,33,.94),rgba(11,42,68,.82)),
    url("assets/catalog/page-07.jpg") center/cover no-repeat!important;
}
body.route-login .role-login{background:#fff!important;color:#061321!important;border:0!important;box-shadow:none!important;}
body.route-login .role-login label,body.route-login .role-login .login-status{color:#5d6b7e!important;}
body.route-login .role-login input{color:#061321!important;background:#f8fbff!important;border:1px solid rgba(8,19,33,.12)!important;}
body.route-login .role-login input::placeholder{color:#98a2b3!important;}
.login-brand-card{background:#f8fbff!important;border:1px solid rgba(8,19,33,.08)!important;border-radius:24px!important;}
.login-brand-card img{border-radius:16px!important;}
.login-shell{border-radius:36px!important;}
.login-hero-copy{background:linear-gradient(135deg,#061321,#0b2a44)!important;}
.logged-in-panel{background:#fff!important;color:#061321!important;}

.site-footer{
  width:min(1260px,calc(100% - 32px));
  border-radius:32px 32px 0 0!important;
  background:linear-gradient(135deg,#061321,#0b2a44)!important;
  box-shadow:0 -18px 70px rgba(8,19,33,.10);
}
.site-footer a:hover{color:#ffc247!important;}

/* Executive dashboard redesign */
body.route-portal,body.route-staff-portal{background:#f3f7fb!important;}
body.route-portal .admin-section,body.route-staff-portal .staff-section{
  background:#f3f7fb!important;
  grid-template-columns:300px minmax(0,1fr)!important;
}
body.route-portal .admin-dashboard{grid-template-columns:300px minmax(0,1fr)!important;}
body.route-portal .admin-tabs{
  background:linear-gradient(180deg,#061321,#071c30)!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  box-shadow:18px 0 70px rgba(8,19,33,.18)!important;
  padding:22px 16px!important;
  overflow-y:auto;
}
body.route-portal .admin-tabs::before{
  content:"Moskabo Console"!important;
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:none!important;
  padding:22px 18px!important;
  border-radius:24px!important;
}
body.route-portal .admin-tabs button{
  color:rgba(255,255,255,.78)!important;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:18px!important;
  padding:14px 15px!important;
}
body.route-portal .admin-tabs button:hover{background:rgba(255,255,255,.10)!important;color:#fff!important;}
body.route-portal .admin-tabs button.active{
  color:#061321!important;
  background:linear-gradient(135deg,#ffc247,#f5a000)!important;
  border-color:rgba(245,160,0,.44)!important;
  box-shadow:0 14px 36px rgba(245,160,0,.20)!important;
}
body.route-portal .admin-section > .section-heading{
  background:rgba(255,255,255,.86)!important;
  border-bottom:1px solid rgba(8,19,33,.08)!important;
  box-shadow:0 10px 40px rgba(8,19,33,.06)!important;
}
body.route-portal .admin-pane{padding:112px 32px 40px!important;}
.admin-pane.active > h3,.admin-pane h3{font-size:clamp(24px,3vw,38px);letter-spacing:-.045em;color:#061321;margin-top:0;}
.kpi-grid,.dashboard-grid,.overview-grid{gap:18px!important;}
.kpi-card,.dashboard-card,.metric-card,.order-card,.media-card,.availability-item,
#overviewPane article,#operationsPane article{
  border-radius:26px!important;
  background:#fff!important;
  border:1px solid rgba(8,19,33,.08)!important;
  box-shadow:0 16px 50px rgba(8,19,33,.07)!important;
}
th{background:#eef4fa!important;color:#475467!important;}
td button{border-radius:999px!important;}
.admin-table{border-radius:24px;overflow:auto;background:#fff;border:1px solid rgba(8,19,33,.08);box-shadow:0 16px 50px rgba(8,19,33,.06);}
.admin-table table{min-width:760px;}

/* Cart + assistant polish */
.drawer-panel{border-radius:32px 0 0 32px!important;}
.cart-line img{border-radius:18px!important;}
.assistant-launch{background:#e30613!important;color:#fff!important;box-shadow:0 18px 50px rgba(227,6,19,.28)!important;}

/* Mobile and tablet improvements */
@media(max-width:1180px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .hero{grid-template-columns:1fr;}
  .hero-content{min-height:560px;}
  .hero-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center;}
  .hero-panel img,.hero-panel video{aspect-ratio:1.25/1!important;}
}
@media(max-width:860px){
  .topbar{border-radius:26px;align-items:flex-start;}
  .menu-toggle{display:inline-flex!important;}
  .nav-links{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);padding:12px;background:#fff;border:1px solid rgba(8,19,33,.08);border-radius:24px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;}
  .nav-links.open{display:flex;}
  .nav-links a,.cart-button{width:100%;text-align:left;justify-content:flex-start;}
  .hero-content{min-height:520px;border-radius:30px!important;padding:32px!important;}
  .hero h1{font-size:clamp(38px,12vw,60px);}
  .hero-stats{grid-template-columns:1fr;}
  .hero-panel{grid-template-columns:1fr;border-radius:30px!important;}
  .highlights{grid-template-columns:1fr;}
  .section-heading{align-items:flex-start;flex-direction:column;}
  .filters{width:100%;justify-content:stretch;}
  .filters input,.filters select{min-width:0;width:100%;}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .event-form,.checkout-form,.inventory-form,.settings-form,.content-form,.account-form,.role-login{grid-template-columns:1fr!important;}
  .wide{grid-column:auto!important;}
  body.route-login .login-section{grid-template-columns:1fr!important;min-height:auto!important;}
  body.route-login .login-section .section-heading{min-height:320px!important;}
  body.route-portal .admin-section,body.route-portal .admin-dashboard{display:block!important;min-height:100vh;}
  body.route-portal .admin-tabs{position:relative!important;min-height:auto!important;display:grid!important;grid-template-columns:1fr!important;padding:16px!important;}
  body.route-portal .admin-tabs button{width:100%!important;display:block!important;}
  body.route-portal .admin-section > .section-heading{position:relative!important;padding:18px!important;display:flex!important;grid-column:auto!important;}
  body.route-portal .admin-pane{padding:20px 16px 34px!important;}
}
@media(max-width:560px){
  .section,.hero,.topbar,.site-footer{width:min(100% - 20px,1260px)!important;}
  .product-grid{grid-template-columns:1fr;}
  .product-card img,.product-card video{aspect-ratio:1.35/1!important;}
  .site-footer{grid-template-columns:1fr!important;padding:24px!important;}
  .hero-content{padding:26px!important;}
  .hero-panel{padding:12px!important;}
}

/* AI assistant loading state */
.message.loading { opacity: .75; font-style: italic; }
.assistant-header strong::after { content: " • catalog knowledge"; color: #f5a000; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }


/* === 2026-06 design + AI readability + hidden public prices patch === */

.site-studio-panel{width:min(520px,calc(100vw - 24px))!important;padding:20px!important;border-radius:30px!important;background:#fff!important;box-shadow:0 28px 90px rgba(6,19,33,.22)!important;}
.studio-head{padding:14px 16px!important;border-radius:20px!important;background:linear-gradient(135deg,#061321,#0c2740)!important;align-items:center!important;}
.studio-head strong,.studio-head span{color:#fff!important;}
.studio-head button{background:#fff!important;color:#061321!important;border-color:rgba(255,255,255,.18)!important;}
.studio-status{background:#f8fafc!important;border:1px solid #d9e2ec!important;color:#475467!important;font-size:13px!important;line-height:1.5!important;padding:14px 16px!important;border-radius:18px!important;}
.studio-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
.studio-tabs button{padding:12px 14px!important;border-radius:999px!important;font-size:14px!important;color:#344054!important;background:#fff!important;border:1px solid #d9e2ec!important;}
.studio-tabs button.active{background:#061321!important;color:#fff!important;border-color:#061321!important;box-shadow:0 10px 24px rgba(6,19,33,.18)!important;}
.studio-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:2px 2px 8px!important;}
.studio-form label{padding:12px!important;border:1px solid #e4e7ec!important;border-radius:18px!important;background:#fcfcfd!important;align-content:start!important;}
.studio-form label:has(textarea), .studio-form label:has(input[name*="Text"]), .studio-form label:has(input[name*="Title"]){grid-column:1 / -1;}
.studio-form input,.studio-form textarea{background:#fff!important;border:1px solid #d0d5dd!important;border-radius:14px!important;padding:12px 14px!important;font-size:15px!important;color:#101828!important;}
.studio-form textarea{min-height:110px!important;line-height:1.5!important;}
.studio-form .media-file-input{margin-top:8px!important;}
.studio-actions{position:sticky!important;bottom:0!important;background:#fff!important;padding:14px 0 0!important;border-top:1px solid #e4e7ec!important;justify-content:space-between!important;}
.studio-actions .button{flex:1 1 0!important;justify-content:center!important;}
.assistant-panel{width:min(420px,calc(100vw - 24px))!important;padding:18px!important;border:1px solid #d9e2ec!important;border-radius:28px!important;background:#fff!important;box-shadow:0 24px 70px rgba(6,19,33,.20)!important;}
.assistant-header{padding-bottom:12px!important;border-bottom:1px solid #eaecf0!important;margin-bottom:14px!important;}
.assistant-header strong{font-size:20px!important;color:#101828!important;}
.assistant-messages{max-height:400px!important;padding-right:4px!important;gap:12px!important;}
.message{white-space:pre-wrap!important;line-height:1.7!important;font-size:15px!important;padding:14px 16px!important;border-radius:18px!important;background:#f8fafc!important;color:#0f172a!important;border:1px solid #e2e8f0!important;}
.message.user{background:#0b1f33!important;color:#fff!important;border-color:#0b1f33!important;margin-left:36px!important;}
.message.loading{background:#fff7ed!important;color:#9a3412!important;border-color:#fed7aa!important;}
.assistant-panel form{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;align-items:center!important;margin-top:14px!important;}
.assistant-panel input[name="question"]{min-width:0!important;border:1px solid #d0d5dd!important;border-radius:16px!important;padding:14px 16px!important;font-size:16px!important;color:#101828!important;background:#fff!important;}
.assistant-panel button[type="submit"]{padding:14px 18px!important;border-radius:16px!important;background:#061321!important;color:#fff!important;font-size:16px!important;}
.assistant-header strong::after{content:""!important;}
.quote-only{color:#667085!important;font-size:14px!important;font-weight:800!important;}
.price-row.no-price{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;}
.price-row.no-price .button{margin-left:auto!important;}
@media (max-width:860px){.site-studio-panel{width:min(100vw - 12px,560px)!important;left:6px!important;right:6px!important;top:6px!important;bottom:6px!important;}.studio-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.studio-form{grid-template-columns:1fr!important;}.studio-form label{grid-column:auto!important;}}


/* === Multi-day rental upgrade === */
.rental-duration-note{
  grid-column:1 / -1;
  padding:14px 16px;
  border:1px dashed #f5a000;
  border-radius:16px;
  background:#fff8e6;
  color:#7a4a00;
  font-weight:800;
}
.checkout-form .rental-duration-note{
  margin-top:-4px;
}
.order-status-select{
  min-width:140px;
}
.calendar-panel small{
  color:#667085;
  font-weight:700;
}
@media(max-width:760px){
  .event-form,
  .checkout-form{
    grid-template-columns:1fr!important;
  }
}


/* === Remove pickup + bigger booking notes patch === */
.notes-label{
  grid-column:1 / -1 !important;
}
.notes-label textarea,
.event-form textarea[name="notes"],
.checkout-form textarea[name="notes"]{
  min-height:190px !important;
  font-size:17px !important;
  line-height:1.65 !important;
  padding:18px 20px !important;
  border-radius:22px !important;
  background:#fff !important;
  border:2px solid #d9e2ec !important;
  box-shadow:0 10px 26px rgba(6,19,33,.06) !important;
}
.event-form .notes-label,
.checkout-form .notes-label{
  font-size:18px !important;
  font-weight:900 !important;
  color:#061321 !important;
}
.event-form textarea[name="notes"]:focus,
.checkout-form textarea[name="notes"]:focus{
  border-color:#f5a000 !important;
  outline:4px solid rgba(245,160,0,.18) !important;
}


/* === Full operations upgrade without customer tracking === */
.product-detail-page{
  padding-top:28px!important;
}
.product-page-shell{
  display:grid;
  gap:18px;
}
.product-page-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:24px;
  align-items:start;
}
.product-page-media{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:30px;
  padding:14px;
  box-shadow:0 22px 60px rgba(6,19,33,.10);
}
.product-page-main-media{
  width:100%;
  min-height:420px;
  max-height:620px;
  object-fit:cover;
  border-radius:22px;
  background:#f2f4f7;
}
.product-page-info{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:30px;
  padding:28px;
  box-shadow:0 22px 60px rgba(6,19,33,.08);
}
.product-page-info h2{
  font-size:clamp(32px,4vw,58px);
  margin:8px 0 12px;
  line-height:.98;
}
.safety-card,.conflict-mini{
  margin:18px 0;
  padding:16px 18px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e4e7ec;
  display:grid;
  gap:6px;
}
.conflict-mini{
  background:#fff8e6;
  color:#7a4a00;
  font-weight:900;
  border-color:#f5a000;
}
.product-detail-link{
  display:inline-flex;
  margin-top:4px;
  font-weight:900;
  color:#061321;
  text-decoration:none;
}
.conflict-badge{
  display:inline-flex;
  margin-top:6px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff1f3;
  color:#b42318;
  border:1px solid #fecdca;
  font-weight:900;
  font-size:12px;
}
.quote-builder-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:20px;
  align-items:start;
}
.quote-builder-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:24px;
  padding:20px;
  box-shadow:0 16px 42px rgba(6,19,33,.08);
}
.quote-builder-form label{
  display:grid;
  gap:8px;
  font-weight:900;
}
.quote-builder-form input,.quote-builder-form select,.quote-builder-form textarea,
.whatsapp-template-panel select,.whatsapp-template-panel textarea{
  border:1px solid #d0d5dd;
  border-radius:16px;
  padding:13px 14px;
  font:inherit;
  background:#fff;
}
.quote-builder-form textarea{
  min-height:150px;
}
.quote-preview-card{
  background:#061321;
  color:#fff;
  border-radius:26px;
  padding:24px;
  box-shadow:0 20px 70px rgba(6,19,33,.24);
}
.quote-preview-card h3{font-size:28px;margin:0 0 8px;color:#fff;}
.quote-lines{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  margin:18px 0;
}
.quote-lines span{color:rgba(255,255,255,.72);}
.quote-total{
  border-top:1px solid rgba(255,255,255,.2);
  padding-top:14px;
  font-size:24px;
  font-weight:1000;
  color:#f5a000;
}
.quote-balance{
  font-weight:900;
  margin-top:8px;
}
.analytics-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}
.analytics-cards article,.analytics-panel{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:24px;
  padding:20px;
  box-shadow:0 14px 38px rgba(6,19,33,.07);
}
.analytics-cards span{
  display:block;
  color:#667085;
  font-weight:900;
}
.analytics-cards strong{
  display:block;
  font-size:42px;
  color:#061321;
  margin-top:6px;
}
.analytics-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.bar-row{
  display:grid;
  grid-template-columns:140px 1fr auto;
  gap:10px;
  align-items:center;
  margin:12px 0;
}
.bar-row div{
  height:12px;
  border-radius:999px;
  background:#eef2f6;
  overflow:hidden;
}
.bar-row i{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#061321,#f5a000);
}
.whatsapp-template-panel{
  display:grid;
  gap:16px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:24px;
  padding:20px;
  box-shadow:0 16px 42px rgba(6,19,33,.08);
}
.template-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.template-buttons button{
  border:1px solid #d0d5dd;
  background:#f8fafc;
  border-radius:16px;
  padding:14px;
  font-weight:900;
  cursor:pointer;
}
.template-buttons button:hover{
  background:#061321;
  color:#fff;
}
#templatePreview{
  min-height:220px;
  font-size:16px;
  line-height:1.6;
}
.media-upload-box input[multiple]{
  cursor:pointer;
}
@media(max-width:940px){
  .product-page-grid,.quote-builder-grid,.analytics-grid{grid-template-columns:1fr;}
  .analytics-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .product-page-main-media{min-height:280px;}
  .quote-builder-form{grid-template-columns:1fr;}
  .template-buttons{grid-template-columns:1fr;}
  .analytics-cards{grid-template-columns:1fr;}
  .bar-row{grid-template-columns:1fr;}
  .mobile-sticky-request{
    display:flex;
  }
  .topbar{
    position:sticky!important;
    top:0!important;
    z-index:80!important;
  }
  .cart-button{
    width:100%;
    justify-content:center;
  }
}


/* === Detail page + Join page + login label fixes === */
.product-page-shell > .button.ghost{
  width:100%;
  justify-content:center;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #d0d5dd!important;
  color:#061321!important;
  box-shadow:0 12px 34px rgba(6,19,33,.06)!important;
}
.product-page-add{
  min-width:190px;
  justify-content:center;
  font-size:17px!important;
}
.conflict-mini:empty{
  display:none!important;
}
body.route-product .product-detail-page{
  width:min(1280px,calc(100% - 32px))!important;
}
.product-page-grid{
  align-items:stretch!important;
}
.product-page-info{
  display:flex!important;
  flex-direction:column!important;
}
.product-page-info .button{
  margin-top:auto!important;
}
body.route-join,
body.join-page{
  background:
    radial-gradient(circle at top left, rgba(245,160,0,.16), transparent 34%),
    linear-gradient(135deg,#eef3f8 0%,#ffffff 48%,#f6f9fc 100%)!important;
  color:#101828!important;
}
.join-page .join-shell,
body.route-join .join-shell{
  width:min(1180px,calc(100% - 32px))!important;
  margin:30px auto!important;
  display:grid!important;
  grid-template-columns:.9fr 1.1fr!important;
  gap:28px!important;
  align-items:stretch!important;
}
.join-page .join-side,
body.route-join .join-side{
  background:linear-gradient(145deg,#061321,#123452)!important;
  color:#fff!important;
  border-radius:32px!important;
  padding:34px!important;
  box-shadow:0 28px 90px rgba(6,19,33,.22)!important;
  position:relative!important;
  overflow:hidden!important;
}
.join-page .join-side::after,
body.route-join .join-side::after{
  content:"";
  position:absolute;
  inset:auto -80px -100px auto;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(245,160,0,.22);
}
.join-page .join-side h1,
body.route-join .join-side h1{
  color:#fff!important;
  font-size:clamp(44px,6vw,72px)!important;
  line-height:.95!important;
  margin:18px 0!important;
}
.join-page .join-side p,
body.route-join .join-side p,
.join-page .join-side li,
body.route-join .join-side li{
  color:rgba(255,255,255,.78)!important;
  font-size:18px!important;
  line-height:1.7!important;
}
.join-page .join-card,
body.route-join .join-card{
  background:#fff!important;
  border:1px solid #e4e7ec!important;
  border-radius:32px!important;
  padding:34px!important;
  box-shadow:0 24px 70px rgba(6,19,33,.12)!important;
}
.join-page .join-card h2,
body.route-join .join-card h2{
  font-size:clamp(34px,4vw,54px)!important;
  margin:0 0 12px!important;
  color:#061321!important;
}
.join-page form,
body.route-join form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
.join-page form label,
body.route-join form label{
  display:grid!important;
  gap:8px!important;
  font-weight:900!important;
  color:#101828!important;
}
.join-page form input,
.join-page form select,
.join-page form textarea,
body.route-join form input,
body.route-join form select,
body.route-join form textarea{
  border:1px solid #d0d5dd!important;
  background:#fff!important;
  color:#101828!important;
  border-radius:18px!important;
  padding:15px 16px!important;
  font:inherit!important;
  box-shadow:0 8px 22px rgba(6,19,33,.04)!important;
}
.join-page form textarea,
body.route-join form textarea{
  min-height:170px!important;
}
.join-page .wide,
body.route-join .wide{
  grid-column:1 / -1!important;
}
.join-page .button.primary,
body.route-join .button.primary{
  width:100%!important;
  justify-content:center!important;
  font-size:18px!important;
  padding:16px 20px!important;
}
.join-page .join-top,
body.route-join .join-top{
  width:min(1180px,calc(100% - 32px))!important;
  margin:24px auto 0!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
}
.join-page .join-top .brand,
body.route-join .join-top .brand{
  color:#061321!important;
}
.join-page .join-top .brand small,
body.route-join .join-top .brand small{
  color:#667085!important;
}
@media(max-width:860px){
  .join-page .join-shell,
  body.route-join .join-shell{
    grid-template-columns:1fr!important;
  }
  .join-page form,
  body.route-join form{
    grid-template-columns:1fr!important;
  }
}


/* === Clean login + readable Join Us final patch === */

/* Login page: remove the big left Control Room panel and keep only the secure login card */
body.route-login .login-shell{
  width:min(560px,calc(100% - 28px))!important;
  display:block!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.route-login .login-hero-copy{
  display:none!important;
}
body.route-login .role-login,
body.route-login .logged-in-panel{
  width:100%!important;
  display:grid!important;
  gap:18px!important;
  background:#fff!important;
  border:1px solid #d9e2ec!important;
  border-radius:30px!important;
  padding:32px!important;
  box-shadow:0 28px 90px rgba(6,19,33,.16)!important;
}
body.route-login .role-login[hidden],
body.route-login .logged-in-panel[hidden]{
  display:none!important;
}
body.route-login .login-brand-card{
  background:linear-gradient(135deg,#f8fafc,#ffffff)!important;
  border:1px solid #d9e2ec!important;
  border-radius:24px!important;
  padding:18px!important;
}
body.route-login .login-brand-card strong{
  font-size:24px!important;
  color:#061321!important;
}
body.route-login .login-brand-card span{
  color:#667085!important;
  font-weight:700!important;
}
body.route-login .role-login label{
  font-size:15px!important;
  color:#344054!important;
  font-weight:900!important;
}
body.route-login .role-login input{
  height:56px!important;
  border-radius:18px!important;
  border:1px solid #d0d5dd!important;
  background:#fff!important;
  color:#101828!important;
  font-size:17px!important;
}
body.route-login .role-login .button.primary{
  height:58px!important;
  font-size:18px!important;
  border-radius:18px!important;
}
body.route-login .login-status{
  color:#667085!important;
  font-weight:700!important;
  text-align:center!important;
}

/* Join page: remove washed-out white text problem */
.join-page .join-side,
body.route-join .join-side{
  background:#ffffff!important;
  color:#101828!important;
  border:1px solid #d9e2ec!important;
  box-shadow:0 24px 70px rgba(6,19,33,.10)!important;
}
.join-page .join-side::after,
body.route-join .join-side::after{
  background:rgba(245,160,0,.10)!important;
}
.join-page .join-side .eyebrow,
body.route-join .join-side .eyebrow{
  color:#e30613!important;
}
.join-page .join-side h1,
body.route-join .join-side h1{
  color:#061321!important;
}
.join-page .join-side p,
body.route-join .join-side p{
  color:#475467!important;
}
.join-page .join-side li,
body.route-join .join-side li{
  color:#344054!important;
  background:#f8fafc!important;
  border:1px solid #e4e7ec!important;
  border-radius:16px!important;
  padding:12px 14px!important;
  margin:10px 0!important;
  list-style:none!important;
}
.join-page .join-side ul,
body.route-join .join-side ul{
  padding:0!important;
  margin:24px 0 0!important;
}
.join-page .join-top .brand span strong,
body.route-join .join-top .brand span strong{
  color:#061321!important;
}
.join-page .join-top .brand span small,
body.route-join .join-top .brand span small{
  color:#667085!important;
}
.join-page .join-card,
body.route-join .join-card{
  background:#fff!important;
}
.join-page .join-card p,
body.route-join .join-card p{
  color:#475467!important;
  font-size:18px!important;
  line-height:1.6!important;
}
@media(max-width:860px){
  body.route-login .role-login,
  body.route-login .logged-in-panel{
    padding:24px!important;
    border-radius:24px!important;
  }
}


/* === Enterprise operations upgrade === */
.product-gallery-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.product-gallery-strip button{
  border:1px solid #e4e7ec;
  background:#fff;
  border-radius:16px;
  padding:4px;
  cursor:pointer;
}
.gallery-thumb{
  width:100%;
  height:86px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}
.calendar-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:22px;
  padding:16px 18px;
  margin-bottom:14px;
  box-shadow:0 14px 34px rgba(6,19,33,.06);
}
.calendar-toolbar h3{
  margin:0;
  color:#061321;
  font-size:26px;
}
.calendar-toolbar button{
  border:1px solid #d0d5dd;
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
}
.calendar-weekdays,
.calendar-month-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px;
}
.calendar-weekdays span{
  text-align:center;
  font-weight:900;
  color:#667085;
  padding:8px;
}
.calendar-day{
  min-height:128px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:20px;
  padding:12px;
  box-shadow:0 10px 24px rgba(6,19,33,.04);
  display:grid;
  align-content:start;
  gap:6px;
}
.calendar-day.empty{
  background:transparent;
  border:0;
  box-shadow:none;
}
.calendar-day.busy{
  border-color:#f5a000;
  background:#fffaf0;
}
.calendar-day strong{
  color:#061321;
  font-size:18px;
}
.calendar-day span{
  display:block;
  padding:5px 7px;
  border-radius:10px;
  background:#061321;
  color:#fff;
  font-size:12px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.calendar-day em{
  font-style:normal;
  color:#b45309;
  font-weight:900;
}
#assignmentsTable select{
  width:100%;
  min-width:140px;
  border:1px solid #d0d5dd;
  border-radius:12px;
  padding:10px;
  background:#fff;
  font-weight:800;
}
.event-form select,
.checkout-form select{
  border:1px solid #d0d5dd;
  border-radius:18px;
  padding:14px 16px;
  background:#fff;
  font:inherit;
  font-weight:800;
}
@media(max-width:780px){
  .calendar-weekdays{display:none;}
  .calendar-month-grid{grid-template-columns:1fr;}
  .calendar-day.empty{display:none;}
  .product-gallery-strip{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* === Manual billing per game === */
.manual-items-billing{
  display:grid;
  gap:12px;
  background:#f8fafc;
  border:1px solid #e4e7ec;
  border-radius:22px;
  padding:16px;
}
.manual-billing-head{
  display:grid;
  gap:4px;
  padding-bottom:10px;
  border-bottom:1px solid #e4e7ec;
}
.manual-billing-head strong{
  color:#061321;
  font-size:18px;
}
.manual-billing-head span{
  color:#667085;
  font-weight:800;
  font-size:13px;
}
.manual-item-price{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 160px;
  gap:12px!important;
  align-items:center;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:18px;
  padding:12px;
}
.manual-item-price span{
  display:grid;
  gap:4px;
  color:#101828;
  font-weight:900;
}
.manual-item-price small{
  color:#667085;
  font-weight:700;
}
.manual-item-price input{
  text-align:right;
  font-weight:900;
}
.quote-lines span:nth-child(4n+1),
.quote-lines strong:nth-child(4n+2){
  color:#fff;
}
@media(max-width:640px){
  .manual-item-price{
    grid-template-columns:1fr!important;
  }
  .manual-item-price input{
    text-align:left;
  }
}


/* === Public quote + no size in quote patch === */
.public-quote-panel{
  grid-column:1 / -1;
}
.public-quote-card{
  margin-top:14px;
  background:#fff8e6;
  border:1px solid #f5a000;
  border-radius:22px;
  padding:18px;
  color:#061321;
  display:grid;
  gap:10px;
}
.public-quote-card h3{
  margin:0;
  font-size:22px;
}
.public-quote-lines{
  display:grid;
  grid-template-columns:1fr auto;
  gap:9px 12px;
  border-top:1px solid rgba(245,160,0,.35);
  border-bottom:1px solid rgba(245,160,0,.35);
  padding:12px 0;
}
.public-quote-lines span{
  font-weight:800;
  color:#344054;
}
.public-quote-lines strong{
  font-weight:1000;
}
.public-quote-total{
  font-size:24px;
  font-weight:1000;
  color:#e30613;
}
.public-quote-balance{
  font-weight:900;
  color:#7a4a00;
}


/* === Quote buttons + price column fix === */
.manual-items-billing{
  border:2px solid #f5a000!important;
  background:#fffaf0!important;
}
.manual-billing-head strong::after{
  content:" — enter price for each game below";
  color:#e30613;
  font-size:13px;
  font-weight:900;
}
.manual-item-price input{
  border:2px solid #f5a000!important;
  background:#fff!important;
  color:#061321!important;
  font-size:18px!important;
}
.manual-item-price input::placeholder{
  color:#98a2b3!important;
}
.admin-table button[data-quote-order],
.admin-table button[data-agreement-order]{
  background:#061321!important;
  color:#fff!important;
  border-color:#061321!important;
}


/* === FINAL repair: quote builder visible and buttons working === */
.manual-items-billing{border:2px solid #f5a000!important;background:#fffaf0!important;border-radius:22px!important;padding:16px!important;display:grid!important;gap:12px!important}.manual-billing-head{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid #e4e7ec}.manual-billing-head strong{color:#061321;font-size:18px}.manual-billing-head span{color:#667085;font-weight:800}.manual-item-price{display:grid!important;grid-template-columns:minmax(0,1fr) 170px;gap:12px!important;align-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:12px}.manual-item-price span{display:grid;gap:4px;color:#101828;font-weight:900}.manual-item-price small{color:#667085;font-weight:700}.manual-item-price input{border:2px solid #f5a000!important;background:#fff!important;color:#061321!important;font-size:18px!important;text-align:right;font-weight:1000}.admin-table button[data-quote-order],.admin-table button[data-agreement-order]{background:#061321!important;color:#fff!important;border-color:#061321!important}.quote-lines{grid-template-columns:1fr auto!important}@media(max-width:640px){.manual-item-price{grid-template-columns:1fr!important}.manual-item-price input{text-align:left}}


/* === Simplified quote: games + delivery + discount === */
.quote-lines strong:has(+ span),
.public-quote-lines strong{
  white-space:nowrap;
}
.manual-billing-head span::after{
  content:" Quote total = game prices + delivery fee - discount.";
  display:block;
  margin-top:4px;
  color:#7a4a00;
}

/* === Final requested fixes: mobile dashboard stack, clean customer cart, quote totals === */
.rental-duration-note{display:none!important;}
.quote-lines.quote-lines-detailed{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px 16px!important;
}
.quote-lines small{display:block;color:#667085;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-top:2px;}
.quote-lines .negative,.public-quote-lines .negative{color:#b42318!important;}
.manual-billing-head strong::after{content:""!important;}
.manual-billing-head span::after{content:""!important;}
.manual-items-billing{border:1px solid #e4e7ec!important;background:#fff!important;}
.manual-item-price{grid-template-columns:minmax(0,1fr) 180px!important;}
.manual-item-price input{border:1px solid #d0d5dd!important;border-radius:16px!important;background:#fff!important;color:#061321!important;}
.quote-preview-card{background:#fff!important;border:1px solid #e4e7ec!important;border-radius:22px!important;box-shadow:0 16px 42px rgba(16,24,40,.08)!important;padding:20px!important;}
.quote-total{margin-top:14px;padding:16px;border-radius:18px;background:#061321;color:#fff;font-size:24px;font-weight:1000;text-align:right;}
@media(max-width:900px){
  body.route-portal main{overflow-x:hidden!important;}
  body.route-portal .admin-section{padding:12px!important;overflow-x:hidden!important;}
  body.route-portal .admin-dashboard{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;overflow:hidden!important;}
  body.route-portal .admin-tabs,
  .admin-tabs{
    position:static!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;max-width:100%!important;overflow:visible!important;height:auto!important;min-height:auto!important;padding:14px!important;box-sizing:border-box!important;
  }
  body.route-portal .admin-tabs::before{display:none!important;}
  body.route-portal .admin-tabs button,
  .admin-tabs button{width:100%!important;min-width:0!important;display:block!important;text-align:left!important;white-space:normal!important;overflow:visible!important;}
  .admin-pane{width:100%!important;max-width:100%!important;overflow-x:auto!important;}
  .manual-item-price{grid-template-columns:1fr!important;}
}

/* === Restored old quote builder preview style + readable writing === */
.quote-builder-grid{
  grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr)!important;
}
.quote-preview-card{
  background:#061321!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:26px!important;
  padding:24px!important;
  box-shadow:0 22px 70px rgba(6,19,33,.28)!important;
}
.quote-preview-card *{
  box-sizing:border-box;
}
.quote-preview-head span{
  display:inline-block;
  color:#f5a000!important;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:8px;
}
.quote-preview-card h3,
.quote-preview-head h3{
  color:#fff!important;
  font-size:30px!important;
  line-height:1.05;
  margin:0 0 8px!important;
}
.quote-preview-card p,
.quote-preview-head p{
  color:rgba(255,255,255,.78)!important;
  font-weight:800;
  margin:0;
}
.quote-preview-items{
  display:grid;
  gap:12px;
  margin:20px 0;
}
.quote-preview-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(190px,auto);
  gap:16px;
  align-items:center;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.quote-preview-item strong{
  display:block;
  color:#fff!important;
  font-size:15px;
  font-weight:1000;
}
.quote-preview-item small{
  display:block;
  color:rgba(255,255,255,.68)!important;
  font-size:12px;
  font-weight:800;
  margin-top:4px;
}
.quote-preview-values{
  display:grid;
  grid-template-columns:1fr auto;
  gap:6px 12px;
  align-items:center;
}
.quote-preview-values span,
.quote-lines.old-style-quote-lines span{
  color:rgba(255,255,255,.70)!important;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.quote-preview-values b,
.quote-lines.old-style-quote-lines strong{
  color:#fff!important;
  font-size:16px;
  font-weight:1000;
  white-space:nowrap;
}
.quote-lines.old-style-quote-lines{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px 18px!important;
  margin:18px 0!important;
  padding:18px 0!important;
  border-top:1px solid rgba(255,255,255,.16);
  border-bottom:1px solid rgba(255,255,255,.16);
}
.quote-lines.old-style-quote-lines .negative{
  color:#ffb4ab!important;
}
.quote-total{
  border:0!important;
  margin-top:16px!important;
  padding:18px 20px!important;
  border-radius:20px!important;
  background:#f5a000!important;
  color:#061321!important;
  font-size:25px!important;
  font-weight:1000!important;
  text-align:right!important;
}
.quote-preview-notes{
  margin-top:14px!important;
  padding:14px!important;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  color:#fff!important;
}
@media(max-width:900px){
  .quote-builder-grid{grid-template-columns:1fr!important;}
  .quote-preview-item{grid-template-columns:1fr!important;}
  .quote-preview-values{grid-template-columns:1fr auto!important;}
}


/* === Quote builder style matching approved mock === */
#tab-quotes .editor-help{
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:24px!important;
  padding:18px 18px!important;
  box-shadow:0 10px 24px rgba(16,24,40,.04)!important;
}
#tab-quotes .editor-help strong{
  color:#0f172a!important;
}
#tab-quotes .editor-help strong::before{content:"LIVE EDITOR · "!important;color:#ef4444!important;}
#tab-quotes .editor-help span{color:#667085!important;}

.quote-builder-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.82fr)!important;
  gap:18px!important;
  align-items:start!important;
}
.quote-builder-form{
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:28px!important;
  box-shadow:0 18px 40px rgba(16,24,40,.06)!important;
  padding:16px!important;
}
.quote-builder-form label{
  color:#344054!important;
  font-weight:900!important;
}
.quote-builder-form > label,
.quote-builder-form .wide{
  margin-bottom:14px!important;
}
.quote-builder-form select,
.quote-builder-form textarea,
.quote-builder-form input[type="number"],
.quote-builder-form input[type="text"]{
  border:1px solid #d0d5dd!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#101828!important;
  min-height:56px!important;
  box-shadow:none!important;
}
.quote-builder-form textarea{
  min-height:140px!important;
}
.manual-items-billing{
  border:1.5px solid #f5a000!important;
  background:#fffaf0!important;
  border-radius:26px!important;
  padding:16px!important;
}
.manual-billing-head{
  padding-bottom:12px!important;
  border-bottom:1px solid #e4e7ec!important;
  margin-bottom:10px!important;
}
.manual-billing-head strong{
  font-size:18px!important;
  color:#101828!important;
}
.manual-billing-head span{
  color:#667085!important;
  font-weight:800!important;
}
.manual-item-price{
  background:#fff!important;
  border:1px solid #d0d5dd!important;
  border-radius:20px!important;
  padding:14px 16px!important;
  align-items:center!important;
  box-shadow:none!important;
}
.manual-item-price span{
  color:#101828!important;
  font-weight:900!important;
}
.manual-item-price small{
  color:#667085!important;
  margin-top:3px!important;
}
.manual-item-price input{
  min-height:48px!important;
  border:1.5px solid #f5a000!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:18px!important;
  font-weight:900!important;
  text-align:right!important;
  padding-right:18px!important;
}
.quote-builder-form .form-actions{
  justify-content:flex-start!important;
  gap:12px!important;
  padding-top:0!important;
}
.quote-builder-form .button.primary{
  background:#f5a000!important;
  color:#101828!important;
  border-color:#f5a000!important;
}
.quote-builder-form .button.ghost{
  background:#fff!important;
  color:#101828!important;
  border-color:#d0d5dd!important;
}

.quote-preview-card{
  background:#04162a!important;
  color:#fff!important;
  border-radius:28px!important;
  border:0!important;
  box-shadow:0 24px 48px rgba(4,22,42,.20)!important;
  padding:22px!important;
  position:sticky!important;
  top:16px!important;
}
.quote-preview-head span{display:none!important;}
.quote-preview-head h3,
.quote-preview-card h3{
  color:#fff!important;
  font-size:26px!important;
  margin:0 0 12px!important;
}
.quote-preview-head p,
.quote-preview-card p{
  color:rgba(255,255,255,.84)!important;
  font-weight:800!important;
  margin:0 0 18px!important;
}
.quote-preview-items{
  display:grid!important;
  gap:16px!important;
  margin:18px 0!important;
}
.quote-preview-item{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0 0 14px 0!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(170px,auto)!important;
  gap:12px!important;
}
.quote-preview-item strong{
  font-size:17px!important;
  color:#fff!important;
}
.quote-preview-item small{
  color:rgba(255,255,255,.68)!important;
}
.quote-preview-values{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:6px 14px!important;
  align-content:start!important;
}
.quote-preview-values span,
.quote-lines.old-style-quote-lines span{
  color:#98a2b3!important;
  font-size:12px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.quote-preview-values b,
.quote-lines.old-style-quote-lines strong{
  color:#fff!important;
  font-size:18px!important;
  font-weight:1000!important;
}
.quote-lines.old-style-quote-lines{
  margin:0!important;
  padding:16px 0 0!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
  border-bottom:0!important;
}
.quote-lines.old-style-quote-lines .negative{color:#ff7b7b!important;}
.quote-total{
  background:transparent!important;
  color:#ffb11a!important;
  border:0!important;
  margin-top:12px!important;
  padding:10px 0 0!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
  border-radius:0!important;
  text-align:left!important;
  font-size:22px!important;
  font-weight:1000!important;
}
.quote-preview-notes{
  margin-top:14px!important;
  padding:0!important;
  background:transparent!important;
  color:#fff!important;
  opacity:.95;
}

@media (max-width: 980px){
  .quote-builder-grid{grid-template-columns:1fr!important;}
  .quote-preview-card{position:static!important;}
}
@media (max-width: 640px){
  .manual-item-price{grid-template-columns:1fr!important;}
  .manual-item-price input{text-align:left!important;}
  .quote-preview-item{grid-template-columns:1fr!important;}
}


/* === Next-level operations upgrade === */
.table-link-button{
  display:inline-block;
  padding:8px 12px;
  margin:3px;
  border-radius:999px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#061321!important;
  font-weight:900;
  text-decoration:none;
}
.quote-approval-mini{
  margin-top:10px;
  padding:10px 0 0;
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.75);
  font-weight:800;
  word-break:break-word;
}
.quote-approval-mini a{color:#ffb11a;font-weight:1000;}
.status-quote-sent{background:#e0f2fe;color:#075985;}
.status-customer-approved,.status-deposit-paid{background:#dcfce7;color:#166534;}
.status-changes-requested{background:#fef3c7;color:#92400e;}
.status-rejected{background:#fee2e2;color:#991b1b;}

.customer-quote-page[hidden]{display:none!important;}
.customer-quote-shell{
  max-width:980px;
  margin:0 auto;
  padding:28px;
}
.customer-quote-card{
  margin-top:18px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:30px;
  box-shadow:0 28px 70px rgba(16,24,40,.12);
  padding:28px;
}
.customer-quote-card h2{font-size:40px;margin:0 0 8px;color:#061321;}
.customer-quote-table{width:100%;border-collapse:collapse;margin:22px 0;}
.customer-quote-table th{background:#061321;color:#fff;text-align:left;padding:14px;}
.customer-quote-table td{border-bottom:1px solid #e4e7ec;padding:14px;}
.customer-quote-totals{
  margin-left:auto;
  width:min(520px,100%);
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px 18px;
  background:#f8fafc;
  border-radius:22px;
  padding:18px;
  font-weight:900;
}
.customer-quote-totals .final{font-size:22px;color:#061321;}
.customer-quote-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid #e4e7ec;
}
.button.danger,.button.ghost.danger{border-color:#fca5a5!important;color:#b42318!important;background:#fff5f5!important;}
#maintenanceTable textarea{min-height:72px;min-width:220px;border-radius:14px;border:1px solid #d0d5dd;padding:10px;}
#maintenanceTable input,#maintenanceTable select{border-radius:14px;border:1px solid #d0d5dd;padding:10px;min-height:42px;}
.product-gallery-strip{display:flex;gap:10px;overflow-x:auto;margin-top:12px;padding-bottom:8px;}
.product-gallery-strip button{border:1px solid #e4e7ec;background:#fff;border-radius:14px;padding:5px;min-width:86px;cursor:pointer;}
.gallery-thumb{width:76px;height:58px;object-fit:cover;border-radius:10px;display:block;}
.customer-quote-card .notes{background:#fffaf0;border:1px solid #fedf89;border-radius:18px;padding:16px;margin-top:18px;}
@media(max-width:760px){
  .customer-quote-card{padding:18px;border-radius:22px;}
  .customer-quote-card h2{font-size:30px;}
  .customer-quote-table{font-size:13px;}
}


/* === Clean operations update === */
.status-waiting-for-quote,
.status-changes-requested,
.status-deposit-paid { background:#eef2ff; color:#1e3a8a; }
.product-card .button.primary::first-letter { text-transform: uppercase; }


/* === WAHA admin notification settings === */
.settings-form label small,
.checkout-form label small{
  display:block;
  margin-top:6px;
  color:#667085;
  font-weight:800;
  line-height:1.35;
}


/* === Final operations upgrade === */
.operations-next-row{margin-top:20px;}
#overviewOpsPanel .button{margin-top:12px;}
.calendar-day button{
  margin-top:6px;
  border:0;
  border-radius:999px;
  padding:5px 9px;
  background:#061321;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.calendar-day span.status-confirmed,
.calendar-day span.status-customer-approved{background:#dcfce7;color:#166534;border-radius:8px;padding:2px 6px;}
.calendar-day span.status-quote-sent{background:#e0f2fe;color:#075985;border-radius:8px;padding:2px 6px;}
.worker-mobile-shell{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
.worker-job-card{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:24px;
  padding:18px;
  box-shadow:0 16px 34px rgba(16,24,40,.08);
}
.worker-job-card h3{margin:0 0 6px;color:#061321;font-size:24px;}
.worker-job-card p{color:#475467;font-weight:800;}
.worker-job-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
@media(max-width:700px){
  .worker-mobile-shell{grid-template-columns:1fr;}
}


/* === Approval page, cart placeholders, location, pickup-only assignment fix === */
.location-input-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.location-input-row .button{
  min-height:54px;
  white-space:nowrap;
}
body.route-quote .hero,
body.route-quote #catalog,
body.route-quote #planner,
body.route-quote .site-footer,
body.route-quote .public-sections,
body.route-quote #productDetailPage{
  display:none!important;
}
.customer-quote-shell{
  max-width:1050px;
  margin:0 auto;
  padding:28px 18px 70px;
}
.pro-approval-card{
  background:#fff!important;
  border:1px solid #e4e7ec!important;
  border-radius:32px!important;
  box-shadow:0 28px 70px rgba(16,24,40,.14)!important;
  padding:0!important;
  overflow:hidden;
}
.quote-approval-hero{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  background:#061321;
  color:#fff;
  padding:28px;
}
.quote-approval-hero h2{
  color:#fff;
  font-size:36px;
  margin:0 0 8px;
}
.quote-approval-hero p{color:rgba(255,255,255,.78);font-weight:800;margin:0;}
.quote-approval-total{
  background:#f5a000;
  color:#061321;
  border-radius:24px;
  padding:18px 22px;
  min-width:190px;
  text-align:right;
}
.quote-approval-total span{display:block;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;}
.quote-approval-total strong{display:block;font-size:30px;font-weight:1000;}
.approval-details-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  padding:22px 28px 0;
}
.approval-details-grid div{
  background:#f8fafc;
  border:1px solid #e4e7ec;
  border-radius:18px;
  padding:14px;
}
.approval-details-grid span{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.approval-details-grid strong{
  display:block;
  color:#061321;
  margin-top:5px;
  word-break:break-word;
}
.pro-approval-card .customer-quote-table,
.pro-approval-card .customer-quote-totals,
.pro-approval-card .notes,
.pro-approval-card .customer-quote-actions{
  margin-left:28px;
  margin-right:28px;
}
.pro-approval-card .customer-quote-actions{margin-bottom:28px;}
@media(max-width:760px){
  .location-input-row{grid-template-columns:1fr;}
  .cart-drawer .drawer-panel{
    width:min(100vw,560px)!important;
    padding:20px!important;
  }
  .checkout-form{
    grid-template-columns:1fr!important;
  }
  .quote-approval-hero{
    display:grid;
  }
  .quote-approval-total{
    text-align:left;
    width:100%;
  }
  .approval-details-grid{
    grid-template-columns:1fr;
    padding:18px;
  }
  .pro-approval-card .customer-quote-table,
  .pro-approval-card .customer-quote-totals,
  .pro-approval-card .notes,
  .pro-approval-card .customer-quote-actions{
    margin-left:18px;
    margin-right:18px;
  }
}


/* === Calendar details modal + freeze fixes === */
.calendar-details-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(6,19,33,.62);
  backdrop-filter:blur(8px);
}
.calendar-details-modal.open{display:flex;}
.calendar-details-panel{
  width:min(980px,100%);
  max-height:88vh;
  overflow:auto;
  background:#fff;
  border-radius:30px;
  box-shadow:0 30px 90px rgba(6,19,33,.35);
  padding:24px;
  border:1px solid #e4e7ec;
}
.calendar-details-close{
  float:right;
  border:1px solid #d0d5dd;
  background:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
}
.calendar-details-head{
  padding:12px 0 20px;
  border-bottom:1px solid #e4e7ec;
  margin-bottom:18px;
}
.calendar-details-head h2{
  margin:4px 0;
  color:#061321;
  font-size:34px;
}
.calendar-details-head span{color:#667085;font-weight:900;}
.calendar-details-list{display:grid;gap:14px;}
.calendar-booking-card{
  border:1px solid #e4e7ec;
  border-radius:22px;
  padding:18px;
  background:#f8fafc;
}
.calendar-booking-card h3{
  margin:0 0 6px;
  color:#061321;
  font-size:22px;
}
.calendar-booking-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:14px 0;
}
.calendar-booking-grid span{
  display:block;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:14px;
  padding:12px;
  color:#475467;
  font-weight:800;
}
.calendar-booking-grid strong{
  display:block;
  color:#061321;
  margin-bottom:4px;
}
.calendar-booking-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.cart-drawer{z-index:9999!important;}
.cart-drawer:not(.open),
.cart-drawer:not(.open) .drawer-panel{
  pointer-events:none!important;
  visibility:hidden!important;
}
.cart-drawer.open{
  pointer-events:auto!important;
  visibility:visible!important;
}
.cart-drawer.open .drawer-panel{pointer-events:auto!important;}
.studio-toggle{z-index:900!important;}
@media(max-width:720px){
  .calendar-booking-grid{grid-template-columns:1fr;}
  .calendar-details-panel{border-radius:22px;padding:18px;}
}


/* === Hard route fix for login/cart/add responsiveness === */
body.route-login .hero,
body.route-login .custom-sections,
body.route-login #catalog,
body.route-login #planner,
body.route-login .site-footer,
body.route-login #productDetailPage,
body.route-login #customerQuotePage{display:none!important;}
body.route-login #login{display:block!important;visibility:visible!important;opacity:1!important;min-height:100vh!important;}
body.route-portal .hero,
body.route-portal .custom-sections,
body.route-portal #catalog,
body.route-portal #planner,
body.route-portal #login,
body.route-portal .site-footer,
body.route-portal #productDetailPage,
body.route-portal #customerQuotePage{display:none!important;}
body.route-portal #admin{display:block!important;visibility:visible!important;opacity:1!important;min-height:100vh!important;}
body:not(.route-login) #login:not(:target){display:none;}
body:not(.route-portal) #admin:not(:target){display:none;}
@supports selector(body:has(#login:target)){
  body:has(#login:target) .hero,
  body:has(#login:target) .custom-sections,
  body:has(#login:target) #catalog,
  body:has(#login:target) #planner,
  body:has(#login:target) .site-footer{display:none!important;}
  body:has(#login:target) #login{display:block!important;visibility:visible!important;opacity:1!important;}
  body:has(#admin:target) .hero,
  body:has(#admin:target) .custom-sections,
  body:has(#admin:target) #catalog,
  body:has(#admin:target) #planner,
  body:has(#admin:target) #login,
  body:has(#admin:target) .site-footer{display:none!important;}
  body:has(#admin:target) #admin{display:block!important;visibility:visible!important;opacity:1!important;}
}
#openCart, [data-add], a[href="#login"], a[href="#portal"], a[href="#admin"]{pointer-events:auto!important;}

/* === Customer-simple availability + staff maintenance reports === */
.available-tag{
  background:#dcfce7!important;
  color:#166534!important;
}
.unavailable-tag{
  background:#fee2e2!important;
  color:#991b1b!important;
}
.product-unavailable .product-media{
  filter:grayscale(.2) brightness(.92);
}
.product-unavailable .button[disabled]{
  opacity:.62;
  cursor:not-allowed;
  background:#e5e7eb!important;
  color:#667085!important;
}
.staff-maintenance-report{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:24px;
  padding:18px;
}
.staff-maintenance-report .wide{
  grid-column:1/-1;
}
.staff-maintenance-report textarea{
  min-height:140px;
}
.maintenance-report-mini{
  display:block;
  margin-top:8px;
  padding:8px;
  background:#fffaf0;
  border:1px solid #fedf89;
  border-radius:12px;
  color:#92400e!important;
  font-weight:800;
}
@media(max-width:760px){
  .staff-maintenance-report{grid-template-columns:1fr;}
}


/* === Professional calendar View modal === */
.calendar-details-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(6,19,33,.65);
  backdrop-filter:blur(8px);
}
.calendar-details-modal.open{display:flex;}
.calendar-details-panel{
  width:min(1050px,100%);
  max-height:88vh;
  overflow:auto;
  background:#fff;
  border-radius:30px;
  box-shadow:0 30px 90px rgba(6,19,33,.35);
  padding:24px;
  border:1px solid #e4e7ec;
}
.calendar-details-close{
  float:right;
  border:1px solid #d0d5dd;
  background:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
}
.calendar-details-head{
  padding:10px 0 20px;
  border-bottom:1px solid #e4e7ec;
  margin-bottom:18px;
}
.calendar-details-head h2{
  margin:4px 0;
  color:#061321;
  font-size:36px;
}
.calendar-details-head span{color:#667085;font-weight:900;}
.calendar-details-list{display:grid;gap:14px;}
.calendar-booking-card{
  border:1px solid #e4e7ec;
  border-radius:24px;
  padding:18px;
  background:#f8fafc;
}
.calendar-booking-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:start;
  margin-bottom:12px;
}
.calendar-booking-top h3{
  margin:0 0 6px;
  color:#061321;
  font-size:24px;
}
.calendar-booking-top > strong{
  background:#061321;
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  white-space:nowrap;
}
.calendar-booking-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:14px 0;
}
.calendar-booking-grid span{
  display:block;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:16px;
  padding:12px;
  color:#475467;
  font-weight:800;
  word-break:break-word;
}
.calendar-booking-grid strong{
  display:block;
  color:#061321;
  margin-bottom:4px;
}
.calendar-booking-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.calendar-day button{
  font-size:14px!important;
  background:#061321!important;
  color:#fff!important;
  border-radius:999px!important;
}
@media(max-width:720px){
  .calendar-booking-grid{grid-template-columns:1fr;}
  .calendar-details-panel{border-radius:22px;padding:18px;}
  .calendar-booking-top{display:grid;}
}


/* === Readable fallback for old calendar popup text === */
.readable-booking-card h3{
  margin:0 0 10px;
  color:#061321;
  font-size:22px;
}
.readable-booking-card p{
  margin:8px 0;
  color:#475467;
  font-weight:800;
  white-space:pre-wrap;
}

/* === Full QA finishing details === */
.staff-availability-form{
  margin-bottom:18px;
}
.quote-locked{
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px;
  border:1px solid #d0d5dd;
  border-radius:16px;
  background:#f8fafc;
}
.quote-locked strong{
  color:#475467;
  font-size:14px;
}
.worker-job-card button:disabled{
  cursor:default;
  opacity:.72;
  transform:none!important;
}
