/* Slikah UI kit — monochrome system (ported for PHP hosting) */
:root {
  --ink: #0a0a0a;
  --body: #262626;
  --muted: #737373;
  --faint: #a3a3a3;
  --line: #e5e5e5;
  --soft: #fafafa;
  --white: #ffffff;
  --radius: 0.625rem;
  --font: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--soft);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.site-header, .site-footer {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; margin-top: auto; }
.site-header .inner, .site-footer .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
}
.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
  color: var(--ink);
}
.hendys-mark {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.admin-nav .logo.hendys-mark {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}
.logo sup { font-size: 0.55em; margin-left: 0.1em; }
.nav { display: flex; gap: 1.25rem; align-items: center; font-size: 0.9rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; font-weight: 500; border: 1px solid transparent;
  padding: 0.55rem 1rem; font-size: 0.875rem; cursor: pointer;
  font-family: var(--font); transition: 0.15s ease;
}
.btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(163,163,163,0.35); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #262626; }
.btn-secondary { background: #f5f5f5; color: var(--body); border-color: var(--line); }
.btn-outline { background: #fff; color: var(--body); border-color: #d4d4d4; }
.btn-ghost { background: transparent; color: var(--muted); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-size: 0.8rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--body);
  background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: #a3a3a3;
  box-shadow: 0 0 0 3px rgba(229,229,229,0.8);
}

.hero {
  background: var(--ink);
  color: #fff;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
}
.hero .wrap { padding: 4rem 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; }
.hero p { color: #d4d4d4; max-width: 40rem; margin: 1rem 0 1.5rem; }
.hero .brand {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.muted { color: var(--muted); }
.section { padding: 3.5rem 0; }
.pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border-radius: 999px; border: 1px solid var(--line);
  padding: 0.2rem 0.65rem; font-size: 0.75rem; color: var(--muted); background: #fff;
}

/* Admin shell */
.admin-body { background: var(--soft); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-nav {
  width: 240px; background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.admin-nav .brand { padding: 1.25rem; border-bottom: 1px solid var(--line); }
.admin-nav nav { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.75rem; flex: 1; }
.admin-nav a {
  padding: 0.55rem 0.75rem; border-radius: 0.75rem; color: #404040; font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav a:hover, .admin-nav a.active { background: #f5f5f5; color: var(--ink); }
.admin-nav .nav-group {
  margin: 0.1rem 0;
}
.admin-nav .nav-panel {
  border-radius: 0.85rem;
  transition: background 0.15s ease, border-color 0.15s ease, padding 0.15s ease;
}
.admin-nav .nav-group.is-open .nav-panel {
  background: #f7f7f7;
  border: 1px solid #efefef;
  padding: 0.3rem;
}
.admin-nav .nav-group-toggle {
  appearance: none; -webkit-appearance: none;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 0.65rem; padding: 0.55rem 0.65rem 0.55rem 0.75rem; border: 0; border-radius: 0.65rem;
  background: transparent; color: #404040; font: inherit; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav .nav-group:not(.is-open) .nav-group-toggle:hover {
  background: #f5f5f5; color: var(--ink);
}
.admin-nav .nav-group.is-open .nav-group-toggle {
  background: transparent; color: var(--ink); font-weight: 600;
}
.admin-nav .nav-group-title { letter-spacing: -0.01em; }
.admin-nav .nav-chevron-wrap {
  width: 1.35rem; height: 1.35rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.06); color: #737373;
  transition: background 0.15s ease, color 0.15s ease, transform 0.2s ease;
}
.admin-nav .nav-group-toggle:hover .nav-chevron-wrap {
  background: rgba(0,0,0,0.08); color: var(--ink);
}
.admin-nav .nav-group.is-open .nav-chevron-wrap {
  transform: rotate(180deg);
  background: #fff; color: var(--ink);
}
.admin-nav .nav-chevron { display: block; }
.admin-nav .nav-sub {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.15rem;
}
.admin-nav .nav-sub[hidden] { display: none !important; }
.admin-nav .nav-sub a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  color: #404040;
  background: transparent;
}
.admin-nav .nav-sub a:hover {
  background: rgba(255,255,255,0.7);
  color: var(--ink);
}
.admin-nav .nav-sub a.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.admin-nav .nav-sub-label {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}
.admin-nav .nav-sub-hint {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}
.admin-nav .nav-sub a.active .nav-sub-hint { color: #737373; }
.admin-main {
  flex: 1;
  min-width: 0;
  padding: 1.75rem;
}
.admin-main-inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-top > .btn,
.admin-top-actions {
  flex-shrink: 0;
  align-self: flex-start;
}
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.admin-top-actions .btn {
  white-space: nowrap;
}
.admin-top:has(#open-pages-reorg) .admin-top-actions {
  align-self: flex-end;
}
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.alert {
  border: 1px solid var(--line); background: #fff; border-radius: 0.75rem;
  padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.9rem;
}
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 500; font-size: 0.75rem; }
.page-url-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
}
.page-url-cell > a:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-url-edit-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  flex: 0 0 auto;
  line-height: 0;
  box-shadow: none;
}
.page-url-edit-btn:hover,
.page-url-edit-btn:focus-visible {
  background: transparent;
  color: var(--ink);
  outline: none;
  box-shadow: none;
}
.page-url-edit-btn svg { display: block; pointer-events: none; }
.seo-url-field {
  display: grid;
  gap: 0.45rem;
}
.seo-url-view {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  min-height: 2.4rem;
}
.seo-url-link {
  color: #1a0dab;
  font-size: 0.95rem;
  word-break: break-all;
}
.seo-url-link:hover {
  text-decoration: underline;
}
.seo-url-edit {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.seo-url-edit[hidden] {
  display: none !important;
}
.seo-url-edit .seo-url-host {
  font-size: 0.88rem;
  white-space: nowrap;
}
.seo-url-edit input {
  flex: 1 1 12rem;
  min-width: 10rem;
}
.seo-url-field.is-editing .seo-url-view {
  display: none;
}
.seo-attention-name {
  font-weight: 600;
  color: var(--ink);
}
.seo-attention-needs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--body);
}
.seo-attention-needs li::before {
  content: "• ";
  color: var(--muted);
}
.seo-attention-table td {
  vertical-align: top;
}
.pages-intro-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-top: 0.35rem;
}
.pages-intro-row .muted {
  margin: 0;
  flex: 1 1 16rem;
}
.pages-intro-row .btn {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
}
.pages-table .page-row {
  transition: background 0.12s ease;
}
.pages-table th,
.pages-table td {
  padding: 0.95rem 1rem;
  vertical-align: middle;
}
.pages-table th:last-child,
.pages-table td:last-child {
  padding-right: 1.15rem;
}
.pages-table .page-name-cell {
  min-width: 12rem;
}
.pages-table .page-url-cell a:first-child {
  font-size: 0.9rem;
}
.page-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.page-actions .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}
.page-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-left: 0.15rem;
  border: 0;
  border-radius: 0.625rem;
  background: #e5e5e5;
  color: #525252;
  text-decoration: none;
}
.page-view-btn:hover,
.page-view-btn:focus-visible {
  color: var(--ink);
  background: #d4d4d4;
  outline: none;
}
.page-view-btn svg { display: block; }

/* Pages reorganise side panel */
.side-panel--pages {
  width: min(420px, 100vw);
}
.nav-org-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.nav-org-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.65rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  cursor: grab;
  transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.nav-org-item.is-child {
  margin-left: 1.1rem;
  background: #fafafa;
}
.nav-org-item.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}
.nav-org-item.drag-over-before {
  box-shadow: inset 0 2px 0 #FF6000;
}
.nav-org-item.drag-over-after {
  box-shadow: inset 0 -2px 0 #FF6000;
}
.nav-org-item.drag-over-into {
  background: #fff8f3;
  border-color: #ffd0b0;
}
.nav-org-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  color: #a3a3a3;
  margin-top: 0.05rem;
}
.nav-org-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.nav-org-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.nav-org-nest {
  color: #a3a3a3;
  margin-right: 0.25rem;
  font-weight: 600;
}
.nav-org-under {
  font-size: 0.78rem;
}
.page-name-wrap {
  display: grid;
  gap: 0.2rem;
}
.page-name-wrap.is-nested,
.page-row.is-child .page-name-wrap {
  margin-left: 1.75rem;
  padding-left: 0.9rem;
  border-left: 2px solid #e5e5e5;
}
.page-row.is-child td.page-name-cell {
  background: linear-gradient(90deg, #fafafa 0, #fafafa 2.4rem, transparent 2.4rem);
}
.page-nest-mark {
  color: #a3a3a3;
  margin-right: 0.35rem;
  font-weight: 600;
}
.page-parent-tag {
  font-size: 0.78rem;
}
.page-row.is-child .page-name-text {
  font-weight: 500;
}
.page-name-view {
  display: inline-flex; align-items: center; gap: 0.35rem; max-width: 100%;
}
.page-name-text {
  font-weight: 600; color: var(--ink); font-size: 0.95rem;
}
.page-rename-btn {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; height: auto; padding: 0; margin: 0;
  border: 0; border-radius: 0;
  background: transparent; color: var(--muted); cursor: pointer;
  flex: 0 0 auto; line-height: 0; box-shadow: none;
}
.page-rename-btn svg { display: block; pointer-events: none; }
.page-rename-btn:hover,
.page-rename-btn:focus-visible {
  background: transparent; color: var(--ink); outline: none;
}
.page-name-edit {
  display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap;
}
.page-name-edit[hidden] { display: none !important; }
.page-name-input {
  min-width: 160px; max-width: 220px;
  border: 1px solid var(--line); border-radius: 0.625rem;
  padding: 0.4rem 0.65rem; font: inherit;
}
.page-name-input:focus {
  outline: 2px solid #0a0a0a; outline-offset: 1px;
}

@media (max-width: 800px) {
  .admin-shell { flex-direction: column; }
  .admin-nav { width: 100%; }
  .nav { flex-wrap: wrap; justify-content: flex-end; }
}

/* SEO / AI admin — simple layout */
.easy-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}
@media (max-width: 980px) {
  .easy-layout { grid-template-columns: 1fr; }
}
.easy-side { display: grid; gap: 1rem; }
.easy-card h2.easy-step {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.help {
  display: inline-block;
  margin-left: 0.35rem;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}
.linkish {
  appearance: none; -webkit-appearance: none;
  border: 0; background: none; padding: 0; margin: 0;
  color: var(--ink); font: inherit; font-size: inherit;
  text-decoration: underline; cursor: pointer;
}
.easy-check {
  display: flex; gap: 0.6rem; align-items: center;
  font-size: 0.95rem; margin: 0.25rem 0 0.5rem;
}
.easy-more {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.easy-more summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
}
.score-line { margin: 0 0 0.85rem; font-size: 0.95rem; }

.check-list { display: grid; gap: 0.55rem; }
.check-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 0.75rem;
  padding: 0.75rem 0.9rem; background: #fff;
}
.check-item.todo { opacity: 0.92; }
.check-item .tick {
  width: 1.15rem; height: 1.15rem; border-radius: 999px;
  background: #16a34a; border: 1.5px solid #16a34a;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; margin-top: 0.1rem; font-size: 0.7rem; color: #fff;
}
.check-item .todo-mark {
  width: 1.15rem; height: 1.15rem; border-radius: 999px;
  border: 1.5px dashed #d4d4d4; color: #a3a3a3;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; margin-top: 0.1rem; font-size: 0.75rem; background: transparent;
}
.check-item .check-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.check-item .check-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.serp-tabs {
  display: inline-flex; gap: 0.35rem; padding: 0.25rem;
  border: 1px solid var(--line); border-radius: 999px; margin-bottom: 0.85rem; background: #fafafa;
}
.serp-tab {
  border: 0; background: transparent; border-radius: 999px;
  padding: 0.4rem 0.85rem; font: inherit; font-size: 0.85rem; cursor: pointer; color: var(--muted);
}
.serp-tab.is-active { background: var(--ink); color: #fff; }
.serp-panel { display: none; }
.serp-panel.is-active { display: block; }
.score-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-radius: 999px; border: 1px solid var(--line);
  padding: 0.35rem 0.75rem; background: #fff; font-size: 0.85rem; font-weight: 600;
}
.score-pill.is-good { background: #ecfdf5; border-color: #86efac; color: #166534; }
.score-pill.is-mid { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.score-pill.is-low { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.health-meter {
  --health: 0;
  margin-top: 0.65rem;
}
.health-meter-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.health-meter-top strong {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: hsl(calc(48 + (var(--health) * 0.94)), 78%, 32%);
}
.health-meter-top .muted {
  font-size: 0.82rem;
}
.health-meter-track {
  height: 0.7rem;
  border-radius: 999px;
  background: #f0f0f0;
  border: 1px solid var(--line);
  overflow: hidden;
}
.health-meter-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    hsl(48, 92%, 52%),
    hsl(calc(48 + (var(--health) * 0.94)), 78%, 42%)
  );
  transition: width 0.35s ease;
  min-width: 0;
}
.health-meter--attention .health-meter-top strong {
  /* 0% attention = green; 100% = red */
  color: hsl(calc(120 - (var(--attention) * 1.2)), 72%, 32%);
}
.health-meter--attention .health-meter-fill {
  background: linear-gradient(
    90deg,
    hsl(48, 92%, 52%),
    hsl(calc(120 - (var(--attention) * 1.2)), 78%, 42%)
  );
}
.serp {
  border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 1rem 1.1rem;
  font-family: Arial, sans-serif;
}
.serp-url { color: #202124; font-size: 0.78rem; margin-bottom: 0.35rem; word-break: break-all; }
.serp-title {
  color: #1a0dab; font-size: 1.2rem; line-height: 1.3; font-weight: 400;
  margin: 0 0 0.35rem; letter-spacing: 0; font-family: Arial, sans-serif;
  min-height: 1.3em;
}
.serp.mobile .serp-title { font-size: 1.05rem; }
.serp-desc { color: #4d5156; font-size: 0.92rem; line-height: 1.45; margin: 0; min-height: 2.6em; }
.serp.mobile {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.serp.desktop { max-width: 100%; }
.preview-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.char-count { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--faint); }
.two-col { display: grid; gap: 1rem; grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }
.codebox {
  font-family: var(--mono); font-size: 0.78rem; line-height: 1.55;
  white-space: pre-wrap; background: #fafafa; border: 1px solid var(--line);
  border-radius: 0.75rem; padding: 1rem; color: #262626; max-height: 420px; overflow: auto;
}

/* WordPress-style product list + quick edit */
.product-table .product-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}
.product-list-thumb {
  appearance: none;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #e5e5e5;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.product-list-thumb:hover {
  border-color: #111;
  color: var(--ink);
}
.product-list-thumb.is-empty {
  flex-direction: column;
  gap: 0.12rem;
  width: 4.4rem;
  flex-basis: 4.4rem;
  height: 3.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.05;
  padding: 0.2rem 0.15rem;
  color: var(--muted);
}
.product-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-list-thumb-icon { display: block; }
.product-title-copy {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
}
.product-table .product-toggle {
  appearance: none; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer; text-align: left;
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-width: 0;
}
.product-table .product-toggle:hover strong { text-decoration: underline; }
.product-table .chevron {
  font-size: 0.65rem; color: var(--muted); width: 0.9rem; display: inline-block;
}
.product-table .row-links {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 0; flex-shrink: 0;
}
.product-table .row-links .btn {
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  gap: 0.35rem;
  text-decoration: none;
}
.product-table .row-links .btn svg {
  flex-shrink: 0;
}
.product-table .product-delete-form {
  display: inline;
  margin: 0;
}
.product-delete-btn {
  color: #b91c1c;
  border-color: #fecaca;
}
.product-delete-btn:hover {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}
.product-row.is-open td { background: #fafafa; }
.quick-edit-row { display: none; }
.quick-edit-row.is-open { display: table-row; }
.quick-edit-row > td {
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0.75rem 1rem;
}
.quick-edit {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  padding: 1rem;
}
.qe-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.qe-grid .field { margin-bottom: 0; }
.quick-edit .qe-identity {
  grid-template-columns: 1fr;
  margin-bottom: 1.1rem;
}
.quick-edit .qe-details-label {
  margin: 0 0 0.65rem;
}
.quick-edit .qe-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .quick-edit .qe-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .quick-edit .qe-details { grid-template-columns: 1fr; }
}

.order-detail { padding: 0.35rem 0.25rem 0.75rem; }
.order-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
@media (max-width: 900px) {
  .order-detail-grid { grid-template-columns: 1fr; }
}
.order-row.is-open td { background: #f5f5f5; }
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 160px;
  padding-top: 0.5rem;
}
.bar-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
}
.bar-fill {
  width: 100%;
  max-width: 18px;
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: #0a0a0a;
  min-height: 4px;
}
.bar-fill.is-accent { background: #FF6000; }
.bar-fill.is-soft { background: #737373; }
.dash-charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.dash-charts .easy-step { margin-bottom: 0.15rem; }
.dash-chart { height: 140px; }
@media (max-width: 980px) {
  .dash-charts { grid-template-columns: 1fr; }
}
.job-list-card { margin-top: 1rem; }
.job-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.job-add-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.job-add-form input {
  flex: 1 1 18rem;
  min-width: 0;
}
.job-list-empty { margin: 0.9rem 0 0; font-size: 0.88rem; }
.job-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.job-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: #fafafa;
}
.job-tick-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.job-tick {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  padding: 0;
  border: 1.5px solid #c9c9c9;
  border-radius: 0.35rem;
  background: #fff;
  color: transparent;
  cursor: pointer;
}
.job-tick:hover,
.job-tick:focus-visible {
  border-color: #16a34a;
  color: #16a34a;
  outline: none;
}
.job-tick.is-ticked {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.job-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
}
.job-list.is-done .job-row { background: #fff; opacity: 0.7; }
.job-list.is-done .job-title { text-decoration: line-through; color: var(--muted); }
.job-list-done-label { margin: 1.1rem 0 0; }
.job-remove-form { margin: 0; }
.job-remove {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.15rem 0.3rem;
  cursor: pointer;
  border-radius: 0.35rem;
}
.job-remove:hover,
.job-remove:focus-visible {
  color: #b91c1c;
  outline: none;
}
.quote-yoy {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
}
.quote-yoy.is-pos { color: #166534; }
.quote-yoy.is-neg { color: #991b1b; }
.quote-yoy.is-muted { color: var(--muted); font-weight: 600; }
.quote-type-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.quote-type-key span { display: inline-flex; align-items: center; gap: 0.35rem; }
.quote-swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.2rem;
  background: #111;
}
.quote-swatch.is-install { background: #FF6000; }
.quote-swatch.is-removal { background: #111; }
.quote-swatch.is-survey { background: #737373; }
.quote-swatch.is-last { background: #d4d4d4; }
.quote-stack-chart,
.quote-yoy-chart { height: 170px; }
.quote-stack,
.quote-yoy-pair {
  width: 100%;
  max-width: 22px;
  height: calc(100% - 1.35rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.quote-yoy-pair {
  flex-direction: row;
  align-items: flex-end;
  gap: 2px;
  max-width: 28px;
}
.quote-seg {
  display: block;
  width: 100%;
  min-height: 3px;
  border-radius: 0.2rem 0.2rem 0 0;
}
.quote-seg + .quote-seg { border-radius: 0; }
.quote-seg:first-child { border-radius: 0.2rem 0.2rem 0 0; }
.quote-seg.is-install { background: #FF6000; }
.quote-seg.is-removal { background: #111; }
.quote-seg.is-survey { background: #737373; }
.quote-seg.is-last { background: #d4d4d4; }
.quote-seg.is-empty {
  height: 4px;
  background: #ececec;
  border-radius: 0.2rem;
}
.quote-yoy-col .quote-stack,
.quote-yoy-col .quote-yoy-pair { height: calc(100% - 1.2rem); }
.order-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}
.order-status-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.order-list-delete {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.order-list-delete form { margin: 0; }
.bar-label {
  font-size: 0.65rem;
  color: var(--muted);
  font-family: var(--mono);
}

.add-member {
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem 1rem;
  background: #fafafa;
}
.add-member-toggle {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 0; background: transparent; padding: 0.35rem 0.15rem;
  color: var(--ink); font: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
}
.add-member-plus {
  width: 1.75rem; height: 1.75rem; border-radius: 0.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e5e5e5; color: var(--ink); font-size: 1.15rem; line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}
.add-member-toggle:hover .add-member-plus,
.add-member-toggle.is-open .add-member-plus {
  background: #d4d4d4;
}
.add-member-toggle.is-open .add-member-plus {
  transform: rotate(45deg);
}
.add-member-form {
  margin-top: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
}
.add-member-form[hidden] { display: none !important; }

.media-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  align-items: start;
}
@media (max-width: 980px) {
  .media-layout { grid-template-columns: 1fr; }
}
.media-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.media-library {
  padding: 0.95rem 1rem 1.1rem;
}
.media-dropzone {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.media-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 11rem;
  padding: 1.35rem 1.25rem;
  text-align: center;
  border: 1.5px dashed #d4d4d4;
  border-radius: 0.85rem;
  margin: 0.85rem 1rem;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.media-dropzone-inner.is-dragover {
  border-color: #0a0a0a;
  background: #f5f5f5;
  box-shadow: inset 0 0 0 1px #0a0a0a;
}
.media-dropzone-inner.is-busy {
  opacity: 0.72;
  pointer-events: none;
}
.media-dropzone-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.media-dropzone-hint {
  margin: 0;
  max-width: 28rem;
  font-size: 0.88rem;
}
.media-dropzone-status {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
}
.media-tile {
  display: block;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.media-tile img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.media-tile-meta {
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem 0.55rem 0.55rem;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--mono);
}
.media-tile-name {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-tile:hover,
.media-tile.is-selected {
  border-color: #0a0a0a;
  box-shadow: 0 0 0 1px #0a0a0a;
}
.media-seo-preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
}
.media-seo-panel {
  position: sticky;
  top: 1rem;
}

.media-layout-folders {
  grid-template-columns: minmax(180px, 220px) minmax(0, 1.2fr) minmax(280px, 0.85fr);
}
@media (max-width: 1100px) {
  .media-layout-folders { grid-template-columns: 1fr; }
}
.media-folders { padding: 1rem; }
.folder-list {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.folder-list a {
  padding: 0.5rem 0.65rem; border-radius: 0.65rem; color: #404040; font-size: 0.9rem;
}
.folder-list a:hover,
.folder-list a.is-active {
  background: #f5f5f5; color: var(--ink);
}
.folder-list a.is-active { font-weight: 600; }
.folder-actions { margin-top: 1rem; }

/* Auth / login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background:
    radial-gradient(900px 420px at 15% -10%, #f0f0f0 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #ececec 0%, transparent 50%),
    #fafafa;
}
.login-shell { width: min(420px, 100%); }
.login-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 2.75rem 2.15rem 2rem;
  box-shadow: 0 22px 60px rgba(0,0,0,0.045);
  animation: login-in 0.45s ease both;
}
@keyframes login-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.login-brand { text-align: center; margin-bottom: 2rem; }
.login-logo.hendys-mark {
  font-size: clamp(2.2rem, 8vw, 2.85rem);
  letter-spacing: 0.18em;
}
.login-logo sup {
  font-size: 0.38em;
  margin-left: 0.1em;
  vertical-align: super;
}
.login-kicker {
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}
.login-copy {
  margin: -0.65rem 0 1.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}
.login-form .field { margin-bottom: 1rem; }
.login-form .field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body);
}
.login-form .field input {
  width: 100%;
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  background: #fff;
}
.login-form .field input:focus {
  outline: none;
  border-color: #a3a3a3;
  box-shadow: 0 0 0 3px rgba(163,163,163,0.22);
}
.login-submit {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
}
.login-footer {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.88rem;
}
.login-footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.login-footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Staff site admin bar (public website when logged in) */
body.has-site-admin-bar { padding-top: 52px; }
.site-admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 52px;
  background: #111;
  color: #f5f5f5;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-admin-bar-inner {
  height: 100%;
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-admin-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
}
.site-admin-logo.hendys-mark {
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.site-admin-logo sup {
  font-size: 0.45em;
  margin-left: 0.1em;
  vertical-align: super;
}
.site-admin-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.site-admin-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.site-admin-chrome[hidden],
.site-admin-edit-actions[hidden] {
  display: none !important;
}
.site-admin-edit-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.site-admin-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 0.55rem;
  padding: 0.45rem 0.9rem;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.site-admin-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.site-admin-btn-close {
  background: #525252;
  color: #fff;
}
.site-admin-btn-close:hover {
  background: #404040;
}
.site-admin-btn-save {
  background: #2563eb;
  color: #fff;
}
.site-admin-btn-save:hover {
  background: #1d4ed8;
}
.site-admin-edit-btn {
  color: #fff;
}
body.is-inline-editing .site-admin-edit-btn {
  display: none !important;
}
body.is-inline-editing [data-inline-editable] {
  outline: 2px solid #2563eb !important;
  outline-offset: 2px;
  cursor: text;
  position: relative;
  z-index: 2;
}
body.is-inline-editing .shop-banner-slide,
body.is-inline-editing .shop-rail-img {
  position: absolute !important;
}
body.is-inline-editing .shop-banner-slide {
  z-index: 1;
}
body.is-inline-editing .shop-banner-slide.is-active {
  z-index: 1;
}
body.is-inline-editing [data-inline-editable="image"],
body.is-inline-editing [data-inline-editable="background"] {
  cursor: pointer;
}
.inline-change-image-btn {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 40;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0.5rem;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.inline-change-image-btn:hover {
  background: #1d4ed8;
}
body.is-inline-editing .content-banner {
  isolation: isolate;
}
body.is-inline-editing a:not([data-inline-editable]) {
  pointer-events: none;
}
.site-admin-menu { position: relative; }
.site-admin-icon-btn,
.site-admin-user-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #e5e5e5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.65rem;
  padding: 0.35rem 0.55rem;
  font: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-admin-icon-btn:hover,
.site-admin-user-btn:hover,
.site-admin-menu:has([aria-expanded="true"]) > button {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.site-admin-icon-label {
  font-size: 0.82rem;
  font-weight: 500;
}
.site-admin-avatar {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.site-admin-user-meta {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.site-admin-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}
.site-admin-user-role {
  font-size: 0.68rem;
  color: #a3a3a3;
  text-transform: capitalize;
}
.site-admin-caret { opacity: 0.7; }
.site-admin-dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 220px;
  background: #fff;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  padding: 0.4rem;
  z-index: 1001;
}
.site-admin-dropdown[hidden] { display: none !important; }
.site-admin-dropdown a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  color: var(--body);
}
.site-admin-dropdown a:hover { background: #f5f5f5; color: var(--ink); }
.site-admin-apps {
  min-width: 280px;
  max-width: 320px;
  padding: 0.55rem;
}
.site-admin-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  max-height: min(70vh, 28rem);
  overflow: auto;
}
.site-admin-app {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.7rem 0.35rem !important;
  border-radius: 0.75rem;
  text-align: center;
  color: var(--body) !important;
}
.site-admin-app:hover { background: #f5f5f5 !important; }
.site-admin-app-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: #fafafa;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.site-admin-app-name {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 36rem;
}
.apps-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.15rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  text-align: center;
}
.apps-grid-item:hover { background: #fafafa; }
.apps-grid-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: #fafafa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.apps-grid-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}
@media (max-width: 640px) {
  .apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
}
@media (min-width: 720px) {
  .site-admin-user-meta { display: flex; }
}
@media (max-width: 520px) {
  .site-admin-icon-label { display: none; }
  .site-admin-bar-inner { width: calc(100% - 1rem); }
}

/* Visibility / disable website */
.visibility-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.visibility-option:first-child { padding-top: 0.25rem; }
.visibility-option:last-of-type { border-bottom: 0; margin-bottom: 0.5rem; }
.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-ui {
  width: 2.6rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #d4d4d4;
  position: relative;
  transition: background 0.15s ease;
}
.switch-ui::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: transform 0.15s ease;
}
.switch input:checked + .switch-ui { background: var(--ink); }
.switch input:checked + .switch-ui::after { transform: translateX(1.15rem); }
.switch-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 1.6rem;
}
.status-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(800px 380px at 20% -10%, #f0f0f0 0%, transparent 55%),
    #fafafa;
  font-family: Manrope, system-ui, sans-serif;
}
.status-page-brand {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(255,96,0,0.22) 0%, transparent 55%),
    radial-gradient(700px 380px at 90% 110%, rgba(255,96,0,0.12) 0%, transparent 50%),
    #000;
  color: #fff;
}
.status-shell {
  width: min(520px, 100%);
}
.status-card {
  width: min(440px, 100%);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.05);
}
.status-card-brand {
  width: 100%;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid #2a2a2a;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  padding: 3rem 2rem 2.5rem;
}
.status-logo {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.status-logo .hh-oval {
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  padding: 0.9em 1.55em 0.95em;
  border-width: 2px;
}
.status-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF6000;
}
.status-brand {
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.5rem;
  color: var(--ink);
}
.status-brand sup { font-size: 0.45em; }
.status-card h1 {
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  margin: 0;
}
.status-card-brand h1 {
  color: #fff;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.status-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.status-copy {
  color: #bdbdbd !important;
  max-width: 28rem;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.02rem;
}
.status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.6rem;
}
.status-cta,
.status-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  border-radius: 0;
  font-weight: 600;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
}
.status-cta {
  background: #FF6000;
  border: 1px solid #FF6000;
  color: #fff;
}
.status-cta:hover {
  background: #e55600;
  border-color: #e55600;
  color: #fff;
}
.status-login {
  background: transparent;
  border: 1px solid #555;
  color: #fff;
}
.status-login:hover {
  border-color: #FF6000;
  color: #FF6000;
}
.status-note {
  margin-top: 1.35rem !important;
  font-size: 0.82rem;
  color: #777 !important;
}
.status-site {
  margin-top: 1.5rem !important;
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint) !important;
}

/* Branding hub */
.branding-boxes {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.branding-boxes-tight {
  grid-template-columns: 1fr;
}
.branding-box {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
a.branding-box:hover,
.branding-boxes-tight .branding-box:hover {
  background: #fafafa;
  border-color: #d4d4d4;
}
.branding-box-card .branding-box {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.15rem 1.1rem;
  background: transparent;
}
.branding-box-card .branding-box:hover {
  background: transparent;
  border-color: transparent;
}
.branding-box-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: #fafafa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}
.branding-box-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.branding-box-copy strong {
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.branding-box-copy span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}
.branding-guide {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
}
.branding-guide-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.branding-guide-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}
.branding-guide-list li + li { margin-top: 0.4rem; }
.branding-swatches {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.branding-swatches-visual {
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.branding-swatch {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.branding-swatch-card { gap: 0.4rem; }
.branding-swatch strong { color: var(--ink); font-size: 0.88rem; }
.branding-swatch em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--faint);
  line-height: 1.3;
}
.branding-swatch-chip {
  display: block;
  height: 3rem;
  border-radius: 0.7rem;
}
.branding-swatch-card .branding-swatch-chip {
  position: relative;
  height: 5.5rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: flex-end;
  padding: 0.65rem 0.75rem;
}
.branding-swatch-chip.is-light {
  border: 1px solid #d4d4d4;
}
.branding-swatch-hex {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.branding-swatch-hex.is-dark {
  color: #404040;
  text-shadow: none;
}
.branding-logo-sample {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 0.85rem;
  padding: 1.75rem 1.25rem;
  margin-bottom: 1rem;
}
.branding-type-samples {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: var(--soft);
  border-radius: 0.85rem;
  border: 1px solid var(--line);
}
.branding-type-display {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.branding-type-display-sm {
  margin-top: 0.45rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.branding-type-body {
  margin: 0.55rem 0 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}
.branding-type-body-lg {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--body);
}
.branding-type-meta {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--faint);
}
.branding-voice-examples {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}
.branding-voice-examples > div {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--soft);
}
.branding-voice-examples .label { margin-bottom: 0.35rem; }
.branding-voice-examples p.muted { margin: 0; font-size: 0.9rem; }

/* Visual branding guide */
.branding-guide-visual .bg-lede {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 44rem;
}
.bg-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 1.15rem;
  padding: 2.75rem 1.5rem 2.25rem;
  text-align: center;
  border: 1px solid #232323;
}
.bg-hero-mark { display: flex; justify-content: center; }
.bg-hero-tag {
  margin: 1.15rem 0 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #a3a3a3;
  letter-spacing: 0.01em;
}
.bg-hero-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF6000 0%, #FFB316 55%, #CF2E2E 100%);
}
.hh-oval-lg {
  font-size: clamp(1.35rem, 4vw, 2rem);
  padding: 0.85em 1.55em 0.9em;
  border-width: 2px;
}
.hh-oval-on-light {
  background: #000;
  border-color: #FF6000;
}
.hh-hines-ink { color: #fff; }
.bg-pillars {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bg-pillar {
  padding: 1rem 1rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}
.bg-pillar-icon {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #FF6000;
  margin-bottom: 0.45rem;
}
.bg-pillar strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.bg-pillar p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}
.bg-logo-plates {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}
.bg-logo-plate {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 9rem;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
}
.bg-logo-plate-dark { background: #000; }
.bg-logo-plate-light {
  background: #f3f3f3;
  border: 1px solid var(--line);
}
.bg-logo-plate figcaption {
  font-size: 0.78rem;
  color: #a3a3a3;
}
.bg-logo-plate-light figcaption { color: var(--muted); }
.bg-logo-plate figcaption em {
  font-style: normal;
  color: #FF6000;
  margin-left: 0.25rem;
}
.bg-donts { margin-top: 0.25rem; }
.bg-dont-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.55rem;
}
.bg-dont { margin: 0; }
.bg-dont-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #111;
  overflow: hidden;
}
.bg-dont-preview::after {
  content: "";
  position: absolute;
  inset: 18% 8%;
  border-top: 2px solid #CF2E2E;
  transform: rotate(-18deg);
  pointer-events: none;
}
.bg-dont figcaption {
  margin-top: 0.4rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.bg-colour-combo {
  display: flex;
  gap: 0.35rem;
  margin-top: 1rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  overflow: hidden;
}
.bg-combo-bar { min-width: 0; }
.bg-type-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bg-type-card {
  margin-bottom: 0;
  min-height: 11rem;
  padding: 1.15rem 1.2rem;
}
.bg-type-emphasis {
  margin-top: 0.85rem;
  padding: 1.15rem 1.25rem;
  border-radius: 0.9rem;
  background: #000;
  color: #fff;
}
.bg-type-line {
  margin: 0 0 0.55rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  letter-spacing: -0.02em;
}
.bg-type-emphasis .label { color: #a3a3a3; }
.bg-voice-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}
.bg-voice-traits span {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.bg-voice-do {
  border-color: #bbf7d0 !important;
  background: #f0fdf4 !important;
}
.bg-voice-dont {
  border-color: #fecaca !important;
  background: #fef2f2 !important;
}
.branding-voice-examples blockquote {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.bg-voice-dont blockquote {
  text-decoration: line-through;
  color: #737373;
  font-weight: 500;
}
.bg-photo-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.bg-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.bg-photo img,
.bg-photo-frame {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0.85rem;
  background: #000;
  border: 1px solid #232323;
}
.bg-photo-frame {
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.bg-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
}
.bg-photo-frame span {
  position: relative;
  z-index: 1;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: #fff;
}
.bg-photo-install {
  background-image:
    linear-gradient(135deg, rgba(255, 96, 0, 0.35), transparent 50%),
    linear-gradient(180deg, #232323, #000);
}
.bg-photo-work {
  background-image:
    linear-gradient(160deg, rgba(255, 179, 22, 0.25), transparent 45%),
    linear-gradient(180deg, #3a3a3a, #111);
}
.bg-photo-product {
  background-image:
    linear-gradient(200deg, rgba(227, 227, 227, 0.15), transparent 40%),
    linear-gradient(180deg, #1a1a1a, #000);
}
.bg-photo figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}
@media (max-width: 820px) {
  .bg-pillars,
  .bg-logo-plates,
  .bg-type-grid,
  .bg-dont-grid,
  .bg-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .bg-pillars,
  .bg-logo-plates,
  .bg-type-grid,
  .bg-dont-grid,
  .bg-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Hendy Hines lockup (guide + storefront fallback) */
.hh-lockup {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.hh-oval {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.06em;
  padding: 0.72em 1.35em 0.78em;
  border: 1.5px solid #FF6000;
  border-radius: 50%;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1;
}
.hh-hendy { color: #FF6000; }
.hh-hines { color: #fff; }
.hh-lockup-on-dark .hh-hines { color: #fff; }
.hh-lockup-header .hh-oval { font-size: 1.24rem; padding: 0.78em 1.35em 0.82em; border-width: 2px; }
.hh-lockup-footer .hh-oval { font-size: 0.85rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Storefront brand tokens (admin stays monochrome via :root) */
body.storefront {
  --ink: #000000;
  --charcoal: #232323;
  --body: #232323;
  --muted: #5c5c5c;
  --faint: #8a8a8a;
  --line: #E3E3E3;
  --soft: #f5f5f5;
  --white: #ffffff;
  --brand: #FF6000;
  --brand-amber: #FFB316;
  --emergency: #CF2E2E;
  /* Tesla-like geometric grotesk (Universal Sans / Gotham stand-in). Logo lockup stays Manrope. */
  --font: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
  background: var(--white);
  color: var(--body);
  letter-spacing: 0;
  font-weight: 400;
}
body.storefront h1,
body.storefront h2,
body.storefront h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
body.storefront .hero h1 {
  font-weight: 500;
  letter-spacing: -0.03em;
}
body.storefront .btn {
  font-weight: 500;
  letter-spacing: 0.01em;
}
body.storefront .site-topbar {
  background: #FF6000;
  color: #000;
  border-bottom: 1px solid #e55600;
}
body.storefront .site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.35rem;
  padding: 0.45rem 0;
  font-size: 0.86rem;
  font-weight: 500;
}
body.storefront .site-topbar-note {
  margin: 0;
  color: #000;
  opacity: 0.9;
}
body.storefront .site-topbar-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-left: auto;
}
body.storefront .site-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #000;
  font-weight: 600;
  white-space: nowrap;
}
body.storefront .site-topbar-link:hover {
  color: #111;
  text-decoration: underline;
}
body.storefront .site-topbar-link svg {
  flex-shrink: 0;
}
body.storefront .site-header {
  background: #000 !important;
  border-bottom: 1px solid #232323;
  color: #fff;
  position: relative;
  z-index: 50;
  overflow: visible;
}
body.storefront .site-header.nav-dropdown-open {
  border-bottom-color: #000;
}
body.storefront .site-header .inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 5.5rem;
  padding: 1rem 0;
  align-items: center;
  gap: 1.5rem;
}
body.storefront .site-header .nav {
  color: #c4c4c4;
  gap: 1.15rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-width: 0;
}
body.storefront .site-header-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding-left: 1rem;
  border-left: 1px solid #2e2e2e;
}
body.storefront .site-tool-btn,
body.storefront .site-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: #e8e8e8;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
}
body.storefront .site-tool-btn:hover,
body.storefront .site-tool-link:hover,
body.storefront .site-basket.is-open .site-basket-toggle {
  color: #FF6000;
  background: #141414;
}
body.storefront .site-tool-btn svg,
body.storefront .site-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.storefront .site-tool-btn svg *,
body.storefront .site-menu-toggle svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.storefront .site-menu-toggle {
  display: none;
}
body.storefront .site-menu-icon-close {
  display: none;
}
body.storefront .site-nav-mobile-brand {
  display: none;
}
body.storefront .site-basket {
  position: relative;
}
body.storefront .site-basket-count {
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  color: #cfcfcf;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}
body.storefront .site-basket-count.has-items {
  background: #FF6000;
  color: #fff;
}
body.storefront .site-basket-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(24rem, calc(100vw - 1.5rem));
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  box-shadow: 0 20px 48px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.03);
  z-index: 60;
  padding: 0;
  display: block;
  color: #111;
  overflow: hidden;
}
body.storefront .site-basket-panel[hidden] {
  display: none !important;
}

/* Empty state */
body.storefront .site-basket-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  color: var(--muted);
}
body.storefront .site-basket-empty-state p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: #555;
}

/* Header */
body.storefront .site-basket-panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  color: #111;
  font-size: 0.95rem;
}

/* Items list */
body.storefront .site-basket-items {
  display: grid;
  gap: 0;
  max-height: 22rem;
  overflow-y: auto;
  padding: 0.25rem 0;
}
body.storefront .site-basket-item {
  display: flex;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1.25rem;
  color: inherit;
}
body.storefront .site-basket-item + .site-basket-item {
  border-top: 1px solid #f5f5f5;
}

/* Thumbnail */
body.storefront .site-basket-thumb-link {
  flex: 0 0 4.5rem;
}
body.storefront .site-basket-thumb {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.6rem;
  background: #f5f5f5 center/contain no-repeat;
  border: 1px solid #eee;
}

/* Item body (right of thumb) */
body.storefront .site-basket-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
body.storefront .site-basket-item-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.5rem;
}
body.storefront .site-basket-item-name {
  color: #111;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
body.storefront .site-basket-item-name:hover {
  text-decoration: underline;
}

/* Extras tags */
body.storefront .site-basket-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
body.storefront .site-basket-extra-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  background: #f0f0f0;
  color: #555;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Price + qty bottom row */
body.storefront .site-basket-item-bottom {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.1rem;
}
body.storefront .site-basket-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
}
body.storefront .site-basket-item-qty {
  font-size: 0.75rem;
  color: #999;
}

/* Remove button */
body.storefront .site-basket-remove {
  flex: none;
}
body.storefront .site-basket-remove button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 0.3rem;
  background: transparent;
  color: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.1s, color 0.1s;
}
body.storefront .site-basket-remove button:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Footer */
body.storefront .site-basket-panel-foot {
  border-top: 1px solid #e5e5e5;
  padding: 1rem 1.25rem 1.15rem;
  display: grid;
  gap: 0.65rem;
}
body.storefront .site-basket-totals {
  display: grid;
  gap: 0.35rem;
}
body.storefront .site-basket-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #666;
}
body.storefront .site-basket-total-row.is-grand {
  font-size: 1rem;
  color: #111;
  padding-top: 0.3rem;
  border-top: 1px solid #f0f0f0;
  margin-top: 0.1rem;
}
body.storefront .site-basket-total-row.is-grand strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FF6000;
}

/* Checkout CTA */
body.storefront .site-basket-checkout-btn {
  width: 100%;
  justify-content: center;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
}
body.storefront .site-basket-view-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  text-decoration: none;
}
body.storefront .site-basket-view-link:hover {
  color: #555;
  text-decoration: underline;
}
body.storefront .site-basket-full-btn {
  width: 100%;
  justify-content: center;
  border-radius: 0.65rem;
}
body.storefront.auth-page,
body.storefront.auth-page main,
body.storefront.account-page,
body.storefront.account-page main {
  background: #f5f5f5;
  color: var(--body, #222);
}
.auth-wrap {
  max-width: 28rem;
}
.auth-section h1,
.dashboard-section h1 {
  margin: 0.45rem 0 0.55rem;
  color: #111;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}
.auth-lead,
.dashboard-lead {
  margin: 0 0 1.35rem;
  color: #666;
  font-size: 1.02rem;
  line-height: 1.55;
}
.auth-card,
.dashboard-panel {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 1.35rem 1.25rem;
}
.auth-card .field,
.dashboard-form .field {
  margin-bottom: 0.95rem;
}
.auth-card .field label,
.dashboard-form .field label {
  color: #555;
}
.auth-card .field input,
.dashboard-form .field input {
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
  border-radius: 0;
  width: 100%;
}
.auth-card .field input:focus,
.dashboard-form .field input:focus {
  border-color: #FF6000;
  outline: none;
}
.auth-card .field input:disabled,
.dashboard-form .field input:disabled {
  background: #f3f3f3;
  color: #777;
}
.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #888;
}
.auth-submit {
  width: 100%;
  border-radius: 0;
  margin-top: 0.25rem;
}
.auth-switch {
  margin: 1.15rem 0 0;
  color: #666;
  font-size: 0.95rem;
}
.auth-switch a {
  color: #FF6000;
  font-weight: 600;
}
.auth-switch a:hover {
  text-decoration: underline;
}
.dashboard-wrap {
  max-width: 960px;
}
.dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.35rem 0 1rem;
}
.dashboard-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 0.88rem;
  font-weight: 600;
}
.dashboard-tabs a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  background: #f0f0f0;
  color: #666;
  font-size: 0.75rem;
}
.dashboard-tabs a.is-active,
.dashboard-tabs a:hover {
  border-color: #FF6000;
  color: #111;
}
.dashboard-tabs a.is-active {
  background: #fff5ef;
}
.dashboard-signout-tab {
  margin-left: auto;
}
.dashboard-signout-tab button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.dashboard-signout-tab button:hover {
  border-color: #FF6000;
  color: #111;
}
.dashboard-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
  align-items: start;
}
.dashboard-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.dashboard-order-items em {
  float: right;
  font-style: normal;
  color: #111;
  font-weight: 600;
}
.dashboard-order-ship {
  margin: 0.55rem 0 0;
  color: #777;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Empty state */
.dashboard-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}
.dashboard-empty-state p {
  margin: 0.75rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

/* Order cards */
.dashboard-orders-list {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}
.order-card {
  border: 1px solid #e5e5e5;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
}
.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.order-card-meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  min-width: 0;
}
.order-card-number {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
}
.order-card-date {
  font-size: 0.78rem;
  color: #999;
}
.order-card-status {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #f3f3f3;
  color: #888;
}
.order-card-status.is-success {
  background: #dcfce7;
  color: #16a34a;
}
.order-card-status.is-active {
  background: #fff7ed;
  color: #ea580c;
}
.order-card-status.is-cancelled {
  background: #fef2f2;
  color: #dc2626;
}

/* Items inside order card */
.order-card-items {
  padding: 0.5rem 0;
}
.order-card-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.1rem;
}
.order-card-item + .order-card-item {
  border-top: 1px solid #f5f5f5;
}
.order-card-thumb {
  flex: 0 0 3.2rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.45rem;
  background: #f5f5f5 center/contain no-repeat;
  border: 1px solid #eee;
}
.order-card-item-detail {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.order-card-item-detail strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}
.order-card-variant {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.3;
}
.order-card-item-right {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.order-card-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
}
.order-card-item-qty {
  font-size: 0.72rem;
  color: #999;
}

/* Footer */
.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
}
.order-card-shipping {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #777;
  min-width: 0;
}
.order-card-shipping span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-card-total {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.order-card-total span {
  color: #777;
}
.order-card-total strong {
  font-size: 1.05rem;
  color: #FF6000;
}
/* Quote cards */
.quote-card-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.quote-card-icon svg { color: #FF6000; flex-shrink: 0; }
.quote-card-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0.65rem 1.25rem;
  padding: 0.85rem 1.1rem;
}
.quote-card-detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.quote-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
}
.quote-card-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
}
.quote-card-notes {
  padding: 0.75rem 1.1rem;
  border-top: 1px solid #f0f0f0;
}
.quote-card-notes p {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 540px) {
  .order-card-meta { flex-direction: column; gap: 0.1rem; }
  .order-card-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .quote-card-details { grid-template-columns: 1fr 1fr; }
}
.quote-request-form .field {
  margin-bottom: 0.85rem;
}
.quote-request-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font: inherit;
  padding: 0.7rem 0.8rem;
  resize: vertical;
}
.quote-request-form textarea:focus {
  border-color: #FF6000;
  outline: none;
}
.dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.dashboard-panel-head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #111;
}
.dashboard-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  background: #f0f0f0;
  color: #555;
  font-size: 0.8rem;
  font-weight: 600;
}
.dashboard-empty {
  margin: 0 0 1rem;
  color: #777;
  line-height: 1.5;
}
.dashboard-orders {
  display: grid;
  gap: 0.75rem;
}
.dashboard-order {
  padding: 0.9rem 0;
  border-top: 1px solid #eee;
}
.dashboard-order:first-child {
  border-top: 0;
  padding-top: 0;
}
.dashboard-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.dashboard-order-top strong {
  display: block;
  color: #111;
}
.dashboard-order-top span {
  display: block;
  margin-top: 0.2rem;
  color: #888;
  font-size: 0.82rem;
}
.dashboard-order-status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FF6000;
}
.dashboard-order-items {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: #555;
  font-size: 0.9rem;
}
.dashboard-order-items span {
  color: #888;
}
.dashboard-order-total {
  margin: 0.65rem 0 0;
  font-weight: 600;
  color: #111;
}
@media (max-width: 820px) {
  .dashboard-settings-grid,
  .dashboard-form-row {
    grid-template-columns: 1fr;
  }
  .dashboard-hero {
    flex-direction: column;
  }
}
body.storefront .flash-ok,
body.storefront .flash-error {
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}
body.storefront .flash-ok {
  background: #eef8f0;
  border: 1px solid #c7e3cf;
  color: #1f5c34;
}
body.storefront .flash-error {
  background: #fceeee;
  border: 1px solid #efc4c4;
  color: #8a2a2a;
}
body.storefront .site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: #e8e8e8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  font-size: 0.74rem;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}
body.storefront .site-nav-link:hover,
body.storefront .site-nav-dropdown.is-open .site-nav-dropdown-toggle {
  color: #FF6000;
}
body.storefront .site-nav-link-emergency {
  color: #CF2E2E;
}
body.storefront .site-nav-link-emergency:hover {
  color: #ff4d4d;
}
body.storefront .site-nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
body.storefront .site-nav-caret {
  transition: transform 0.18s ease;
  opacity: 0.8;
}
body.storefront .site-nav-dropdown.is-open .site-nav-caret {
  transform: rotate(180deg);
}
body.storefront .site-nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  transform: none;
  min-width: 17.5rem;
  margin: 0;
  padding: 0.55rem 0;
  background: #000;
  border: 0;
  border-top: 1px solid #222;
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
  z-index: 55;
  display: block;
}
body.storefront .site-nav-dropdown-panel[hidden] {
  display: none !important;
}
body.storefront .site-nav-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.85rem;
  height: 0.85rem;
  background: transparent;
}
body.storefront .site-nav-dropdown-panel-inner {
  width: auto;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  justify-content: stretch;
  padding: 0;
}
body.storefront .site-nav-dropdown-panel a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.7rem 1.15rem;
  color: #cfcfcf;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.3;
  transition: color 0.15s ease, background 0.15s ease;
}
body.storefront .site-nav-dropdown-panel a:hover {
  background: #141414;
  color: #FF6000;
}
body.storefront .site-brand-logo {
  max-width: none;
}
body.storefront .services-page {
  max-width: 960px;
}
body.storefront .services-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
body.storefront .services-list li,
body.storefront .service-item {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
body.storefront .service-item-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #1a1a1a center/cover no-repeat;
  border-radius: 0.35rem;
  display: block;
}
body.storefront .service-item-body {
  min-width: 0;
}
body.storefront .services-list h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
body.storefront .services-list p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}
body.storefront .service-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
body.storefront .service-btn {
  border-radius: 0;
  min-height: 2.55rem;
  padding: 0.7rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
}
body.storefront .service-item-actions .btn-primary {
  background: #FF6000;
  border-color: #FF6000;
  color: #fff;
}
body.storefront .service-item-actions .btn-primary:hover {
  background: #e55600;
  border-color: #e55600;
}
body.storefront .service-item-actions .btn-secondary {
  background: #fff;
  border: 1px solid #ddd;
  color: #222;
}
body.storefront .service-item-actions .btn-secondary:hover {
  border-color: #FF6000;
  color: #111;
}
.content-kicker {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: #888;
}
.content-kicker a {
  color: #FF6000;
  font-weight: 600;
}
@media (max-width: 640px) {
  body.storefront .services-list li,
  body.storefront .service-item {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: stretch;
  }
  body.storefront .service-item-media {
    aspect-ratio: 16 / 9;
  }
}
/* Content page template (banner + prose + image layouts) */
.content-banner {
  position: relative;
  isolation: isolate;
  min-height: clamp(16rem, 36vw, 24rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111 var(--content-banner-image, none) center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.content-banner-tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.72) 100%);
}
.content-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.content-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 16ch;
  text-wrap: balance;
}
.content-banner-intro {
  margin: 0.95rem 0 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}
.content-banner-rich {
  min-height: clamp(20rem, 42vw, 28rem);
}
.content-banner-rich h1 {
  max-width: 18ch;
}
.content-banner-oneline h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.4rem, 5.4vw, 3.05rem);
}
.content-banner-wide-title h1 {
  max-width: min(18.5em, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
  font-size: clamp(1.7rem, 3.6vw + 0.4rem, 3.05rem);
  line-height: 1.12;
  font-weight: 500;
  text-wrap: pretty;
}
.content-banner-title-line {
  display: block;
}
.content-banner-title-line.is-place {
  margin-top: 0.45em;
  font-size: clamp(0.8rem, 0.48em, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}
.content-banner-icon {
  width: 3.15rem;
  height: 3.15rem;
  margin: 0 0 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.22);
}
.content-banner-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}
.content-banner-lines {
  margin: 0.95rem 0 0;
  max-width: 34rem;
}
.content-banner-lines p {
  margin: 0 0 0.4rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.94);
  font-weight: 600;
}
.content-banner-lines p:last-child { margin-bottom: 0; }
.content-banner-link {
  margin: 0.95rem 0 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.content-banner-link:hover {
  color: #FF6000;
}
.content-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.3rem;
}
.content-banner-actions .btn-primary {
  background: #FF6000;
  border-color: #FF6000;
  color: #fff;
}
.content-banner-actions .btn-primary:hover {
  background: #e65600;
  border-color: #e65600;
}
.content-banner-call {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.78);
}
.content-banner-call:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.content-banner-call-solid {
  background: #FF6000;
  color: #fff;
  border-color: #FF6000;
  font-weight: 700;
}
.content-banner-call-solid:hover {
  background: #e65600;
  border-color: #e65600;
  color: #fff;
}
.content-banner-contain {
  background-color: #111;
  background-size: contain;
  background-repeat: no-repeat;
}
.content-banner-solid {
  background: #000;
  background-image: none;
}
.content-banner-solid .content-banner-tint {
  display: none;
}
.content-page-inner {
  max-width: 860px;
}
.content-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted, #666);
}
.content-prose p { margin: 0 0 1.1rem; }
.content-prose p:last-child { margin-bottom: 0; }
.content-prose ul,
.content-prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}
.content-prose li {
  margin: 0 0 0.45rem;
}
.content-prose li:last-child { margin-bottom: 0; }
.content-prose a { color: inherit; }
.service-points {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.service-points li {
  margin: 0;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 0.85rem;
  background: #fafafa;
  color: var(--ink, #111);
  line-height: 1.55;
}
.service-photo {
  margin: 1.5rem 0 0.35rem;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #111;
}
.service-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-step {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 1.35rem 1.6rem;
  align-items: center;
  margin: 2.1rem 0 0;
  padding-top: 0.35rem;
}
.service-step.is-flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr);
}
.service-step.is-flip .service-step-media { order: 2; }
.service-step.is-flip .service-step-copy { order: 1; }
.service-step-media {
  margin: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #ececec;
}
.service-step-media img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-step-media.is-contain {
  background: #dddddd;
}
.service-step-media.is-contain img {
  object-fit: contain;
  background: #dddddd;
  padding: 0;
}
.service-step-copy .content-h2 {
  margin-top: 0;
}
@media (max-width: 720px) {
  .service-step,
  .service-step.is-flip {
    grid-template-columns: 1fr;
  }
  .service-step.is-flip .service-step-media,
  .service-step.is-flip .service-step-copy { order: 0; }
}
.service-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.75rem;
  margin: 1.85rem 0 0.35rem;
}
.service-gallery-feature,
.service-gallery-side figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #111;
}
.service-gallery-side {
  display: grid;
  gap: 0.75rem;
}
.service-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-gallery-feature img {
  min-height: 100%;
  aspect-ratio: auto;
}
.service-gallery-side img {
  aspect-ratio: 16 / 10;
}
@media (max-width: 720px) {
  .service-gallery {
    grid-template-columns: 1fr;
  }
  .service-gallery-feature img {
    aspect-ratio: 16 / 10;
  }
}
.content-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--body, #222);
}
.content-h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.02em;
}
.content-h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.content-figure {
  margin: 0;
}
.content-figure-media,
.content-split-media {
  background: #1a1a1a center/cover no-repeat;
  border-radius: 0.35rem;
}
.content-figure-media {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.content-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted, #666);
  line-height: 1.45;
}
.content-figure-full {
  margin: 0.25rem 0 0;
}
.content-figure-inline {
  margin: 1.5rem auto;
  max-width: 28rem;
}
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: center;
  margin: 0.25rem 0 0;
}
.content-split-image-right {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.content-split-media {
  aspect-ratio: 4 / 3;
  width: 100%;
}
.content-split-body p {
  margin: 0 0 0.85rem;
  color: var(--muted, #666);
  line-height: 1.7;
  font-size: 1.02rem;
}
.content-split-body p:last-child { margin-bottom: 0; }
.content-gallery {
  display: grid;
  gap: 1rem;
  margin: 0.25rem 0 0;
}
.content-gallery-2 {
  grid-template-columns: 1fr 1fr;
}
.content-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line, #e5e5e5);
}
@media (max-width: 720px) {
  .content-split,
  .content-split-image-right {
    grid-template-columns: 1fr;
  }
  .content-gallery-2 {
    grid-template-columns: 1fr;
  }
  .content-banner-inner {
    padding: 3rem 0.75rem;
  }
}

body.storefront .contact-cards {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
body.storefront .contact-card {
  display: block;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: #fafafa;
  color: inherit;
}
body.storefront a.contact-card:hover {
  border-color: #FF6000;
}
body.storefront .contact-card .label {
  display: block;
  margin-bottom: 0.35rem;
}
body.storefront .contact-card strong {
  font-size: 1.1rem;
  font-weight: 600;
}
body.storefront .contact-page-section {
  padding-top: 2.5rem;
}
body.storefront .contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem 2.5rem;
  align-items: start;
}
body.storefront .contact-page-intro h2 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}
body.storefront .contact-page-intro > .muted {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 34rem;
}
body.storefront .contact-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
body.storefront .contact-form-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 1.4rem 1.3rem 1.5rem;
}
body.storefront .contact-form-card h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
body.storefront .contact-form-lead {
  margin: 0.4rem 0 1.1rem;
}
body.storefront .contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.85rem;
}
body.storefront .contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font: inherit;
  padding: 0.7rem 0.8rem;
  resize: vertical;
  min-height: 8rem;
}
body.storefront .contact-form textarea:focus {
  border-color: #FF6000;
  outline: none;
}
body.storefront .contact-form-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  body.storefront .contact-page-layout {
    grid-template-columns: 1fr;
  }
  body.storefront .contact-form-grid {
    grid-template-columns: 1fr;
  }
}
.contact-app-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}
.contact-app-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-app-tab:hover { background: #fafafa; }
.contact-app-tab.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}
.contact-app-count {
  display: inline-flex;
  min-width: 1.35rem;
  justify-content: center;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  font-size: 0.78rem;
}
.contact-app-tab.is-active .contact-app-count {
  background: rgba(255,255,255,0.18);
}
.quotes-notify-card {
  margin: 0 0 1rem;
}
.quotes-notify-form {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 760px) {
  .quotes-notify-form {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    align-items: end;
  }
}
.quotes-notify-fields {
  display: grid;
  gap: 0.65rem;
}
.quotes-notify-fields input {
  width: 100%;
}
.quotes-notify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.quotes-app-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  align-items: start;
}
@media (max-width: 900px) {
  .quotes-app-layout { grid-template-columns: 1fr; }
}
.quotes-app-rows {
  display: flex;
  flex-direction: column;
}
.quotes-app-row {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.quotes-app-row:last-child { border-bottom: 0; }
.quotes-app-row:hover { background: #fafafa; }
.quotes-app-row.is-selected {
  background: #f5f5f5;
  box-shadow: inset 3px 0 0 #111;
}
.quotes-app-row-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.quotes-app-detail {
  position: sticky;
  top: 1rem;
}
.quotes-app-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.quotes-app-detail-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.quotes-app-detail-actions form { margin: 0; }
.quotes-app-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.quotes-app-contacts a { color: #FF6000; font-weight: 600; }
.quotes-app-summary { margin: 0 0 1rem; }
.quotes-app-row-photos {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.4rem;
}
.quotes-app-row-photos img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 0.4rem;
  border: 1px solid var(--line);
  background: #f4f4f4;
}
.quotes-app-photos { margin-top: 0.5rem; }
.quotes-app-photo-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin-top: 0.5rem;
}
.quotes-app-photo {
  display: grid;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.78rem;
}
.quotes-app-photo img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
}
.quotes-app-notes { margin-top: 1rem; }
.contact-app-list {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
}
.contact-app-item-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-app-name {
  display: block;
  font-size: 1.05rem;
}
.contact-app-meta {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
}
.contact-app-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.contact-app-item-actions form { margin: 0; }
.contact-app-dealt label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fafafa;
}
.contact-app-dealt input { margin: 0; }
.contact-app-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0.85rem 0 0.65rem;
  font-size: 0.92rem;
}
.contact-app-contacts a { color: #FF6000; font-weight: 600; }
.contact-app-message {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
  color: #222;
}
@media (max-width: 1100px) {
  body.storefront .site-header .nav {
    gap: 0.85rem;
  }
  body.storefront .site-tool-btn span:not(.site-basket-count) {
    display: none;
  }
  body.storefront .site-header-tools {
    padding-left: 0.75rem;
  }
}
@media (max-width: 900px) {
  html:has(body.site-nav-open) {
    overflow: hidden;
  }
  body.storefront.site-nav-open {
    overflow: hidden;
  }
  body.storefront .site-header .inner {
    grid-template-columns: 1fr auto;
    gap: 0.5rem 0.35rem;
    min-height: 4.35rem;
    padding: 0.7rem 0;
  }
  body.storefront .site-header .nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.15rem;
    width: 100%;
    margin: 0;
    padding: 6.4rem 1.5rem 2.5rem;
    background: #000;
    color: #fff;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    border: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  body.storefront.site-nav-open .site-header .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.has-site-admin-bar.storefront .site-header .nav {
    top: 52px;
  }
  body.storefront.site-nav-open .site-header .site-brand-logo {
    visibility: hidden;
  }
  body.storefront.site-nav-open .site-header {
    background: transparent !important;
    border-bottom-color: transparent;
  }
  body.storefront.site-nav-open .site-header-tools > .site-tool-btn:not(.site-menu-toggle),
  body.storefront.site-nav-open .site-basket {
    display: none;
  }
  body.storefront .site-nav-mobile-brand {
    display: flex;
    justify-content: center;
    margin: 0 0 1.75rem;
  }
  body.storefront .hh-lockup-menu .hh-oval {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    padding: 0.9em 1.6em 0.95em;
    border-width: 2.5px;
  }
  body.storefront .site-header .nav > .site-nav-link,
  body.storefront .site-header .nav .site-nav-dropdown-toggle {
    justify-content: center;
    width: 100%;
    max-width: 22rem;
    padding: 0.85rem 0.5rem;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    white-space: normal;
    text-align: center;
  }
  body.storefront .site-nav-dropdown {
    width: 100%;
    max-width: 22rem;
    flex-direction: column;
    align-items: center;
    align-self: center;
  }
  body.storefront .site-nav-dropdown-panel {
    position: static;
    left: auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 0.45rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  body.storefront .site-nav-dropdown-panel::before {
    display: none;
  }
  body.storefront .site-nav-dropdown-panel-inner {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 0;
  }
  body.storefront .site-nav-dropdown-panel a {
    padding: 0.55rem 0.75rem;
    color: #bdbdbd;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
  }
  body.storefront .site-header-tools {
    order: 2;
    width: auto;
    justify-content: flex-end;
    gap: 0.05rem;
    border-left: 0;
    padding-left: 0;
    position: relative;
    z-index: 55;
  }
  body.storefront .site-menu-toggle {
    display: inline-flex;
  }
  body.storefront.site-nav-open .site-menu-icon-open {
    display: none;
  }
  body.storefront.site-nav-open .site-menu-icon-close {
    display: block;
  }
  body.storefront .site-tool-btn,
  body.storefront .site-menu-toggle {
    padding: 0.5rem 0.45rem;
  }
  body.storefront .site-tool-btn svg,
  body.storefront .site-menu-toggle svg {
    width: 1.55rem;
    height: 1.55rem;
  }
  body.storefront .site-basket-toggle {
    position: relative;
  }
  body.storefront .site-basket-count {
    position: absolute;
    top: 0.2rem;
    right: 0.1rem;
    min-width: 1.05rem;
    height: 1.05rem;
    font-size: 0.62rem;
    padding: 0 0.22rem;
  }
  body.storefront .site-basket-panel {
    right: 0;
    left: auto;
    z-index: 70;
  }
}
@media (max-width: 720px) {
  body.storefront .site-topbar-note { display: none; }
  body.storefront .site-topbar-inner {
    justify-content: flex-end;
  }
  body.storefront .site-header .inner {
    min-height: auto;
    padding: 1rem 0;
  }
  body.storefront .hh-lockup-header .hh-oval {
    font-size: 0.96rem;
  }
}
body.storefront .site-footer {
  background: #000;
  border-top: 1px solid #232323;
  color: #c4c4c4;
}
body.storefront .site-footer .muted { color: #9a9a9a; }
body.storefront .site-footer .label { color: #FF6000; }
body.storefront .site-footer-rich {
  padding: 0;
  margin-top: auto;
}
body.storefront .site-footer-rich .inner { display: none; }
body.storefront .site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 2.5rem 2rem;
  padding: 3.25rem 0 2.75rem;
}
body.storefront .site-footer-heading {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF6000;
}
body.storefront .site-footer-blurb {
  margin: 1.15rem 0 0;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #b0b0b0;
}
body.storefront .site-footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
body.storefront .site-footer-social a {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3a3a;
  color: #fff;
  background: #141414;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
body.storefront .site-footer-social a:hover {
  border-color: #FF6000;
  color: #FF6000;
  background: #1a1a1a;
}
body.storefront .site-footer-reviews {
  margin-top: 1.2rem;
  max-width: 22rem;
}
body.storefront .site-footer-links,
body.storefront .site-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
body.storefront .site-footer-links a,
body.storefront .site-footer-contact-list a {
  color: #d2d2d2;
  font-size: 0.92rem;
}
body.storefront .site-footer-links a:hover,
body.storefront .site-footer-contact-list a:hover {
  color: #FF6000;
}
body.storefront .site-footer-contact address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #d2d2d2;
}
body.storefront .site-footer-company {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #8f8f8f;
}
body.storefront .site-footer-bottom {
  border-top: 1px solid #232323;
  background: #0a0a0a;
}
body.storefront .site-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: #8a8a8a;
}
body.storefront .site-footer-bottom-inner p { margin: 0; }
.slikah-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #8a8a8a;
  text-decoration: none;
  white-space: nowrap;
}
.slikah-credit-label {
  font-size: 0.72rem;
  font-weight: 500;
}
.slikah-credit-brand {
  color: inherit;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.slikah-credit-brand.hendys-mark {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}
.slikah-credit-brand:hover {
  color: #fff;
}
.slikah-credit-status {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
  color: #8a8a8a;
}
body.storefront .hh-lockup-footer .hh-oval {
  font-size: 1.15rem;
}
@media (max-width: 960px) {
  body.storefront .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body.storefront .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem;
  }
  body.storefront .site-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
body.storefront .btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  border-radius: 0.35rem;
}
body.storefront .btn-primary:hover {
  background: #e55600;
  border-color: #e55600;
}
body.storefront .btn-primary:focus {
  box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.35);
}
body.storefront .btn-secondary {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
  border-radius: 0.35rem;
}
body.storefront .btn-outline {
  border-radius: 0.35rem;
}
body.storefront .hero {
  background:
    linear-gradient(135deg, rgba(255, 96, 0, 0.18) 0%, transparent 42%),
    linear-gradient(180deg, #000 0%, #232323 100%);
}
body.storefront .hero .brand.hh-hero-brand {
  font-family: Manrope, system-ui, sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
}
body.storefront .hero .hh-hines { color: #fff; }
body.storefront .hero-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
body.storefront .hero-btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}
body.storefront .site-logo-img {
  max-height: 2.4rem;
  width: auto;
}
body.storefront .site-logo-img-footer {
  max-height: 2rem;
}

@media (max-width: 720px) {
  .branding-boxes-tight { grid-template-columns: 1fr; }
}

.branding-box {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.branding-box-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.branding-box-card > .branding-box {
  padding: 1.15rem 1.1rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.branding-box-card.is-complete {
  border-color: #d1fae5;
}
.branding-box-main {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
  color: inherit;
}
.branding-box-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}
.branding-tick-form { margin: 0; }
.branding-file-hint {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: #166534;
  font-weight: 600;
}
.branding-notes-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.branding-notes-btn:hover {
  color: var(--ink);
  border-color: #d4d4d4;
  background: #fafafa;
}
.branding-notes-btn.has-notes {
  color: var(--ink);
  border-color: #d4d4d4;
  background: #fafafa;
}
.branding-notes-btn[aria-expanded="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.branding-notes-panel {
  border-top: 1px solid var(--line);
  padding: 1rem 1.1rem 1.15rem;
  background: #fafafa;
}
.branding-notes-panel[hidden] { display: none !important; }
.branding-notes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.branding-notes-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  border-radius: 0.4rem;
}
.branding-notes-close:hover { color: var(--ink); background: #eee; }
.branding-notes-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--body);
  background: #fff;
  resize: vertical;
  min-height: 7rem;
}
.branding-notes-form textarea:focus {
  outline: none;
  border-color: #a3a3a3;
  box-shadow: 0 0 0 3px rgba(229,229,229,0.8);
}
.branding-notes-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.branding-notes-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--body);
  white-space: pre-wrap;
}
.branding-tick {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1.5px solid #d4d4d4;
  background: #f5f5f5;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 0;
  align-self: center;
  padding: 0;
  cursor: default;
}
button.branding-tick { cursor: pointer; font: inherit; }
button.branding-tick:hover { border-color: #a3a3a3; }
.branding-tick.is-pending {
  opacity: 0.55;
  filter: grayscale(1);
}
.branding-tick.is-done {
  opacity: 1;
  border-color: #86efac;
  background: #ecfdf5;
  color: #166534;
}
.branding-box.is-complete {
  border-color: #d1fae5;
}
.branding-files-card {
  margin-top: 1rem;
}
.branding-files-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.branding-upload-compact {
  margin: 0;
}
.branding-add-file-btn {
  cursor: pointer;
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}
.branding-add-file-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}
.branding-upload-progress {
  margin: 0 0 0.85rem;
}
.branding-upload-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}
.branding-upload-progress-bar {
  animation: none;
  width: 0;
  transition: width 0.15s linear;
}
.branding-files-empty {
  margin: 0;
  font-size: 0.9rem;
}
.branding-file-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.branding-file-actions form { margin: 0; }
.website-logo-preview-dark {
  background: #000 !important;
  border-color: #232323 !important;
  min-height: 7rem;
}
.branding-upload-form .field { margin-bottom: 0.85rem; }
.branding-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.branding-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fafafa;
}
.branding-file-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  font-size: 0.9rem;
}
.branding-file-meta a {
  color: var(--ink);
  font-weight: 600;
  word-break: break-all;
}

/* Product categories */
.products-toolbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.products-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: min(240px, 70vw);
}
.products-search input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.55rem 2rem 0.55rem 0.8rem;
  font: inherit;
  background: #fff;
}
.products-search input[type="search"]:focus {
  outline: none;
  border-color: #a3a3a3;
  box-shadow: 0 0 0 3px rgba(163,163,163,0.22);
}
.products-search-clear {
  position: absolute;
  right: 0.45rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}
.products-search-clear:hover { color: var(--ink); background: #f5f5f5; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.add-product-card {
  margin-bottom: 1rem;
  display: none;
}
.add-product-card.is-open { display: block; }
.add-product-card .add-member-form[hidden] { display: none !important; }
.add-product-card .add-member-form { margin: 0; padding: 0; border: 0; }
.product-list-card {
  padding: 0;
  overflow: hidden;
}
.product-list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.product-list-toolbar > .muted {
  margin: 0;
  max-width: 38rem;
  font-size: 0.88rem;
}
.product-list-toolbar .products-category-filter {
  margin-left: auto;
}
.products-category-filter {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 200px;
}
.products-category-filter label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.products-category-filter select {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  background: #fff;
  min-width: 220px;
}
.product-drag-col,
.product-drag-cell {
  width: 2.1rem;
  padding-left: 0.45rem !important;
  padding-right: 0.15rem !important;
  vertical-align: middle;
}
.product-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.7rem;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: -0.08em;
  cursor: grab;
  user-select: none;
}
.product-drag-handle:hover { color: var(--ink); }
.product-block.is-dragging {
  opacity: 0.55;
}
.product-block.drag-over .product-row > td {
  box-shadow: inset 0 2px 0 #a3a3a3;
}
#product-save-status {
  margin: 0;
  padding: 0.45rem 1rem 0;
  font-size: 0.8rem;
}
.bulk-price-tools {
  display: grid;
  grid-template-columns: minmax(0, 36rem);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.bulk-price-tools[hidden],
.bulk-price-tool[hidden] {
  display: none !important;
}
.bulk-price-tool h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.15rem;
}
.bulk-price-tool .muted {
  margin: 0 0 1rem;
  font-size: 0.88rem;
}
.bulk-price-tool .field { margin-bottom: 0.85rem; }
.bulk-price-tool select,
.bulk-price-tool input[type="number"] {
  width: 100%;
}
.bulk-price-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.bulk-price-preview {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fafafa;
}
.bulk-price-preview[hidden] { display: none !important; }
.bulk-price-preview .label { margin: 0 0 0.45rem; }
.bulk-price-preview ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bulk-price-preview li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  padding: 0.2rem 0;
}
.bulk-price-preview li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bulk-price-preview .help { margin: 0.55rem 0 0; }
.admin-top-actions .btn.is-open {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.bulk-price-table th:first-child,
.bulk-price-table td:first-child {
  min-width: 22rem;
  width: 42%;
}
.bulk-price-table .bulk-edit-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.15rem 0.2rem;
  margin: -0.15rem -0.2rem;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 0.4rem;
  min-width: 2.5rem;
  max-width: 100%;
}
.bulk-price-table .bulk-edit-btn:hover,
.bulk-price-table .bulk-edit-btn:focus-visible {
  background: #f4f4f5;
  outline: none;
}
.bulk-price-table .bulk-edit-input {
  border: 1px solid #111;
  border-radius: 0.5rem;
  padding: 0.4rem 0.65rem;
  font: inherit;
  box-sizing: border-box;
}
.bulk-price-table .bulk-edit-input.is-name {
  display: block;
  width: 100%;
  min-width: 100%;
  max-width: none;
  min-height: 2.4rem;
}
.bulk-price-table .bulk-edit-input.is-compact {
  width: 7.5rem;
  max-width: 8.5rem;
}
.bulk-margin.is-pos { color: #166534; font-weight: 600; }
.bulk-margin.is-neg { color: #991b1b; font-weight: 600; }
.bulk-margin.is-muted { color: var(--muted); }
.products-category-filter label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.products-category-filter select {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  background: #fff;
}
.category-add-card {
  margin-bottom: 1rem;
  max-width: none;
}
.category-add-head { margin-bottom: 0.85rem; }
.category-add-form {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: end;
}
.category-add-form .field { margin: 0; }
@media (max-width: 800px) {
  .category-add-form { grid-template-columns: 1fr; }
}
body.storefront.shop-page {
  background: #f5f5f5;
  color: var(--body, #222);
}
body.storefront.shop-page main {
  background: #f5f5f5;
}
.shop-store {
  padding: 1.75rem 0 3.5rem;
}
.shop-search {
  position: relative;
  margin-bottom: 1rem;
  z-index: 5;
}
.shop-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-search-field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.85rem;
  padding: 0.2rem 0.85rem 0.2rem 1rem;
  transition: border-color 0.15s ease;
}
.shop-search-field:focus-within {
  border-color: #FF6000;
}
.shop-search-icon {
  flex-shrink: 0;
  color: #8a8a8a;
}
.shop-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 1rem;
  padding: 0.95rem 0;
  outline: none;
}
.shop-search-input::placeholder {
  color: #999;
}
.shop-search-clear {
  border: 0;
  background: transparent;
  color: #777;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.35rem 0.15rem;
}
.shop-search-clear:hover { color: #FF6000; }
.shop-search-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.85rem;
  max-height: min(24rem, 70vh);
  overflow-y: auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.shop-search-result {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
}
.shop-search-result:last-child { border-bottom: 0; }
.shop-search-result:hover,
.shop-search-result.is-active {
  background: #f7f7f7;
}
.shop-search-thumb {
  width: 3.4rem;
  height: 3.4rem;
  background-color: #fff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
}
.shop-search-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.shop-search-copy strong {
  color: #111;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.shop-search-copy span {
  color: #777;
  font-size: 0.8rem;
}
.shop-search-result-price {
  color: #FF6000;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.shop-search-empty {
  padding: 1rem 0.95rem;
  color: #777;
  font-size: 0.92rem;
}
.shop-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.shop-cat {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.shop-cat:hover {
  color: #111;
  border-color: #FF6000;
}
.shop-cat.is-active {
  background: #FF6000;
  border-color: #FF6000;
  color: #fff;
}
.shop-hero {
  margin-top: 0;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}
.shop-banner-edit {
  display: none;
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #111;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
body.is-inline-editing .shop-banner-edit {
  display: block;
}
.shop-banner-edit:hover { background: #fff; }
.cat-all-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.cat-all-row .cat-filter-all { margin: 0; flex: 1; }
.cat-banner-btn {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #f4f4f5 center/cover no-repeat;
  cursor: pointer;
  padding: 0;
}
.cat-banner-btn:not(.has-image) {
  background-image: linear-gradient(135deg, #ececec, #d4d4d4);
}
.cat-item .cat-banner-btn { margin-right: 0.15rem; }
.shop-banner {
  position: relative;
  width: 100%;
  min-height: clamp(12rem, 26vw, 18rem);
  background: #e8e8e8;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.shop-banner-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #ddd center/cover no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.shop-banner-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.shop-banner-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.62) 100%);
  pointer-events: none;
}
.shop-banner-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem 1.35rem 1.85rem;
  color: #fff;
}
.shop-banner-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6000;
}
.shop-banner-text {
  margin: 0.55rem 0 0;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 28rem;
  line-height: 1.2;
  color: #fff;
  transition: opacity 0.22s ease;
}
.shop-banner-text.is-fading {
  opacity: 0;
}
.shop-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  background: #fff;
  border-top: 1px solid #ececec;
}
.shop-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 1rem;
  background: transparent;
  border: 0;
  border-right: 1px solid #ececec;
  text-align: left;
}
.shop-benefit:last-child {
  border-right: 0;
}
.shop-benefit-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-top: 0;
  color: #FF6000;
  background: none;
  border: 0;
}
.shop-benefit-icon svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
}
.shop-benefit strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.01em;
}
.shop-benefit span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.8rem;
  color: #777;
  line-height: 1.35;
}
@media (max-width: 820px) {
  .shop-benefits {
    grid-template-columns: 1fr;
  }
  .shop-benefit {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #ececec;
  }
  .shop-benefit:last-child {
    border-bottom: 0;
  }
}
.shop-filter-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: #777;
}
.shop-filter-note a { color: #FF6000; }
.shop-rail-section {
  margin-top: 2.25rem;
  scroll-margin-top: 7rem;
}
.shop-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}
.shop-rail-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: #111;
  letter-spacing: -0.02em;
}
.shop-rail-count {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.shop-rail-empty {
  margin: 0;
  color: #777;
  font-size: 0.95rem;
}
.shop-rail-intro {
  margin: -0.35rem 0 1rem;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 42rem;
}
.shop-rail-intro.is-empty {
  display: none;
}
body.is-inline-editing .shop-rail-intro.is-empty {
  display: block;
  min-height: 1.55em;
}
body.is-inline-editing .shop-rail-intro.is-empty:empty::before {
  content: "Add a paragraph…";
  color: #bbb;
}
.shop-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1rem;
  padding: 0.15rem 0 0.35rem;
}
@media (max-width: 640px) {
  .shop-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
.shop-rail-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.9rem;
  overflow: hidden;
  color: inherit;
  transition: border-color 0.15s ease;
}
.shop-rail-card:hover {
  border-color: #FF6000;
}
.shop-rail-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #fff;
  overflow: hidden;
}
.product-labels {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  pointer-events: none;
  max-width: calc(100% - 1rem);
}
.shop-rail-card > .product-labels {
  position: static;
  left: auto;
  top: auto;
  z-index: auto;
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0.55rem 0.65rem 0;
}
.product-label {
  display: inline-block;
  background: #FF6000;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding: 0.28rem 0.48rem;
  border-radius: 0.4rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.label-maker-preview {
  margin: 0.65rem 0 0;
}
.label-assign-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  overflow: hidden;
}
.label-assign-item {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.75rem;
  margin: 0;
  min-height: 2.7rem;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: pointer;
}
.label-assign-item:last-child {
  border-bottom: 0;
}
.label-assign-item:hover {
  background: #f7f7f7;
}
.label-assign-item:has(input:checked) {
  background: #fff8f3;
}
.label-assign-item input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid #b3b3b3;
  border-radius: 0.22rem;
  background: #fff;
  justify-self: center;
  display: grid;
  place-items: center;
}
.label-assign-item input:checked {
  border-color: #111;
  background: #111;
}
.label-assign-item input:checked::after {
  content: "";
  width: 0.28rem;
  height: 0.5rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -0.5px);
}
.label-assign-item span {
  min-width: 0;
  font-weight: 600;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.cart-line-copy {
  flex: 1 1 12rem;
  min-width: 0;
}
.price-breakdown {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.22rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.price-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}
.price-breakdown li span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--body);
}
.price-breakdown li .is-included {
  color: #15803d;
  font-weight: 600;
}
.price-breakdown-total {
  margin-top: 0.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--body);
}
.price-breakdown-compact {
  font-size: 0.75rem;
  margin-top: 0.3rem;
}
.price-breakdown-compact li span:last-child {
  font-weight: 600;
}
.cart-line-media,
.checkout-item-media,
.dashboard-order-thumb,
.order-item-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.5rem;
  background: #eee center/cover no-repeat;
  overflow: hidden;
}
.cart-line-media .product-label,
.checkout-item-media .product-label,
.dashboard-order-thumb .product-label,
.order-item-thumb .product-label,
.site-basket-thumb .product-label {
  font-size: 0.55rem;
  padding: 0.16rem 0.28rem;
}
.checkout-items {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.checkout-item,
.dashboard-order-item,
.order-item-product {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.checkout-item-link {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.checkout-item-link:hover strong {
  text-decoration: underline;
}
.checkout-item-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.site-basket-thumb {
  position: relative;
  overflow: hidden;
}
.site-basket-thumb .product-labels {
  left: 0.2rem;
  top: 0.2rem;
  max-width: calc(100% - 0.4rem);
}
.shop-rail-img {
  position: absolute;
  inset: 0.7rem;
  background-color: #fff;
  background-position: center 50%;
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.2s ease;
}
.shop-rail-img-hover { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .shop-rail-card:hover .shop-rail-img-hover { opacity: 1; }
}
.shop-rail-body {
  padding: 0.95rem 1rem 1.1rem;
  display: grid;
  gap: 0.3rem;
}
.shop-rail-body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.02em;
}
.shop-rail-meta {
  margin: 0;
  font-size: 0.82rem;
  color: #777;
}
.shop-rail-price {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #FF6000;
}
.shop-rail-price .price-vat-label {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #888;
}
.shop-more-sizes {
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f7f7f7;
  border-style: dashed;
  border-color: #d4d4d4;
  text-decoration: none;
  min-height: 0;
}
.shop-more-sizes:hover {
  border-color: #FF6000;
  background: #fff;
}
.shop-more-sizes-copy {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem;
  max-width: 11rem;
}
.shop-more-sizes-copy strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.shop-more-sizes-copy span {
  font-size: 0.85rem;
  color: #666;
}

.site-brand-logo {
  display: inline-flex;
  align-items: center;
  max-width: min(240px, 55vw);
}
.site-logo-img {
  display: block;
  height: 2.1rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.site-logo-img-footer {
  height: 1.7rem;
}
.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-footer-logo {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
}
.website-logo-preview {
  margin-top: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.website-logo-preview img {
  max-height: 4.5rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* Categories side panel */
.side-panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.28);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.side-panel-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--line);
  z-index: 1201;
  padding: 1.25rem 1.15rem 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.22s ease;
  box-shadow: -12px 0 40px rgba(0,0,0,0.08);
}
.side-panel.is-open { transform: none; }
.side-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.side-panel-close {
  appearance: none;
  border: 0;
  background: #f5f5f5;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.side-panel-close:hover { color: var(--ink); background: #eee; }
.cat-filter-all {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.cat-filter-all:hover,
.cat-filter-all.is-active {
  background: #f5f5f5;
  color: var(--ink);
  font-weight: 600;
}
.cat-sortable {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}
.cat-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.45rem 0.4rem 0.45rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  cursor: grab;
  overflow: hidden;
}
.cat-item.is-active {
  border-color: #d4d4d4;
  background: #fafafa;
}
.cat-item.is-hidden-store .cat-name { color: var(--muted); }
.cat-hidden-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.category-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.category-chip {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: #fff;
  font-size: 0.88rem;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
}
.category-chip:hover {
  background: var(--soft);
}
.category-chip:has(input:checked) {
  border-color: var(--ink);
  background: #f4f4f5;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.category-chip:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(163,163,163,0.35);
}
.category-chip input {
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  accent-color: var(--ink);
}
.category-chip-name { min-width: 0; }
.category-chip-tag {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.category-chip.is-hidden-store { color: var(--muted); }
.category-checks-hint {
  margin: 0.15rem 0 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.quick-edit .qe-categories {
  grid-column: 1 / -1;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fafafa;
}
.quick-edit .qe-categories > label {
  display: block;
  margin-bottom: 0;
}
.category-store-hide {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.cat-item.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
}
.cat-item.drag-over {
  border-color: #a3a3a3;
}
.cat-handle {
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: -0.08em;
  padding: 0 0.2rem;
  user-select: none;
  flex: 0 0 auto;
}
.cat-name {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.cat-rename-form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  margin: 0;
}
.cat-rename-form[hidden] { display: none !important; }
.cat-rename-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  font: inherit;
  font-size: 0.88rem;
}
.cat-rename-save {
  padding: 0.3rem 0.55rem !important;
  font-size: 0.78rem !important;
  border-radius: 0.5rem !important;
}
.cat-edit-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--faint);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cat-edit-btn:hover,
.cat-item.is-editing .cat-edit-btn {
  color: var(--ink);
  background: #f5f5f5;
}
.cat-edit-btn svg { display: block; pointer-events: none; }
.cat-item.is-editing { cursor: default; overflow: visible; }
.cat-item.is-editing .cat-handle,
.cat-item.is-editing .cat-edit-btn,
.cat-item.is-editing .cat-delete {
  display: none;
}
.cat-delete { margin: 0; flex: 0 0 auto; }
.cat-delete .btn {
  padding: 0.2rem 0.45rem;
  min-width: 0;
  color: var(--faint);
}
.cat-delete .btn:hover { color: #991b1b; }
.cat-save-status {
  font-size: 0.8rem;
  margin: 0 0 0.85rem;
}
.cat-add-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.cat-add-toggle {
  width: 100%;
  justify-content: center;
  gap: 0.4rem;
}
.cat-add-toggle.is-open {
  margin-bottom: 0.75rem;
}
.cat-add-box {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fafafa;
  padding: 0.95rem;
  animation: cat-add-in 0.2s ease;
}
.cat-add-box[hidden] { display: none !important; }
@keyframes cat-add-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.cat-add-box strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.cat-add-form {
  display: grid;
  gap: 0.75rem;
}
.cat-add-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
body.side-panel-open { overflow: hidden; }

.apps-grid-add {
  border-style: dashed;
  background: #fafafa;
}
.apps-grid-add .apps-grid-icon {
  border-style: dashed;
}
.site-admin-app-add .site-admin-app-icon {
  border-style: dashed;
  background: #fafafa;
}
.email-notif-sections {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}
.email-notif-list {
  display: grid;
  gap: 0.75rem;
}
.email-notif-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fafafa;
}
.email-notif-item.is-off { opacity: 0.72; }
.email-notif-item.is-editing { opacity: 1; background: #fff; }
.email-notif-copy { min-width: 0; }
.email-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.email-notif-copy strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}
.email-notif-copy p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}
.email-notif-subject {
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
  color: var(--faint) !important;
}
.email-notif-toggle { margin: 0; flex-shrink: 0; }
.email-notif-edit-btn {
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
}
.email-notif-editor {
  grid-column: 1 / -1;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: 0.2rem;
}
.email-notif-editor[hidden] { display: none !important; }
.email-notif-editor-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.admin-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafafa;
  width: fit-content;
  max-width: 100%;
}
.admin-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.admin-tab:hover { color: var(--ink); }
.admin-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  border: 1px solid var(--line);
}
.smtp-provider-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fafafa;
}
.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .field-row-2 { grid-template-columns: 1fr; }
  .email-notif-item { grid-template-columns: 1fr; }
}
.email-log-table td { vertical-align: top; }
.email-log-status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.email-log-status.is-delivered {
  background: #ecfdf3;
  color: #047857;
}
.email-log-status.is-failed {
  background: #fef2f2;
  color: #b91c1c;
}
.email-log-status.is-skipped {
  background: #f4f4f5;
  color: #52525b;
}

/* Home Hero app — storefront */
.home-hero {
  position: relative;
  min-height: min(78vh, 720px);
  background: #000;
  color: #fff;
  overflow: hidden;
}
.home-hero-track {
  position: absolute;
  inset: 0;
}
.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  background-color: #111;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}
.home-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.home-hero-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  padding: 4rem 0 5.5rem;
}
.home-hero-panel {
  width: min(100%, 28rem);
  aspect-ratio: 1;
  max-height: min(70vh, 28rem);
  background: rgba(0, 0, 0, 0.72);
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  color: #fff;
}
.home-hero-panel h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display, Inter, system-ui, sans-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.home-hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.home-hero-bullets li {
  position: relative;
  padding-left: 1.15rem;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.4;
}
.home-hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #FF6000;
}
.home-hero-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  background: #FF6000;
  border-color: #FF6000;
  color: #fff;
  border-radius: 0.35rem;
  font-weight: 500;
}
.home-hero-btn:hover {
  background: #e55600;
  border-color: #e55600;
  color: #fff;
}
.home-hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.home-hero-nav {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.home-hero-nav:hover { border-color: #FF6000; color: #FF6000; }
.home-hero-dots { display: flex; gap: 0.4rem; }
.home-hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.home-hero-dot.is-active { background: #FF6000; }

/* Home Hero app — admin */
.home-hero-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 52rem;
}
.home-hero-slot {
  padding: 0;
  overflow: hidden;
  margin: 0;
}
.home-hero-slot-preview {
  aspect-ratio: 16 / 10;
  background: #111 center/cover no-repeat;
}
.home-hero-slot-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
}
.home-hero-slot-empty-form {
  margin: 0;
  height: 100%;
}
.home-hero-slot-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 14rem;
  width: 100%;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px dashed #d4d4d4;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease;
  appearance: none;
  font: inherit;
  color: inherit;
}
.home-hero-slot-empty:hover {
  border-color: #FF6000;
  background: #fff8f3;
}
.home-hero-slot-empty-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.home-hero-slot-add-btn {
  margin-top: 0.35rem;
  pointer-events: none;
}
.home-hero-admin-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.home-hero-admin-actions form { margin: 0; }
@media (max-width: 720px) {
  .home-hero-slot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-hero-panel {
    aspect-ratio: auto;
    max-height: none;
    width: 100%;
  }
  .home-hero-inner { padding: 3rem 0 4.5rem; align-items: flex-end; }
}

/* History timeline */
.history-page {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}
.history-page-header {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}
.history-page-title {
  margin: 0.45rem 0 0;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.history-page-intro {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38rem;
}
.history-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.history-timeline-item {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 1.15rem;
  position: relative;
  padding-bottom: 2rem;
}
.history-timeline-item:last-child {
  padding-bottom: 0;
}
.history-timeline-date-slot {
  display: none;
}
.history-timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.history-timeline-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e5e5;
}
.history-timeline-item:first-child .history-timeline-rail::before {
  top: 0.35rem;
}
.history-timeline-item:last-child .history-timeline-rail::before {
  bottom: auto;
  height: 0.35rem;
}
.history-timeline-dot {
  width: 0.72rem;
  height: 0.72rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e65600;
  box-shadow: 0 0 0 4px rgba(230, 86, 0, 0.12);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.history-timeline-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.history-timeline-card:hover {
  border-color: #d4d4d4;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}
.history-timeline-media {
  aspect-ratio: 1 / 1;
  background: #111;
  overflow: hidden;
}
.history-timeline-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.history-timeline-body {
  padding: 1.15rem 1.2rem 1.25rem;
  color: var(--body, #262626);
}
.history-timeline-year {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e65600;
  font-weight: 600;
}
.history-timeline-heading {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink, #0a0a0a);
}
.history-timeline-text {
  margin: 0.55rem 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted, #737373);
}
.history-timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(10, 10, 10, 0.25);
  transition: text-decoration-color 0.15s ease;
}
.history-timeline-link:hover {
  text-decoration-color: var(--ink);
}
.history-timeline-year-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e65600;
  font-weight: 700;
}
@media (min-width: 768px) {
  .history-timeline-item {
    grid-template-columns: 1fr 2.4rem 1fr;
    gap: 0;
    align-items: start;
    padding-bottom: 0;
  }
  .history-timeline-item:last-child {
    padding-bottom: 0;
  }
  .history-timeline-rail {
    grid-column: 2;
    grid-row: 1 / span 1;
    align-self: stretch;
  }
  .history-timeline-rail::before {
    top: 0;
    bottom: 0;
  }
  .history-timeline-item:first-child .history-timeline-rail::before {
    top: 1.5rem;
  }
  .history-timeline-item:last-child .history-timeline-rail::before {
    height: auto;
    bottom: auto;
    top: 0;
    height: 1.5rem;
  }
  .history-timeline-dot {
    margin-top: 1.5rem;
  }
  .history-timeline-date-slot {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.55rem 1.25rem 2rem 0;
    grid-column: 1;
    grid-row: 1;
  }
  .history-timeline-year {
    display: none;
  }
  .history-timeline-card {
    grid-column: 3;
    grid-row: 1;
    margin-bottom: 2rem;
  }
  .history-timeline-item.is-alt .history-timeline-date-slot {
    grid-column: 3;
    justify-content: flex-start;
    padding: 1.55rem 0 2rem 1.25rem;
  }
  .history-timeline-item.is-alt .history-timeline-card {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 2rem;
  }
}
@media (min-width: 960px) {
  .history-timeline {
    max-width: 54rem;
    margin: 0 auto;
  }
  .history-timeline-year-label {
    font-size: 0.85rem;
  }
}

/* Timeline admin */
.timeline-admin-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
}
.timeline-admin-list {
  display: grid;
  gap: 0.85rem;
}
.timeline-admin-item {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}
@media (max-width: 640px) {
  .timeline-admin-item {
    grid-template-columns: 1fr;
  }
}
.timeline-admin-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.6rem;
  background: #111 center/cover no-repeat;
}
.timeline-admin-media-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.timeline-admin-fields {
  display: grid;
  gap: 0.65rem;
}
.timeline-admin-fields .field {
  margin: 0;
}
.timeline-admin-fields .field label {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}
.timeline-admin-fields textarea {
  resize: vertical;
  min-height: 3rem;
}
.timeline-admin-row {
  display: flex;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .timeline-admin-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.timeline-admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.timeline-admin-add {
  max-width: 36rem;
}
.timeline-admin-add .field {
  margin-bottom: 0.5rem;
}

/* Latest Installs */
.installs-admin-list {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}
.installs-admin-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
}
.installs-admin-thumb {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.7rem;
  background: #111 center/cover no-repeat;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.installs-admin-copy { flex: 1; min-width: 0; }
.installs-admin-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.installs-admin-actions form { margin: 0; }
.installs-intro {
  max-width: 46rem;
}
.installs-intro h1 {
  margin: 0.45rem 0 1.25rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.installs-intro-note {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted, #666);
}
.installs-process {
  list-style: none;
  margin: 0;
  padding: 0;
}
.installs-process li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.installs-process li:last-child { border-bottom: 0; }
.installs-process-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.installs-process p {
  margin: 0.2rem 0 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted, #666);
}
.installs-process strong {
  color: var(--ink, #111);
  font-weight: 650;
}
.installs-gallery {
  margin: 0;
}
.installs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.installs-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--line, #e5e5e5);
  background: #111;
}
.installs-gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.installs-gallery-item:hover img {
  transform: scale(1.04);
}
.installs-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 0.85rem 0.7rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.installs-gallery-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted, #666);
}
@media (max-width: 520px) {
  .installs-gallery-caption {
    padding: 1.4rem 0.6rem 0.55rem;
    font-size: 0.68rem;
  }
}
.installs-why {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.installs-why li {
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 0.85rem;
  background: #fafafa;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted, #666);
}
.installs-why strong {
  color: var(--ink, #111);
}
.installs-intro-close {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink, #111);
  font-weight: 600;
}
.installs-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.installs-feed {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line, #e5e5e5);
}
.installs-index-only .installs-feed {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.installs-feed-title {
  margin: 0.4rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}
.installs-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
}
.installs-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  color: inherit;
  transition: border-color 0.15s ease;
}
.installs-card:hover { border-color: #d4d4d4; }
.installs-card-media {
  aspect-ratio: 16 / 10;
  background: #111 center/cover no-repeat;
}
.admin-body .is-image-pan {
  cursor: ns-resize;
  touch-action: none;
}
.has-site-admin-bar .is-image-pan {
  cursor: inherit;
  touch-action: auto;
}
body.is-inline-editing.has-site-admin-bar .is-image-pan {
  cursor: ns-resize;
  touch-action: none;
}
body.is-inline-editing.has-site-admin-bar .content-banner.is-image-pan .content-banner-inner,
body.is-inline-editing.has-site-admin-bar .content-banner.is-image-pan .content-banner-inner * {
  pointer-events: none;
}
body.is-inline-editing.has-site-admin-bar .content-banner.is-image-pan [data-inline-editable],
body.is-inline-editing.has-site-admin-bar .content-banner.is-image-pan .inline-change-image-btn,
body.is-inline-editing.has-site-admin-bar .content-banner.is-image-pan [data-media-pick] {
  pointer-events: auto;
}
.has-site-admin-bar .shop-banner.is-image-pan {
  cursor: default;
  touch-action: auto;
}
.has-site-admin-bar .shop-rail-card .is-image-pan,
.has-site-admin-bar .shop-rail-img.is-image-pan {
  cursor: pointer;
  touch-action: auto;
}
body.is-inline-editing.has-site-admin-bar .shop-banner.is-image-pan,
body.is-inline-editing.has-site-admin-bar .shop-rail-img.is-image-pan {
  cursor: ns-resize;
  touch-action: none;
}
body.is-inline-editing.has-site-admin-bar .shop-banner-inner,
body.is-inline-editing.has-site-admin-bar .shop-banner-inner * {
  pointer-events: none;
}
body.is-inline-editing .shop-banner-edit,
body.is-inline-editing .shop-banner-inner [data-inline-editable] {
  pointer-events: auto;
}
.has-site-admin-bar .shop-rail-card:hover .shop-rail-img-hover {
  opacity: 0;
  pointer-events: none;
}
.has-site-admin-bar .is-image-pan.is-panning,
.admin-body .is-image-pan.is-panning {
  cursor: ns-resize;
  user-select: none;
}
.installs-card-body { padding: 1rem 1.1rem 1.15rem; }
.installs-card-meta {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.installs-card h2,
.installs-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.installs-card p {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.install-article-meta {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}
.install-article-figure {
  margin: 1.5rem 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
}
.install-article-figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 28rem;
  object-fit: cover;
}
.install-gallery {
  margin: 1.5rem 0;
}
.install-gallery-viewport {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
  touch-action: pan-y;
  isolation: isolate;
}
.install-gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.install-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.install-gallery-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 28rem;
  object-fit: cover;
}
.install-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.install-gallery-nav:hover {
  background: #fff;
}
.install-gallery-nav.is-prev { left: 0.7rem; }
.install-gallery-nav.is-next { right: 0.7rem; }
.install-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}
.install-gallery-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d4d4d4;
  cursor: pointer;
}
.install-gallery-dot.is-active {
  background: var(--ink, #111);
  transform: scale(1.15);
}
.install-article-body {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--body);
}
.install-article-body p { margin: 0 0 1rem; }
.install-article-body p:last-child { margin-bottom: 0; }
.install-article-body h2 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.install-article-body h3 {
  margin: 1.3rem 0 0.45rem;
  font-size: 1.15rem;
}
.install-article-body ul,
.install-article-body ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}
.install-article-body li { margin: 0.25rem 0; }
.install-article-body a { text-decoration: underline; }

.install-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 24rem);
  gap: 1.25rem;
  align-items: start;
}
.install-edit-aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.install-edit-aside .media-pick-btn {
  width: 100%;
  justify-items: stretch;
}
.install-cover-preview {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
}
.install-edit-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}
.install-editor-field { margin-top: 0.35rem; }
.install-editor {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
}
.install-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.install-editor-toolbar button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0.45rem;
  min-height: 2rem;
  padding: 0.2rem 0.55rem;
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink);
  cursor: pointer;
}
.install-editor-toolbar button:hover {
  background: #fff;
  border-color: var(--line);
}
.install-editor-sep {
  width: 1px;
  background: var(--line);
  margin: 0.2rem 0.25rem;
}
.install-editor-surface {
  min-height: 22rem;
  padding: 1.1rem 1.15rem 1.4rem;
  font-size: 1.12rem;
  line-height: 1.7;
  outline: none;
}
.install-editor-surface.is-empty:before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}
.install-editor-surface p { margin: 0 0 0.85rem; }
.install-editor-surface h2 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
}
.install-editor-surface h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}
.install-editor-surface ul,
.install-editor-surface ol {
  margin: 0 0 0.85rem 1.2rem;
  padding: 0;
}
@media (max-width: 980px) {
  .install-edit-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .installs-admin-item { flex-wrap: wrap; }
}

/* Home hero search — modern centred search */
.home-hero-search {
  position: relative;
  min-height: min(86vh, 820px);
  overflow: visible;
  color: #fff;
  background: #000;
}
.home-hero-fades {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.home-hero-fade {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 7s ease;
}
.home-hero-fade.is-active {
  opacity: 1;
  transform: scale(1);
}
.home-hero-fade.is-static,
.home-hero-fade.is-static.is-active {
  opacity: 1;
  transform: none;
  transition: none;
}
.home-hero-fade-fallback {
  background:
    linear-gradient(135deg, rgba(255,96,0,0.25), transparent 45%),
    linear-gradient(180deg, #111 0%, #000 100%);
}
.home-hero-search .home-hero-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.home-hero-search-inner {
  position: relative;
  z-index: 2;
  min-height: min(86vh, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.75rem;
  padding: 4.5rem 0 4rem;
  overflow: visible;
}
.home-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.home-hero-sub {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero-search {
  width: min(100%, 52rem);
  margin-top: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  overflow: visible;
  text-align: left;
}
.hero-search-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.45rem;
  background: rgba(0,0,0,0.28);
  border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden;
}
.hero-search-tab {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font: inherit;
  font-size: clamp(0.72rem, 1.55vw, 0.88rem);
  font-weight: 500;
  padding: 0.7rem 0.35rem;
  border-radius: 0.85rem;
  cursor: pointer;
}
.hero-search-tab:hover { color: #fff; }
.hero-search-tab.is-active {
  background: #fff;
  color: #111;
}
.hero-search-panels {
  padding: 1rem 1rem 1.1rem;
  overflow: visible;
  position: relative;
  z-index: 2;
}
.hero-search-panel[hidden] { display: none !important; }
.hero-search-fields {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}
.hero-search-fields-3 {
  grid-template-columns: 1fr 1fr 1fr auto;
}
.hero-search-fields-install {
  grid-template-columns: 1fr 1fr minmax(10.5rem, 1.2fr) auto;
  align-items: end;
}
.hero-search-fields-survey {
  grid-template-columns: 1.2fr 1fr auto;
}
.hero-search-fields-removal {
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
}
.hero-remove-slot {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.hero-remove-slot-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.hero-remove-old-btn {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.88);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.8rem 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.hero-remove-old-btn:hover {
  border-color: #FF6000;
  color: #fff;
}
.hero-remove-old-btn[hidden] {
  display: none !important;
}
.hero-old-tank-field {
  display: none !important;
  margin: 0;
  width: 100%;
}
.hero-old-tank-field:not([hidden]) {
  display: block !important;
}
.hero-search-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.hero-search-field > span:not(.sr-only) {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.hero-search-field input[type="date"] {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background-color: rgba(12,12,12,0.88);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  appearance: none;
  color-scheme: dark;
}
.hero-search-field input[type="date"]:focus {
  outline: none;
  border-color: #FF6000;
  box-shadow: 0 0 0 3px rgba(255,96,0,0.25);
}
.hero-search-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.85;
  cursor: pointer;
}

/* Custom dark hero dropdowns */
.hero-dd {
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 1;
}
.hero-dd.is-open {
  z-index: 50;
}
.hero-dd-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.hero-dd-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(12,12,12,0.92);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hero-dd-trigger:hover {
  border-color: rgba(255,255,255,0.34);
  background: rgba(18,18,18,0.96);
}
.hero-dd.is-open .hero-dd-trigger,
.hero-dd-trigger:focus {
  outline: none;
  border-color: #FF6000;
  box-shadow: 0 0 0 3px rgba(255,96,0,0.25);
}
.hero-dd-trigger.is-placeholder {
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}
.hero-dd-trigger-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-dd-chevron {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.hero-dd.is-open .hero-dd-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}
.hero-dd-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  bottom: auto;
  z-index: 60;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: min(16rem, 45vh);
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: #111;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}
.hero-dd-menu[hidden] {
  display: none !important;
}
.hero-dd-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.88);
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  cursor: pointer;
}
.hero-dd-option:hover,
.hero-dd-option.is-active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.hero-dd-option.is-selected {
  background: rgba(255,96,0,0.18);
  color: #fff;
}
.hero-dd-option:disabled,
.hero-dd-option.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.hero-dd-option.is-selected:hover {
  background: rgba(255,96,0,0.26);
}
.request-details-wrap {
  max-width: 44rem;
}
.request-details-wrap h1 {
  margin: 0.45rem 0 0.55rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}
.request-details-lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
}
.request-details-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 1.35rem 1.25rem;
}
.request-details-form .field {
  margin-bottom: 0.85rem;
}
.request-details-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font: inherit;
  padding: 0.7rem 0.8rem;
  resize: vertical;
}
.request-details-form textarea:focus {
  border-color: #FF6000;
  outline: none;
}
.request-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.install-photos-form {
  margin-top: 0.35rem;
}
.install-photo-slots {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}
.install-photo-slot {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px dashed #cfcfcf;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.install-photo-slot:hover,
.install-photo-slot.has-photo {
  border-color: #FF6000;
  background: #fff8f3;
}
.install-photo-slot-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.install-photo-camera {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #FF6000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.install-photo-slot:hover .install-photo-camera,
.install-photo-slot.has-photo .install-photo-camera {
  border-color: #FF6000;
  background: #fff8f3;
}
.install-photo-slot-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}
.install-photo-slot-title {
  font-weight: 700;
  color: #111;
}
.install-photo-slot-hint {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.45;
}
.install-photo-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.35rem;
  border-radius: 0.5rem;
  background: #ddd center / cover no-repeat;
}
.install-photo-preview[hidden] {
  display: none !important;
}
.install-photo-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.install-photo-pick {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.install-photo-filename {
  font-size: 0.88rem;
}
.install-photo-slot input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.install-photo-slot {
  position: relative;
}
.install-photos-actions {
  margin-top: 0.25rem;
}
.install-photos-skip-note {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Upload overlay */
.upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.upload-overlay[hidden] {
  display: none !important;
}
.upload-overlay-inner {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.upload-overlay-inner svg {
  margin-bottom: 1rem;
}
.upload-overlay-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #1a1a1a;
}
.upload-overlay-hint {
  font-size: 0.85rem;
  color: #888;
  margin: 0 0 1.25rem;
}
.upload-progress-track {
  width: 100%;
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  background: #FF6000;
  border-radius: 3px;
  width: 0;
  animation: uploadProgress 8s ease-out forwards;
}
@keyframes uploadProgress {
  0%   { width: 0; }
  15%  { width: 25%; }
  40%  { width: 55%; }
  70%  { width: 80%; }
  100% { width: 95%; }
}

.hero-search-submit {
  background: #FF6000;
  border-color: #FF6000;
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.85rem 1.2rem;
  white-space: nowrap;
  font-weight: 600;
}
.hero-search-submit:hover {
  background: #e55600;
  border-color: #e55600;
  color: #fff;
}
.hero-search-emergency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.35rem 0.15rem;
}
.hero-search-emergency strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.hero-search-emergency p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}
.quote-summary {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.quote-summary > div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.quote-summary dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-summary dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}
.quote-matches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.quote-matches li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fafafa;
  font-size: 0.92rem;
}
.hero-mobile-btns {
  display: none;
}
@media (max-width: 860px) {
  .hero-search-fields,
  .hero-search-fields-3,
  .hero-search-fields-install,
  .hero-search-fields-survey,
  .hero-search-fields-removal {
    grid-template-columns: 1fr;
  }
  .hero-search-submit { width: 100%; }
  .hero-remove-old-btn { white-space: normal; }
  .hero-search-tabs { grid-template-columns: 1fr; }
  .hero-mobile-btns {
    display: grid;
    gap: 0.5rem;
    padding: 0.45rem;
  }
  .hero-quote-open {
    display: block;
    width: 100%;
    color: #fff;
    border-radius: 0.85rem;
    padding: 0.95rem 1.2rem;
    font-weight: 700;
    font-size: 1.02rem;
  }
  .hero-quote-open-install {
    background: #FF6000;
    border-color: #FF6000;
  }
  .hero-quote-open-install:hover {
    background: #e55600;
    border-color: #e55600;
  }
  .hero-quote-open-buy {
    background: #1a1a1a;
    border-color: #1a1a1a;
  }
  .hero-quote-open-buy:hover {
    background: #333;
    border-color: #333;
  }
  .hero-search:not(.is-quote-open) .hero-search-tabs,
  .hero-search:not(.is-quote-open) .hero-search-panels {
    display: none;
  }
  .hero-search.is-quote-open .hero-mobile-btns {
    display: none;
  }
}

/* Homepage feature tiles + about + installs band */
.home-feature-tiles {
  padding: 0;
  background: #000;
}
.home-feature-tiles-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem;
  box-sizing: border-box;
}
.home-feature-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #1a1a1a center/cover no-repeat;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.home-feature-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.25s ease;
}
.home-feature-tile-dark .home-feature-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.78) 100%);
}
.home-feature-tile-orange .home-feature-overlay {
  background: linear-gradient(180deg, rgba(255,96,0,0.45) 0%, rgba(180,55,0,0.82) 100%);
}
.home-feature-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}
.home-feature-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}
.home-feature-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.home-feature-btn {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.28);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.home-feature-tile:hover .home-feature-btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.home-feature-tile:hover {
  transform: none;
}
.home-feature-tile:hover .home-feature-overlay {
  opacity: 0.92;
}
.home-about {
  background: #0a0a0a;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}
.home-about-inner {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
}
.home-about h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  color: #fff;
}
.home-about-copy {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #bdbdbd;
}
.home-about-copy p { margin: 0; }
.home-about-cta a {
  color: #FF6000;
  font-weight: 600;
}
.home-about-cta a:hover { text-decoration: underline; }
.home-installs {
  background: #000;
}
.home-installs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.home-installs-head .label {
  color: #FF6000;
}
.home-installs-head h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
}
.home-installs-grid {
  margin-top: 1.5rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .home-installs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .home-installs-grid { grid-template-columns: 1fr; }
}
body.storefront.home-page {
  background: #000;
  color: #d6d6d6;
}
body.storefront.home-page main {
  background: #000;
}
body.storefront.home-page .home-installs .btn-secondary {
  background: transparent;
  border-color: #3a3a3a;
  color: #fff;
}
body.storefront.home-page .home-installs .btn-secondary:hover {
  border-color: #FF6000;
  color: #FF6000;
}
body.storefront.home-page .installs-card {
  background: #111;
  border-color: #242424;
  color: #d6d6d6;
  border-radius: 0;
}
body.storefront.home-page .installs-card:hover {
  border-color: #FF6000;
}
body.storefront.home-page .installs-card h2,
body.storefront.home-page .installs-card h3 {
  color: #fff;
}
body.storefront.home-page .installs-card-meta,
body.storefront.home-page .installs-card p,
body.storefront.home-page .home-installs .muted {
  color: #9a9a9a;
}
body.storefront .installs-card:hover {
  border-color: #FF6000;
}
@media (max-width: 820px) {
  .home-feature-tiles-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .home-feature-tile {
    aspect-ratio: 16 / 9;
  }
}

/* Product profile */
.product-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}
.product-gallery-main {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}
.product-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}
.product-gallery-image.is-active {
  display: block;
}
.product-gallery-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.product-gallery-thumb {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
.product-gallery-thumb.is-active {
  border-color: #FF6000;
  box-shadow: inset 0 0 0 1px #FF6000;
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-profile-info h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.product-size-pill { margin-top: 0.75rem; }
.product-profile-desc-wrap {
  margin-top: 1rem;
}
.product-profile-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.product-profile-desc.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-profile-read-more {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.product-profile-read-more:hover {
  color: #e65600;
}
.product-features {
  margin-top: 1.35rem;
}
.product-features h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}
.product-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.product-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}
.product-feature-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  color: #FF6000;
  background: #fff4ed;
  border: 1px solid #ffd4b8;
  border-radius: 0.65rem;
}
.product-feature-copy h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}
.product-feature-copy p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.product-block-title {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.product-specs-block {
  margin-top: 1.35rem;
}
.product-specs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}
.product-spec {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--soft);
}
.product-spec-label {
  display: block;
  margin: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}
.product-spec-value {
  display: block;
  margin: 0.08rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.product-spec-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.6rem;
  border-radius: 0.6rem;
  background: #111;
  overflow: hidden;
}
@media (max-width: 460px) {
  .product-specs { grid-template-columns: 1fr; }
}
.product-spec-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.product-warranty-block {
  margin-top: 1.35rem;
}
.product-warranty-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.product-warranty {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: #fafafa;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.product-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.price-vat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #15803d;
  white-space: nowrap;
}
.product-stock-badge::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #16a34a;
}
.product-stock-badge.is-out {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}
.product-stock-badge.is-out::before { background: #dc2626; }
.product-vat-totals {
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--soft);
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
}
.product-vat-totals div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.product-vat-totals dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.product-vat-totals dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--body);
}
.product-vat-totals div:last-child,
.product-vat-totals .is-total {
  margin-top: 0.3rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}
.product-vat-totals div:last-child dt,
.product-vat-totals .is-total dt {
  font-weight: 700;
  color: var(--ink);
}
.product-vat-totals div:last-child dd,
.product-vat-totals .is-total dd {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product-vat-totals [data-vat-extra-row] dt {
  color: var(--ink);
}
.cart-totals {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.cart-totals-due {
  font-size: 1.05rem;
}
.cart-totals .btn {
  margin-top: 0.65rem;
  justify-self: end;
}
.checkout-totals {
  margin: 0.35rem 0 1rem;
  padding-top: 0.85rem;
}

/* ---- Checkout redesign ---- */
.checkout-section { padding: 2rem 0 4rem; }
.checkout-section .wrap { max-width: 1060px; }
.checkout-heading {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .checkout-summary-col { order: -1; }
}
.checkout-form { display: grid; gap: 1.25rem; }
.checkout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
}
.checkout-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.checkout-card-icons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 480px) {
  .checkout-field-row { grid-template-columns: 1fr; }
}

/* Delivery method radio cards */
.checkout-delivery-options { display: grid; gap: 0.5rem; }
.checkout-delivery-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.checkout-delivery-option:hover { border-color: #a3a3a3; }
.checkout-delivery-option.is-selected {
  border-color: var(--ink);
  background: #fafafa;
}
.checkout-delivery-option input[type="radio"] {
  accent-color: var(--ink);
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}
.checkout-delivery-name { flex: 1; font-weight: 500; font-size: 0.92rem; }
.checkout-delivery-price { font-size: 0.92rem; color: var(--muted); font-weight: 500; }

/* Noop notice */
.checkout-noop-notice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #f5f5f5;
  font-size: 0.88rem;
  color: var(--muted);
}
.checkout-noop-notice svg { flex-shrink: 0; margin-top: 0.05rem; }

/* Pay button */
.checkout-pay-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  margin-top: 0.25rem;
  position: relative;
}
.checkout-pay-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.checkout-spinner {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ckSpin 0.6s linear infinite;
}
@keyframes ckSpin { to { transform: rotate(360deg); } }
.checkout-pay-error {
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.85rem;
}

/* Summary column */
.checkout-summary-sticky { position: sticky; top: 2rem; }
.checkout-summary-items {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.checkout-summary-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.checkout-summary-thumb {
  position: relative;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.6rem;
  background: #f0f0f0 center/cover no-repeat;
  border: 1px solid var(--line);
}
.checkout-summary-qty {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.2rem;
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0 0.3rem;
}
.checkout-summary-detail {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.checkout-summary-detail strong {
  font-size: 0.9rem;
  font-weight: 500;
}
.checkout-summary-totals {
  display: grid;
  gap: 0.45rem;
  padding-top: 1rem;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.checkout-summary-total {
  font-size: 1.05rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
}
.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}
.checkout-back-link:hover { color: var(--body); }

/* Dojo card field styling */
#dojo-card-field {
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fff;
}
#dojo-card-field iframe { min-height: 120px; }
.checkout-payment-step {
  display: grid;
  gap: 1.25rem;
  animation: ckFadeIn 0.3s ease;
}
@keyframes ckFadeIn {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* Checkout success */
.checkout-success-hero {
  text-align: center;
  padding: 2rem 0 0;
}
.checkout-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #16a34a;
  margin-bottom: 1.25rem;
}
.checkout-success-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.checkout-success-heading {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.checkout-success-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.checkout-success-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.checkout-success-status { text-transform: capitalize; }
.checkout-success-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.vat-display-options {
  border: 0;
  margin: 0.85rem 0 0;
  padding: 0;
}
.vat-display-options legend {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0;
  margin: 0 0 0.15rem;
}
.product-vat-custom {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fafafa;
}
.site-basket-vat {
  margin-top: 0.35rem;
}
.product-stock-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.product-stock-sku {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--soft);
  color: var(--muted);
}
.product-buy-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px -30px rgba(0, 0, 0, 0.35);
}
.product-buy-box .product-specs-block {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.product-promo-extra {
  margin: 0 0 0.7rem;
  padding: 0.7rem 0.8rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  border: 1px solid #ffdcc6;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #fff8f3, #fff);
}
.product-promo-extra:not(:has(.product-promo-extra-media)) {
  grid-template-columns: minmax(0, 1fr);
}
.product-promo-extra-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.product-promo-extra-intro {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--muted);
}
.product-promo-extra-media {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.5rem;
  background: #fff center/contain no-repeat;
  border: 1px solid #ffe1cd;
}
.product-promo-extra-badge {
  display: inline-block;
  vertical-align: 0.1em;
  margin-right: 0.3rem;
  background: #16a34a;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.36rem;
  border-radius: 0.3rem;
}
.product-promo-extra-choice {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid #ffe1cd;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
}
.product-promo-extra-choice:has(input:checked) {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.product-promo-extra-choice input {
  margin: 0;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  accent-color: #16a34a;
}
.product-promo-extra-notes {
  margin: 0.4rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--muted);
}
.product-buy-form {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.product-qty {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.product-qty-btn {
  width: 2.4rem;
  border: 0;
  background: transparent;
  color: var(--body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: 0.15s ease;
}
.product-qty-btn:hover { background: var(--soft); color: var(--ink); }
.product-qty input[type="number"] {
  width: 2.6rem;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0.6rem 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}
.product-qty input[type="number"]:focus {
  outline: none;
  box-shadow: none;
}
.product-qty input[type="number"]::-webkit-outer-spin-button,
.product-qty input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-add-btn {
  flex: 1 1 auto;
  min-height: 2.9rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.product-add-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.product-extras-block > .product-extras:last-child,
.product-extras-block > .product-promo-extra:last-child {
  margin-bottom: 0;
}
.product-install-block {
  margin: 0.95rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}
.product-install-choice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--soft);
  cursor: pointer;
  transition: 0.15s ease;
}
.product-install-choice:hover { border-color: #d4d4d4; }
.product-install-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.product-install-tick {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1.5px solid #d4d4d4;
  border-radius: 0.5rem;
  background: #fff;
  color: #16a34a;
}
.product-install-tick svg {
  opacity: 0;
  transform: scale(0.55);
  transition: 0.18s ease;
}
.product-install-choice:has(input:checked) {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.product-install-choice:has(input:checked) .product-install-tick {
  border-color: #16a34a;
}
.product-install-choice:has(input:checked) .product-install-tick svg {
  opacity: 1;
  transform: scale(1);
}
.product-install-choice input:focus-visible + .product-install-tick {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.28);
}
.product-install-copy strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ink);
}
.product-install-copy span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}
.product-install-copy .product-install-area {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c2410c;
}
.product-add-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.product-add-label.is-quote { display: none; }
.product-buy-form:has([data-install-check]:checked) .product-add-label.is-basket { display: none; }
.product-buy-form:has([data-install-check]:checked) .product-add-label.is-quote { display: inline-flex; }
.product-buy-form:has([data-install-check]:checked) .product-qty { display: none; }
.product-price-quote-note {
  display: none;
  margin: 0;
  max-width: 20rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product-buy-box:has([data-install-check]:checked) .product-price { display: none; }
.product-buy-box:has([data-install-check]:checked) .product-price-quote-note { display: block; }
.product-buy-box:has([data-install-check]:checked) .product-vat-totals { display: none; }
.product-docs { margin-top: 2rem; }
.product-docs h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.product-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.product-doc-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
}
.product-doc-link:hover { border-color: #FF6000; }
.product-doc-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  flex: 0 0 auto;
}
.product-doc-badge {
  position: absolute;
  right: -0.2rem;
  bottom: -0.15rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.25rem;
  line-height: 1;
}
.product-doc-copy {
  display: grid;
  gap: 0.15rem;
}
.product-doc-copy strong { font-size: 0.95rem; }
.product-doc-copy span {
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 820px) {
  .product-profile-grid { grid-template-columns: 1fr; }
  .product-spec { grid-template-columns: 1fr; gap: 0.2rem; }
  .product-features-grid { grid-template-columns: 1fr; }
}

/* Admin product media + stock */
.product-media-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.qe-image-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.qe-image-slot {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.qe-image-slot > label {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.qe-image-preview {
  width: 6.5rem;
  height: 6.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #e5e5e5 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
}
.qe-image-preview.has-image { background-color: #f5f5f5; }
.product-media-col { display: grid; gap: 0.65rem; align-content: start; }
.product-media-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-media-thumb {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--line);
  background: #f5f5f5;
  overflow: hidden;
}
.product-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-media-thumb form {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
}
.product-media-thumb .btn {
  padding: 0.1rem 0.35rem;
  background: rgba(255,255,255,0.9);
}
.product-media-upload {
  display: grid;
  gap: 0.45rem;
}
.product-media-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.product-media-docs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}
.product-media-doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.4rem;
  padding: 0 0.3rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}
.stock-pill {
  display: inline-flex;
  min-width: 2.25rem;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.stock-pill.is-ok { background: #ecfdf5; color: #047857; }
.stock-pill.is-low { background: #fff7ed; color: #c2410c; }
.stock-pill.is-out { background: #fef2f2; color: #b91c1c; }
.stock-edit-row td { background: #fafafa; }
.stock-edit-form { padding: 0.25rem 0; }
.stock-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
}
.stock-edit-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
@media (max-width: 820px) {
  .product-media-block,
  .qe-image-slots,
  .stock-edit-grid { grid-template-columns: 1fr; }
}

/* Dedicated product edit page */
.product-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  gap: 1.25rem;
  align-items: stretch;
}
.product-edit-main,
.product-edit-stack {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.product-edit-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
}
.product-edit-media-card { flex: 1 1 auto; }
.product-edit-save-card {
  display: grid;
  gap: 0.5rem;
}
.product-edit-save-card .btn { width: 100%; }
.product-feature-rows {
  display: grid;
  gap: 0.75rem;
}
.product-feature-toolbar {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}
.product-feature-load,
.product-feature-save-set {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.product-feature-load select,
.product-feature-save-set input[type="text"] {
  flex: 1 1 14rem;
  min-width: 0;
}
.product-feature-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.65rem 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fafafa;
  align-items: start;
}
.product-feature-row > input[type="hidden"] { display: none; }
.product-feature-icon-pick {
  appearance: none;
  grid-row: 1 / 4;
  width: 4.6rem;
  min-height: 4.6rem;
  display: grid;
  place-items: center;
  gap: 0.2rem;
  padding: 0.45rem;
  border: 1px dashed var(--line);
  border-radius: 0.75rem;
  background: #fff;
  color: #FF6000;
  cursor: pointer;
}
.product-feature-icon-pick:hover {
  border-color: #FF6000;
}
.product-feature-icon-pick .muted {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-feature-row-actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.product-feature-products-dialog {
  width: min(560px, 100%);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}
.product-feature-products-tools {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem 1.1rem 0;
}
.product-feature-products-list {
  margin: 0.65rem 1.1rem;
  max-height: none;
}
.product-feature-products-foot {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1.1rem 1rem;
  border-top: 1px solid var(--line);
}
body.product-icon-open { overflow: hidden; }
.product-icon-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.product-icon-modal[hidden] { display: none !important; }
.product-icon-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.product-icon-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 720px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
}
.product-icon-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.product-icon-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.product-icon-head .muted {
  margin: 0;
  font-size: 0.82rem;
}
.product-icon-search {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.product-icon-search input {
  width: 100%;
}
.product-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr));
  gap: 0.5rem;
  padding: 0.9rem 1.1rem 1.1rem;
  overflow: auto;
}
.product-icon-option {
  appearance: none;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.4rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
}
.product-icon-option:hover,
.product-icon-option.is-selected {
  border-color: #FF6000;
  color: #FF6000;
  background: #fff4ed;
}
@media (max-width: 720px) {
  .product-feature-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .product-feature-row .field,
  .product-feature-row-actions {
    grid-column: 2;
  }
}
.product-edit-save-card .product-delete-form {
  margin: 0.15rem 0 0;
}
.product-edit-status {
  margin: 0 0 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex: 0 0 auto;
  background: #a3a3a3;
}
.status-dot.is-live { background: #16a34a; }
.status-dot.is-draft { background: #a3a3a3; }
.product-seo-check {
  margin-top: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.product-seo-check .easy-step { margin-bottom: 0.55rem; }
.product-seo-check .score-line { margin-bottom: 0.65rem; }
.product-seo-check .check-list { gap: 0.4rem; }
.product-seo-check .check-item {
  padding: 0.5rem 0.6rem;
  border-radius: 0.6rem;
}
.product-seo-check .check-title { font-size: 0.78rem; }
.product-seo-check .check-hint { font-size: 0.7rem; }
.product-seo-check .tick,
.product-seo-check .todo-mark {
  width: 1rem;
  height: 1rem;
  font-size: 0.62rem;
}
.product-media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0 0 1rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fafafa;
}
.product-media-tab {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  border-radius: 0.65rem;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
}
.product-media-tab:hover { color: var(--ink); }
.product-media-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.product-media-panel { display: none; }
.product-media-panel.is-active { display: block; }
.product-image-preview-lg {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
}
.admin-tab { gap: 0.4rem; }
.product-edit-aside .product-image-slots {
  grid-template-columns: 1fr;
  margin-bottom: 0;
  gap: 1rem;
}
.product-edit-aside .product-image-preview {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
}
@media (max-width: 980px) {
  .product-edit-layout { grid-template-columns: 1fr; }
  .product-edit-aside { min-height: 0; }
}
.product-edit-card h2.easy-step { margin-bottom: 0.85rem; }
.product-edit-form .qe-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-edit-form .product-active-check {
  margin: 1rem 0 0;
  width: fit-content;
}
.product-edit-form .product-active-check input,
.product-edit-form .product-install-toggle input {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  accent-color: #111;
}
.product-edit-form .product-install-toggle {
  width: fit-content;
  max-width: 100%;
  margin: 0.15rem 0 0.15rem;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--body, #262626);
}
.product-custom-spec-rows {
  display: grid;
  gap: 0.75rem;
}
.product-custom-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}
@media (max-width: 640px) {
  .product-custom-spec-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .product-custom-spec-row .btn {
    justify-self: start;
  }
}
.product-image-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.product-image-slot {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}
.product-image-slot h3,
.product-gallery-heading {
  margin: 0;
  font-size: 0.95rem;
}
.product-gallery-heading { margin: 0 0 0.35rem; }
.quick-edit .qe-image-slots {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-top: 0;
  padding-bottom: 1rem;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.product-image-preview {
  width: 8.5rem;
  height: 8.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #e5e5e5 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
}
.product-image-preview.has-image { background-color: #f5f5f5; }
.product-gallery-admin {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}
.product-gallery-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.product-gallery-slot {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  min-width: 0;
}
.product-gallery-slots .product-media-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.product-gallery-slot.is-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  aspect-ratio: 1;
  width: 100%;
  padding: 0.7rem 0.5rem;
  text-align: center;
  cursor: pointer;
  border: 2px dashed #d4d4d4;
  background: #fafafa;
  appearance: none;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.product-gallery-slot.is-empty:hover {
  border-color: #FF6000;
  background: #fff8f3;
}
.product-gallery-slot.is-empty strong {
  font-size: 0.8rem;
}
.product-gallery-slot.is-empty .muted {
  font-size: 0.72rem;
}
.product-gallery-slot-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.product-media-thumb.is-main {
  box-shadow: inset 0 0 0 2px #111;
}
@media (max-width: 720px) {
  .product-gallery-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-edit-form .qe-grid { grid-template-columns: 1fr; }
}
.product-linked-extras {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.product-linked-extra {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fafafa;
}
.product-linked-extra-main {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.product-linked-extra-thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  background: #e5e5e5 center/cover no-repeat;
  flex: 0 0 auto;
}
.product-linked-extra-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
}
.product-extra-add { margin-top: 0.35rem; }
.product-extra-picker {
  margin-top: 0.75rem;
  padding: 1rem;
}
.product-extra-results {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.65rem;
  max-height: 18rem;
  overflow: auto;
}
.product-extra-result {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.product-extra-result:hover { border-color: #111; }
.product-extra-result-thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.55rem;
  background: #eee center/cover no-repeat;
}
.product-extra-result-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.product-extra-result-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Product extras dropdown */
.product-extras {
  position: relative;
  width: 100%;
  margin: 0 0 0.85rem;
}
.product-extras-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: 0.15s ease;
}
.product-extras-toggle:hover { border-color: #d4d4d4; background: var(--soft); }
.product-extras-list-image {
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  background: #fff center/contain no-repeat;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}
.product-extras-toggle-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.product-extras-toggle > svg {
  flex: 0 0 auto;
  color: var(--faint);
  transition: transform 0.15s ease;
}
.product-extras.is-open .product-extras-toggle {
  border-color: #FF6000;
  background: #fff;
}
.product-extras.is-open .product-extras-toggle > svg {
  transform: rotate(180deg);
  color: #FF6000;
}
.product-extras-toggle strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--ink);
}
.product-extras-summary {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-extras-summary.has-selection {
  color: #16a34a;
  font-weight: 500;
}
.product-extras-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 20;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
  padding: 0.4rem;
  display: grid;
  gap: 0.25rem;
  max-height: 22rem;
  overflow: auto;
}
.product-extras-panel[hidden] { display: none !important; }
.product-extra-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.55rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
}
.product-extra-option:hover,
.product-extra-option:has(input:checked) {
  background: #fff8f3;
  border-color: #ffd7bf;
}
.product-extra-option input {
  width: 1rem;
  height: 1rem;
}
.product-extra-option.has-image {
  grid-template-columns: auto 3.25rem minmax(0, 1fr);
}
.product-extra-media {
  width: 3.25rem;
  height: 3.25rem;
  background: #f3f3f3 center/cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  flex: 0 0 auto;
}
.product-extra-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.product-extra-copy strong {
  font-size: 0.9rem;
  line-height: 1.25;
}
.product-extra-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.product-extra-price.is-free { color: #047857; }
.product-extra-details {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
  line-height: 1.35;
}
.product-extras-group + .product-extras-group {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.product-extras-group-title {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
}
.extra-list-edit { max-width: 64rem; }
.extra-item-rows {
  display: grid;
  gap: 0.75rem;
}
.extra-item-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 8.5rem;
  gap: 0.65rem 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fafafa;
  align-items: start;
}
.extra-item-row > input[type="hidden"] {
  display: none;
}
.extra-item-image-field {
  grid-row: 1 / 4;
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}
.extra-item-image {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.65rem;
}
.extra-list-image-field .extra-list-image {
  width: 7rem;
  height: 7rem;
  border-radius: 0.65rem;
}
.extra-item-image-field .media-pick-label {
  font-size: 0.78rem;
}
.extra-item-clear-image {
  padding: 0;
  font-size: 0.78rem;
}
.extra-item-details {
  grid-column: 2 / -1;
  margin: 0;
}
.extra-item-row [data-remove-extra-row] {
  justify-self: start;
  grid-column: 2;
}
.extra-assign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.extra-assign-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.extra-assign-block > .muted {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}
.extra-assign-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2.4rem;
  margin-bottom: 0.65rem;
}
.extra-assign-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.4rem 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
}
.extra-assign-chip button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--muted);
  padding: 0 0.2rem;
}
.extra-assign-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  align-self: center;
}
.extra-assign-add {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.extra-assign-add select,
.extra-assign-add input[type="search"] {
  min-width: 12rem;
  flex: 1 1 10rem;
  margin: 0;
}
.extra-assign-search {
  width: 100%;
  margin: 0 0 0.65rem;
}
.extra-assign-checks {
  display: grid;
  gap: 0.1rem;
  max-height: 18rem;
  overflow: auto;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
}
.extra-assign-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.extra-assign-check:hover {
  background: #f7f7f7;
}
.extra-assign-check:has(input:checked) {
  background: #fff8f3;
}
.extra-assign-check input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: 0 0 auto;
}
.extra-assign-check span {
  min-width: 0;
  line-height: 1.3;
}
.extra-thumb {
  width: 2.75rem;
  height: 2.75rem;
  background: #f5f5f5;
  border: 1px solid var(--line);
  overflow: hidden;
}
.extra-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .extra-item-row {
    grid-template-columns: 1fr;
  }
  .extra-item-image-field,
  .extra-item-details,
  .extra-item-row [data-remove-extra-row] {
    grid-row: auto;
    grid-column: 1;
  }
  .extra-assign-grid { grid-template-columns: 1fr; }
}
.product-buy-row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
  margin-top: 0.9rem;
}
.product-buy-form { display: block; width: 100%; }
.extra-assign-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
  max-height: 14rem;
  overflow: auto;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: #fafafa;
}
.extra-assign-item {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.88rem;
}
.extra-edit-row td { background: #fafafa; }
@media (max-width: 720px) {
  .extra-assign-list { grid-template-columns: 1fr; }
}

/* Inline media picker */
body.inline-media-open { overflow: hidden; }
.inline-media-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.inline-media-modal[hidden] { display: none !important; }
.inline-media-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.inline-media-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  overflow: hidden;
}
.inline-media-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.inline-media-head h2 {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
}
.inline-media-x {
  appearance: none;
  border: 0;
  background: #f5f5f5;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.inline-media-toolbar {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.inline-media-toolbar select,
.inline-media-toolbar input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}
.inline-media-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 0.55rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.inline-media-upload-btn:hover { background: #1d4ed8; }
.inline-media-status {
  padding: 0.75rem 1.1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.inline-media-grid {
  padding: 0.9rem 1.1rem 1.1rem;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.65rem;
  align-content: start;
}
.inline-media-item {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.4rem;
  cursor: pointer;
  text-align: left;
  display: grid;
  gap: 0.4rem;
}
.inline-media-item:hover {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb inset;
}
.inline-media-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.45rem;
  background: #f3f3f3 center/cover no-repeat;
}
.inline-media-name {
  font-size: 0.72rem;
  color: var(--ink);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-pick-field { display: grid; gap: 0.55rem; }
.media-pick-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}
.media-pick-preview {
  width: 8.5rem;
  height: 8.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #e5e5e5 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
}
.media-pick-preview.has-image { background-color: #f5f5f5; }
.media-pick-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.media-pick-btn:hover .media-pick-label { text-decoration: underline; }
.product-edit-aside .media-pick-preview,
.product-image-preview-lg.media-pick-preview,
.install-cover-preview.media-pick-preview {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
}
.install-cover-preview.media-pick-preview {
  aspect-ratio: 4 / 3;
}
@media (max-width: 640px) {
  .inline-media-toolbar {
    grid-template-columns: 1fr;
  }
}

body.admin-confirm-open { overflow: hidden; }
.admin-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.admin-confirm-modal[hidden] { display: none !important; }
.admin-confirm-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
}
.admin-confirm-dialog {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  padding: 1.25rem 1.25rem 1.15rem;
}
.admin-confirm-dialog h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}
.admin-confirm-dialog p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.admin-confirm-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.google-stars {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #d7d7d7;
}
.google-stars-bg,
.google-stars-fill {
  display: block;
  font-family: Arial, sans-serif;
}
.google-stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #FBBC04;
}
.google-stars-sm { font-size: 0.85rem; }
.google-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
  padding: 0.55rem 0.8rem 0.55rem 0.6rem;
  border: 1px solid #3a3a3a;
  background: #141414;
  color: #fff;
  border-radius: 0.7rem;
  cursor: pointer;
  text-align: left;
}
.google-reviews-badge:hover {
  border-color: #FF6000;
}
.google-reviews-g {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #4285F4;
  font-weight: 800;
  font-size: 1.05rem;
}
.google-reviews-badge-copy {
  display: grid;
  gap: 0.15rem;
}
.google-reviews-score {
  font-weight: 800;
  font-size: 1.05rem;
  margin-right: 0.35rem;
}
.google-reviews-count {
  font-size: 0.75rem;
  color: #b0b0b0;
}
body.google-reviews-open { overflow: hidden; }
.google-reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.google-reviews-modal[hidden] { display: none !important; }
.google-reviews-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,0.62);
  cursor: pointer;
}
.google-reviews-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(90vh, 860px);
  background: #fff;
  color: #171717;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}
.google-reviews-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem 0.9rem;
  border-bottom: 1px solid #ececec;
}
.google-reviews-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #737373;
  font-weight: 700;
}
.google-reviews-head h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.2rem;
}
.google-reviews-head-score {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.google-reviews-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #525252;
  cursor: pointer;
}
.google-reviews-list {
  overflow: auto;
  padding: 0.35rem 1.15rem 1rem;
  display: grid;
  gap: 0.9rem;
}
.google-reviews-elfsight {
  min-height: 28rem;
}
.google-reviews-elfsight [class^="elfsight-app-"] {
  min-height: 26rem;
}
.google-review {
  padding-top: 0.85rem;
  border-top: 1px solid #f0f0f0;
}
.google-review:first-child {
  border-top: 0;
  padding-top: 0.55rem;
}
.google-review-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.google-review p {
  margin: 0;
  color: #404040;
  line-height: 1.5;
  font-size: 0.95rem;
}
.google-reviews-foot {
  padding: 0.85rem 1.15rem 1.1rem;
  border-top: 1px solid #ececec;
}
