/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #0f172a; background: #fff; }
a { color: inherit; text-decoration: none; }

:root {
  --color-primary: #a80100;
  --color-primary-hover: #8d0100;
  --color-primary-soft: rgba(168, 1, 0, 0.08);
  --color-bg: #f4f1ef;
  --color-surface: #ffffff;
  --color-surface-2: #f8f4f2;
  --color-text: #181412;
  --color-text-muted: #6d625d;
  --color-border: #e4d9d4;
  --color-sidebar: #181b20;
  --color-sidebar-2: #22262d;
  --color-success: #18794e;
  --color-warning: #b5690a;
  --color-danger: #b42318;
  --shadow-soft: 0 18px 40px rgba(24, 20, 18, 0.07);
  --shadow-card: 0 14px 32px rgba(24, 20, 18, 0.06);
  --radius-md: 14px;
  --radius-lg: 20px;
}

body.public-site {
  --site-header-height: 126px;
  position: relative;
  isolation: isolate;
}

body.public-site.is-loading {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(168, 1, 0, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #faf8f7 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.site-preloader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-orbit {
  position: relative;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  filter: drop-shadow(0 18px 34px rgba(42, 42, 42, 0.12));
  animation: sitePreloaderSpin 2.8s cubic-bezier(0.6, 0.04, 0.24, 0.98) infinite;
}

.site-preloader-orbit::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(168, 1, 0, 0.09), rgba(168, 1, 0, 0) 58%),
    radial-gradient(circle at 50% 50%, rgba(42, 42, 42, 0.06), rgba(42, 42, 42, 0) 68%);
  filter: blur(8px);
}

.site-preloader-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px;
  border-radius: 999px;
  transform-origin: 0 0;
  animation: sitePreloaderPulse 1.9s ease-in-out infinite;
  will-change: transform, opacity;
}

.site-preloader-node.is-crimson {
  background: #A80100;
  box-shadow: 0 0 0 10px rgba(168, 1, 0, 0.08);
  transform: rotate(0deg) translateY(-46px);
}

.site-preloader-node.is-white {
  background: #FFFFFF;
  border: 1px solid rgba(42, 42, 42, 0.12);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.5),
    0 10px 22px rgba(42, 42, 42, 0.12);
  transform: rotate(120deg) translateY(-46px);
  animation-delay: 0.18s;
}

.site-preloader-node.is-graphite {
  background: #2A2A2A;
  box-shadow: 0 0 0 10px rgba(42, 42, 42, 0.08);
  transform: rotate(240deg) translateY(-46px);
  animation-delay: 0.36s;
}

@keyframes sitePreloaderSpin {
  0% {
    transform: rotate(0deg) scale(0.98);
  }

  50% {
    transform: rotate(180deg) scale(1);
  }

  100% {
    transform: rotate(360deg) scale(0.98);
  }
}

@keyframes sitePreloaderPulse {
  0%, 100% {
    opacity: 0.92;
    filter: blur(0);
  }

  50% {
    opacity: 1;
    filter: blur(0.2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader,
  .site-preloader-orbit,
  .site-preloader-node {
    transition-duration: 0.2s;
    animation-duration: 5.2s;
  }

  .site-preloader-orbit {
    animation-timing-function: linear;
  }
}

.container { max-width: 720px; margin: 40px auto; padding: 0 16px; }
.container-wide { max-width: 1100px; }
label { display: block; margin-top: 12px; }
input { width: 100%; padding: 10px; margin-top: 6px; }
button { cursor: pointer; }
.alert { padding: 10px; margin: 12px 0; border: 1px solid #ddd; }

.alert-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.alert-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; font-weight: 800; }
.btn-primary { border-color: #22c55e; background: #22c55e; color: #fff; }

.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-actions { display: inline-flex; gap: 10px; }

.form { display: grid; gap: 14px; }
.card { border: 1px solid #eef2f7; border-radius: 14px; padding: 14px; background: #fff; }
.card h2 { margin: 0 0 10px 0; font-size: 16px; }
.form-row { margin-top: 10px; }
.form-row small { display: block; margin-top: 6px; color: #64748b; }
textarea { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #e5e7eb; border-radius: 10px; font-family: inherit; }
input[type="text"], input[type="email"], input[type="search"], input[type="file"] { border: 1px solid #e5e7eb; border-radius: 10px; }
.form-actions { padding: 8px 0 24px 0; }

/* Admin tables / tabs */
.tabs { display: inline-flex; gap: 8px; margin: 14px 0; }
.tab { padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 999px; font-weight: 800; background: #fff; }
.tab-active { border-color: #22c55e; background: #f0fdf4; color: #166534; }

.table-wrap { overflow: auto; border: 1px solid #eef2f7; border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; min-width: 840px; background: #fff; }
.table th, .table td { padding: 10px 10px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; }
.table th { font-size: 13px; color: #475569; background: #f8fafc; position: sticky; top: 0; }
.table td input[type="text"],
.table td input[type="number"],
.table td select { margin-top: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid #e5e7eb; }

.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.inline-form .btn { padding: 8px 10px; border-radius: 10px; font-weight: 800; }

.form-grid { display: grid; grid-template-columns: 1.2fr 1.8fr 0.6fr 0.8fr 0.6fr; gap: 12px; }
@media (max-width: 960px) {
  .form-grid { grid-template-columns: 1fr; }
  .table { min-width: 720px; }
}

/* Layout helpers */
.header-wrap,
.footer-wrap,
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.site-header-spacer { height: var(--site-header-height); }
.site-main { min-height: 60vh; }
.site-main,
.site-main > section,
.site-main > div,
.hero-slider,
.hero-slider-shell,
.hero-slider-track {
  position: relative;
  z-index: 0;
}

/* Page helpers */
.page-title { margin: 24px 0 8px 0; font-size: 36px; letter-spacing: -0.02em; }
.page-subtitle { margin: 0 0 16px 0; color: #475569; }
.card-narrow { max-width: 820px; }
.text-muted { margin: 0; color: #475569; }
.simple-list { margin: 0; padding-left: 18px; }

/* Small utilities (no inline styles) */
.mt-6 { margin-top: 6px; }
.mt-10 { margin-top: 10px; }
.w-60 { width: 60px; }
.w-90 { width: 90px; }
.w-110 { width: 110px; }
.w-200 { width: 200px; }
.label-tight { margin-top: 0; display: inline-flex; align-items: center; gap: 8px; }
.color-field { display: flex; align-items: center; gap: 10px; }
.color-field-compact { min-width: 180px; }
.color-field-picker {
  width: 52px;
  min-width: 52px;
  height: 42px;
  padding: 4px;
  margin-top: 0;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.color-field input[data-color-text] { margin-top: 0; }
.why-icon-preview {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(24, 20, 18, 0.08);
  overflow: hidden;
}
.why-icon-preview::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 6px 16px rgba(24, 20, 18, 0.08);
}

@media (max-width: 720px) {
  .color-field {
    flex-wrap: wrap;
  }
}


/* Header (2 layers) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4000;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  isolation: isolate;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.92);
}

.header-main { background: #fff; border-bottom: 1px solid #eef2f7; }
.header-main .header-wrap { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 220px; }
.brand-logo{
  height: 40px;       /* ubah di sini kalau mau lebih besar */
  width: auto;
  display: block;
}
.brand-mark { width: 44px; height: 44px; border-radius: 10px; background: #e2e8f0; display: inline-block; }
.brand-name { font-weight: 800; font-size: 18px; line-height: 1.1; }

.header-search { flex: 1; position: relative; }
.header-search-input { width: 100%; padding: 12px 44px 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; margin-top: 0; }
.header-search-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; width: 36px; height: 36px; border-radius: 10px; }
.header-search-dropdown { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 130; display: grid; gap: 12px; padding: 14px; border: 1px solid rgba(226, 232, 240, 0.96); border-radius: 18px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14); }
.header-search-dropdown[hidden] { display: none !important; }
.header-search-status { font-size: 13px; line-height: 1.5; color: #64748b; }
.header-search-status.is-loading { color: #2563eb; }
.header-search-status.is-error { color: #b42318; }
.header-search-status.is-empty { color: #475569; }
.header-search-sections { display: grid; gap: 14px; }
.header-search-section { display: grid; gap: 8px; }
.header-search-section-title { margin: 0; color: #64748b; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.header-search-list { display: grid; gap: 6px; }
.header-search-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 14px; transition: background-color 0.2s ease, transform 0.2s ease; }
.header-search-item:hover, .header-search-item:focus-visible { background: #f8fafc; transform: translateY(-1px); }
.header-search-item-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #eef2f7; }
.header-search-item-thumb-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.header-search-item-thumb-fallback { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #0f172a; font-size: 14px; font-weight: 900; }
.header-search-item-copy { min-width: 0; display: grid; gap: 3px; }
.header-search-item-title { color: #111827; font-size: 14px; font-weight: 800; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-search-item-meta { color: #64748b; font-size: 12px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; border: 1px solid #dcfce7; background: #22c55e; color: #fff; font-weight: 700; }
.btn-wa-text { white-space: nowrap; }
.icon-wa-svg {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}
.icon-wa-svg svg {
  width: 18px;
  height: 18px;
  display: block;
}

.btn-mobile { display: none; border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; width: 42px; height: 42px; color: #b91c1c; }

.header-nav {
  background: #fff;
  box-shadow: none;
  transition: background-color 0.28s ease;
}
.header-nav .header-wrap { display: flex; align-items: center; padding-top: 10px; padding-bottom: 10px; }

.nav-left { display: flex; align-items: center; gap: 16px; width: 100%; }

.nav-list {
  --nav-indicator-x: 0px;
  --nav-indicator-y: 0px;
  --nav-indicator-size: 10px;
  --nav-indicator-stretch: 1;
  --nav-indicator-opacity: 0;
  list-style: none;
  position: relative;
  padding: 0 0 10px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
  z-index: 1;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #334155;
  font-weight: 700;
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #991b1b;
  background: rgba(168, 1, 0, 0.05);
}

.nav-link.is-active {
  color: #991b1b;
}

.nav-active-indicator {
  position: absolute;
  left: 0;
  top: 100%;
  width: var(--nav-indicator-size);
  height: var(--nav-indicator-size);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ff8a8a 0%, #d40d0c 38%, #a80100 100%);
  box-shadow:
    0 0 0 6px rgba(168, 1, 0, 0.08),
    0 10px 20px rgba(168, 1, 0, 0.2);
  opacity: var(--nav-indicator-opacity);
  pointer-events: none;
  transform: translate3d(var(--nav-indicator-x), var(--nav-indicator-y), 0) translateX(-50%) scaleX(var(--nav-indicator-stretch)) scaleY(calc(1 / var(--nav-indicator-stretch)));
  transform-origin: center;
  will-change: transform, opacity;
}

.nav-list[data-indicator-effect="spring"] .nav-active-indicator {
  transition:
    transform 560ms cubic-bezier(0.22, 1.38, 0.34, 1),
    opacity 180ms ease;
}

.nav-list[data-indicator-effect="liquid"] .nav-active-indicator {
  transition:
    transform 480ms cubic-bezier(0.2, 1.1, 0.32, 1),
    opacity 180ms ease;
}

.nav-list.is-indicator-moving[data-indicator-effect="liquid"] .nav-active-indicator {
  filter: saturate(1.04);
}

.nav-mega { position: relative; }
.nav-link-mega {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* Mega menu panel */
.mega {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: min(1100px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: none;
  padding: 16px;
  z-index: 120;
}
.mega-inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

/* Mega menu cards (Phase 2: categories) */
.mega-card { border: 1px solid #eef2f7; border-radius: 14px; overflow: hidden; background: #fff; display: block; }
.mega-thumb { width: 100%; height: auto; object-fit: cover; display: block; background: #f1f5f9; }
.mega-body { padding: 10px; }
.mega-name { font-weight: 800; color: #0f172a; }
.mega-meta { margin-top: 4px; color: #64748b; font-size: 13px; }
.mega-empty { color: #64748b; padding: 10px; }

/* Desktop hover opens mega */
@media (min-width: 960px) {
  .nav-mega:hover .mega,
  .nav-mega:focus-within .mega,
  .nav-mega.is-open .mega { display: block; }
}

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); display: none; }
.mobile-drawer.is-open { display: block; }
.mobile-drawer-inner { width: min(312px, 88vw); height: 100%; background: #fff; padding: 14px; }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; margin-bottom: 12px; }
.mobile-title { font-weight: 800; }
.mobile-close { border: 0; background: transparent; font-size: 24px; line-height: 1; }
.mobile-link { display: block; padding: 10px 10px; border-radius: 10px; color: #334155; font-weight: 600; }
.mobile-mega + .mobile-link,
.mobile-mega-panel + .mobile-link { margin-top: 12px; }
.mobile-link + .mobile-link { margin-top: 6px; }
.mobile-link:hover { background: #f1f5f9; }
.mobile-link.is-active { background: #fee2e2; color: #991b1b; }

.mobile-mega { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; font-weight: 800; margin-bottom: 14px; }
.mobile-mega-panel { display: none; margin-top: -2px; margin-bottom: 14px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 16px; background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.mobile-mega-panel.is-open { display: block; }
.mobile-mega-panel .mobile-link { padding: 12px 14px; border-radius: 12px; }
.mobile-mega-panel .mobile-link + .mobile-link { margin-top: 4px; }
.mobile-mega-panel .mobile-link:hover,
.mobile-mega-panel .mobile-link:focus-visible { background: rgba(255, 255, 255, 0.9); }

/* Icons (CSS only, no inline SVG yet) */
.icon-search::before { content: '⌕'; font-weight: 700; }
.icon-menu::before { content: '≡'; font-size: 18px; font-weight: 900; color: #b91c1c; }
.icon-grid::before { content: '▦'; font-weight: 900; }
.icon-chevron::before { content: '▾'; font-weight: 900; }
.icon-wa::before { content: '✆'; font-weight: 900; }

/* Header icon refresh */
.nav-link-mega {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.nav-link-mega:hover,
.nav-link-mega:focus-visible,
.nav-mega.is-open .nav-link-mega,
.nav-mega:hover .nav-link-mega,
.nav-mega:focus-within .nav-link-mega {
  border-color: rgba(185, 28, 28, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f8 100%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.mobile-mega {
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mobile-mega:hover,
.mobile-mega:focus-visible,
.mobile-mega[aria-expanded="true"] {
  border-color: rgba(185, 28, 28, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f8 100%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.icon-grid {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #b91c1c;
  font-size: 0;
}

.icon-grid::before {
  content: none;
}

.icon-grid svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-chevron {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: transform .22s ease, color .22s ease;
  transform-origin: 50% 50%;
}

.icon-chevron::before {
  content: '▾';
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
}

.nav-link-mega:hover .icon-chevron,
.nav-link-mega:focus-visible .icon-chevron,
.nav-mega:hover .icon-chevron,
.nav-mega:focus-within .icon-chevron,
.nav-link-mega[aria-expanded="true"] .icon-chevron,
.mobile-mega:hover .icon-chevron,
.mobile-mega:focus-visible .icon-chevron,
.mobile-mega[aria-expanded="true"] .icon-chevron {
  transform: rotate(180deg);
  color: #b91c1c;
}

/* Responsive */
@media (max-width: 959px) {
  body.public-site { --site-header-height: 72px; }
  .site-header { z-index: 4000; }
  .header-main {
    border-bottom: 0;
  }
  .header-main .header-wrap {
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand {
    min-width: 0;
    flex: 0 1 auto;
    max-width: calc(100% - 68px);
  }
  .brand-logo {
    height: 38px;
  }
  .header-search { display: none; }
  .header-actions {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .btn-wa { display: none; }
  .btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  .header-nav { display: none; }
  .nav-list { display: none; }
  .mega { display: none !important; }
}

/* Footer */
.site-footer { background: #fff; border-top: 1px solid #eef2f7; margin-top: 40px; }
.footer-wrap { padding-top: 28px; padding-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.6fr; gap: 22px; }
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo{
  height: 36px;      /* footer biasanya lebih kecil */
  width: auto;
  display: block;
}
.footer-logo-placeholder { width: 50px; height: 50px; border-radius: 12px; background: #e2e8f0; }
.footer-brand-name { font-weight: 900; font-size: 16px; }
.footer-desc { margin: 0; color: #475569; line-height: 1.6; }
.footer-title { font-weight: 900; margin-bottom: 10px; }
.footer-link { display: block; padding: 6px 0; color: #334155; }
.footer-line { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; color: #334155; }
.footer-line-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  margin-top: 2px;
}
.footer-line-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-line-icon.is-phone { color: #94a3b8; }
.footer-line-icon.is-email { color: #3b82f6; }
.footer-line-icon.is-address { color: #ef4444; }
.footer-line-icon.is-hours { color: #22c55e; }
.footer-map iframe { width: 100%; height: 200px; border: 0; border-radius: 12px; }
.footer-map-placeholder { color: #64748b; padding: 12px; border: 1px dashed #cbd5e1; border-radius: 12px; }
.footer-bottom { text-align: center; padding: 14px 16px; border-top: 1px solid #eef2f7; color: #475569; font-weight: 700; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Simple page demo */
.page { padding: 40px 0; }
.page-title { margin: 0 0 8px 0; font-size: 34px; }
.page-lead { margin: 0 0 16px 0; color: #475569; }
.page-link { display: inline-flex; padding: 10px 14px; border-radius: 10px; border: 1px solid #e5e7eb; }
/* WhatsApp Floating Widget */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font-family: inherit;
}

.wa-float-left{
  left: 18px;
  right: auto;
}

.wa-float-btn{
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.18));
}

.wa-float-btn:focus{
  outline: 3px solid rgba(34, 197, 94, .22);
  outline-offset: 3px;
}

.wa-label-bubble{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}

.wa-float:not(.wa-float-left) .wa-label-bubble{
  margin-right: -6px;
  padding-right: 18px;
}

.wa-float-left .wa-label-bubble{
  order: 2;
  margin-left: -6px;
  padding-left: 18px;
}

.wa-label-bubble::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid rgba(226, 232, 240, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}

.wa-float:not(.wa-float-left) .wa-label-bubble::after{
  right: -6px;
  transform: translateY(-50%) rotate(-45deg);
}

.wa-float-left .wa-label-bubble::after{
  left: -6px;
  transform: translateY(-50%) rotate(135deg);
}

.wa-ic{
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.24),
    0 14px 24px rgba(15, 23, 42, 0.16);
}

.wa-ic svg{
  width: 26px;
  height: 26px;
  display: block;
}

.wa-ic-whatsapp{
  background: linear-gradient(180deg, #25d366 0%, #16a34a 100%);
}

.wa-ic-chatbot{
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
}

.wa-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(2px);
  z-index: 9998;
}

.wa-float [data-wa-popup],
.wa-float [data-wa-backdrop]{
  display: none !important;
}

.wa-float.is-popup-open [data-wa-popup]{
  display: flex !important;
}

.wa-float.is-popup-open [data-wa-backdrop]{
  display: block !important;
}

.wa-popup{
  position: fixed;
  right: 14px;
  bottom: 86px;
  width: 356px;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 104px);
  max-height: calc(100dvh - 104px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.wa-popup-left{
  left: 14px;
  right: auto;
}

.wa-popup-admin{
  border-radius: 22px;
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.18);
}

.wa-popup-header{
  background: linear-gradient(180deg, #25d366 0%, #22c55e 100%);
  color: #fff;
  padding: 18px 16px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wa-popup-header-admin{
  padding: 16px 16px 14px;
  border-radius: 22px 22px 0 0;
}

.wa-popup-title{
  max-width: 240px;
}

.wa-popup-h1{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.08;
}

.wa-popup-h2{
  font-size: 13px;
  font-weight: 600;
  opacity: .96;
  margin-top: 8px;
  line-height: 1.35;
}

.wa-popup-close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.wa-popup-close-admin{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 24px;
  font-weight: 900;
}

.wa-popup-body{
  padding: 14px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 12px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}

.wa-popup-body-admin{
  padding: 12px;
  gap: 10px;
  background: #ffffff;
}

.wa-empty{
  padding: 16px 14px;
  background: #f3f4f6;
  border-radius: 16px;
  color: #374151;
  font-weight: 700;
}

.wa-note{
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.wa-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e6edf5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.wa-card-admin{
  padding: 14px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fafaf9 0%, #f3f4f6 100%);
  border: 1px solid #eceff3;
  box-shadow: none;
}

.wa-avatar{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #e9fbef 0%, #dcfce7 100%);
  color: #16a34a;
  font-size: 24px;
  flex: 0 0 auto;
}

.wa-avatar .wa-wa{
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.wa-avatar .wa-wa svg{
  width: 30px;
  height: 30px;
  display: block;
}

.wa-card.is-offline .wa-avatar{
  background: linear-gradient(180deg, #f7f7f7 0%, #eeeeee 100%);
  color: #c8c8c8;
}

.wa-card.is-offline{
  opacity: 1;
}

.wa-meta{
  flex: 1;
  min-width: 0;
}

.wa-name{
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
  color: #1f2937;
}

.wa-role{
  margin-top: 3px;
  color: #8b8b8b;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
}

.wa-status{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-weight: 800;
  color: #16a34a;
}

.wa-status-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.wa-card.is-offline .wa-status{
  color: #8f8f8f;
}

.wa-card.is-offline .wa-status-dot{
  box-shadow: 0 0 0 4px rgba(163, 163, 163, 0.12);
}

.wa-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #25d366 0%, #22c55e 100%);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.22);
}

.wa-action-admin{
  min-width: 74px;
  height: 36px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: none;
}

.wa-action.is-disabled{
  background: #c9c9c9;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
}

.wa-flow{
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}

.wa-flow-launch{
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
}

.wa-flow-launch[hidden],
.wa-flow-shell[hidden]{
  display: none !important;
}

.wa-flow.is-started .wa-flow-launch{
  display: none !important;
}

.wa-flow-shell{
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}

.wa-flow-history{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.wa-flow-system-bubble,
.wa-flow-user-bubble{
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.6;
  font-size: 14px;
}

.wa-flow-system-bubble{
  justify-self: start;
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.wa-flow-user-bubble{
  justify-self: end;
  background: linear-gradient(180deg, #25d366 0%, #22c55e 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.16);
}

.wa-flow-typing-bubble{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.wa-flow-typing-dots{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wa-flow-typing-dots span{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #9ca3af;
  animation: waFlowTypingPulse 1.05s infinite ease-in-out;
}

.wa-flow-typing-dots span:nth-child(2){
  animation-delay: 0.14s;
}

.wa-flow-typing-dots span:nth-child(3){
  animation-delay: 0.28s;
}

.wa-flow-typing-text{
  font-size: 13px;
  font-weight: 700;
}

.wa-flow-helper{
  padding: 12px 14px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  line-height: 1.55;
}

.wa-flow-controls{
  display: grid;
  gap: 10px;
}

.wa-flow.is-bot-typing .wa-flow-controls{
  pointer-events: none;
}

.wa-flow-input-form{
  display: grid;
  gap: 10px;
}

.wa-flow-input{
  width: 100%;
  padding: 12px 14px;
  margin-top: 0;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}

.wa-flow-choice-list{
  display: grid;
  gap: 10px;
}

.wa-flow-choice{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  font-weight: 800;
  text-align: left;
}

.wa-flow-choice:hover,
.wa-flow-choice:focus-visible{
  border-color: rgba(34, 197, 94, 0.4);
  background: #f0fdf4;
}

.wa-flow.is-bot-typing .wa-flow-choice,
.wa-flow.is-bot-typing .wa-flow-next,
.wa-flow.is-bot-typing .wa-flow-start,
.wa-flow.is-bot-typing .wa-flow-reset,
.wa-flow.is-bot-typing [data-chat-flow-send]{
  pointer-events: none;
}

.wa-flow-next,
.wa-flow-start,
.wa-flow-reset{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
}

.wa-flow-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wa-flow-summary-card{
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
}

@keyframes waFlowTypingPulse{
  0%, 80%, 100%{
    transform: translateY(0);
    opacity: 0.45;
  }

  40%{
    transform: translateY(-2px);
    opacity: 1;
  }
}

@media (max-width: 420px){
  .wa-popup{
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    bottom: 80px;
    width: min(304px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: min(520px, calc(100dvh - 108px));
    border-radius: 18px;
  }

  .wa-popup-left{
    left: 12px;
    right: auto;
  }

  .wa-float{
    right: 12px;
    bottom: 12px;
  }

  .wa-float-left{
    left: 12px;
    right: auto;
  }

  .wa-label-bubble{
    display: none;
  }

  .wa-ic{
    width: 52px;
    height: 52px;
  }

  .wa-ic svg{
    width: 24px;
    height: 24px;
  }

  .wa-popup-header{
    padding: 16px 14px 12px;
  }

  .wa-popup-header-admin{
    padding: 14px 14px 12px;
    border-radius: 18px 18px 0 0;
  }

  .wa-popup-title{
    max-width: 210px;
  }

  .wa-popup-h1{
    font-size: 16px;
  }

  .wa-popup-h2{
    font-size: 12px;
    margin-top: 6px;
  }

  .wa-popup-close{
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 26px;
  }

  .wa-popup-close-admin{
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 22px;
  }

  .wa-popup-body{
    padding: 12px 10px;
    gap: 10px;
  }

  .wa-popup-admin{
    width: min(304px, calc(100vw - 24px));
    max-height: min(520px, calc(100dvh - 108px));
    height: auto;
  }

  .wa-popup-body-admin{
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .wa-card-admin{
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .wa-avatar{
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .wa-avatar .wa-wa,
  .wa-avatar .wa-wa svg{
    width: 26px;
    height: 26px;
  }

  .wa-name{
    font-size: 14px;
  }

  .wa-role{
    font-size: 12px;
  }

  .wa-status{
    margin-top: 4px;
    font-size: 12px;
  }

  .wa-action-admin{
    min-width: 64px;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
  }

  .wa-flow-system-bubble,
  .wa-flow-user-bubble,
  .wa-flow-typing-bubble{
    max-width: 96%;
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.55;
  }

  .wa-flow-start,
  .wa-flow-next,
  .wa-flow-reset,
  .wa-action{
    min-height: 40px;
    font-size: 13px;
  }
}

@media (max-width: 768px){
  .wa-popup{
    top: auto;
    right: 12px;
    bottom: max(76px, calc(12px + env(safe-area-inset-bottom)));
    width: min(94vw, 356px);
    max-width: calc(100vw - 24px);
    max-height: min(82vh, calc(100dvh - 96px));
    border-radius: 18px;
  }

  .wa-popup-left{
    left: 12px;
    right: auto;
  }

  .wa-popup-header{
    padding: 16px 14px 12px;
  }

  .wa-popup-header-admin{
    padding: 14px 14px 12px;
    border-radius: 18px 18px 0 0;
  }

  .wa-popup-title{
    max-width: min(100%, 220px);
  }

  .wa-popup-h1{
    font-size: 16px;
  }

  .wa-popup-h2{
    font-size: 12px;
    margin-top: 6px;
  }

  .wa-popup-close{
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 26px;
  }

  .wa-popup-close-admin{
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 22px;
  }

  .wa-popup-body{
    padding: 12px 10px;
    gap: 10px;
  }

  .wa-popup-admin{
    width: min(94vw, 356px);
    max-height: min(82vh, calc(100dvh - 96px));
  }

  .wa-popup-body-admin{
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .wa-card-admin{
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .wa-avatar{
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .wa-avatar .wa-wa,
  .wa-avatar .wa-wa svg{
    width: 26px;
    height: 26px;
  }

  .wa-name{
    font-size: 14px;
  }

  .wa-role{
    font-size: 12px;
  }

  .wa-status{
    margin-top: 4px;
    font-size: 12px;
  }

  .wa-action-admin{
    min-width: 64px;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
  }
}
.admin-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.mega-card-body {
  padding: 14px 16px 16px;
}

.mega-card-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #14213d;
}

.mega-product-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-product-item {
  font-size: 14px;
  line-height: 1.5;
  color: #5b677a;
  margin-bottom: 4px;
}

.mega-more {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1d4ed8;
}

.mega-link {
  font-size: 14px;
  color: #6b7280;
}

/* Admin dashboard shell */
.admin-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(168, 1, 0, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f3f1 0%, #f1ece8 100%);
  color: var(--color-text);
}

.admin-shell {
  min-height: 100vh;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 278px;
  height: 100vh;
  height: 100dvh;
  background:
    linear-gradient(180deg, rgba(168, 1, 0, 0.14) 0%, rgba(168, 1, 0, 0) 22%),
    linear-gradient(180deg, #16181d 0%, #1d2026 100%);
  color: #f4efed;
  z-index: 40;
  box-shadow: 24px 0 44px rgba(16, 18, 21, 0.22);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 18px;
  min-height: 0;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.01em;
}

.admin-brand small {
  margin-top: 4px;
  color: rgba(236, 230, 227, 0.68);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 28px rgba(168, 1, 0, 0.35);
}

.admin-brand-copy {
  min-width: 0;
}

.admin-nav-label {
  margin: 0 10px 12px;
  color: rgba(234, 226, 222, 0.54);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-nav {
  display: grid;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.admin-nav::-webkit-scrollbar {
  width: 8px;
}

.admin-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.admin-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.admin-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: rgba(244, 239, 237, 0.82);
  font-weight: 700;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.admin-nav-item.is-active {
  background: rgba(168, 1, 0, 0.18);
  color: #fff;
  border-color: rgba(168, 1, 0, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 24px rgba(168, 1, 0, 0.2);
}

.admin-nav-item-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.admin-nav-item.is-active .admin-nav-item-dot {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(168, 1, 0, 0.22);
}

.admin-nav-item-label {
  min-width: 0;
}

.admin-sidebar-footer {
  margin-top: 16px;
  flex: 0 0 auto;
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-user-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #efe8e5;
  font-weight: 700;
}

.admin-user-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #3ccf7a;
  box-shadow: 0 0 0 5px rgba(60, 207, 122, 0.14);
  margin-top: 6px;
}

.admin-user-copy strong,
.admin-user-copy small {
  display: block;
}

.admin-user-copy strong {
  color: #fff;
  font-size: 14px;
}

.admin-user-copy small {
  margin-top: 4px;
  color: rgba(236, 230, 227, 0.62);
  font-size: 12px;
}

.admin-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(168, 1, 0, 0.34);
  background: rgba(168, 1, 0, 0.12);
  color: #ffd3d0;
  font-weight: 800;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.admin-logout:hover {
  background: rgba(168, 1, 0, 0.2);
  border-color: rgba(168, 1, 0, 0.5);
  color: #fff;
}

.admin-main {
  margin-left: 278px;
  min-height: 100vh;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(228, 217, 212, 0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.admin-topnav {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-topnav-item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(228, 217, 212, 0.8);
  color: var(--color-text-muted);
  font-weight: 700;
}

.admin-topnav-item.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.admin-topbar-copy {
  min-width: 0;
}

.admin-topbar-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-topbar-copy h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

.admin-topbar-copy p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.admin-content {
  display: grid;
  gap: 24px;
}

.admin-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(24, 20, 18, 0.08);
}

.admin-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text);
  border-radius: 999px;
}

.admin-mobile-backdrop {
  display: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.admin-stat,
.admin-shortcut {
  border: 1px solid rgba(228, 217, 212, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.admin-stat {
  padding: 22px 24px;
}

.admin-stat-label {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.admin-stat-value {
  margin: 12px 0 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

.admin-stat-note {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.admin-shortcut {
  display: block;
  padding: 20px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-shortcut:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 1, 0, 0.22);
  box-shadow: 0 18px 34px rgba(168, 1, 0, 0.1);
}

.admin-shortcut-title {
  display: block;
  font-weight: 800;
  font-size: 17px;
  color: var(--color-text);
}

.admin-shortcut-copy {
  display: block;
  margin-top: 8px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.admin-body .card {
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.admin-body .card h2 {
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.admin-body .form {
  gap: 18px;
}

.admin-body .form-row {
  margin-top: 0;
}

.admin-body label,
.admin-auth label {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.admin-body .form-row small,
.admin-auth .form-row small,
.admin-body small {
  color: var(--color-text-muted);
  line-height: 1.55;
}

.admin-body input[type="text"],
.admin-body input[type="email"],
.admin-body input[type="search"],
.admin-body input[type="file"],
.admin-body input[type="number"],
.admin-body input[type="password"],
.admin-body select,
.admin-body textarea,
.admin-auth input[type="text"],
.admin-auth input[type="email"],
.admin-auth input[type="search"],
.admin-auth input[type="file"],
.admin-auth input[type="number"],
.admin-auth input[type="password"],
.admin-auth select,
.admin-auth textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  margin-top: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  box-shadow: inset 0 1px 2px rgba(24, 20, 18, 0.02);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.admin-body textarea,
.admin-auth textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-body input::placeholder,
.admin-body textarea::placeholder,
.admin-auth input::placeholder,
.admin-auth textarea::placeholder {
  color: #9a8f89;
}

.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus,
.admin-auth input:focus,
.admin-auth select:focus,
.admin-auth textarea:focus {
  outline: none;
  border-color: rgba(168, 1, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(168, 1, 0, 0.12);
}

.admin-body input[type="checkbox"],
.admin-auth input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0 8px 0 0;
  accent-color: var(--color-primary);
  border-radius: 4px;
  box-shadow: none;
}

.admin-body .label-tight {
  color: var(--color-text);
}

.admin-body .btn,
.admin-auth .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-weight: 800;
  line-height: 1;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.admin-body .btn:hover,
.admin-auth .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 1, 0, 0.2);
  box-shadow: 0 8px 20px rgba(24, 20, 18, 0.08);
}

.admin-body .btn:focus-visible,
.admin-auth .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(168, 1, 0, 0.14);
}

.admin-body .btn-primary,
.admin-auth .btn-primary {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(168, 1, 0, 0.18);
}

.admin-body .btn-primary:hover,
.admin-auth .btn-primary:hover {
  border-color: var(--color-primary-hover);
  background: var(--color-primary-hover);
  box-shadow: 0 14px 30px rgba(168, 1, 0, 0.22);
}

.admin-body .btn[disabled],
.admin-auth .btn[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.admin-body .alert,
.admin-auth .alert {
  padding: 14px 16px;
  margin: 0 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(24, 20, 18, 0.04);
  line-height: 1.55;
}

.admin-body .alert-success,
.admin-auth .alert-success {
  border-color: rgba(24, 121, 78, 0.16);
  background: rgba(24, 121, 78, 0.08);
  color: var(--color-success);
}

.admin-body .alert-error,
.admin-auth .alert-error,
.admin-auth .alert {
  border-color: rgba(180, 35, 24, 0.16);
  background: rgba(180, 35, 24, 0.08);
  color: var(--color-danger);
}

.admin-body .table-wrap {
  border-radius: 18px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-body .table {
  min-width: 840px;
  background: transparent;
}

.admin-body .table th,
.admin-body .table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(228, 217, 212, 0.7);
}

.admin-body .table th {
  background: #f7f2f0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-body .table tr:hover td {
  background: rgba(168, 1, 0, 0.018);
}

.admin-body .tabs {
  gap: 10px;
}

.admin-body .tab {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text-muted);
}

.admin-body .tab-active {
  border-color: rgba(168, 1, 0, 0.18);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.admin-body .inline-form {
  gap: 10px;
  flex-wrap: wrap;
}

.admin-body .inline-form .btn {
  min-height: 40px;
}

.admin-body .form-row-full {
  grid-column: 1 / -1;
}

.admin-body .stack-gap {
  display: grid;
  gap: 10px;
}

.admin-body .inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-body .mb-8 {
  margin-bottom: 8px;
}

.admin-badge,
.admin-body .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
}

.admin-section-hero {
  display: grid;
  gap: 12px;
  padding: 24px 26px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(168, 1, 0, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 242, 0.88) 100%);
  box-shadow: 0 24px 44px rgba(24, 20, 18, 0.08);
}

.admin-section-hero-compact {
  margin-bottom: 18px;
}

.admin-section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-section-hero h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--color-text);
}

.admin-section-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.admin-location-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}

.admin-location-pill {
  display: grid;
  gap: 2px;
  min-width: 170px;
  padding: 13px 16px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(24, 20, 18, 0.05);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.admin-location-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 1, 0, 0.22);
  box-shadow: 0 14px 26px rgba(168, 1, 0, 0.08);
}

.admin-location-pill.is-active {
  border-color: rgba(168, 1, 0, 0.2);
  background: linear-gradient(180deg, rgba(168, 1, 0, 0.1) 0%, rgba(168, 1, 0, 0.04) 100%);
  box-shadow: 0 16px 28px rgba(168, 1, 0, 0.1);
}

.admin-location-pill-label {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.admin-location-pill.is-active .admin-location-pill-label {
  color: var(--color-primary);
}

.admin-location-pill-note {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.category-form {
  display: grid;
  gap: 18px;
}

.category-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.category-form-main,
.category-form-side {
  display: grid;
  gap: 16px;
}

.category-form-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 16px;
}

.category-form-main-grid-compact {
  grid-template-columns: minmax(180px, 220px) minmax(220px, 280px);
  align-items: stretch;
}

.category-toggle-card,
.category-upload-card {
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.category-toggle-card {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 16px 18px;
}

.category-toggle-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.category-toggle-input {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
}

.category-toggle-input input {
  width: 18px;
  height: 18px;
}

.category-upload-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.category-upload-head {
  display: grid;
  gap: 4px;
}

.category-upload-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.category-upload-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.category-table-wrap {
  border-radius: 22px;
}

.category-table {
  min-width: 980px;
}

.category-table th:first-child {
  border-top-left-radius: 18px;
}

.category-table th:last-child {
  border-top-right-radius: 18px;
}

.category-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.category-id-cell {
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.9), rgba(255, 255, 255, 0.84));
}

.category-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.category-row-form {
  display: contents;
}

.category-table .text-muted {
  color: var(--color-text-muted);
  font-weight: 700;
}

.category-asset-cell {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.category-asset-top {
  display: flex;
  align-items: center;
  min-height: 24px;
}

.category-asset-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-asset-stack {
  display: grid;
  gap: 8px;
}

.category-asset-stack input[type="text"],
.category-asset-stack input[type="file"] {
  width: 100%;
}

.category-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.category-status-toggle span {
  white-space: nowrap;
}

.category-order-cell input[type="number"] {
  width: 86px;
}

.category-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.category-delete-form {
  margin: 0;
}

.product-create-form {
  display: grid;
  gap: 20px;
}

.product-create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.product-create-main,
.product-create-side,
.product-editor-stack {
  display: grid;
  gap: 16px;
}

.product-create-main-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}

.product-create-main-grid-compact {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
}

.product-status-panel,
.product-upload-card {
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.product-status-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.product-status-panel-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.product-flag-grid {
  display: grid;
  gap: 10px;
}

.product-flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  color: var(--color-text);
}

.product-flag-chip-active {
  background: linear-gradient(180deg, rgba(168, 1, 0, 0.08), rgba(168, 1, 0, 0.04));
  border-color: rgba(168, 1, 0, 0.18);
}

.product-upload-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.product-upload-head {
  display: grid;
  gap: 4px;
}

.product-upload-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.product-upload-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.product-textarea-short {
  min-height: 132px;
}

.product-textarea-detail {
  min-height: 180px;
}

.product-table-wrap {
  border-radius: 22px;
}

.product-table {
  min-width: 1180px;
}

.product-table th:first-child {
  border-top-left-radius: 18px;
}

.product-table th:last-child {
  border-top-right-radius: 18px;
}

.product-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.product-id-cell {
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.9), rgba(255, 255, 255, 0.84));
}

.product-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.product-row-form {
  display: contents;
}

.product-cover-cell {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.product-cover-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.product-status-toggle span {
  white-space: nowrap;
}

.product-flag-stack {
  display: grid;
  gap: 8px;
}

.product-flag-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.product-editor-cell {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.product-editor-cell .product-editor-stack {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(170px, 1fr);
  gap: 10px;
  align-items: start;
}

.product-editor-cell .product-editor-stack input[type="text"],
.product-editor-cell .product-editor-stack input[type="file"],
.product-editor-cell .product-editor-stack textarea {
  width: 100%;
}

.product-row-textarea-short {
  min-height: 108px;
}

.product-row-textarea-detail {
  min-height: 108px;
}

.product-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-delete-form {
  margin: 0;
}

.about-admin-form {
  display: grid;
  gap: 20px;
}

.about-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.about-admin-main,
.about-admin-side {
  display: grid;
  gap: 16px;
}

.about-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: 16px;
}

.about-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.about-admin-card-compact {
  align-content: start;
}

.about-admin-card-head {
  display: grid;
  gap: 4px;
}

.about-admin-card-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.about-admin-card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.about-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  color: var(--color-text);
}

.about-admin-textarea-intro {
  min-height: 116px;
}

.about-admin-textarea-body {
  min-height: 220px;
}

.store-admin-form {
  display: grid;
  gap: 20px;
}

.store-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.store-admin-main,
.store-admin-side {
  display: grid;
  gap: 16px;
}

.store-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 16px;
}

.store-admin-main-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-admin-main-grid-wide {
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
}

.store-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.store-admin-card-compact {
  align-content: start;
}

.store-admin-card-head {
  display: grid;
  gap: 4px;
}

.store-admin-card-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.store-admin-card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.store-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  color: var(--color-text);
}

.store-admin-textarea-hours {
  min-height: 118px;
}

.store-admin-textarea-address {
  min-height: 136px;
}

.store-table-wrap {
  border-radius: 22px;
}

.store-table {
  min-width: 1260px;
}

.store-table th:first-child {
  border-top-left-radius: 18px;
}

.store-table th:last-child {
  border-top-right-radius: 18px;
}

.store-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.store-id-cell {
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.9), rgba(255, 255, 255, 0.84));
}

.store-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.store-row-form {
  display: contents;
}

.store-preview-cell {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.store-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.store-name-stack,
.store-contact-stack {
  display: grid;
  gap: 8px;
}

.store-row-textarea-address {
  min-height: 132px;
}

.store-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.store-status-toggle span {
  white-space: nowrap;
}

.store-order-cell input[type="number"] {
  width: 86px;
}

.store-updated-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(24, 20, 18, 0.04);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.store-editor-cell {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.store-editor-stack {
  display: grid;
  grid-template-columns: minmax(170px, 0.95fr) minmax(170px, 1fr);
  gap: 10px;
  align-items: start;
}

.store-editor-stack input[type="text"],
.store-editor-stack input[type="file"],
.store-editor-stack input[type="url"],
.store-editor-stack textarea {
  width: 100%;
}

.store-row-textarea-hours {
  min-height: 116px;
}

.store-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.store-delete-form {
  margin: 0;
}

.portfolio-admin-form {
  display: grid;
  gap: 20px;
}

.portfolio-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.portfolio-admin-main,
.portfolio-admin-side {
  display: grid;
  gap: 16px;
}

.portfolio-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 16px;
}

.portfolio-admin-card,
.portfolio-admin-upload-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.portfolio-admin-card-compact {
  align-content: start;
}

.portfolio-admin-card-head {
  display: grid;
  gap: 4px;
}

.portfolio-admin-card-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.portfolio-admin-card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.portfolio-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  color: var(--color-text);
}

.portfolio-admin-textarea {
  min-height: 180px;
}

.portfolio-table-wrap {
  border-radius: 22px;
}

.portfolio-table {
  min-width: 1220px;
}

.portfolio-table th:first-child {
  border-top-left-radius: 18px;
}

.portfolio-table th:last-child {
  border-top-right-radius: 18px;
}

.portfolio-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.portfolio-id-cell {
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.9), rgba(255, 255, 255, 0.84));
}

.portfolio-id-badge,
.portfolio-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.portfolio-count-badge {
  min-width: 42px;
}

.portfolio-row-form {
  display: contents;
}

.portfolio-cover-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.portfolio-status-toggle span {
  white-space: nowrap;
}

.portfolio-order-cell input[type="number"] {
  width: 70px;
}

.portfolio-updated-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(24, 20, 18, 0.04);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.portfolio-editor-cell {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.portfolio-editor-stack {
  display: grid;
  grid-template-columns: minmax(170px, 0.95fr) minmax(170px, 1fr);
  gap: 10px;
  align-items: start;
}

.portfolio-editor-field {
  display: grid;
  gap: 6px;
}

.portfolio-editor-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.portfolio-editor-stack input[type="text"],
.portfolio-editor-stack input[type="file"],
.portfolio-editor-stack textarea {
  width: 100%;
}

.portfolio-row-textarea {
  min-height: 120px;
}

.portfolio-editor-note {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.portfolio-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-delete-form {
  margin: 0;
}

.article-admin-form {
  display: grid;
  gap: 20px;
}

.article-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.article-admin-main,
.article-admin-side {
  display: grid;
  gap: 16px;
}

.article-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 16px;
}

.article-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.article-admin-card-compact {
  align-content: start;
}

.article-admin-card-head {
  display: grid;
  gap: 4px;
}

.article-admin-card-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.article-admin-card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.article-flag-grid {
  display: grid;
  gap: 10px;
}

.article-flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  color: var(--color-text);
}

.article-flag-chip-active {
  background: linear-gradient(180deg, rgba(168, 1, 0, 0.08), rgba(168, 1, 0, 0.04));
  border-color: rgba(168, 1, 0, 0.18);
}

.article-admin-textarea-excerpt {
  min-height: 132px;
}

.article-admin-textarea-content {
  min-height: 240px;
}

.article-table-wrap {
  border-radius: 22px;
}

.article-table {
  min-width: 1260px;
}

.article-table th:first-child {
  border-top-left-radius: 18px;
}

.article-table th:last-child {
  border-top-right-radius: 18px;
}

.article-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.article-id-cell {
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.9), rgba(255, 255, 255, 0.84));
}

.article-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.article-row-form {
  display: contents;
}

.article-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-flag-inline,
.article-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.article-status-toggle {
  border-radius: 999px;
}

.article-flag-inline span,
.article-status-toggle span {
  white-space: nowrap;
}

.article-order-cell input[type="number"] {
  width: 70px;
}

.article-meta-stack {
  display: grid;
  gap: 8px;
}

.article-updated-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(24, 20, 18, 0.04);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.article-editor-cell {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.article-editor-stack {
  display: grid;
  grid-template-columns: minmax(170px, 0.95fr) minmax(170px, 1fr);
  gap: 10px;
  align-items: start;
}

.article-editor-field {
  display: grid;
  gap: 6px;
}

.article-editor-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.article-editor-stack input[type="text"],
.article-editor-stack input[type="file"],
.article-editor-stack textarea {
  width: 100%;
}

.article-row-textarea-excerpt {
  min-height: 118px;
}

.article-row-textarea-content {
  min-height: 148px;
}

.article-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-delete-form {
  margin: 0;
}

.slider-admin-form {
  display: grid;
  gap: 20px;
}

.slider-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.slider-admin-main,
.slider-admin-side {
  display: grid;
  gap: 16px;
}

.slider-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
}

.slider-admin-main-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slider-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.slider-admin-card-compact {
  align-content: start;
}

.slider-admin-card-head {
  display: grid;
  gap: 4px;
}

.slider-admin-card-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.slider-admin-card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.slider-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  color: var(--color-text);
}

.slider-admin-textarea {
  min-height: 138px;
}

.slider-table-wrap {
  border-radius: 22px;
}

.slider-table {
  min-width: 1260px;
}

.slider-table th:first-child {
  border-top-left-radius: 18px;
}

.slider-table th:last-child {
  border-top-right-radius: 18px;
}

.slider-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.slider-id-cell {
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.9), rgba(255, 255, 255, 0.84));
}

.slider-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.slider-row-textarea {
  min-height: 104px;
}

.slider-visual-stack {
  display: grid;
  gap: 12px;
}

.slider-visual-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.slider-visual-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.slider-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.slider-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.slider-status-toggle span {
  white-space: nowrap;
}

.slider-order-cell input[type="number"] {
  width: 72px;
}

.slider-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.slider-update-form,
.slider-delete-form {
  margin: 0;
}

.counter-admin-form {
  display: grid;
  gap: 20px;
}

.counter-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.counter-admin-main,
.counter-admin-side {
  display: grid;
  gap: 16px;
}

.counter-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 16px;
}

.counter-admin-main-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.counter-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 216, 211, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 242, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.counter-admin-card-compact {
  align-content: start;
}

.counter-admin-card-head {
  display: grid;
  gap: 4px;
}

.counter-admin-card-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--color-text);
}

.counter-admin-card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.counter-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  color: var(--color-text);
}

.counter-table-wrap {
  border-radius: 22px;
}

.counter-table {
  min-width: 1080px;
}

.counter-table th:first-child {
  border-top-left-radius: 18px;
}

.counter-table th:last-child {
  border-top-right-radius: 18px;
}

.counter-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.counter-id-cell {
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.9), rgba(255, 255, 255, 0.84));
}

.counter-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.counter-row-form {
  display: contents;
}

.counter-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(168, 1, 0, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.counter-icon-stack {
  display: grid;
  gap: 8px;
}

.counter-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(228, 217, 212, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.counter-status-toggle span {
  white-space: nowrap;
}

.counter-order-cell input[type="number"] {
  width: 72px;
}

.counter-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.counter-delete-form {
  margin: 0;
}

.order-step-admin-form {
  display: grid;
  gap: 20px;
}

.order-step-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.order-step-admin-main,
.order-step-admin-side {
  display: grid;
  gap: 16px;
}

.order-step-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 16px;
}

.order-step-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(217, 119, 87, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 241, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.order-step-admin-card-compact {
  align-content: start;
}

.order-step-admin-card-head {
  display: grid;
  gap: 4px;
}

.order-step-admin-card-head h3 {
  margin: 0;
  font-size: 18px;
  color: #14213d;
}

.order-step-admin-card-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b5b57;
}

.order-step-table-wrap {
  border-radius: 22px;
}

.order-step-table {
  min-width: 1080px;
}

.order-step-table th:first-child {
  border-top-left-radius: 18px;
}

.order-step-table th:last-child {
  border-top-right-radius: 18px;
}

.order-step-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.order-step-id-cell {
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.96), rgba(255, 255, 255, 0.84));
}

.order-step-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  font-weight: 800;
}

.order-step-row-form {
  display: contents;
}

.order-step-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  background: rgba(255, 247, 241, 0.92);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.order-step-icon-stack {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.order-step-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  color: #14213d;
}

.order-step-status-toggle span {
  white-space: nowrap;
}

.order-step-order-cell input[type="number"] {
  width: 72px;
}

.order-step-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.order-step-delete-form {
  margin: 0;
}

.testimonial-admin-form {
  display: grid;
  gap: 20px;
}

.testimonial-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.testimonial-admin-main,
.testimonial-admin-side {
  display: grid;
  gap: 16px;
}

.testimonial-admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
  gap: 16px;
}

.testimonial-admin-main-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(217, 119, 87, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 241, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.testimonial-admin-card-compact {
  align-content: start;
}

.testimonial-admin-card-head {
  display: grid;
  gap: 4px;
}

.testimonial-admin-card-head h3 {
  margin: 0;
  font-size: 18px;
  color: #14213d;
}

.testimonial-admin-card-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b5b57;
}

.testimonial-table-wrap {
  border-radius: 22px;
}

.testimonial-table {
  min-width: 1200px;
}

.testimonial-table th:first-child {
  border-top-left-radius: 18px;
}

.testimonial-table th:last-child {
  border-top-right-radius: 18px;
}

.testimonial-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.testimonial-id-cell {
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.96), rgba(255, 255, 255, 0.84));
}

.testimonial-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  font-weight: 800;
}

.testimonial-row-form {
  display: contents;
}

.testimonial-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  background: rgba(255, 247, 241, 0.92);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.testimonial-photo-stack {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.testimonial-rating-cell input[type="number"],
.testimonial-order-cell input[type="number"] {
  width: 82px;
}

.testimonial-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  color: #14213d;
}

.testimonial-status-toggle span {
  white-space: nowrap;
}

.testimonial-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.testimonial-delete-form {
  margin: 0;
}

.client-logo-admin-form {
  display: grid;
  gap: 20px;
}

.client-logo-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.client-logo-admin-main,
.client-logo-admin-side {
  display: grid;
  gap: 16px;
}

.client-logo-admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(217, 119, 87, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 241, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.client-logo-admin-card-head {
  display: grid;
  gap: 4px;
}

.client-logo-admin-card-head h3 {
  margin: 0;
  font-size: 18px;
  color: #14213d;
}

.client-logo-admin-card-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b5b57;
}

.client-logo-table-wrap {
  border-radius: 22px;
}

.client-logo-table {
  min-width: 1120px;
}

.client-logo-table th:first-child {
  border-top-left-radius: 18px;
}

.client-logo-table th:last-child {
  border-top-right-radius: 18px;
}

.client-logo-table-cell {
  background: rgba(255, 255, 255, 0.84);
}

.client-logo-id-cell {
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.96), rgba(255, 255, 255, 0.84));
}

.client-logo-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  font-weight: 800;
}

.client-logo-row-form {
  display: contents;
}

.client-logo-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  background: rgba(255, 247, 241, 0.92);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.client-logo-editor-stack {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.client-logo-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  color: #14213d;
}

.client-logo-status-toggle span {
  white-space: nowrap;
}

.client-logo-order-cell input[type="number"] {
  width: 72px;
}

.client-logo-updated-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.client-logo-action-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.client-logo-delete-form {
  margin: 0;
}

@media (max-width: 720px) {
  .admin-section-hero {
    padding: 22px 20px;
  }

  .admin-section-hero h2 {
    font-size: 30px;
  }

  .admin-location-switch {
    display: grid;
  }

  .admin-location-pill {
    min-width: 0;
  }

  .category-form-grid,
  .category-form-main-grid,
  .category-form-main-grid-compact {
    grid-template-columns: 1fr;
  }

  .category-toggle-card,
  .category-upload-card {
    border-radius: 18px;
  }

  .category-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .product-create-grid,
  .product-create-main-grid,
  .product-create-main-grid-compact {
    grid-template-columns: 1fr;
  }

  .product-status-panel,
  .product-upload-card {
    border-radius: 18px;
  }

  .product-status-toggle,
  .product-flag-inline {
    min-height: 40px;
    padding: 0 12px;
  }

  .product-editor-cell .product-editor-stack {
    grid-template-columns: 1fr;
  }

  .about-admin-grid,
  .about-admin-main-grid {
    grid-template-columns: 1fr;
  }

  .about-admin-card {
    border-radius: 18px;
  }

  .store-admin-grid,
  .store-admin-main-grid,
  .store-admin-main-grid-compact,
  .store-admin-main-grid-wide {
    grid-template-columns: 1fr;
  }

  .store-admin-card {
    border-radius: 18px;
  }

  .store-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .store-editor-stack {
    grid-template-columns: 1fr;
  }

  .portfolio-admin-grid,
  .portfolio-admin-main-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-admin-card,
  .portfolio-admin-upload-card {
    border-radius: 18px;
  }

  .portfolio-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .portfolio-editor-stack {
    grid-template-columns: 1fr;
  }

  .article-admin-grid,
  .article-admin-main-grid {
    grid-template-columns: 1fr;
  }

  .article-admin-card {
    border-radius: 18px;
  }

  .article-flag-inline,
  .article-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .article-editor-stack {
    grid-template-columns: 1fr;
  }

  .slider-admin-grid,
  .slider-admin-main-grid,
  .slider-admin-main-grid-compact {
    grid-template-columns: 1fr;
  }

  .slider-admin-card {
    border-radius: 18px;
  }

  .slider-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .counter-admin-grid,
  .counter-admin-main-grid,
  .counter-admin-main-grid-compact {
    grid-template-columns: 1fr;
  }

  .counter-admin-card {
    border-radius: 18px;
  }

  .counter-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .order-step-admin-grid,
  .order-step-admin-main-grid {
    grid-template-columns: 1fr;
  }

  .order-step-admin-card {
    border-radius: 18px;
  }

  .order-step-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .testimonial-admin-grid,
  .testimonial-admin-main-grid,
  .testimonial-admin-main-grid-compact {
    grid-template-columns: 1fr;
  }

  .testimonial-admin-card {
    border-radius: 18px;
  }

  .testimonial-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .client-logo-admin-grid {
    grid-template-columns: 1fr;
  }

  .client-logo-admin-card {
    border-radius: 18px;
  }

  .client-logo-status-toggle {
    min-height: 40px;
    padding: 0 12px;
  }
}

.admin-pagination,
.admin-body .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-pagination a,
.admin-body .pagination a,
.admin-body .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
}

.admin-modal,
.admin-body .modal {
  border-radius: 20px;
  border: 1px solid rgba(228, 217, 212, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 50px rgba(24, 20, 18, 0.16);
}

.tracking-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 14px;
  align-items: end;
  min-height: 250px;
  padding: 18px 0 4px;
}

.tracking-chart-item {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.tracking-chart-value {
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
}

.tracking-chart-bar-wrap {
  display: flex;
  align-items: end;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  padding: 0 6px;
}

.tracking-chart-bar {
  width: 100%;
  min-width: 28px;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, rgba(168, 1, 0, 0.86) 0%, rgba(141, 1, 0, 0.98) 100%);
  box-shadow: 0 12px 24px rgba(168, 1, 0, 0.18);
}

.tracking-chart-label {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
  word-break: break-word;
}

@media (max-width: 960px) {
  .admin-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(24, 20, 18, 0.42);
    z-index: 35;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .22s ease;
  }

  .admin-main {
    margin-left: 0;
    padding: 18px 14px 24px;
  }

  .admin-menu-toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  .admin-topbar-copy h1 {
    font-size: 28px;
  }

  .admin-topbar {
    padding: 18px 16px;
  }

  body.admin-nav-open .admin-sidebar {
    transform: translateX(0);
  }

  body.admin-nav-open .admin-mobile-backdrop {
    display: block;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-topnav {
    display: flex;
  }
}

/* Admin auth */
.admin-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(168, 1, 0, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(24, 27, 32, 0.08), transparent 22%),
    linear-gradient(180deg, #f6f1ee 0%, #ece5e1 100%);
}

.admin-auth-card {
  width: min(420px, 100%);
  padding: 30px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(228, 217, 212, 0.95);
  box-shadow: 0 28px 60px rgba(24, 20, 18, 0.12);
}

.admin-auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.admin-auth-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(168, 1, 0, 0.24);
}

.admin-auth-brand-copy strong,
.admin-auth-brand-copy span {
  display: block;
}

.admin-auth-brand-copy strong {
  color: var(--color-text);
  font-size: 16px;
  letter-spacing: -0.02em;
}

.admin-auth-brand-copy span {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-auth-card h1 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

.admin-auth-copy {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  line-height: 1.65;
}
