:root {
  --bg: #f4f6f5;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #d7dfda;
  --primary: #2563eb;
  --soft: #eff6ff;
  --lyra-indigo: #1e1b4b;
  --lyra-cobalt: #2f4cdd;
  --lyra-violet: #7c3aed;
  --lyra-cyan: #22d3ee;
  --lyra-deep: #0b0a24;
  --lyra-brand-gradient: linear-gradient(135deg, var(--lyra-violet), var(--lyra-cobalt));
  --lyra-gold: #e8b84b;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.ai-shell {
  display: grid;
  grid-template-columns: minmax(360px, 460px) 1fr;
  min-height: 100vh;
}

.intake-panel {
  border-right: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  overflow-y: auto;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-weight: 900;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: 22px;
}

.brand-row p,
.status-text,
.empty,
.toolbar span {
  color: var(--muted);
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: #34413d;
  font-size: 13px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--soft);
}

#generateButton,
.toolbar button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 13px;
  font-weight: 900;
}

#generateButton {
  width: 100%;
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.intake-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.intake-mode-tabs button,
.guided-actions button,
.let-ai-row button,
#guidedGenerateButton {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 9px 10px;
  font-weight: 900;
}

.intake-mode-tabs button.active,
#guidedGenerateButton {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.mode-panel {
  display: none;
}

.mode-panel.active {
  display: block;
}

.language-control {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  padding: 10px;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

.guided-modal-open {
  overflow: hidden;
}

/* Full-page treatment (2026-07-18): this used to render as a centered
   floating card over a dark scrim -- a lightbox/modal look, not a real app
   screen. client-setup.css already solved this correctly for the public
   client flow (.public-client-setup .guided-panel / .guided-shell: no
   backdrop, no card, edge-to-edge, 100vh). Porting the same treatment here
   so the internal ai-builder tool feels like one continuous app instead of a
   popup floating over the Quick Form page behind it. */
.guided-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  padding: 0;
}

.guided-panel.active {
  display: grid;
}

.guided-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  width: 100%;
  /* 100vh on mobile is the browser-chrome-inclusive viewport, not the real
     visible height - it does not shrink for the address bar or an open
     keyboard, so this fixed-height/overflow:hidden box used to get pushed
     up off screen with no way to scroll back down to the chat input
     ("no hay espacio para escribir", reported by Beto 2026-09-21 testing on
     phone). 100dvh tracks the real visible viewport on browsers that
     support it (all current mobile browsers); the 100vh line above is kept
     as the fallback for the rare browser that does not. overflow-y:auto is
     a safety net, not the primary fix - it only kicks in if dvh math is
     ever still off by a few px, and is a no-op on desktop since content
     already fits. */
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 46%, #f5fff9 100%);
  box-shadow: none;
}

.review-details-open .guided-shell,
.final-review-mode .guided-shell {
  width: 100%;
}

/* Responsive fix (2026-07-19): the guided-shell/rail/header system was built
   assuming desktop width and only had a phone-sized override at 760px --
   there was a full gap between ~761px and desktop with zero adjustment, so
   the fixed 200px rail and the multi-button header simply overflowed/
   overlapped on tablets. This is a dedicated, narrowly-scoped tablet+small-
   desktop breakpoint that only touches the builder chrome (guided-*
   selectors), not the 760px block below (which is shared by many unrelated
   components, including rendered client site templates -- widening that one
   would have been much riskier). See docs/AGENT_LOG.md. */
@media (max-width: 1024px) {
  .guided-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .guided-rail {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .guided-rail-brand {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .guided-rail-steps {
    flex-direction: row;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
  }

  .guided-rail-step {
    flex: 0 0 auto;
    padding: 6px;
  }

  .grs-label {
    display: none;
  }
}

/* Persistent step rail (2026-07-18) -- replaces the plain "Step 1" text +
   thin progress bar with an always-visible list of guided steps, matching
   the sidebar step nav in the Codex prototype Beto liked. Driven by
   renderGuidedStepRail() in ai-builder.js, which reuses the existing
   displayStepIndex()/guidedStep state -- no new step-tracking logic. */
.guided-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: 16px 12px;
  overflow-y: auto;
}

.guided-rail-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 4px;
}

.guided-rail-orb {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.guided-rail-brand b {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.guided-rail-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guided-rail-step {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 7px 8px;
  color: #9aa5a1;
}

.guided-rail-step.active {
  background: var(--soft);
}

.guided-rail-step.done {
  color: var(--muted);
}

.grs-num {
  display: grid;
  flex: 0 0 18px;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef1f0;
  color: #9aa5a1;
  font-size: 9px;
  font-weight: 900;
}

.guided-rail-step.active .grs-num,
.guided-rail-step.done .grs-num {
  background: var(--primary);
  color: #ffffff;
}

.grs-label {
  font-size: 11px;
  font-weight: 800;
}

.guided-rail-step.active .grs-label {
  color: var(--ink);
}

.guided-main {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
}

/* The rail above now carries the step indicator; the old thin bar stays in
   the DOM (JS still writes to #guidedStepLabel/#guidedProgressBar) but is
   visually retired to avoid showing progress twice. */
.guided-progress {
  display: none;
}

.guided-header,
.guided-layout {
  min-width: 0;
}

.guided-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.assistant-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.assistant-identity strong,
.assistant-identity span {
  display: block;
}

.assistant-identity strong {
  font-size: 18px;
}

.assistant-identity span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.assistant-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #e9f5ff;
  object-fit: cover;
  object-position: 52% 24%;
  animation: assistant-breathe 4.2s ease-in-out infinite;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease,
    filter 0.18s ease;
}

.assistant-avatar.large {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.assistant-avatar.tiny {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

body[data-assistant-state="speaking"] .assistant-identity .assistant-avatar,
.assistant-avatar[data-state="speaking"] {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 14%, transparent);
  animation: assistant-speaking 1.2s ease-in-out infinite;
}

body[data-assistant-state="listening"] .assistant-identity .assistant-avatar,
.assistant-avatar[data-state="listening"],
#guidedMicButton.listening {
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.16);
  animation: assistant-listening 1.15s ease-in-out infinite;
}

body[data-assistant-state="thinking"] .assistant-identity .assistant-avatar,
.assistant-avatar[data-state="thinking"] {
  filter: saturate(0.92) brightness(1.03);
  animation: assistant-thinking 1.6s ease-in-out infinite;
}

body[data-assistant-state="alert"] .assistant-identity .assistant-avatar,
.assistant-avatar[data-state="alert"] {
  box-shadow: 0 0 0 5px rgba(180, 35, 24, 0.15);
}

body[data-assistant-state="success"] .assistant-identity .assistant-avatar,
.assistant-avatar[data-state="success"] {
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 18%, transparent);
  animation: assistant-success 1.8s ease-in-out infinite;
}

.chat-message.state-alert {
  border-color: color-mix(in srgb, #b42318 24%, var(--line));
  background: #fffafa;
}

.chat-message.state-success {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  background: color-mix(in srgb, var(--soft) 50%, white);
}

#assistantAudioToggle.active {
  border-color: var(--primary);
  background: var(--soft) !important;
  color: var(--primary) !important;
}

@keyframes assistant-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.012);
  }
}

@keyframes assistant-speaking {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.035);
  }
}

@keyframes assistant-listening {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes assistant-thinking {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

@keyframes assistant-success {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-4px);
  }
}

.guided-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.guided-header-actions select,
.guided-header-actions button,
.guided-actions button,
.guided-asset-prompt button {
  border: 1px solid color-mix(in srgb, var(--line) 84%, #ffffff);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 900;
}

.guided-header-actions select {
  min-height: 40px;
}

#guidedGenerateButton {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
  background: var(--primary);
  color: #ffffff;
}

.guided-actions-secondary {
  gap: 6px;
}

.guided-actions-secondary button {
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.guided-actions-secondary button:hover {
  background: color-mix(in srgb, var(--primary) 6%, white);
  border-color: color-mix(in srgb, var(--line) 84%, white);
}

.compact-language {
  margin: 0;
  min-width: 180px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.guided-progress {
  display: grid;
  gap: 8px;
  padding: 10px 16px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.guided-progress div {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #e8eef2;
}

.guided-progress i {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.2s ease;
}

.guided-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  padding: 0 16px 16px;
}

.review-details-open .guided-layout,
.final-review-mode .guided-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.summary-panel {
  display: none;
}

.review-details-open .summary-panel,
.final-review-mode .summary-panel {
  display: block;
}

.final-review-mode .guided-chat-card {
  display: none;
}

.final-review-mode .guided-layout {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.final-review-mode .summary-panel {
  max-height: min(72vh, 760px);
}

.chat-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--line));
  border-radius: 12px;
  background: #fbfdfc;
  padding: 10px;
}

.chat-status-card strong,
.chat-status-card span {
  display: block;
}

.chat-status-card strong {
  color: #25332f;
  font-size: 13px;
}

.chat-status-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.chat-status-card button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 8px 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.draft-restore-card,
.guided-build-card {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--primary) 10%, transparent), transparent 36%),
    #ffffff;
  padding: 12px;
  box-shadow: 0 16px 36px rgba(22, 39, 34, 0.08);
}

.draft-restore-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.draft-restore-card strong,
.draft-restore-card span,
.guided-build-card strong,
.guided-build-card span,
.guided-build-card em {
  display: block;
}

.draft-restore-card strong,
.guided-build-card strong {
  color: #17241f;
  font-size: 13px;
  font-weight: 950;
}

.draft-restore-card span,
.guided-build-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.draft-restore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.draft-restore-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 10px;
  color: #17241f;
  font-size: 12px;
  font-weight: 900;
}

.draft-restore-actions button:first-child {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
  background: color-mix(in srgb, var(--soft) 72%, #ffffff);
  color: var(--primary);
}

.guided-build-card {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(248, 253, 255, 0.94)),
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--lyra-cyan) 18%, transparent), transparent 34%);
}

.guided-build-card.is-error {
  border-color: color-mix(in srgb, #b42318 28%, var(--line));
  background: #fffafa;
}

.guided-build-card.is-ready {
  border-color: color-mix(in srgb, var(--primary) 36%, var(--line));
}

.generated-logo-review-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 10px;
  margin: 12px 0;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 18px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.generated-logo-review-copy span,
.generated-logo-review-copy strong {
  display: block;
}

.generated-logo-review-copy {
  grid-column: 2;
  grid-row: 1;
}

.generated-logo-review-copy span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.generated-logo-review-copy strong {
  margin-top: 4px;
  color: #17241f;
  font-size: 15px;
}

.generated-logo-review-image {
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  min-height: 120px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(45deg, #eef2f6 25%, transparent 25%),
    linear-gradient(-45deg, #eef2f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef2f6 75%),
    linear-gradient(-45deg, transparent 75%, #eef2f6 75%),
    #ffffff;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.generated-logo-review-image img {
  width: min(110px, 88%);
  max-height: 120px;
  object-fit: contain;
}

.generated-logo-review-actions {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  gap: 8px;
}

.generated-logo-review-actions button {
  min-height: 38px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 900;
}

.generated-logo-review-actions button:first-child {
  background: var(--primary);
  color: #ffffff;
}

.generated-logo-review-card.is-approved {
  border-color: color-mix(in srgb, #15803d 42%, var(--line));
}

.generated-logo-approved {
  grid-column: 1 / -1;
  display: block;
  border-radius: 10px;
  background: #ecfdf3;
  padding: 12px;
  color: #166534;
  font-weight: 900;
  text-align: center;
}

.guided-build-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
}

.guided-build-head span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guided-build-head em {
  grid-row: span 2;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--soft) 70%, #ffffff);
  padding: 6px 9px;
  color: var(--primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.guided-build-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.guided-build-steps span {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbfa;
  padding: 7px 8px;
  overflow: hidden;
  color: var(--muted);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
}

.guided-build-steps span.done {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
  background: color-mix(in srgb, var(--soft) 74%, #ffffff);
  color: var(--primary);
}

.guided-build-steps span.active {
  border-color: color-mix(in srgb, var(--lyra-cyan) 48%, var(--line));
  background: linear-gradient(90deg, color-mix(in srgb, var(--soft) 70%, #fff), #ffffff, color-mix(in srgb, var(--soft) 70%, #fff));
  background-size: 220% 100%;
  color: #0f766e;
  animation: guided-build-shimmer 1.4s linear infinite;
}

@keyframes guided-build-shimmer {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 220% 0;
  }
}

.guided-build-actions {
  display: flex;
  justify-content: flex-end;
}

.guided-build-actions button {
  min-height: 40px;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  background: #b42318;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(180, 35, 24, 0.22);
}

.full-width {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  font-weight: 900;
}

.review-details-open .summary-panel {
  position: relative;
}

.review-details-open:not(.final-review-mode) .summary-panel::before {
  content: "";
}

.guided-chat-card,
.summary-panel {
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  padding: 14px;
}

.guided-chat-card {
  display: flex;
  flex-direction: column;
}

.assistant-welcome {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--soft) 54%, white);
  padding: 10px;
}

.assistant-welcome p {
  margin: 0;
  color: #283832;
  line-height: 1.45;
}

.guided-chat {
  display: grid;
  align-content: start;
  gap: 10px;
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
  padding-right: 3px;
}

/* Rounded, borderless bubbles (2026-07-18) -- replaces the bordered
   rectangular cards used for every message with a modern messaging-app look:
   filled/solid for the user's own messages, light with a hairline border for
   the assistant. Matches the mockup Beto approved. */
.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 78%;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  background: white;
  padding: 10px 14px;
  color: #27352f;
  font-size: 13px;
  line-height: 1.45;
}

.chat-message span {
  white-space: pre-line;
}

.chat-message.user {
  display: block;
  justify-self: end;
  border: 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 4px;
  background: var(--primary);
  color: #ffffff;
}

.chat-message.system {
  color: var(--muted);
}

.chat-understanding-card {
  justify-self: start;
  max-width: 94%;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 34%),
    linear-gradient(145deg, #ffffff, color-mix(in srgb, var(--soft) 52%, white));
  padding: 11px;
  box-shadow: 0 16px 34px rgba(22, 39, 34, 0.08);
}

.chat-understanding-card strong {
  display: block;
  margin-bottom: 8px;
  color: #1f332e;
  font-size: 12px;
}

.understanding-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.understanding-pill {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 6px 8px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 850;
}

.understanding-pill.detected {
  border-color: color-mix(in srgb, var(--primary) 26%, var(--line));
  color: var(--primary);
}

.understanding-pill.missing {
  background: color-mix(in srgb, #f59e0b 9%, white);
  color: #8a5a0a;
}

.chat-understanding-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.template-choice-panel {
  justify-self: start;
  max-width: 100%;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
  border-radius: 18px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 18px 42px rgba(22, 39, 34, 0.1);
}

.template-choice-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.template-choice-heading strong,
.template-choice-heading span {
  display: block;
}

.template-choice-heading strong {
  color: #1f332e;
  font-size: 12px;
}

.template-choice-heading span {
  max-width: 240px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: right;
}

.template-choice-grid {
  display: grid;
  grid-auto-columns: minmax(220px, 260px);
  grid-auto-flow: column;
  gap: 12px;
  max-width: min(840px, 78vw);
  overflow-x: auto;
  padding: 2px 2px 6px;
  scroll-snap-type: x proximity;
}

.template-coverflow-track {
  align-items: stretch;
  perspective: 1180px;
  perspective-origin: center;
  overflow-y: visible;
  padding: 16px clamp(26px, 9vw, 120px) 24px;
  scroll-padding-inline: clamp(34px, 12vw, 160px);
  scroll-snap-type: x mandatory;
}

.template-coverflow-card {
  position: relative;
  transform:
    translateX(var(--coverflow-shift, 0px))
    translateZ(var(--coverflow-depth, 0px))
    rotateY(var(--coverflow-rotate, 0deg))
    scale(var(--coverflow-scale, 1));
  transform-style: preserve-3d;
  transform-origin: center center;
  opacity: var(--coverflow-opacity, 1);
  filter: saturate(var(--coverflow-saturate, 1)) brightness(var(--coverflow-brightness, 1));
  z-index: var(--coverflow-z, 1);
  scroll-snap-align: center;
  will-change: transform, opacity, filter;
  transition:
    transform 0.34s cubic-bezier(0.2, 0.78, 0.28, 1),
    opacity 0.24s ease,
    filter 0.24s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.template-coverflow-card.active-card {
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.18);
}

.template-choice-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--soft) 34%, white) 100%);
  padding: 8px;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.template-choice-card:hover {
  border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
  box-shadow: 0 12px 24px rgba(22, 39, 34, 0.1);
}

.template-choice-card.recommended {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 10%, transparent);
}

.template-choice-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent), 0 18px 32px rgba(22, 39, 34, 0.12);
}

.template-choice-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.template-carousel-image {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 12px;
  background: var(--soft);
}

.template-carousel-image .template-live-preview {
  width: 100%;
  min-height: 138px;
  border: 0;
  border-radius: 0;
}

.template-choice-card span {
  display: inline-flex;
  margin-top: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 9%, white);
  color: var(--primary);
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
}

.template-choice-card strong {
  display: block;
  margin-top: 6px;
  color: #1f332e;
  font-size: 12px;
}

.template-choice-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.template-choice-card em {
  display: block;
  margin-top: 7px;
  color: color-mix(in srgb, var(--muted) 80%, #111827);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0;
}

.guided-thinking {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.guided-thinking.active {
  display: flex;
}

.guided-thinking.active span::after {
  content: "";
  display: inline-block;
  width: 1.4em;
  animation: thinking-dots 1.2s steps(4, end) infinite;
}

@keyframes thinking-dots {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75%,
  100% {
    content: "...";
  }
}

.quick-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-chip-row button {
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 999px;
  background: white;
  color: var(--primary);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.luma-coach-card {
  display: grid;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.94)),
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 34%);
  padding: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.luma-coach-top {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.luma-coach-top span,
.luma-coach-next small,
.neutral-live-copy > span,
.template-status-pill {
  color: var(--primary);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.luma-coach-top strong {
  min-width: 0;
  color: #101828;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.luma-coach-top em {
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
  padding: 5px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.luma-coach-card p,
.neutral-live-copy p,
.selected-template-preview p {
  margin: 0;
  color: #475467;
  line-height: 1.5;
}

.luma-coach-template,
.luma-coach-next {
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 10px;
}

.luma-coach-template {
  color: #475467;
  font-size: 12px;
  font-weight: 850;
}

.luma-coach-template strong,
.luma-coach-next span {
  color: #101828;
}

.luma-coach-next {
  display: grid;
  gap: 4px;
}

.luma-coach-next span {
  font-size: 13px;
  line-height: 1.45;
}

.luma-coach-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.luma-coach-examples button {
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.luma-coach-examples button:hover,
.quick-chip-row button:hover {
  background: color-mix(in srgb, var(--primary) 9%, white);
  border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
}

.live-site-preview-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 46px rgba(15, 23, 42, 0.1);
}

.live-generation-card-host {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: linear-gradient(135deg, #f8fffd 0%, #f3f6ff 100%);
}

.live-generation-state {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, calc(100% - 48px));
  padding: 24px;
  color: #101828;
}

.live-generation-state strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.live-generation-state p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.live-generation-spinner {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 4px solid color-mix(in srgb, var(--primary) 18%, #ffffff);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: live-generation-spin 0.85s linear infinite;
}

@keyframes live-generation-spin {
  to { transform: rotate(360deg); }
}

.neutral-live-workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 16px;
  min-height: 270px;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(135deg, #ffffff 0%, #f3f5ff 56%, #eefaf6 100%);
  padding: 22px;
}

.neutral-live-copy,
.neutral-live-steps {
  position: relative;
  z-index: 1;
}

.neutral-live-copy h2 {
  max-width: 560px;
  margin: 8px 0 10px;
  color: #101828;
  font-size: 28px;
  line-height: 1.03;
  letter-spacing: 0;
}

.neutral-live-steps {
  display: grid;
  gap: 10px;
}

.neutral-live-steps article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  padding: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.neutral-live-steps article.active {
  border-color: color-mix(in srgb, var(--primary) 26%, white);
  background: rgba(255, 255, 255, 0.9);
}

.neutral-live-steps b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #101828;
  color: #ffffff;
  font-size: 12px;
}

.neutral-live-steps article.active b {
  background: var(--primary);
}

.neutral-live-steps strong,
.neutral-live-steps span {
  display: block;
}

.neutral-live-steps strong {
  color: #101828;
  font-size: 13px;
}

.neutral-live-steps span {
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}

.neutral-live-orbit {
  position: absolute;
  inset: auto -60px -90px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.neutral-live-orbit span {
  position: absolute;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 20%, white);
}

.neutral-live-orbit span:nth-child(1) {
  width: 118px;
  height: 118px;
  right: 88px;
  top: 28px;
}

.neutral-live-orbit span:nth-child(2) {
  width: 52px;
  height: 52px;
  right: 46px;
  top: 34px;
}

.neutral-live-orbit span:nth-child(3) {
  width: 76px;
  height: 76px;
  right: 142px;
  bottom: 28px;
}

.live-template-preview-shell {
  max-height: min(62vh, 620px);
  overflow: auto;
  background: #eef2f6;
  padding: 16px;
}

.live-template-preview-shell > .rendered-site,
.ai-contract-preview-shell > * {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
}

.template-board-panel {
  width: 100%;
  box-shadow: none;
}

.template-board-grid {
  grid-auto-columns: minmax(230px, 1fr);
  max-width: 100%;
}

.template-board-grid.template-coverflow-track {
  grid-auto-columns: minmax(260px, 340px);
  justify-content: start;
}

.template-board-card {
  overflow: hidden;
  padding: 0;
}

.template-board-card.active-card {
  border-color: color-mix(in srgb, var(--primary) 62%, var(--line));
}

.template-board-image img {
  border: 0;
  border-radius: 0;
}

/* Live mini preview shown inside .template-board-image instead of a static
   screenshot -- see templateLivePreviewMarkup() in ai-builder.js. */
.template-live-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  aspect-ratio: 16 / 10;
  padding: 9px 10px 10px;
  background: var(--tlp-paper, #f2f2ec);
  color: var(--tlp-ink, #111111);
  overflow: hidden;
}

.tlp-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tlp-nav b {
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 62px;
}

.tlp-nav i {
  display: block;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--tlp-ink, #111) 28%, transparent);
}

.tlp-nav em {
  margin-left: auto;
  display: block;
  width: 16px;
  height: 8px;
  border-radius: 4px;
  background: var(--tlp-accent, #101828);
}

.tlp-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.tlp-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.tlp-copy b {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--tlp-ink, #111) 82%, transparent);
}

.tlp-copy b:first-child {
  width: 86%;
}

.tlp-copy b:nth-child(2) {
  width: 62%;
}

.tlp-copy i {
  display: block;
  margin-top: 3px;
  width: 34px;
  height: 9px;
  border-radius: 5px;
  background: var(--tlp-accent, #101828);
}

.tlp-image {
  display: flex;
  gap: 3px;
  flex: 0 0 40%;
}

.tlp-image i {
  display: block;
  flex: 1;
  height: 34px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--tlp-accent, #101828) 24%, var(--tlp-paper, #fff));
}

.tlp-image i:nth-child(2) {
  background: color-mix(in srgb, var(--tlp-accent, #101828) 42%, var(--tlp-paper, #fff));
}

.tlp-cards {
  display: flex;
  gap: 4px;
}

.tlp-cards i {
  display: block;
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--tlp-ink, #111) 8%, var(--tlp-paper, #fff));
  border: 1px solid color-mix(in srgb, var(--tlp-ink, #111) 14%, transparent);
}

.template-board-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.template-carousel-body > strong,
.template-board-body > strong,
.template-carousel-body > small,
.template-board-body > small {
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.template-carousel-body > strong,
.template-board-body > strong {
  -webkit-line-clamp: 2;
}

.template-carousel-body > small,
.template-board-body > small {
  -webkit-line-clamp: 3;
}

.template-board-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.template-board-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.template-board-badges em {
  margin: 0;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  padding: 4px 6px;
  font-size: 9px;
}

.template-carousel-body button,
.template-board-body button,
.selected-template-preview-actions button {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--line));
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 950;
}

.selected-template-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.selected-template-preview-copy span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-template-preview-copy h2 {
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.06;
}

.selected-template-preview-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
}

.selected-template-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.selected-template-preview-actions button {
  flex: 1 1 180px;
}

.selected-template-preview-actions [data-change-template] {
  background: #ffffff;
  color: #101828;
}

/* "LYRA's build plan" transparency panel -- ported from client-setup.css
   (.public-client-setup .ai-build-*) so the same plan-before-generating view
   also renders inside ai-builder.html, not only the public client flow.
   Populated by renderGuidedBriefReview() in ai-builder.js. */
.guided-brief-review {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.guided-brief-review:empty {
  display: none;
}

.ai-build-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.24), transparent 36%),
    linear-gradient(145deg, #f0fdfa, #ffffff 62%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.ai-build-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ai-build-card-head span,
.ai-build-reason b,
.ai-build-grid span {
  color: #0f766e;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-build-card-head strong {
  color: #101828;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
}

.ai-build-card p,
.ai-build-reason span,
.ai-build-focus span,
.ai-build-pages article span {
  margin: 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.45;
}

.ai-build-reason {
  display: grid;
  gap: 5px;
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.ai-build-focus {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 15px;
  background: #101828;
}

.ai-build-focus strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.15;
}

.ai-build-focus span {
  color: rgba(255, 255, 255, 0.72);
}

.ai-build-pages {
  display: grid;
  gap: 8px;
}

.ai-build-pages article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(248, 250, 252, 0.92);
}

.ai-build-pages article b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #064e3b;
  background: #99f6e4;
  font-size: 12px;
  font-weight: 950;
}

.ai-build-pages article strong {
  display: block;
  color: #101828;
  font-size: 14px;
  font-weight: 950;
}

.ai-build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ai-build-grid section {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 12px;
  background: #ffffff;
}

.ai-build-grid strong {
  color: #344054;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .ai-build-card-head {
    flex-direction: column;
  }

  .ai-build-card-head strong {
    text-align: left;
  }

  .ai-build-grid {
    grid-template-columns: 1fr;
  }
}

.guided-asset-prompt {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 38%),
    white;
  padding: 10px;
  box-shadow: 0 12px 26px rgba(21, 40, 35, 0.08);
}

.guided-asset-prompt.active {
  display: flex;
}

.guided-asset-prompt strong,
.guided-asset-prompt span {
  display: block;
}

.guided-asset-prompt strong {
  font-size: 12px;
}

.guided-asset-prompt span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.guided-asset-prompt > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .guided-asset-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .guided-asset-prompt > div:last-child {
    justify-content: stretch;
  }

  .guided-asset-prompt button {
    flex: 1 1 140px;
  }
}

.let-ai-row,
.guided-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hidden-helper-actions {
  display: none;
}

.let-ai-row button {
  padding: 7px 8px;
  color: var(--primary);
  font-size: 12px;
}

.secondary-action {
  background: white !important;
  color: var(--ink) !important;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.chat-input-row input {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-inline: 16px;
  background: white;
}

.chat-input-row input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.chat-send-button {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
}

.chat-send-button:hover {
  background: color-mix(in srgb, var(--primary) 88%, black);
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.summary-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.summary-head h2 {
  margin: 0;
  font-size: 17px;
}

.summary-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summary-grid label:has(textarea),
.summary-grid label:has([data-summary-field="businessDescription"]),
.summary-grid label:has([data-summary-field="servicesProducts"]),
.summary-grid label:has([data-summary-field="contactInfo"]),
.summary-grid label:has([data-summary-field="photoUrls"]) {
  grid-column: 1 / -1;
}

.mobile-review-details summary {
  display: none;
}

.asset-preview-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}

.asset-preview {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.asset-preview.active {
  display: block;
}

.photo-preview-strip {
  display: flex;
  gap: 6px;
  min-width: 0;
}

.photo-preview-strip img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.brand-kit-panel,
.brand-kit-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.brand-kit-panel {
  margin: 12px 0;
}

.brand-kit-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-kit-head img {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
}

.brand-kit-head strong,
.brand-kit-head span {
  display: block;
}

.brand-kit-head span,
.brand-kit-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.brand-kit-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.brand-swatch {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 999px;
  background: var(--swatch);
}

.brand-kit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.brand-kit-button {
  border: 0;
  border-radius: var(--brand-radius, 8px);
  background: var(--brand-button, var(--primary));
  color: var(--brand-button-text, #ffffff);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
}

#guidedGenerateButton {
  width: 100%;
  margin-top: 4px;
}

.workspace {
  min-width: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.toolbar span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
}

.preview-mode-button {
  display: inline-grid;
  width: 42px;
  height: 40px;
  place-items: center;
  padding: 0;
}

.preview-mode-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toolbar button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(560px, 1fr) minmax(260px, 320px);
  gap: 16px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(240, 230, 255, 0.72), rgba(220, 230, 255, 0.84)),
    #eef2ff;
}

.editor-panel,
.preview-panel,
.studio-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.studio-side,
.editor-panel {
  padding: 16px;
  overflow-y: auto;
  max-height: calc(100vh - 86px);
}

.studio-side {
  display: grid;
  align-content: start;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 0;
}

.studio-card,
.studio-add-button {
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(31, 41, 55, 0.12);
}

.studio-add-button {
  width: max-content;
  padding: 14px 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.studio-card {
  padding: 16px;
}

.studio-card-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.studio-card-head strong {
  font-size: 16px;
}

.studio-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.studio-search {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  padding: 11px 12px;
  font-size: 13px;
}

.studio-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.studio-chip-row button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 10px;
  font-weight: 900;
}

.studio-chip-row button:first-child {
  background: #101828;
  color: #ffffff;
}

.studio-element-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.studio-element-grid button {
  display: grid;
  gap: 6px;
  min-height: 82px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
  color: var(--ink);
  padding: 12px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.studio-element-grid button:hover {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.studio-element-grid span {
  font-size: 13px;
  font-weight: 950;
}

.studio-element-grid small {
  color: var(--muted);
  line-height: 1.25;
}

.studio-editor-card {
  max-height: calc(100vh - 280px);
  overflow: auto;
}

.editor-mount:not(.advanced-inspector-open) > .editor-group:not(.studio-inspector) {
  display: none;
}

.studio-inspector {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.studio-inspector-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.studio-inspector-head h3,
.studio-inspector-head p {
  margin: 0;
}

.studio-inspector-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.studio-inspector-grid {
  display: grid;
  gap: 10px;
}

.studio-canvas-panel {
  position: relative;
  align-self: start;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.16);
}

.studio-selection-toolbar {
  position: absolute;
  top: 58px;
  left: 50%;
  z-index: 30;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 8px;
  background: #ffffff;
  padding: 7px;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
}

.studio-selection-toolbar[hidden] {
  display: none;
}

.studio-selection-toolbar button {
  border: 0;
  border-radius: 6px;
  background: #f8fafc;
  color: #101828;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 950;
}

.studio-selection-toolbar button[data-selection-action="luma"] {
  background: #2563eb;
  color: #ffffff;
}

.studio-selection-toolbar button[data-selection-action="delete"] {
  color: #b42318;
}

.luma-studio-card {
  display: grid;
  gap: 16px;
  margin-top: 72px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(16px);
}

.studio-luma-avatar {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 138px;
}

.studio-luma-avatar::before {
  content: "";
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(145deg, rgba(37, 99, 235, 0.28), rgba(126, 87, 255, 0.18));
  filter: blur(2px);
}

.studio-luma-avatar .assistant-avatar {
  position: relative;
  width: 118px;
  height: 118px;
  border: 0;
  background: transparent;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
}

.studio-luma-avatar span {
  position: absolute;
  right: calc(50% - 54px);
  bottom: 12px;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: #57c785;
}

.studio-luma-message {
  position: relative;
  margin: -4px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.luma-progress-list {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  padding: 14px;
}

.luma-progress-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.luma-progress-list span,
.luma-progress-list i,
.luma-progress-list em {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: #57c785;
}

.luma-progress-list span::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.luma-progress-list i {
  border: 2px solid #2563eb;
  border-left-color: transparent;
  background: transparent;
}

.luma-progress-list em {
  width: 6px;
  height: 6px;
  margin-inline: 6px;
  background: #2563eb;
}

.luma-panel-section {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 13px;
}

.luma-panel-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.luma-panel-section-head strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.luma-panel-section-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.luma-insight-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.luma-insight-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.luma-insight-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2563eb;
}

.luma-recent-list li::before {
  background: #57c785;
}

.studio-primary-action {
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 950;
}

.studio-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(12px);
}

.studio-auth-gate[hidden] {
  display: none;
}

#studioAuthCloseButton[hidden] {
  display: none !important;
}

.studio-auth-card {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 32%),
    #ffffff;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 35px 110px rgba(15, 23, 42, 0.34);
}

.studio-auth-card .icon-button {
  position: absolute;
  top: 12px;
  right: 12px;
}

.studio-auth-avatar {
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.studio-auth-avatar .assistant-avatar {
  width: 92px;
  height: 92px;
  border: 0;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.2);
}

.studio-auth-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.02;
  text-align: center;
}

.studio-auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.studio-auth-loading {
  position: relative;
  min-height: 230px;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  overflow: hidden;
  border-radius: 12px;
}

.studio-auth-loading[hidden] {
  display: none;
}

.studio-auth-loading strong {
  color: var(--ink);
  font-size: 20px;
}

/* Replaces the old generic spinner (Beto: "eso no tiene nada que ver con
   Lyra"). Uses the real Nixie/LYRA illustration (/assets/nixie_idle.png,
   the same asset used elsewhere in the builder and the client-projects
   hub) instead of an unbranded blue ring, with a soft brand-color halo
   and a slow idle float so it reads as "Lyra is working", not a loading
   bar from any other product. */
.studio-auth-lyra {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
}

.studio-auth-lyra::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32), rgba(34, 211, 238, 0.18) 60%, transparent 75%);
  filter: blur(6px);
  animation: studio-auth-lyra-glow 2.6s ease-in-out infinite;
}

.studio-auth-lyra img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(11, 10, 36, 0.35));
  animation: studio-auth-lyra-float 3.2s ease-in-out infinite;
}

@keyframes studio-auth-lyra-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.02); }
}

@keyframes studio-auth-lyra-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 0.95; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .studio-auth-lyra::before,
  .studio-auth-lyra img {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}

.studio-auth-actions {
  display: grid;
  gap: 10px;
}

/* Wix-style provider buttons: icon anchored left, label centered in the
   remaining space -- matches the reference Beto shared on 2026-07-19. */
.studio-auth-provider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.studio-auth-provider svg {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.studio-auth-provider[hidden] {
  display: none;
}

.studio-auth-provider:disabled {
  cursor: not-allowed;
  background: #f8fafc;
  color: #64748b;
  opacity: 0.72;
}

.studio-auth-coming-soon {
  position: absolute;
  right: 12px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 10px;
  font-weight: 850;
}

.studio-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.studio-auth-divider::before,
.studio-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.studio-email-auth {
  display: grid;
  gap: 10px;
}

.studio-email-auth label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.studio-email-auth input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.studio-email-auth button {
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 950;
}

.studio-legal-consent { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0; color: var(--muted, #5d6875); font-size: .86rem; line-height: 1.45; }
.studio-legal-consent input { width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: #157f6c; flex: 0 0 auto; }
.studio-legal-consent a { color: inherit; font-weight: 700; text-underline-offset: 2px; }
.studio-legal-consent.is-accepted { color: #157f6c; }

.studio-email-auth button:disabled,
.studio-magic-link-confirmation button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.studio-auth-inline-error {
  margin: 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
}

.studio-magic-link-confirmation {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a5f;
  text-align: left;
}

.studio-magic-link-confirmation[hidden] {
  display: none;
}

.studio-magic-link-confirmation strong {
  color: #0f172a;
  font-size: 17px;
}

.studio-magic-link-confirmation p {
  margin: 0;
  line-height: 1.5;
}

.studio-magic-link-confirmation button {
  border: 1px solid #93c5fd;
  border-radius: 8px;
  background: #ffffff;
  color: #1d4ed8;
  padding: 10px 12px;
  font-weight: 850;
}

.studio-auth-demo {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  text-decoration: underline;
  justify-self: center;
}

.client-projects-panel {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.22), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.18), transparent 32%),
    rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(14px);
}

.client-projects-panel[hidden] {
  display: none;
}

/* "Mis paginas" no longer blurs/disables the chat behind it - it docks
   inline above it instead (see ".client-projects-panel.is-docked" further
   down and ensureClientProjectsPanel() in src/ai-builder/auth.js). Kept the
   .client-projects-open class itself (still added/removed in auth.js) in
   case a future state needs to react to it, but it has no visual effect
   here anymore. */

.client-projects-card {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(860px, calc(100vh - 44px));
  display: grid;
  gap: 24px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.98)),
    #ffffff;
  padding: 26px;
  box-shadow: 0 42px 120px rgba(2, 6, 23, 0.36);
}

.client-projects-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.client-projects-button[hidden] {
  display: none;
}

.client-projects-head {
  display: grid;
  gap: 7px;
  padding-right: 44px;
}

.client-projects-head span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-projects-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.client-projects-head p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.5;
}

.client-projects-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.client-project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.client-project-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 34%, transparent);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.client-project-preview {
  position: relative;
  min-height: 174px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: hsl(var(--client-project-hue) 52% 93%);
  isolation: isolate;
}

.client-project-preview iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.client-project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 -28px 36px rgba(15, 23, 42, 0.06);
}

.client-project-preview-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 9px 9px 9px 1fr;
  grid-template-rows: 24px 1fr;
  gap: 5px;
  padding: 10px;
  background:
    radial-gradient(circle at 82% 18%, hsla(var(--client-project-hue) 88% 62% / 0.32), transparent 33%),
    linear-gradient(145deg, hsl(var(--client-project-hue) 52% 96%), hsl(var(--client-project-hue) 44% 88%));
}

.client-project-preview-fallback > span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: hsla(var(--client-project-hue) 38% 28% / 0.24);
}

.client-project-preview-fallback > div {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 36px;
  gap: 8px;
}

.client-project-preview-fallback i {
  display: block;
  border-radius: 9px;
  background: hsla(var(--client-project-hue) 70% 42% / 0.82);
  box-shadow: 0 8px 18px hsla(var(--client-project-hue) 46% 28% / 0.13);
}

.client-project-preview-fallback i:nth-child(2),
.client-project-preview-fallback i:nth-child(3) {
  background: rgba(255, 255, 255, 0.88);
}

.client-project-status {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.client-project-status.is-draft {
  background: #fff7ed;
  color: #c2410c;
}

.client-project-status.is-published {
  background: #ecfdf5;
  color: #047857;
}

.client-project-content {
  flex: 1;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.client-project-copy {
  min-width: 0;
}

.client-project-template {
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 9%, #ffffff);
  color: color-mix(in srgb, var(--primary) 78%, #0f172a);
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-project-card h3 {
  margin: 11px 0 6px;
  overflow: hidden;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.client-project-card small {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-project-open {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: var(--primary);
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.client-project-open:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.client-new-project-card {
  min-height: 318px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1.5px dashed color-mix(in srgb, var(--primary) 42%, #cbd5e1);
  border-radius: 16px;
  background: color-mix(in srgb, var(--primary) 3%, #ffffff);
  color: #0f172a;
  padding: 24px;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.client-new-project-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, #ffffff);
}

.client-new-project-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary);
  color: #ffffff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--primary) 25%, transparent);
}

.client-new-project-card strong {
  font-size: 18px;
}

.client-new-project-card small {
  max-width: 190px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.client-project-resume-card {
  --client-resume-teal: #0f8f83;
  width: min(600px, 100%);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 143, 131, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(45, 212, 191, 0.12), transparent 30%),
    #ffffff;
  padding: 34px;
  font-family: inherit;
  box-shadow: 0 28px 80px rgba(8, 47, 73, 0.24);
}

.client-project-resume-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--client-resume-teal), #22d3ee);
}

.client-project-resume-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: #0f172a;
}

.client-project-resume-brand > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 143, 131, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, #ecfeff, #ccfbf1);
  box-shadow: 0 10px 24px rgba(15, 143, 131, 0.14);
}

.client-project-resume-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.client-project-resume-brand strong {
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
}

.client-project-resume-card .client-projects-head {
  gap: 9px;
  padding-right: 0;
}

.client-project-resume-card .client-projects-head > span {
  color: var(--client-resume-teal);
}

.client-project-resume-card .client-projects-head h2 {
  max-width: 520px;
  color: #0f172a;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.04;
  letter-spacing: 0;
}

.client-project-resume-project {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  border: 1px solid rgba(15, 143, 131, 0.18);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.92), rgba(236, 254, 255, 0.72));
  padding: 15px 17px;
}

.client-project-resume-project > span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 3px solid #ccfbf1;
  border-radius: 999px;
  background: var(--client-resume-teal);
  box-shadow: 0 0 0 4px rgba(15, 143, 131, 0.09);
}

.client-project-resume-project div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.client-project-resume-project strong,
.client-project-resume-project small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-project-resume-project strong {
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.client-project-resume-project small {
  color: #64748b;
  font-size: 12px;
}

.client-project-resume-question {
  margin: 17px 0 0;
  color: #526077;
  font-size: 15px;
  line-height: 1.55;
}

.client-project-resume-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 26px;
}

.client-project-resume-actions button {
  min-height: 50px;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.client-project-resume-actions button:hover {
  transform: translateY(-2px);
}

.client-project-resume-actions button:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.34);
  outline-offset: 3px;
}

.client-project-resume-primary {
  border: 1px solid var(--client-resume-teal);
  background: var(--client-resume-teal);
  color: #ffffff;
  box-shadow: 0 13px 26px rgba(15, 143, 131, 0.22);
}

.client-project-resume-primary:hover {
  background: #0b766d;
  box-shadow: 0 17px 32px rgba(15, 143, 131, 0.28);
}

.client-project-resume-secondary {
  border: 1px solid rgba(15, 143, 131, 0.46);
  background: rgba(255, 255, 255, 0.9);
  color: #0b766d;
}

.client-project-resume-secondary:hover {
  border-color: var(--client-resume-teal);
  background: #f0fdfa;
}

.client-projects-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(20, 184, 166, 0.38);
  border-radius: 12px;
  background: rgba(240, 253, 250, 0.74);
  padding: 22px;
}

.client-projects-empty strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 18px;
}

.client-projects-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.client-projects-skeleton {
  height: 220px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(226, 232, 240, 0.75) 25%, rgba(248, 250, 252, 0.96) 37%, rgba(226, 232, 240, 0.75) 63%);
  background-size: 400% 100%;
  animation: clientProjectsShimmer 1.4s ease-in-out infinite;
}

@keyframes clientProjectsShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

@media (max-width: 640px) {
  .client-projects-panel {
    align-items: stretch;
    padding: 10px;
  }

  .client-projects-card {
    max-height: calc(100vh - 20px);
    gap: 20px;
    padding: 18px;
  }

  .client-projects-head h2 {
    font-size: 31px;
  }

  .client-projects-list {
    grid-template-columns: 1fr;
  }

  .client-new-project-card {
    min-height: 112px;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    place-items: start;
    align-content: center;
    padding: 18px;
    text-align: left;
  }

  .client-new-project-icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 26px;
  }

  .client-new-project-card strong {
    align-self: end;
  }

  .client-new-project-card small {
    max-width: none;
    align-self: start;
  }

  .client-project-preview {
    min-height: 184px;
  }

  .client-project-resume-card {
    align-self: center;
    padding: 26px 22px 22px;
  }

  .client-project-resume-brand {
    margin-bottom: 20px;
  }

  .client-project-resume-card .client-projects-head h2 {
    font-size: 31px;
  }

  .client-project-resume-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .client-projects-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Unified client project hub */
.client-projects-panel {
  --client-hub-teal: #087f76;
  --client-hub-teal-dark: #06675f;
  --client-hub-ink: #102a2e;
  --client-hub-muted: #617577;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 10% 10%, rgba(36, 147, 135, 0.18), transparent 34%),
    radial-gradient(circle at 90% 86%, rgba(120, 167, 152, 0.13), transparent 32%),
    #152522;
  backdrop-filter: blur(18px);
}

.client-projects-card {
  width: min(1240px, 100%);
  max-height: min(880px, calc(100vh - 64px));
  gap: 27px;
  border: 1px solid rgba(208, 230, 226, 0.9);
  border-radius: 18px;
  background: #f8fbfa;
  padding: 28px;
  box-shadow: 0 40px 100px rgba(3, 22, 20, 0.34);
}

.client-projects-topbar,
.client-projects-brand,
.client-projects-title-row,
.client-projects-section-head,
.client-project-card-head {
  display: flex;
  align-items: center;
}

.client-projects-topbar {
  min-height: 40px;
  justify-content: space-between;
  gap: 16px;
  padding-right: 52px;
}

.client-projects-brand {
  gap: 9px;
  color: var(--client-hub-ink);
}

.client-projects-brand img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.client-projects-brand strong {
  font-size: 15px;
  font-weight: 950;
}

.client-projects-brand span {
  border-left: 1px solid #c9dcda;
  color: var(--client-hub-teal);
  padding-left: 9px;
  font-size: 11px;
  font-weight: 900;
}

.client-projects-account,
.client-projects-section-head span {
  color: #687a77;
  font-size: 11px;
  font-weight: 700;
}

.client-projects-close {
  border-color: #d5e5e2;
  background: #ffffff;
  color: var(--client-hub-ink);
  box-shadow: 0 7px 18px rgba(11, 58, 60, 0.08);
}

.client-projects-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  align-items: end;
  gap: 24px;
}

.client-projects-heading-copy > span {
  display: block;
  margin-bottom: 5px;
  color: var(--client-hub-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.client-projects-heading-copy h2 {
  margin: 0;
  color: var(--client-hub-ink);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.client-projects-head p {
  margin: 0;
  color: var(--client-hub-muted);
  font-size: 13px;
  line-height: 1.5;
}

.client-project-resume-banner {
  display: grid;
  grid-template-columns: 1.38fr 0.8fr;
  min-height: 265px;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid #d7e5e2;
  border-radius: 16px;
  background: #ffffff;
  padding: 0;
  box-shadow: 0 12px 34px rgba(28, 58, 53, 0.08);
  transition:
    transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.client-project-resume-banner:hover {
  transform: translateY(-3px);
  border-color: #b6d8d2;
  box-shadow: 0 22px 52px rgba(24, 65, 58, 0.13);
}

.client-project-resume-thumb {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  border: 0;
  border-right: 1px solid #e2e9e7;
  border-radius: 0;
  background: hsl(var(--client-project-hue) 42% 88%);
}

.client-project-resume-thumb iframe {
  width: 250%;
  height: 250%;
  border: 0;
  transform: scale(0.4);
  transform-origin: 0 0;
  pointer-events: none;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.client-project-resume-banner:hover .client-project-resume-thumb iframe {
  transform: scale(0.408);
}

.client-project-resume-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
}

.client-project-resume-copy {
  min-width: 0;
}

.client-project-resume-copy > span {
  color: var(--client-hub-teal);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.client-project-resume-copy h3 {
  margin: 9px 0 7px;
  overflow: hidden;
  color: var(--client-hub-ink);
  font-size: 28px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-project-resume-copy p {
  margin: 0;
  color: var(--client-hub-muted);
  font-size: 12px;
}

.client-project-resume-copy small {
  display: block;
  margin-top: 3px;
  color: var(--client-hub-muted);
  font-size: 12px;
}

.client-project-resume-details > button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
  border: 0;
  border-radius: 10px;
  background: var(--client-hub-teal);
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(8, 127, 118, 0.17);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.client-project-resume-details > button span {
  transition: transform 200ms ease;
}

.client-project-resume-details > button:hover {
  background: var(--client-hub-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(8, 127, 118, 0.25);
}

.client-project-resume-details > button:hover span {
  transform: translateX(2px);
}

.client-projects-section-head {
  justify-content: space-between;
  gap: 12px;
  border-top: 0;
  padding-top: 0;
  color: var(--client-hub-ink);
}

.client-projects-section-head strong {
  font-size: 16px;
}

.client-projects-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.client-project-card,
.client-new-project-card {
  border-radius: 18px;
}

.client-project-card {
  position: relative;
  border-color: #dbe8e6;
  box-shadow: 0 9px 24px rgba(12, 57, 59, 0.07);
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.client-project-card:hover {
  border-color: rgba(8, 127, 118, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 19px 42px rgba(18, 59, 52, 0.12);
}

.client-project-card .client-project-preview iframe {
  width: 250%;
  height: 250%;
  transform: scale(0.4);
  transform-origin: 0 0;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.client-project-card:hover .client-project-preview iframe {
  transform: scale(0.408);
}

.client-project-content {
  gap: 13px;
  padding: 15px;
}

.client-project-card .client-project-preview {
  min-height: 137px;
}

.client-project-card .client-project-status {
  right: auto;
  left: 12px;
}

.client-project-card-head {
  position: relative;
  justify-content: space-between;
  gap: 10px;
}

.client-project-template {
  background: #e8f6f3;
  color: var(--client-hub-teal-dark);
}

.client-project-menu-wrap {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
}

.client-project-menu-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e6e4;
  border-radius: 10px;
  background: #ffffff;
  color: var(--client-hub-ink);
  font-size: 20px;
  line-height: 1;
}

.client-project-actions-menu {
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 8;
  min-width: 130px;
  display: none;
  border: 1px solid #e4dddc;
  border-radius: 11px;
  background: #ffffff;
  padding: 5px;
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.16);
}

.client-project-actions-menu.is-open {
  display: block;
}

.client-project-actions-menu button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b42318;
  padding: 9px 11px;
  font-weight: 850;
  text-align: left;
}

.client-project-actions-menu button:hover {
  background: #fff1f0;
}

.client-project-card h3 {
  margin-top: 0;
  color: var(--client-hub-ink);
}

.client-project-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #7b8986;
  font-size: 10px;
}

.client-project-meta-line p,
.client-project-meta-line small {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.client-project-domain {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--client-hub-teal-dark);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-project-open-surface {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.client-project-open-surface:focus-visible {
  outline: 3px solid rgba(8, 127, 118, 0.35);
  outline-offset: 3px;
}

.client-new-project-card {
  border-color: rgba(8, 127, 118, 0.42);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(37, 196, 180, 0.16), transparent 36%),
    linear-gradient(145deg, #f8fffe 0%, #eaf8f5 100%);
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 280ms ease,
    background 280ms ease;
}

.client-new-project-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(8, 127, 118, 0.16);
  border-radius: 999px;
  opacity: 0.7;
  animation: client-new-project-orbit 3.2s ease-in-out infinite;
  pointer-events: none;
}

.client-new-project-card:hover {
  border-color: var(--client-hub-teal);
  background: #edf8f6;
  transform: translateY(-3px);
}

.client-new-project-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 21px;
  background: var(--client-hub-teal);
  color: #ffffff;
  font-size: 38px;
  box-shadow: 0 18px 38px rgba(8, 127, 118, 0.25), 0 0 0 9px rgba(8, 127, 118, 0.08);
  transition: transform 250ms ease, background 250ms ease, color 250ms ease;
}

.client-new-project-card:hover .client-new-project-icon {
  background: var(--client-hub-teal);
  color: #ffffff;
  transform: rotate(6deg) scale(1.04);
}

.client-project-delete-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 31, 33, 0.58);
  backdrop-filter: blur(10px);
}

.client-project-delete-layer[hidden] {
  display: none;
}

.client-project-delete-dialog {
  width: min(490px, 100%);
  border: 1px solid #ead7d4;
  border-radius: 20px;
  background: #ffffff;
  padding: 28px;
  color: var(--client-hub-ink);
  box-shadow: 0 32px 80px rgba(43, 26, 24, 0.28);
}

.client-project-delete-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #feeceb;
  color: #b42318;
  font-size: 23px;
  font-weight: 950;
}

.client-project-delete-dialog > span {
  display: block;
  margin-top: 18px;
  color: #b42318;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.client-project-delete-dialog h2 {
  margin: 7px 0 10px;
  overflow-wrap: anywhere;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.client-project-delete-dialog p {
  margin: 0;
  color: #667476;
  line-height: 1.55;
}

.client-project-delete-error {
  margin-top: 14px;
  border-radius: 10px;
  background: #fff1f0;
  color: #b42318;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.client-project-delete-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.client-project-delete-actions button {
  min-height: 45px;
  border-radius: 11px;
  padding: 11px 15px;
  font-weight: 900;
}

.client-project-delete-actions [data-client-project-delete-cancel] {
  border: 1px solid #ccdeda;
  background: #ffffff;
  color: var(--client-hub-ink);
}

.client-project-delete-actions [data-client-project-delete-confirm] {
  border: 1px solid #c93327;
  background: #c93327;
  color: #ffffff;
}

.client-project-delete-actions [data-client-project-delete-confirm]:disabled {
  opacity: 0.64;
}

/* Full-viewport project library and resilient project previews. */
.client-projects-panel {
  place-items: stretch;
  padding: 0;
  background: #f8fbfa;
  backdrop-filter: none;
}

.client-projects-card {
  width: 100%;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: clamp(22px, 3vw, 42px) clamp(20px, 5vw, 72px);
  box-shadow: none;
}

/* Beto (2026-09-21): "si ya va a ser un chat asi simplemente debe estar
   integrado en la pagina que el cliente pueda ver otras cosas sus paginas
   creadas o crear otra opciones... si no va a ser una pagina mas en el
   proceso y es agotador". "Mis paginas" used to be the full-viewport fixed
   overlay above (task #17, "pantalla completa") that blurred and disabled
   the chat behind it. It now docks inline as a normal block at the top of
   .guided-layout (see ensureClientProjectsPanel() in
   src/ai-builder/auth.js) so the client sees their pages and can keep
   talking to LYRA in the same screen - no separate step to open or close.
   Two classes beat the single-class rules above on specificity, so this
   wins regardless of source order. */
/* .guided-layout has no explicit grid-template-rows of its own - its
   implicit/auto row tracks are sized for its original two-or-three item
   set (live-stage, chat-card, summary-panel). Verified live on
   production that simply adding a 4th item there, with no explicit row
   template, made the browser's implicit row-sizing pass give it 0px no
   matter what height/align-self/grid-row it was given, even though the
   item's own content clearly had real height - only declaring an
   explicit grid-template-rows on .guided-layout itself made the first
   row size to content correctly. ensureClientProjectsPanel() (see
   src/ai-builder/auth.js) adds this class to .guided-layout precisely
   when it docks the panel in, so every other state of this grid (review
   mode, building mode, etc.) is completely untouched. */
.guided-layout.guided-layout--docked-panel {
  grid-template-rows: auto 1fr;
}

.client-projects-panel.is-docked {
  position: static;
  inset: auto;
  z-index: auto;
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: start;
  display: block;
  place-items: initial;
  padding: 0;
  margin-bottom: 18px;
  background: none;
  backdrop-filter: none;
}

.client-projects-panel.is-docked[hidden] {
  display: none;
  margin-bottom: 0;
}

.client-projects-panel.is-docked .client-projects-card {
  width: 100%;
  height: auto;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbfa;
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

@media (max-width: 720px) {
  .client-projects-panel.is-docked .client-projects-card {
    padding: 16px;
    border-radius: 14px;
  }
}

.client-project-preview iframe,
.client-project-resume-thumb iframe {
  opacity: 0;
  transition: opacity 240ms ease, transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.client-project-preview.is-ready iframe,
.client-project-resume-thumb.is-ready iframe {
  opacity: 1;
}

.client-project-preview.is-unavailable iframe,
.client-project-resume-thumb.is-unavailable iframe {
  visibility: hidden;
}

.client-project-preview-fallback {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(circle at 74% 18%, hsla(var(--client-project-hue) 78% 62% / 0.22), transparent 34%),
    linear-gradient(145deg, hsl(var(--client-project-hue) 48% 97%), hsl(var(--client-project-hue) 38% 90%));
  color: hsl(var(--client-project-hue) 42% 25%);
  text-align: center;
}

.client-project-preview-fallback > span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.client-project-preview-mark {
  width: 36px !important;
  height: 36px !important;
  display: grid;
  place-items: center;
  border-radius: 11px !important;
  background: hsl(var(--client-project-hue) 58% 42%) !important;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 10px 24px hsla(var(--client-project-hue) 46% 28% / 0.2);
}

.client-project-preview-spinner {
  position: absolute;
  width: 50px !important;
  height: 50px !important;
  border: 2px solid hsla(var(--client-project-hue) 42% 36% / 0.16) !important;
  border-top-color: hsl(var(--client-project-hue) 58% 42%) !important;
  border-radius: 999px !important;
  animation: client-project-preview-spin 900ms linear infinite;
}

.client-project-preview-loading-copy,
.client-project-preview-unavailable-copy {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 850;
}

.client-project-preview-unavailable-copy,
.is-unavailable .client-project-preview-loading-copy,
.is-ready .client-project-preview-fallback {
  display: none;
}

.is-unavailable .client-project-preview-unavailable-copy {
  display: block;
}

.is-unavailable .client-project-preview-spinner {
  display: none;
}

.client-new-project-prompts {
  position: relative;
  width: min(230px, 100%);
  height: 48px;
  overflow: hidden;
  color: #17665f;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.3;
}

.client-new-project-prompts > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  opacity: 0;
  transform: translateY(8px);
  animation: client-new-project-prompt 9s ease-in-out infinite;
}

.client-new-project-prompts > span:nth-child(2) {
  animation-delay: 3s;
}

.client-new-project-prompts > span:nth-child(3) {
  animation-delay: 6s;
}

.client-new-project-icon {
  animation: client-new-project-float 2.8s ease-in-out infinite;
}

.client-new-project-accessible-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes client-project-preview-spin {
  to { transform: rotate(360deg); }
}

@keyframes client-new-project-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(5deg) scale(1.04); }
}

@keyframes client-new-project-orbit {
  0%, 100% { transform: scale(0.86); opacity: 0.32; }
  50% { transform: scale(1.12); opacity: 0.72; }
}

@keyframes client-new-project-prompt {
  0%, 7% { opacity: 0; transform: translateY(8px); }
  13%, 28% { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .client-project-preview-spinner,
  .client-new-project-icon,
  .client-new-project-prompts > span {
    animation: none;
  }

  .client-new-project-prompts > span:first-child {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .client-projects-panel {
    align-items: stretch;
    padding: 0;
    background: #f8fbfa;
  }

  .client-projects-card {
    width: 100%;
    max-height: 100vh;
    gap: 18px;
    border: 0;
    border-radius: 0;
    padding: 17px;
    box-shadow: none;
  }

  .client-projects-topbar {
    padding-right: 44px;
  }

  .client-projects-account {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .client-projects-head {
    display: block;
  }

  .client-projects-heading-copy h2 {
    font-size: 29px;
  }

  .client-projects-head p {
    margin-top: 8px;
    font-size: 12px;
  }

  .client-project-resume-banner {
    grid-template-columns: 1fr;
    grid-template-rows: 190px auto;
    min-height: 400px;
  }

  .client-project-resume-thumb {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid #e2e9e7;
  }

  .client-project-resume-details {
    padding: 19px;
  }

  .client-project-resume-copy h3 {
    font-size: 23px;
  }

  .client-project-resume-details > button {
    width: 100%;
  }

  .client-projects-list {
    grid-template-columns: 1fr;
  }

  .client-new-project-card {
    min-height: 178px;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .client-new-project-icon {
    width: 60px;
    height: 60px;
    font-size: 34px;
  }

  .client-new-project-prompts {
    width: 100%;
    height: 44px;
    font-size: 14px;
  }

  .client-project-card {
    min-height: 230px;
  }

  .client-project-card .client-project-preview {
    min-height: 145px;
  }

  .client-project-delete-dialog {
    padding: 22px;
  }

  .client-project-delete-dialog h2 {
    font-size: 25px;
  }

  .client-project-delete-actions {
    flex-direction: column-reverse;
  }

  .client-project-delete-actions button {
    width: 100%;
  }
}

.editor-group {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}

.variant-grid {
  display: grid;
  gap: 10px;
}

.variant-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 11px;
  color: var(--ink);
  text-align: left;
}

.variant-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--soft);
}

.variant-swatch {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.variant-card strong {
  display: block;
}

.variant-card small {
  color: var(--muted);
  line-height: 1.35;
}

.mini-note {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.catalog-item-editor {
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.checkbox-row input {
  width: auto;
}

.small-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 8px 10px;
  font-weight: 800;
}

.preview-panel {
  overflow: auto;
  min-height: calc(100vh - 86px);
}

.client-review-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 12px 14px;
}

.client-review-bar div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.client-review-bar button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 8px 10px;
  font-weight: 850;
}

.client-preview-mode .intake-panel,
.client-preview-mode .editor-panel,
.client-preview-mode .studio-elements-panel,
.client-preview-mode .studio-luma-panel,
.client-preview-mode .toolbar-actions #copySchemaButton,
.client-preview-mode .toolbar-actions #saveSchemaButton,
.client-preview-mode .toolbar-actions #publishButton {
  display: none;
}

.client-preview-mode .ai-shell,
.client-preview-mode .work-grid {
  grid-template-columns: 1fr;
}

.client-preview-mode .work-grid {
  padding: 0;
}

.client-preview-mode .preview-panel {
  border: 0;
  border-radius: 0;
}

.client-preview-mode .site-preview {
  padding: 0;
  background: #ffffff;
}

.client-preview-mode .client-review-bar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-preview {
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 68px clamp(20px, 4vw, 56px);
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.82), transparent 25%),
    linear-gradient(135deg, rgba(255, 240, 249, 0.78), rgba(222, 230, 255, 0.95));
}

.site-preview.mobile {
  width: min(430px, 100%);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-inline: 0;
}

.site-preview.mobile .rendered-site {
  overflow-x: hidden;
}

.site-preview.mobile .rendered-nav,
.site-preview.mobile .rendered-page-switcher,
.site-preview.mobile .rendered-footer {
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
}

.site-preview.mobile .rendered-page-switcher div,
.site-preview.mobile .rendered-nav nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  white-space: nowrap;
}

.site-preview.mobile .rendered-nav a {
  margin-left: 0;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 13px;
}

.site-preview.mobile .logo-lockup {
  min-width: 0;
}

.site-preview.mobile .logo-lockup > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.site-preview.mobile .logo-lockup strong {
  overflow-wrap: anywhere;
}

.site-preview.mobile .rendered-hero,
.site-preview.mobile .template-editorial-boutique .rendered-hero,
.site-preview.mobile .template-bold-landing .rendered-hero,
.site-preview.mobile .template-operational-catalog .rendered-hero {
  grid-template-columns: 1fr;
  gap: 22px;
  min-height: auto;
  padding: 34px 18px;
  text-align: left;
}

.site-preview.mobile .hero-centered-hero,
.site-preview.mobile .hero-bold-launch,
.site-preview.mobile .template-bold-landing .rendered-hero {
  text-align: center;
}

.site-preview.mobile .hero-image-left .rendered-visual,
.site-preview.mobile .template-editorial-boutique .rendered-hero .rendered-visual {
  order: 0;
}

.site-preview.mobile .rendered-hero h1,
.site-preview.mobile .layout-editorial-luxury .rendered-hero h1,
.site-preview.mobile .layout-boutique .rendered-hero h1,
.site-preview.mobile .heading-huge h1,
.site-preview.mobile .heading-large h1 {
  font-size: clamp(34px, 11vw, 48px);
  line-height: 1;
}

.site-preview.mobile .rendered-hero p,
.site-preview.mobile .rendered-section p {
  font-size: 15px;
}

.site-preview.mobile .rendered-actions {
  align-items: stretch;
  flex-direction: column;
}

.site-preview.mobile .rendered-button {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.site-preview.mobile .rendered-hero img,
.site-preview.mobile .visual-placeholder {
  aspect-ratio: 4 / 3;
  max-height: 320px;
}

.site-preview.mobile .rendered-section,
.site-preview.mobile .spacing-balanced,
.site-preview.mobile .spacing-spacious,
.site-preview.mobile .template-operational-catalog .rendered-section {
  padding: 42px 18px;
}

.site-preview.mobile .spacing-compact {
  padding: 28px 18px;
}

.site-preview.mobile .section-heading {
  margin-bottom: 18px;
}

.site-preview.mobile .section-heading h2,
.site-preview.mobile .contact-panel h2,
.site-preview.mobile .heading-huge h2,
.site-preview.mobile .heading-large h2 {
  font-size: clamp(27px, 9vw, 38px);
  line-height: 1.05;
}

.site-preview.mobile .rendered-grid,
.site-preview.mobile .rendered-grid.columns-2,
.site-preview.mobile .rendered-grid.columns-3,
.site-preview.mobile .rendered-grid.columns-4,
.site-preview.mobile .template-bold-landing .rendered-grid {
  grid-template-columns: 1fr;
}

.site-preview.mobile .section-masonry .rendered-card:nth-child(even),
.site-preview.mobile .template-editorial-boutique .rendered-card:nth-child(2n) {
  margin-top: 0;
}

.site-preview.mobile .rendered-card {
  box-shadow: 0 10px 28px color-mix(in srgb, var(--site-text) 8%, transparent);
}

.site-preview.mobile .rendered-card img,
.site-preview.mobile .card-placeholder,
.site-preview.mobile .template-operational-catalog .rendered-card img,
.site-preview.mobile .template-operational-catalog .card-placeholder {
  aspect-ratio: 4 / 3;
}

.site-preview.mobile .contact-panel {
  grid-template-columns: 1fr;
  gap: 14px;
}

.site-preview.mobile .contact-list p {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.rendered-site {
  position: relative;
  width: min(100%, 1260px);
  --brand-primary: #0e7c66;
  --brand-secondary: #e3f3ee;
  --brand-accent: #14b8a6;
  --brand-background: #f8faf9;
  --brand-surface: #ffffff;
  --brand-text: #111827;
  --brand-muted: #667085;
  --brand-border: #d9e2df;
  --brand-button: var(--brand-primary);
  --brand-button-text: #ffffff;
  --brand-radius: 8px;
  --brand-shadow: 0 18px 48px rgba(16, 24, 40, 0.1);
  --site-bg: var(--brand-background);
  --site-surface: var(--brand-surface);
  --site-primary: var(--brand-primary);
  --site-secondary: var(--brand-secondary);
  --site-accent: var(--brand-accent);
  --site-text: var(--brand-text);
  --site-muted: var(--brand-muted);
  --site-border: var(--brand-border);
  background: var(--site-bg);
  color: var(--site-text);
  font-family: var(--site-body), Inter, sans-serif;
  min-height: 100%;
  box-shadow: 0 32px 95px rgba(31, 41, 55, 0.2);
  overflow: visible;
}

.rendered-site,
.rendered-site * {
  box-sizing: border-box;
}

.rendered-site h1,
.rendered-site h2,
.rendered-site h3,
.rendered-site p,
.rendered-site strong,
.rendered-site span {
  max-width: 100%;
  overflow-wrap: break-word;
}

.rendered-site img {
  max-width: 100%;
}

.site-preview.mobile .rendered-site {
  width: 100%;
  box-shadow: none;
}

[data-studio-section] {
  position: relative;
  outline: 0 solid transparent;
  transition: outline-color 160ms ease, box-shadow 160ms ease;
}

[data-studio-section]::before {
  content: attr(data-studio-section-type);
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 12;
  display: none;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 950;
}

[data-studio-section]:hover,
[data-studio-section].is-selected {
  outline: 3px solid #2563eb;
  outline-offset: -3px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25);
  cursor: pointer;
}

[data-studio-section]:hover::before,
[data-studio-section].is-selected::before {
  display: inline-flex;
}

.site-preview:not(.client-preview-mode) [data-inline-edit-path] {
  border-radius: var(--inline-edit-radius, 6px);
  box-sizing: border-box;
  cursor: text;
  line-height: inherit;
  position: relative;
  z-index: 1;
  outline: 0 solid transparent;
  outline-offset: 3px;
  transition: background-color 180ms ease, box-shadow 180ms ease, outline-color 180ms ease, height 180ms ease;
}

.site-preview:not(.client-preview-mode) h1[data-inline-edit-path],
.site-preview:not(.client-preview-mode) p[data-inline-edit-path] {
  min-height: 1.15em;
  min-width: 4ch;
  padding: 0;
  outline-offset: 4px;
  overflow-wrap: anywhere;
}

.site-preview:not(.client-preview-mode) [data-inline-edit-mode="multiline"] {
  max-width: 100%;
  overflow-y: hidden;
  white-space: pre-wrap;
}

.site-preview:not(.client-preview-mode) a[data-inline-edit-path],
.site-preview:not(.client-preview-mode) button[data-inline-edit-path] {
  cursor: text;
}

.site-preview:not(.client-preview-mode) [data-inline-edit-path]:hover:not(.is-inline-editing),
.site-preview:not(.client-preview-mode) [data-inline-edit-path]:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--site-primary, #0e7c66) 40%, transparent);
}

.site-preview:not(.client-preview-mode) [data-inline-edit-path].is-inline-selected:not(.is-inline-editing) {
  z-index: 2;
  outline: 2px solid var(--site-primary, #0e7c66);
}

.site-preview:not(.client-preview-mode) [data-inline-edit-path]:focus-visible:not(.is-inline-editing) {
  z-index: 3;
  outline: 2px solid var(--site-primary, #0e7c66);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-primary, #0e7c66) 18%, transparent);
}

.site-preview:not(.client-preview-mode) [data-inline-edit-path].is-inline-empty::before {
  color: color-mix(in srgb, currentColor 42%, transparent);
  content: attr(data-inline-edit-placeholder);
  font: inherit;
  font-weight: 400;
  pointer-events: none;
}

.site-preview:not(.client-preview-mode) [data-inline-edit-path].is-inline-editing {
  z-index: 3;
  caret-color: var(--site-primary, #0e7c66);
  cursor: text;
  outline: 2px solid var(--site-primary, #0e7c66);
  user-select: text;
}

.site-preview:not(.client-preview-mode) [data-inline-edit-path].is-inline-editing:not(a):not(button) {
  background: var(--inline-edit-background, color-mix(in srgb, var(--site-surface, #ffffff) 95%, var(--site-primary, #0e7c66) 5%));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--site-primary, #0e7c66) 12%, transparent),
    0 12px 30px -18px color-mix(in srgb, var(--site-primary, #0e7c66) 38%, transparent);
}

.site-preview:not(.client-preview-mode) a[data-inline-edit-path].is-inline-editing,
.site-preview:not(.client-preview-mode) button[data-inline-edit-path].is-inline-editing {
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--site-surface, #ffffff) 72%, transparent),
    0 0 0 4px color-mix(in srgb, var(--site-primary, #0e7c66) 20%, transparent),
    0 12px 28px -16px color-mix(in srgb, var(--site-primary, #0e7c66) 48%, transparent);
  caret-color: currentColor;
}

.client-preview-mode [data-studio-section]:hover,
.client-preview-mode [data-studio-section].is-selected {
  outline: 0;
  box-shadow: none;
  cursor: default;
}

.client-preview-mode [data-studio-section]::before {
  display: none;
}

.editor-focus-flash {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.studio-floating-catalog {
  position: absolute;
  left: -78px;
  top: 250px;
  z-index: 15;
  width: min(420px, 42vw);
  border: 3px solid #3567ff;
  background: #ffffff;
  box-shadow: 0 24px 45px rgba(37, 99, 235, 0.22);
  pointer-events: none;
}

.studio-floating-catalog > span {
  position: absolute;
  top: -31px;
  left: -3px;
  border-radius: 6px 6px 0 0;
  background: #3567ff;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
}

.studio-floating-catalog > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.studio-floating-catalog article {
  min-width: 0;
}

.studio-floating-catalog .image-shell,
.studio-floating-catalog img,
.studio-floating-catalog .card-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
}

.studio-floating-catalog strong,
.studio-floating-catalog small {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: #101828;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-floating-catalog small {
  color: #667085;
  font-size: 10px;
}

.client-preview-mode .studio-floating-catalog,
.site-preview.mobile .studio-floating-catalog {
  display: none;
}

.rendered-page-switcher {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  padding: 10px clamp(18px, 5vw, 72px);
  background: color-mix(in srgb, var(--site-surface) 94%, transparent);
  backdrop-filter: blur(14px);
}

.rendered-page-switcher span {
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rendered-page-switcher div {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.rendered-page-switcher a,
.rendered-nav a {
  text-decoration: none;
}

.rendered-page-switcher a {
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--site-text);
  background: var(--site-surface);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.rendered-page-switcher a.active,
.rendered-nav a.active {
  color: var(--brand-button-text);
  background: var(--site-primary);
  border-color: var(--site-primary);
}

.catalog-shell,
.catalog-minimal,
.catalog-lookbook,
.catalog-luxury,
.catalog-digital,
.catalog-menu,
.catalog-booking,
.catalog-services,
.catalog-practice,
.catalog-projects,
.catalog-pricing,
.catalog-tickets,
.catalog-packages {
  margin-top: 28px;
}

.catalog-marketplace {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 18px;
}

.template-mega-marketplace,
.template-marketplace-style {
  width: min(100%, 1440px);
}

.template-mega-marketplace .rendered-page-switcher,
.template-marketplace-style .rendered-page-switcher {
  background: color-mix(in srgb, var(--site-text) 92%, var(--site-primary));
  color: var(--site-surface);
}

.template-mega-marketplace .rendered-page-switcher a,
.template-marketplace-style .rendered-page-switcher a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--site-surface);
}

.template-mega-marketplace .rendered-nav,
.template-marketplace-style .rendered-nav {
  border-bottom: 0;
  background: color-mix(in srgb, var(--site-text) 88%, var(--site-primary));
  color: var(--site-surface);
}

.template-mega-marketplace .rendered-nav a,
.template-marketplace-style .rendered-nav a {
  border-radius: 0;
  padding: 4px 0;
  color: var(--site-surface);
  background: transparent;
  border-bottom: 2px solid transparent;
  opacity: 0.92;
}

.template-mega-marketplace .rendered-nav a.active,
.template-marketplace-style .rendered-nav a.active {
  color: var(--site-accent);
  background: transparent;
  border-color: var(--site-accent);
}

.template-mega-marketplace .logo-lockup > span,
.template-marketplace-style .logo-lockup > span {
  background: var(--site-accent);
  color: var(--site-text);
}

.marketplace-hero {
  display: grid;
  gap: 0;
  padding: 0 clamp(18px, 5vw, 72px) 34px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-text) 88%, var(--site-primary)) 0 112px, var(--site-bg) 112px);
}

.marketplace-search-panel {
  display: grid;
  gap: 12px;
  border-radius: 0 0 8px 8px;
  padding: 14px 18px 18px;
  color: var(--site-surface);
  background: color-mix(in srgb, var(--site-text) 88%, var(--site-primary));
}

.marketplace-logo-row,
.marketplace-search-box,
.marketplace-chip-row,
.marketplace-deal-hero,
.marketplace-trust-strip {
  max-width: 1320px;
  width: 100%;
  margin-inline: auto;
}

.marketplace-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.marketplace-logo-row strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.marketplace-logo-row span {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--site-text);
  background: var(--site-accent);
  font-size: 12px;
  font-weight: 950;
}

.marketplace-search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 3px solid var(--site-accent);
  border-radius: 8px;
  background: var(--site-surface);
}

.marketplace-search-box button {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 950;
}

.marketplace-search-box input {
  min-width: 0;
  height: 48px;
  border: 0;
  padding: 0 14px;
  color: var(--site-text);
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.marketplace-search-box button {
  border: 0;
  color: var(--site-text);
  background: var(--site-accent);
}

.marketplace-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.marketplace-chip-row button,
.marketplace-category-rail article,
.marketplace-sort-bar {
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  background: var(--site-surface);
}

.marketplace-chip-row button {
  flex: 0 0 auto;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--site-surface);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.marketplace-deal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 46px);
  background:
    radial-gradient(circle at 86% 20%, color-mix(in srgb, var(--site-accent) 30%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 24%, var(--site-surface)), var(--site-surface));
  box-shadow: var(--brand-shadow);
}

.marketplace-commerce-home {
  grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
  align-items: stretch;
  color: var(--site-surface);
  background:
    radial-gradient(circle at 72% 16%, color-mix(in srgb, var(--site-accent) 30%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-text) 94%, var(--site-primary)), color-mix(in srgb, var(--site-text) 78%, var(--site-primary)));
}

.marketplace-commerce-home .marketplace-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.marketplace-deal-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(42px, 6vw, 82px));
  line-height: var(--type-h1-line-height, 0.95);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
}

.marketplace-deal-hero p {
  max-width: 700px;
  color: color-mix(in srgb, var(--site-surface) 76%, transparent);
  font-size: 17px;
  line-height: 1.55;
}

.marketplace-deal-hero small {
  color: var(--site-accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.marketplace-deal-hero aside {
  display: grid;
  gap: 12px;
  align-content: start;
  border-radius: 8px;
  padding: 18px;
  background: color-mix(in srgb, var(--site-surface) 90%, transparent);
}

.marketplace-deal-hero aside div {
  display: grid;
  gap: 8px;
}

.marketplace-deal-hero aside span {
  border-radius: 8px;
  padding: 10px;
  background: color-mix(in srgb, var(--site-secondary) 58%, var(--site-surface));
  color: var(--site-text);
  font-weight: 850;
}

.marketplace-hero-products-panel {
  color: var(--site-text);
}

.marketplace-hero-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.marketplace-hero-products-head span {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--site-muted);
  font-size: 12px;
}

.marketplace-hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.marketplace-hero-product-card {
  display: grid;
  grid-template-rows: 112px auto auto auto;
  gap: 7px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: 8px;
  padding: 9px;
  background: var(--site-surface);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.marketplace-hero-product-card .image-shell,
.marketplace-hero-product-card > .card-placeholder {
  width: 100%;
  height: 112px;
  min-height: 112px;
  overflow: hidden;
  border-radius: 6px;
}

.marketplace-hero-product-card .image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-hero-product-card small {
  color: var(--site-primary);
  font-size: 10px;
}

.marketplace-hero-product-card strong {
  min-height: 34px;
  color: var(--site-text);
  font-size: 13px;
  line-height: 1.25;
}

.marketplace-hero-product-card span {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--site-text);
  font-size: 15px;
  font-weight: 950;
}

.marketplace-mini-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-mini-stat-row span {
  border: 1px solid color-mix(in srgb, var(--site-surface) 18%, transparent);
  border-radius: 999px;
  padding: 7px 9px;
  background: color-mix(in srgb, var(--site-surface) 9%, transparent);
  color: var(--site-surface);
  font-size: 11px;
  font-weight: 850;
}

.marketplace-category-section,
.marketplace-deal-section {
  padding: 44px clamp(18px, 5vw, 72px);
}

.marketplace-category-rail {
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  margin-inline: auto;
}

.marketplace-category-rail article {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  padding: 14px;
}

.marketplace-category-rail article > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--site-text);
  background: var(--site-secondary);
  font-weight: 950;
}

.marketplace-category-rail small {
  color: var(--site-primary);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.marketplace-deal-row {
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
  padding-bottom: 6px;
  margin-inline: auto;
}

.marketplace-catalog-main {
  display: grid;
  gap: 12px;
}

.marketplace-sort-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--site-text);
  font-size: 13px;
}

.template-mega-marketplace .catalog-results,
.template-marketplace-style .catalog-results {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  align-items: stretch;
}

.market-card {
  display: grid;
  grid-template-rows: 150px auto auto 1fr auto auto;
  gap: 8px;
  padding: 10px;
  min-height: 355px;
}

.market-card .image-shell,
.market-card > .card-placeholder {
  width: 100%;
  height: 150px;
  min-height: 150px;
  overflow: hidden;
  border-radius: calc(var(--brand-radius) - 2px);
}

.market-card .image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-card h3 {
  margin: 0;
  min-height: 38px;
  font-size: 15px;
  line-height: 1.25;
}

.market-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 40px;
  margin: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.35;
}

.market-card b {
  font-size: 17px;
}

.market-card .rendered-button {
  align-self: end;
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 11px;
  font-size: 12px;
}

.market-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: color-mix(in srgb, var(--site-primary) 75%, var(--site-text));
  font-size: 11px;
  font-weight: 900;
}

.marketplace-trust-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  border-radius: 8px;
  padding: 28px;
  background: color-mix(in srgb, var(--site-text) 90%, var(--site-primary));
  color: var(--site-surface);
}

.marketplace-trust-strip h2 {
  margin: 0 0 8px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(25px, 3vw, 38px));
  font-weight: var(--type-h2-weight, 700);
}

.marketplace-deal-row.catalog-count-1,
.catalog-digital-pro.catalog-count-1 {
  grid-template-columns: minmax(0, min(100%, 360px));
  justify-content: center;
}

.marketplace-deal-row.catalog-count-2,
.catalog-digital-pro.catalog-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.marketplace-deal-row.catalog-count-3,
.catalog-digital-pro.catalog-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
}

@media (max-width: 720px) {
  .marketplace-deal-row.catalog-count-1,
  .marketplace-deal-row.catalog-count-2,
  .marketplace-deal-row.catalog-count-3,
  .catalog-digital-pro.catalog-count-1,
  .catalog-digital-pro.catalog-count-2,
  .catalog-digital-pro.catalog-count-3 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.marketplace-trust-strip p {
  color: color-mix(in srgb, var(--site-surface) 74%, transparent);
}

.marketplace-trust-strip > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.marketplace-trust-strip span {
  display: grid;
  place-items: center;
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-weight: 900;
}

.catalog-marketplace aside {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: 8px;
  padding: 16px;
  background: var(--site-surface);
}

.catalog-marketplace aside span {
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  padding-bottom: 8px;
  color: var(--site-muted);
  font-weight: 800;
}

.marketplace-subscribe {
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 20px;
  margin: 26px auto 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid color-mix(in srgb, var(--site-accent) 28%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 20%, color-mix(in srgb, var(--site-accent) 24%, transparent), transparent 28%),
    color-mix(in srgb, var(--site-surface) 92%, var(--site-accent));
}

.marketplace-subscribe span {
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.marketplace-subscribe h2 {
  margin: 6px 0 8px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(25px, 3vw, 42px));
  line-height: var(--type-h2-line-height, 1.02);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.marketplace-subscribe p {
  max-width: 680px;
  margin: 0;
  color: var(--site-muted);
}

.marketplace-subscribe form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: var(--site-surface);
  box-shadow: var(--brand-shadow);
}

.marketplace-subscribe input {
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--site-text);
  background: transparent;
  font: inherit;
  outline: none;
}

.template-mega-marketplace .marketplace-deal-row,
.template-marketplace-style .marketplace-deal-row,
.template-mega-marketplace .catalog-results,
.template-marketplace-style .catalog-results {
  align-items: stretch;
}

.template-mega-marketplace .market-card,
.template-marketplace-style .market-card {
  height: 100%;
  min-width: 0;
}

.template-mega-marketplace .market-card .rendered-button,
.template-marketplace-style .market-card .rendered-button {
  margin-top: auto;
}

.template-mega-marketplace .marketplace-subscribe,
.template-marketplace-style .marketplace-subscribe {
  clear: both;
}

.template-premium-product-store,
.template-apple-premium-product,
.layout-apple-premium-product {
  width: 100%;
  max-width: none;
  background: color-mix(in srgb, var(--site-bg) 96%, #ffffff);
}

.template-premium-product-store .rendered-nav,
.template-apple-premium-product .rendered-nav,
.layout-apple-premium-product .rendered-nav {
  width: min(100% - 32px, 1280px);
  display: grid;
  grid-template-columns: minmax(160px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 0;
  border: 0;
  background: color-mix(in srgb, var(--site-surface) 92%, transparent);
  backdrop-filter: blur(18px);
}

.template-premium-product-store .rendered-nav nav,
.template-apple-premium-product .rendered-nav nav,
.layout-apple-premium-product .rendered-nav nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.template-premium-product-store .rendered-nav nav a,
.template-apple-premium-product .rendered-nav nav a,
.layout-apple-premium-product .rendered-nav nav a {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.premium-nav-search {
  display: flex;
  align-items: center;
  width: clamp(44px, 14vw, 190px);
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 18%, transparent);
}

.premium-nav-search label {
  min-width: 0;
  flex: 1;
}

.premium-nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--site-text);
  font: inherit;
  font-size: 12px;
}

.premium-nav-search button,
.premium-account-action,
.template-premium-product-store .cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.premium-nav-search button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--site-text);
  cursor: pointer;
}

.premium-nav-search svg,
.premium-account-action > svg,
.template-premium-product-store .cart-button > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  grid-template-areas: "copy visual" "meta visual";
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 92px) 0;
  text-align: left;
  position: relative;
}

.premium-hero-copy {
  grid-area: copy;
  max-width: 620px;
  display: grid;
  justify-items: start;
  gap: 18px;
  z-index: 1;
}

.premium-hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(64px, 6.1vw, 88px);
  line-height: 0.98;
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  color: var(--site-text);
}

.premium-hero p {
  max-width: 600px;
  margin: 0;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.36;
  color: var(--site-muted);
}

.premium-product-stage {
  grid-area: visual;
  width: 100%;
  min-height: clamp(520px, 68vh, 760px);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: color-mix(in srgb, var(--site-secondary) 18%, var(--site-surface));
  box-shadow: 0 24px 70px -36px color-mix(in srgb, var(--site-text) 36%, transparent);
}

.premium-product-stage img,
.premium-story-visual img,
.premium-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.premium-product-stage img {
  max-height: none;
  object-fit: cover;
  padding: 0;
}

.premium-visual-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--site-secondary) 18%, var(--site-surface));
  color: color-mix(in srgb, var(--site-text) 32%, transparent);
  box-shadow: none;
}

.premium-visual-placeholder span {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(56px, 12vw, 118px);
  font-weight: 800;
}

.premium-hero-meta {
  grid-area: meta;
  justify-self: start;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  color: var(--site-muted);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.premium-hero-meta strong {
  color: var(--site-text);
}

.premium-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  padding: clamp(70px, 10vw, 128px) 0;
}

.premium-story > div:first-child {
  max-width: 560px;
}

.premium-story h2,
.premium-feature-showcase h2,
.premium-gallery-section h2,
.premium-spec-strip h2 {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(38px, 5vw, 74px));
  line-height: var(--type-h2-line-height, 1);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
  color: var(--site-text);
}

.premium-story-visual {
  min-height: 520px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--site-secondary) 18%, var(--site-surface));
  box-shadow: 0 22px 56px -34px color-mix(in srgb, var(--site-text) 30%, transparent);
}

.premium-feature-showcase,
.premium-gallery-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.premium-feature-showcase .section-heading,
.premium-gallery-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.premium-feature-grid {
  max-width: 1120px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.premium-feature-grid article {
  --inline-edit-radius: 28px;
  position: relative;
  min-height: 252px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--inline-edit-radius);
  background: linear-gradient(160deg, var(--site-surface) 18%, color-mix(in srgb, var(--site-primary) 5%, var(--site-surface)) 100%);
  border: 1px solid color-mix(in srgb, var(--site-primary) 12%, var(--site-surface));
  box-shadow: 0 18px 46px -30px color-mix(in srgb, var(--site-text) 52%, transparent);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.premium-feature-grid article:nth-child(2) {
  background: linear-gradient(160deg, var(--site-surface) 18%, color-mix(in srgb, var(--site-secondary) 7%, var(--site-surface)) 100%);
}

.premium-feature-grid article:nth-child(3) {
  background: linear-gradient(160deg, var(--site-surface) 18%, color-mix(in srgb, var(--site-accent) 7%, var(--site-surface)) 100%);
}

.premium-feature-grid article::after,
.template-b2b-saas-enterprise-pro .b2b-saas-features article::after {
  position: absolute;
  right: 24px;
  bottom: 20px;
  content: "\2197";
  color: color-mix(in srgb, var(--site-primary) 46%, var(--site-text));
  font-size: 21px;
  line-height: 1;
  transition: color 200ms ease, transform 200ms ease;
}

.premium-feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--site-primary) 11%, var(--site-surface));
  color: var(--site-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-primary) 16%, transparent);
}

.premium-feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-feature-grid article:nth-child(2) .premium-feature-icon {
  background: color-mix(in srgb, var(--site-secondary) 12%, var(--site-surface));
  color: color-mix(in srgb, var(--site-secondary) 72%, var(--site-text));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-secondary) 18%, transparent);
}

.premium-feature-grid article:nth-child(3) .premium-feature-icon {
  background: color-mix(in srgb, var(--site-accent) 12%, var(--site-surface));
  color: color-mix(in srgb, var(--site-accent) 76%, var(--site-text));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-accent) 18%, transparent);
}

.premium-feature-grid h3 {
  margin: 0;
  padding-right: 22px;
  font-size: 21px;
  line-height: 1.22;
}

.premium-feature-grid p {
  margin: 0;
  padding-right: 22px;
  color: color-mix(in srgb, var(--site-text) 68%, transparent);
  line-height: 1.6;
}

@media (hover: hover) {
  .premium-feature-grid article:hover,
  .template-b2b-saas-enterprise-pro .b2b-saas-features article:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--site-primary) 36%, var(--site-surface));
    box-shadow: 0 30px 64px -30px color-mix(in srgb, var(--site-primary) 34%, transparent);
  }

  .premium-feature-grid article:hover::after,
  .template-b2b-saas-enterprise-pro .b2b-saas-features article:hover::after {
    color: var(--site-primary);
    transform: translate(3px, -3px);
  }
}

.premium-feature-grid small,
.catalog-premium-editorial small {
  color: var(--site-primary);
  font-weight: 800;
  letter-spacing: 0;
}

.catalog-premium-editorial {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.catalog-premium-editorial article {
  --inline-edit-radius: 16px;
  overflow: hidden;
  border-radius: var(--inline-edit-radius);
  background: var(--site-surface);
  border: 1px solid color-mix(in srgb, var(--site-text) 9%, transparent);
  box-shadow: 0 14px 34px -24px color-mix(in srgb, var(--site-text) 28%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) {
  .catalog-premium-editorial article:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -24px color-mix(in srgb, var(--site-text) 36%, transparent);
  }
}

.premium-card-visual {
  min-height: 0;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--site-secondary) 16%, var(--site-surface));
}

.premium-card-visual .image-shell {
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.catalog-premium-editorial article > div:last-child {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.catalog-premium-editorial h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(24px, 3vw, 42px));
  line-height: var(--type-h3-line-height, 1.05);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-premium-editorial p {
  margin: 0;
  color: var(--site-muted);
}

.premium-spec-strip {
  --inline-edit-radius: 34px;
  max-width: 1180px;
  margin: 42px auto 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
  border-radius: var(--inline-edit-radius);
  background: color-mix(in srgb, var(--site-text) 94%, var(--site-primary));
  color: var(--site-surface);
}

.premium-spec-strip h2,
.premium-spec-strip p {
  color: var(--site-surface);
}

.premium-spec-strip p {
  opacity: 0.72;
}

.premium-spec-strip > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.premium-spec-strip span {
  --inline-edit-radius: 22px;
  min-height: 84px;
  display: grid;
  place-items: center;
  border-radius: var(--inline-edit-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 800;
}

.catalog-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.market-card,
.minimal-card,
.service-card-pro,
.catalog-digital article,
.catalog-booking article,
.catalog-practice article,
.catalog-projects article,
.catalog-pricing article,
.catalog-tickets article,
.catalog-packages article {
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: 8px;
  padding: 16px;
  background: var(--site-surface);
}

.market-card img,
.minimal-card img,
.service-card-pro img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.market-card small,
.minimal-card small,
.catalog-digital span,
.catalog-booking small,
.catalog-practice span,
.catalog-tickets span,
.catalog-packages small {
  color: var(--site-primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
}

.catalog-classified {
  display: grid;
  gap: 12px;
}

.listing-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: 8px;
  padding: 12px;
  background: var(--site-surface);
}

.listing-card img,
.listing-card > div {
  width: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--site-secondary);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.listing-card aside {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.catalog-minimal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.minimal-card {
  border-color: transparent;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--site-text) 8%, transparent);
}

.catalog-lookbook {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lookbook-card {
  min-height: 300px;
  border-radius: 8px;
  padding: 18px;
  background: color-mix(in srgb, var(--site-primary) 12%, var(--site-surface));
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
}

.lookbook-card.wide {
  grid-column: span 2;
}

.lookbook-card img,
.lookbook-card .image-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  opacity: 0.38;
}

.lookbook-card .image-shell img {
  opacity: 1;
}

.lookbook-card > *:not(img):not(.image-shell) {
  position: relative;
  z-index: 1;
}

.template-fashion-drop-pro,
.layout-fashion-drop-pro {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-primary) 9%, var(--site-bg)) 0%, var(--site-bg) 42%, color-mix(in srgb, var(--site-secondary) 10%, var(--site-bg)) 100%);
}

.fashion-hero {
  min-height: clamp(660px, 88vh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 88px) clamp(28px, 4vw, 52px);
  color: var(--site-text);
  position: relative;
  overflow: hidden;
}

.fashion-hero::before {
  content: "";
  position: absolute;
  inset: 9% 4% auto auto;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-primary) 18%, transparent);
  filter: blur(26px);
  opacity: 0.68;
  pointer-events: none;
}

.fashion-hero-copy {
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.fashion-hero h1 {
  margin: 0;
  max-width: 820px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(54px, 8.4vw, 116px));
  line-height: var(--type-h1-line-height, 0.92);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  text-wrap: balance;
}

.fashion-hero p {
  max-width: 600px;
  margin: 0;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.34;
  color: var(--site-muted);
}

.fashion-hero-visual,
.fashion-story-image {
  min-height: clamp(440px, 62vw, 720px);
  border-radius: clamp(28px, 4vw, 54px);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--site-primary) 28%, white), color-mix(in srgb, var(--site-secondary) 42%, white));
  box-shadow: 0 42px 120px color-mix(in srgb, var(--site-text) 20%, transparent);
}

.fashion-hero-visual img,
.fashion-story-image img,
.fashion-lookbook-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fashion-hero-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
}

.fashion-hero-strip span,
.fashion-fit-guide span {
  border: 1px solid color-mix(in srgb, var(--site-text) 14%, transparent);
  border-radius: 999px;
  padding: 11px 15px;
  background: color-mix(in srgb, var(--site-surface) 78%, transparent);
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 800;
}

.fashion-collection-section,
.fashion-lookbook-section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 6vw, 88px);
}

.fashion-collection-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
}

.fashion-collection-rail article {
  --inline-edit-radius: 8px;
  --inline-edit-background: color-mix(in srgb, currentColor 6%, transparent);
  min-height: 180px;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  background: color-mix(in srgb, var(--site-text) 92%, var(--site-primary));
  color: var(--site-surface);
}

.fashion-collection-rail article:nth-child(even) {
  background: color-mix(in srgb, var(--site-primary) 20%, var(--site-surface));
  color: var(--site-text);
}

.fashion-collection-rail small,
.fashion-collection-rail span,
.catalog-lookbook span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.fashion-collection-rail strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1;
}

.fashion-drop-story {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 6vw, 88px);
}

.fashion-drop-story h2,
.fashion-fit-guide h2 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(40px, 6vw, 86px));
  line-height: var(--type-h2-line-height, 0.96);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.fashion-drop-story p,
.fashion-fit-guide p {
  margin: 0;
  max-width: 640px;
  color: var(--site-muted);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.45;
}

.fashion-lookbook-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr 0.8fr;
  gap: 14px;
  align-items: end;
}

.fashion-lookbook-strip article {
  --inline-edit-radius: 8px;
  min-height: 320px;
  border-radius: 8px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  background: color-mix(in srgb, var(--site-primary) 16%, var(--site-surface));
}

.fashion-lookbook-strip article.tall {
  min-height: 520px;
}

.fashion-lookbook-strip article::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--site-text) 72%, transparent));
}

.fashion-lookbook-strip strong {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 18px;
}

.fashion-fit-guide {
  --inline-edit-radius: 8px;
  --inline-edit-background: color-mix(in srgb, var(--site-surface) 9%, transparent);
  margin: clamp(32px, 5vw, 64px) clamp(18px, 6vw, 88px) clamp(56px, 8vw, 110px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 54px);
  background: color-mix(in srgb, var(--site-text) 92%, var(--site-secondary));
  color: var(--site-surface);
}

.fashion-fit-guide p {
  color: color-mix(in srgb, var(--site-surface) 78%, transparent);
}

.fashion-fit-guide > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

.fashion-fit-guide span {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--site-surface);
}

.fashion-visual-placeholder {
  min-height: inherit;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 26%, color-mix(in srgb, var(--site-primary) 36%, white), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 24%, var(--site-surface)), color-mix(in srgb, var(--site-secondary) 34%, var(--site-surface)));
}

.fashion-visual-placeholder span {
  width: clamp(160px, 28vw, 280px);
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 18px 18px;
  display: grid;
  place-items: center;
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(52px, 8vw, 94px);
  background: color-mix(in srgb, var(--site-text) 82%, var(--site-primary));
  box-shadow: 0 32px 80px color-mix(in srgb, var(--site-primary) 30%, transparent);
}

.template-corporate-company-pro,
.layout-corporate-company-pro {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-primary) 6%, var(--site-bg)) 0%, var(--site-bg) 44%, color-mix(in srgb, var(--site-secondary) 7%, var(--site-bg)) 100%);
}

.corporate-hero {
  min-height: clamp(640px, 84vh, 880px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  grid-template-rows: 1fr auto;
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 88px) clamp(28px, 4vw, 52px);
  color: var(--site-text);
}

.corporate-hero-copy {
  display: grid;
  gap: 20px;
}

.corporate-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(50px, 7.5vw, 108px));
  line-height: var(--type-h1-line-height, 0.96);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  text-wrap: balance;
}

.corporate-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.42;
}

.corporate-hero-visual {
  min-height: clamp(400px, 54vw, 660px);
  overflow: hidden;
  border-radius: var(--brand-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 92%, black), color-mix(in srgb, var(--site-primary) 48%, var(--site-accent))),
    var(--site-primary);
  box-shadow: 0 36px 100px color-mix(in srgb, var(--site-text) 20%, transparent);
}

.corporate-hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.corporate-hero-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  background: color-mix(in srgb, var(--site-text) 14%, transparent);
}

.corporate-hero-proof span {
  padding: 18px;
  background: color-mix(in srgb, var(--site-surface) 90%, transparent);
  color: var(--site-muted);
  font-weight: 800;
}

.corporate-services-section,
.corporate-process-section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 6vw, 88px);
}

.corporate-services-section > div:first-child {
  max-width: 780px;
  margin-bottom: 26px;
}

.corporate-services-section h2,
.corporate-process-section h2,
.corporate-proof-section h2 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(40px, 6vw, 86px));
  line-height: var(--type-h2-line-height, 0.98);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.corporate-services-section p,
.corporate-process-section p,
.corporate-proof-section p {
  max-width: 620px;
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.48;
}

.catalog-corporate-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.catalog-corporate-services article {
  min-height: 270px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--site-text) 7%, transparent);
}

.catalog-corporate-services small,
.corporate-process-list small {
  color: var(--site-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-corporate-services h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(24px, 2.5vw, 38px));
  line-height: var(--type-h3-line-height, 1);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-corporate-services p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.52;
}

.corporate-process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.corporate-process-list {
  display: grid;
  gap: 12px;
}

.corporate-process-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 7%, var(--site-surface));
}

.corporate-process-list strong {
  font-size: clamp(19px, 2vw, 28px);
}

.corporate-proof-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 54px);
  margin: clamp(32px, 5vw, 64px) clamp(18px, 6vw, 88px) clamp(56px, 8vw, 110px);
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-text) 92%, var(--site-primary));
  color: var(--site-surface);
}

.corporate-proof-section p {
  color: color-mix(in srgb, var(--site-surface) 74%, transparent);
}

.corporate-proof-section > div:last-child {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.corporate-proof-section span {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.corporate-visual-placeholder {
  min-height: inherit;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 86%, black), color-mix(in srgb, var(--site-accent) 52%, var(--site-primary))),
    var(--site-primary);
}

.corporate-visual-placeholder span {
  width: clamp(160px, 24vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(52px, 8vw, 94px);
}

.template-home-services-premium,
.layout-home-services-premium {
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--site-accent) 20%, transparent), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--site-primary) 7%, var(--site-bg)) 0%, var(--site-bg) 42%, color-mix(in srgb, var(--site-accent) 7%, var(--site-bg)) 100%);
}

.home-service-hero {
  min-height: clamp(680px, 88vh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding: clamp(62px, 8vw, 110px) clamp(18px, 6vw, 92px) clamp(28px, 4vw, 56px);
  color: var(--site-text);
}

.home-service-hero-copy {
  display: grid;
  gap: 20px;
}

.home-service-hero h1 {
  margin: 0;
  max-width: 920px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(50px, 7.2vw, 108px));
  line-height: var(--type-h1-line-height, 0.95);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  text-wrap: balance;
}

.home-service-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.home-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-service-phone {
  width: fit-content;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 18px 50px color-mix(in srgb, var(--site-text) 8%, transparent);
}

.home-service-phone strong {
  font-size: clamp(22px, 2.4vw, 36px);
}

.home-service-phone span {
  color: var(--site-muted);
  font-weight: 800;
}

.home-service-hero-visual {
  min-height: clamp(420px, 56vw, 680px);
  overflow: hidden;
  border-radius: var(--brand-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 94%, black), color-mix(in srgb, var(--site-accent) 46%, var(--site-primary))),
    var(--site-primary);
  box-shadow: 0 36px 100px color-mix(in srgb, var(--site-primary) 18%, transparent);
}

.home-service-hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-service-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.home-service-proof span {
  padding: 18px;
  border-left: 4px solid var(--site-accent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  color: var(--site-text);
  font-weight: 900;
  box-shadow: 0 14px 44px color-mix(in srgb, var(--site-text) 6%, transparent);
}

.home-service-categories,
.home-service-gallery {
  padding: clamp(52px, 7vw, 98px) clamp(18px, 6vw, 92px);
}

.catalog-home-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.catalog-home-services article {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 18px 54px color-mix(in srgb, var(--site-text) 7%, transparent);
}

.catalog-home-services small,
.home-service-work-grid small {
  color: var(--site-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-home-services h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(24px, 2.5vw, 38px));
  line-height: var(--type-h3-line-height, 1);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-home-services p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.5;
}

.catalog-home-services article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-home-services article > div span {
  padding: 7px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-accent) 14%, var(--site-surface));
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 850;
}

.home-service-areas {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(340px, 1.3fr);
  gap: clamp(26px, 5vw, 76px);
  padding: clamp(52px, 7vw, 98px) clamp(18px, 6vw, 92px);
  background: color-mix(in srgb, var(--site-primary) 6%, transparent);
}

.home-service-areas h2,
.home-service-gallery h2,
.home-service-trust h2,
.home-service-quote h2 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(40px, 6vw, 86px));
  line-height: var(--type-h2-line-height, 0.98);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.home-service-areas p,
.home-service-gallery p,
.home-service-trust p,
.home-service-quote p {
  max-width: 650px;
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.48;
}

.home-service-area-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-service-area-map span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  text-align: center;
  font-weight: 900;
}

.home-service-work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

.home-service-work-grid article {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 10%, var(--site-surface));
}

.home-service-work-grid article:first-child {
  grid-row: span 2;
  min-height: 574px;
}

.home-service-work-grid img,
.home-service-work-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(42px, 7vw, 84px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 86%, black), color-mix(in srgb, var(--site-accent) 55%, var(--site-primary)));
}

.home-service-work-grid article > div {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: calc(var(--brand-radius) - 4px);
  background: color-mix(in srgb, var(--site-surface) 90%, transparent);
  backdrop-filter: blur(12px);
}

.home-service-trust {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(52px, 7vw, 98px) clamp(18px, 6vw, 92px);
}

.home-service-trust > div:last-child {
  display: grid;
  gap: 12px;
}

.home-service-trust blockquote {
  margin: 0;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 14px 44px color-mix(in srgb, var(--site-text) 6%, transparent);
  font-weight: 850;
}

.home-service-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  margin: clamp(28px, 5vw, 72px) clamp(18px, 6vw, 92px) clamp(60px, 8vw, 120px);
  padding: clamp(30px, 5vw, 60px);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 92%, black);
  color: var(--site-surface);
}

.home-service-quote p {
  color: color-mix(in srgb, var(--site-surface) 76%, transparent);
}

.home-service-quote-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.08);
}

.home-service-quote-card strong {
  font-size: clamp(24px, 3vw, 42px);
}

.home-service-quote-card span {
  color: color-mix(in srgb, var(--site-surface) 74%, transparent);
}

.home-service-visual-placeholder {
  min-height: inherit;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--site-accent) 70%, white), transparent 20%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 90%, black), color-mix(in srgb, var(--site-secondary) 64%, var(--site-primary)));
}

.home-service-visual-placeholder span {
  width: clamp(160px, 24vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--site-accent);
  color: var(--site-primary);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(52px, 8vw, 94px);
  box-shadow: 0 28px 90px color-mix(in srgb, var(--site-accent) 28%, transparent);
}

.template-booking-appointment-pro,
.layout-booking-appointment-pro {
  background:
    radial-gradient(circle at 76% 12%, color-mix(in srgb, var(--site-accent) 16%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--site-accent) 7%, var(--site-bg)) 0%, var(--site-bg) 48%, color-mix(in srgb, var(--site-primary) 5%, var(--site-bg)) 100%);
}

.booking-hero {
  min-height: clamp(680px, 88vh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding: clamp(62px, 8vw, 110px) clamp(18px, 6vw, 92px) clamp(28px, 4vw, 56px);
  color: var(--site-text);
}

.booking-hero-copy {
  display: grid;
  gap: 20px;
}

.booking-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(50px, 7.4vw, 110px));
  line-height: var(--type-h1-line-height, 0.94);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  text-wrap: balance;
}

.booking-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.booking-stage {
  display: grid;
  gap: 14px;
}

.booking-stage-visual {
  min-height: clamp(390px, 52vw, 640px);
  overflow: hidden;
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 92%, black);
  box-shadow: 0 34px 90px color-mix(in srgb, var(--site-text) 16%, transparent);
}

.booking-stage-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.booking-mini-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 18px 56px color-mix(in srgb, var(--site-text) 8%, transparent);
}

.booking-mini-card span {
  color: var(--site-muted);
}

.booking-mini-card button {
  border: 0;
  border-radius: calc(var(--brand-radius) - 2px);
  padding: 12px 14px;
  background: var(--site-accent);
  color: var(--site-surface);
  font-weight: 900;
}

.booking-proof-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.booking-proof-strip span {
  padding: 18px;
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 8%, var(--site-surface));
  font-weight: 900;
}

.booking-services-section,
.booking-availability-section,
.booking-team-section {
  padding: clamp(52px, 7vw, 98px) clamp(18px, 6vw, 92px);
}

.catalog-booking-pro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.catalog-booking-pro article {
  min-height: 340px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 18px 54px color-mix(in srgb, var(--site-text) 7%, transparent);
}

.catalog-booking-pro article.featured {
  background: color-mix(in srgb, var(--site-primary) 92%, black);
  color: var(--site-surface);
  transform: translateY(-12px);
}

.catalog-booking-pro article.featured p,
.catalog-booking-pro article.featured span {
  color: color-mix(in srgb, var(--site-surface) 76%, transparent);
}

.catalog-booking-pro small,
.booking-availability-grid small,
.booking-team-list small {
  color: var(--site-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-booking-pro h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(24px, 2.5vw, 38px));
  line-height: var(--type-h3-line-height, 1);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-booking-pro p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.5;
}

.catalog-booking-pro article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-booking-pro article > div span {
  padding: 7px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-accent) 14%, var(--site-surface));
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 850;
}

.booking-availability-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 1.28fr);
  gap: clamp(26px, 5vw, 76px);
  background: color-mix(in srgb, var(--site-accent) 8%, transparent);
}

.booking-availability-section h2,
.booking-team-section h2,
.booking-contact-section h2 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(40px, 6vw, 86px));
  line-height: var(--type-h2-line-height, 0.98);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.booking-availability-section p,
.booking-team-section p,
.booking-contact-section p {
  max-width: 650px;
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.48;
}

.booking-availability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-availability-grid article,
.booking-team-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
}

.booking-availability-grid strong,
.booking-team-list strong {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
}

.booking-availability-grid span {
  color: var(--site-muted);
  font-weight: 800;
}

.booking-team-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 70px);
}

.booking-team-list {
  display: grid;
  gap: 12px;
}

.booking-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  margin: clamp(28px, 5vw, 72px) clamp(18px, 6vw, 92px) clamp(60px, 8vw, 120px);
  padding: clamp(30px, 5vw, 60px);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 92%, black);
  color: var(--site-surface);
}

.booking-contact-section p {
  color: color-mix(in srgb, var(--site-surface) 76%, transparent);
}

.booking-contact-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.08);
}

.booking-contact-card strong {
  font-size: clamp(22px, 2.6vw, 38px);
}

.booking-contact-card span {
  color: color-mix(in srgb, var(--site-surface) 74%, transparent);
}

.booking-visual-placeholder {
  min-height: inherit;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--site-accent) 58%, white), transparent 22%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 90%, black), color-mix(in srgb, var(--site-accent) 45%, var(--site-primary)));
}

.booking-visual-placeholder span {
  width: clamp(160px, 24vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.14);
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(52px, 8vw, 94px);
}

.template-lead-funnel-pro,
.layout-lead-funnel-pro {
  background:
    radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--site-accent) 18%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--site-accent) 6%, var(--site-bg)) 0%, var(--site-bg) 46%, color-mix(in srgb, var(--site-primary) 6%, var(--site-bg)) 100%);
}

.funnel-hero {
  min-height: clamp(680px, 88vh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  grid-template-rows: 1fr auto;
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
  padding: clamp(62px, 8vw, 112px) clamp(18px, 6vw, 92px) clamp(28px, 4vw, 56px);
  color: var(--site-text);
}

.funnel-hero-copy {
  display: grid;
  gap: 20px;
}

.funnel-hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(52px, 8vw, 116px));
  line-height: var(--type-h1-line-height, 0.92);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  text-wrap: balance;
}

.funnel-hero p {
  margin: 0;
  max-width: 660px;
  color: var(--site-muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.42;
}

.funnel-hero-card {
  display: grid;
  gap: 14px;
}

.funnel-hero-visual {
  min-height: clamp(360px, 44vw, 560px);
  overflow: hidden;
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 92%, black);
  box-shadow: 0 34px 90px color-mix(in srgb, var(--site-accent) 20%, transparent);
}

.funnel-hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.funnel-mini-form {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--site-text) 8%, transparent);
}

.funnel-mini-form span {
  color: var(--site-muted);
}

.funnel-mini-form button {
  border: 0;
  border-radius: calc(var(--brand-radius) - 2px);
  padding: 12px 14px;
  background: var(--site-accent);
  color: var(--site-surface);
  font-weight: 850;
}

.funnel-proof-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.funnel-proof-strip span {
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 7%, var(--site-surface));
  font-weight: 850;
}

.funnel-benefits-section,
.funnel-offer-section,
.funnel-proof-section,
.funnel-faq-section {
  padding: clamp(52px, 7vw, 98px) clamp(18px, 6vw, 92px);
}

.funnel-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.funnel-benefit-grid article {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 16px 50px color-mix(in srgb, var(--site-text) 6%, transparent);
}

.funnel-benefit-grid small,
.catalog-lead-offers small {
  color: var(--site-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.funnel-benefit-grid strong {
  font-size: clamp(21px, 2.2vw, 34px);
  line-height: 1.02;
}

.funnel-offer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 1.28fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: start;
}

.funnel-offer-section h2,
.funnel-proof-section h2,
.funnel-faq-section h2 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(40px, 6vw, 88px));
  line-height: var(--type-h2-line-height, 0.96);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.funnel-offer-section p,
.funnel-proof-section p {
  margin: 0 0 18px;
  color: var(--site-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
}

.funnel-offer-section > div:first-child > strong {
  display: inline-block;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--site-primary);
  background: color-mix(in srgb, var(--site-accent) 16%, var(--site-surface));
}

.catalog-lead-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.catalog-lead-offers article {
  min-height: 320px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 18px 54px color-mix(in srgb, var(--site-text) 7%, transparent);
}

.catalog-lead-offers article.featured {
  background: color-mix(in srgb, var(--site-primary) 92%, black);
  color: var(--site-surface);
  transform: translateY(-14px);
}

.catalog-lead-offers article.featured p,
.catalog-lead-offers article.featured li {
  color: color-mix(in srgb, var(--site-surface) 78%, transparent);
}

.catalog-lead-offers h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(24px, 2.5vw, 38px));
  line-height: var(--type-h3-line-height, 1);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-lead-offers p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.5;
}

.catalog-lead-offers ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--site-muted);
}

.funnel-proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 70px);
  background: color-mix(in srgb, var(--site-accent) 8%, transparent);
}

.funnel-proof-section > div:last-child {
  display: grid;
  gap: 14px;
}

.funnel-proof-section blockquote {
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--site-accent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 14px 44px color-mix(in srgb, var(--site-text) 6%, transparent);
  font-weight: 800;
}

.funnel-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(320px, 1.34fr);
  gap: clamp(24px, 5vw, 70px);
}

.funnel-faq-list {
  display: grid;
  gap: 10px;
}

.funnel-faq-list article {
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
}

.funnel-faq-list p {
  margin: 8px 0 0;
  color: var(--site-muted);
  line-height: 1.5;
}

.funnel-visual-placeholder {
  min-height: inherit;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 90%, black), color-mix(in srgb, var(--site-accent) 62%, var(--site-primary)));
}

.funnel-visual-placeholder span {
  width: clamp(150px, 22vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(48px, 7vw, 84px);
}

.template-restaurant-food-business,
.layout-restaurant-food-business {
  --restaurant-warm: color-mix(in srgb, var(--site-accent) 12%, var(--site-bg));
}

.restaurant-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: 76vh;
  padding: clamp(42px, 7vw, 104px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--site-accent) 24%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-bg) 82%, white), color-mix(in srgb, var(--site-accent) 9%, var(--site-bg)));
}

.restaurant-hero-copy {
  max-width: 760px;
}

.restaurant-hero h1 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(48px, 7vw, 96px));
  line-height: var(--type-h1-line-height, 0.94);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  color: var(--site-text);
}

.restaurant-hero p {
  max-width: 660px;
  margin: 0 0 14px;
  color: var(--site-muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.55;
}

.restaurant-stage {
  position: relative;
  min-height: clamp(420px, 52vw, 640px);
}

.restaurant-stage-visual {
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border-radius: calc(var(--brand-radius) + 18px);
  background:
    radial-gradient(circle at 38% 28%, color-mix(in srgb, var(--site-accent) 34%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--site-primary) 90%, black), color-mix(in srgb, var(--site-accent) 48%, var(--site-primary)));
  box-shadow: 0 30px 90px color-mix(in srgb, var(--site-text) 16%, transparent);
}

.restaurant-stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-mini-card {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  width: min(270px, 72%);
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-surface) 58%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-surface) 90%, transparent);
  box-shadow: 0 18px 56px color-mix(in srgb, var(--site-text) 18%, transparent);
  backdrop-filter: blur(18px);
}

.restaurant-mini-card strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 22px;
}

.restaurant-mini-card span,
.restaurant-specials-list span {
  color: var(--site-muted);
  line-height: 1.45;
}

.restaurant-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.restaurant-proof-strip span,
.restaurant-info-section > div:last-child span,
.restaurant-specials-list article {
  --inline-edit-radius: var(--brand-radius);
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-surface) 90%, transparent);
}

.restaurant-proof-strip span {
  padding: 10px 12px;
  font-weight: 900;
}

.restaurant-categories-section,
.restaurant-menu-section,
.restaurant-specials-section,
.restaurant-info-section,
.restaurant-order-section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.restaurant-category-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.restaurant-category-rail article {
  --inline-edit-radius: var(--brand-radius);
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-primary) 94%, black);
  color: var(--site-surface);
}

.restaurant-category-rail small,
.restaurant-menu-card-top small,
.restaurant-specials-list small {
  color: var(--site-accent);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.restaurant-category-rail strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.catalog-restaurant-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-restaurant-menu article {
  --inline-edit-radius: var(--brand-radius);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 18px 58px color-mix(in srgb, var(--site-text) 7%, transparent);
}

.catalog-restaurant-menu article.featured {
  --inline-edit-background: rgba(255, 255, 255, 0.12);
  background: color-mix(in srgb, var(--site-primary) 94%, black);
  color: var(--site-surface);
}

.catalog-restaurant-menu article.featured p {
  color: color-mix(in srgb, var(--site-surface) 72%, transparent);
}

.restaurant-menu-card-top,
.restaurant-menu-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-restaurant-menu .image-shell,
.catalog-restaurant-menu .card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--brand-radius) - 2px);
  overflow: hidden;
}

.catalog-restaurant-menu h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(23px, 2.4vw, 34px));
  line-height: var(--type-h3-line-height, 1.02);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-restaurant-menu p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.5;
}

.restaurant-specials-section,
.restaurant-info-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.restaurant-specials-section h2,
.restaurant-info-section h2,
.restaurant-order-card h2 {
  margin: 0 0 14px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(36px, 5vw, 74px));
  line-height: var(--type-h2-line-height, 0.98);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.restaurant-specials-section p,
.restaurant-info-section p,
.restaurant-order-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.6;
}

.restaurant-specials-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.restaurant-specials-list article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.restaurant-specials-list strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 24px;
}

.restaurant-info-section > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.restaurant-info-section > div:last-child span {
  padding: 16px;
  font-weight: 900;
}

.restaurant-order-section {
  background:
    radial-gradient(circle at 15% 30%, color-mix(in srgb, var(--site-accent) 18%, transparent), transparent 28%),
    color-mix(in srgb, var(--site-primary) 92%, black);
}

.restaurant-order-card {
  --inline-edit-radius: calc(var(--brand-radius) + 10px);
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: calc(var(--brand-radius) + 10px);
  background: var(--site-surface);
  box-shadow: 0 28px 90px color-mix(in srgb, black 24%, transparent);
}

.restaurant-visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--site-accent) 38%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--site-primary) 84%, black), color-mix(in srgb, var(--site-accent) 48%, var(--site-primary)));
}

.restaurant-visual-placeholder span {
  width: clamp(160px, 22vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-surface) 92%, transparent);
  color: var(--site-primary);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 950;
}

.template-real-estate-listings-pro,
.layout-real-estate-listings-pro {
  --listing-blue: color-mix(in srgb, var(--site-accent) 76%, #0284c7);
  --listing-ink: color-mix(in srgb, var(--site-primary) 92%, #020617);
}

.listing-pro-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(44px, 7vw, 108px) clamp(18px, 5vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, color-mix(in srgb, var(--site-accent) 20%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-bg) 88%, white), color-mix(in srgb, var(--site-secondary) 16%, var(--site-bg)));
}

.listing-pro-copy {
  max-width: 780px;
}

.listing-pro-hero h1 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(48px, 7vw, 94px));
  line-height: var(--type-h1-line-height, 0.96);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  color: var(--site-text);
}

.listing-pro-hero p {
  max-width: 680px;
  margin: 0 0 20px;
  color: var(--site-muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.55;
}

.listing-search-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: calc(var(--brand-radius) + 12px);
  background: color-mix(in srgb, var(--site-surface) 94%, transparent);
  box-shadow: 0 20px 70px color-mix(in srgb, var(--site-primary) 10%, transparent);
}

.listing-search-bar span {
  padding-left: 12px;
  color: var(--site-muted);
  font-weight: 900;
}

.listing-search-bar input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--site-text);
  font: inherit;
  outline: 0;
}

.listing-search-bar button {
  border: 0;
  border-radius: var(--brand-radius);
  padding: 13px 18px;
  background: var(--site-primary);
  color: var(--brand-button-text, #fff);
  font-weight: 950;
}

.listing-quick-filters,
.listing-card-top,
.listing-card-bottom,
.listing-spec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.listing-quick-filters {
  margin-top: 16px;
}

.listing-quick-filters span,
.listing-filter-grid article,
.listing-trust-section > div:last-child span {
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-surface) 90%, transparent);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--site-primary) 6%, transparent);
}

.listing-quick-filters span {
  padding: 10px 12px;
  font-weight: 900;
}

.listing-pro-stage {
  position: relative;
  min-height: clamp(430px, 52vw, 650px);
}

.listing-map-card {
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: calc(var(--brand-radius) + 18px);
  background:
    radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--site-accent) 24%, transparent), transparent 28%),
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--site-primary) 6%, transparent) 0 1px, transparent 1px 34px),
    var(--site-surface);
  box-shadow: 0 30px 90px color-mix(in srgb, var(--site-primary) 16%, transparent);
}

.listing-map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-floating-card {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  width: min(310px, 74%);
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-surface) 70%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-surface) 92%, transparent);
  box-shadow: 0 20px 62px color-mix(in srgb, var(--site-primary) 18%, transparent);
  backdrop-filter: blur(18px);
}

.listing-floating-card small,
.listing-card-top small {
  color: var(--site-accent);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.listing-floating-card strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 23px;
}

.listing-filter-section,
.listing-featured-section,
.listing-area-section,
.listing-trust-section,
.listing-contact-section {
  padding: clamp(54px, 7vw, 98px) clamp(18px, 5vw, 76px);
}

.listing-filter-section,
.listing-area-section,
.listing-trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
}

.listing-filter-section h2,
.listing-area-section h2,
.listing-trust-section h2,
.listing-contact-card h2 {
  margin: 0 0 14px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(36px, 5vw, 74px));
  line-height: var(--type-h2-line-height, 0.98);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.listing-filter-section p,
.listing-area-section p,
.listing-trust-section p,
.listing-contact-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.6;
}

.listing-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.listing-filter-grid article {
  min-height: 126px;
  display: grid;
  align-content: space-between;
  padding: 18px;
}

.catalog-real-estate-listings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-real-estate-listings article {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 18px 58px color-mix(in srgb, var(--site-primary) 8%, transparent);
}

.catalog-real-estate-listings article.featured {
  grid-column: span 2;
}

.listing-image,
.listing-image .listing-visual-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-image .image-shell {
  height: 100%;
  aspect-ratio: 16 / 10;
}

.listing-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.listing-card-top {
  justify-content: space-between;
}

.listing-card-top span,
.listing-spec-row span {
  padding: 7px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-accent) 12%, transparent);
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 900;
}

.catalog-real-estate-listings h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(23px, 2.2vw, 32px));
  line-height: var(--type-h3-line-height, 1.02);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-real-estate-listings p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.5;
}

.listing-card-bottom {
  justify-content: space-between;
}

.listing-card-bottom strong {
  font-size: 22px;
}

.listing-area-map {
  position: relative;
  min-height: 420px;
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: calc(var(--brand-radius) + 14px);
  background:
    radial-gradient(circle at 28% 28%, color-mix(in srgb, var(--site-accent) 20%, transparent), transparent 26%),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--site-primary) 6%, transparent) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--site-primary) 6%, transparent) 0 1px, transparent 1px 38px),
    color-mix(in srgb, var(--site-surface) 96%, var(--site-bg));
  overflow: hidden;
}

.listing-area-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--site-primary);
  color: var(--site-surface);
  font-weight: 900;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--site-primary) 24%, transparent);
}

.listing-trust-section > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.listing-trust-section > div:last-child span {
  padding: 18px;
  font-weight: 900;
}

.listing-contact-section {
  background: color-mix(in srgb, var(--site-primary) 94%, #020617);
}

.listing-contact-card {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 62px);
  border-radius: calc(var(--brand-radius) + 10px);
  background: var(--site-surface);
  box-shadow: 0 28px 90px color-mix(in srgb, black 24%, transparent);
}

.listing-visual-placeholder {
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  gap: 10px;
  background:
    radial-gradient(circle at 35% 24%, color-mix(in srgb, var(--site-accent) 28%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-surface) 88%, transparent), color-mix(in srgb, var(--site-accent) 10%, var(--site-surface)));
}

.listing-visual-placeholder span {
  width: clamp(140px, 20vw, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--site-primary);
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 950;
}

.template-digital-products-store,
.layout-digital-products-store {
  --digital-ink: color-mix(in srgb, var(--site-primary) 86%, #020617);
  --digital-cyan: color-mix(in srgb, var(--site-accent) 72%, #22d3ee);
}

.digital-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  min-height: 76vh;
  padding: clamp(44px, 7vw, 108px) clamp(18px, 5vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--site-accent) 28%, transparent), transparent 32%),
    radial-gradient(circle at 18% 82%, color-mix(in srgb, var(--site-primary) 10%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--site-bg) 92%, white), color-mix(in srgb, var(--site-accent) 8%, var(--site-bg)));
}

.digital-hero-copy {
  max-width: 760px;
}

.digital-hero h1 {
  margin: 0 0 18px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h1-size, clamp(48px, 7vw, 96px));
  line-height: var(--type-h1-line-height, 0.94);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  color: var(--site-text);
}

.digital-hero p {
  max-width: 660px;
  margin: 0 0 16px;
  color: var(--site-muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.55;
}

.digital-stage {
  position: relative;
  isolation: isolate;
  min-height: clamp(430px, 52vw, 650px);
  display: grid;
  align-items: center;
}

.digital-stage-visual {
  position: relative;
  z-index: 1;
  min-height: inherit;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: calc(var(--brand-radius) + 18px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-surface) 86%, transparent), color-mix(in srgb, var(--site-accent) 14%, var(--site-surface))),
    radial-gradient(circle at 34% 22%, color-mix(in srgb, var(--site-accent) 30%, transparent), transparent 30%);
  box-shadow: 0 30px 90px color-mix(in srgb, var(--site-primary) 18%, transparent);
}

.digital-stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.digital-access-card {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  width: min(300px, 74%);
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-surface) 70%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-surface) 92%, transparent);
  box-shadow: 0 20px 62px color-mix(in srgb, var(--site-primary) 18%, transparent);
  backdrop-filter: blur(18px);
  z-index: 2;
}

.digital-access-card small,
.digital-card-top small,
.digital-module-grid small {
  color: var(--site-accent);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.digital-access-card strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 23px;
}

.digital-access-card span,
.digital-module-grid span,
.digital-proof-section p,
.digital-access-panel p {
  color: var(--site-muted);
  line-height: 1.5;
}

.digital-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.digital-proof-strip span,
.digital-proof-section > div:last-child span {
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: var(--brand-radius);
  background: color-mix(in srgb, var(--site-surface) 88%, transparent);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--site-primary) 6%, transparent);
}

.digital-proof-strip span {
  padding: 10px 12px;
  font-weight: 900;
}

.digital-bundle-section,
.digital-modules-section,
.digital-proof-section,
.digital-access-section {
  padding: clamp(54px, 7vw, 98px) clamp(18px, 5vw, 76px);
}

.catalog-digital-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  max-width: 1280px;
  margin-inline: auto;
}

.catalog-digital-pro article {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: var(--brand-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-surface) 98%, white), color-mix(in srgb, var(--site-accent) 5%, var(--site-surface)));
  box-shadow: 0 18px 58px color-mix(in srgb, var(--site-primary) 8%, transparent);
}

.catalog-digital-pro article:first-child {
  border-color: color-mix(in srgb, var(--site-accent) 52%, var(--site-primary));
  box-shadow: 0 18px 58px color-mix(in srgb, var(--site-accent) 14%, transparent);
}

.digital-card-top,
.digital-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.digital-card-top span {
  padding: 7px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-accent) 14%, transparent);
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 900;
}

.catalog-digital-pro .image-shell,
.catalog-digital-pro .card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--brand-radius) - 2px);
  overflow: hidden;
}

.catalog-digital-pro h3 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h3-size, clamp(22px, 2.2vw, 31px));
  line-height: var(--type-h3-line-height, 1.02);
  letter-spacing: var(--type-h3-tracking, 0em);
  font-weight: var(--type-h3-weight, 600);
}

.catalog-digital-pro p,
.catalog-digital-pro ul {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.5;
}

.catalog-digital-pro ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.digital-modules-section,
.digital-proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
}

.digital-modules-section h2,
.digital-proof-section h2,
.digital-access-panel h2 {
  margin: 0 0 14px;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: var(--type-h2-size, clamp(36px, 5vw, 74px));
  line-height: var(--type-h2-line-height, 0.98);
  letter-spacing: var(--type-h2-tracking, 0em);
  font-weight: var(--type-h2-weight, 700);
}

.digital-modules-section p,
.digital-proof-section p {
  margin: 0;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.6;
}

.digital-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.digital-module-grid article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--site-primary) 10%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: 0 14px 44px color-mix(in srgb, var(--site-primary) 6%, transparent);
}

.digital-module-grid strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 23px;
  line-height: 1.08;
}

.digital-proof-section > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.digital-proof-section > div:last-child span {
  padding: 14px 16px;
  font-weight: 900;
}

.digital-access-section {
  background:
    radial-gradient(circle at 18% 25%, color-mix(in srgb, var(--site-accent) 22%, transparent), transparent 26%),
    color-mix(in srgb, var(--site-primary) 93%, #020617);
}

.digital-access-panel {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 62px);
  border-radius: calc(var(--brand-radius) + 10px);
  background: var(--site-surface);
  box-shadow: 0 28px 90px color-mix(in srgb, black 24%, transparent);
}

.digital-visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  gap: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-surface) 82%, transparent), color-mix(in srgb, var(--site-accent) 16%, var(--site-surface))),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--site-primary) 6%, transparent) 0 1px, transparent 1px 42px);
}

.digital-visual-placeholder span {
  width: clamp(150px, 22vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: color-mix(in srgb, var(--site-primary) 92%, #020617);
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(50px, 7vw, 86px);
  font-weight: 950;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--site-primary) 24%, transparent);
}

.digital-visual-placeholder small {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--site-surface);
  color: var(--site-primary);
  font-weight: 900;
}

.catalog-luxury {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  background: color-mix(in srgb, var(--site-text) 92%, var(--site-primary));
  color: var(--site-surface);
  padding: 34px;
  border-radius: var(--brand-radius);
}

.catalog-luxury article {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 20px;
}

.catalog-luxury small {
  color: var(--site-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-digital,
.catalog-booking,
.catalog-services,
.catalog-practice,
.catalog-projects,
.catalog-pricing,
.catalog-tickets,
.catalog-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.catalog-menu {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin-inline: auto;
}

.catalog-menu article {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px dashed color-mix(in srgb, var(--site-text) 20%, transparent);
  padding: 14px 0;
}

.catalog-projects article > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.catalog-projects article > div span {
  display: grid;
  place-items: center;
  min-height: 90px;
  border-radius: 6px;
  background: var(--site-secondary);
  font-weight: 900;
}

.catalog-pricing article.featured {
  outline: 3px solid color-mix(in srgb, var(--site-primary) 40%, transparent);
  transform: translateY(-8px);
}

.rendered-section,
.rendered-hero,
.contact-panel {
  background: var(--section-bg, initial);
  color: var(--section-text, inherit);
}

.rendered-section[style*="--section-bg"],
.rendered-hero[style*="--section-bg"],
.contact-panel[style*="--section-bg"] {
  background: var(--section-bg);
}

.rendered-section[style*="--section-text"] h2,
.rendered-section[style*="--section-text"] h3,
.rendered-section[style*="--section-text"] p,
.rendered-hero[style*="--section-text"] h1,
.rendered-hero[style*="--section-text"] p,
.contact-panel[style*="--section-text"] h2,
.contact-panel[style*="--section-text"] p {
  color: var(--section-text);
}

.rendered-nav,
.rendered-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--site-surface);
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
}

.rendered-nav.sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--site-surface) 88%, transparent);
}

.rendered-nav img {
  max-width: 130px;
  max-height: 44px;
  object-fit: contain;
}

.rendered-nav-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-lockup > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--site-primary);
  color: var(--site-surface);
  font-family: var(--site-heading), Inter, sans-serif;
  font-weight: 950;
}

.logo-lockup strong,
.logo-lockup small {
  display: block;
}

.logo-lockup small {
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.rendered-nav a {
  margin-left: 14px;
  color: var(--site-text);
  text-decoration: none;
  font-weight: 850;
  opacity: 0.78;
}

.commerce-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.commerce-action {
  border: 1px solid color-mix(in srgb, var(--site-text) 14%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-surface) 92%, transparent);
  color: var(--site-text);
  padding: 9px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--site-text) 8%, transparent);
}

.cart-button span,
.cart-button [data-cart-count] {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--site-accent);
  color: var(--site-text);
  font-size: 10px;
}

.template-mega-marketplace .commerce-action,
.template-marketplace-style .commerce-action {
  border-color: color-mix(in srgb, var(--site-accent) 44%, transparent);
  background: color-mix(in srgb, var(--site-text) 78%, var(--site-primary));
  color: var(--site-surface);
}

.template-mega-marketplace .cart-button span,
.template-marketplace-style .cart-button span,
.template-mega-marketplace .cart-button [data-cart-count],
.template-marketplace-style .cart-button [data-cart-count] {
  color: var(--site-text);
}

.commerce-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  background: rgba(4, 8, 18, 0.48);
  backdrop-filter: blur(8px);
}

.commerce-modal-card {
  display: grid;
  gap: 14px;
  width: min(430px, calc(100vw - 24px));
  min-height: 100%;
  padding: 22px;
  background: var(--site-surface, #fff);
  color: var(--site-text, #111827);
  box-shadow: -20px 0 60px rgba(8, 15, 32, 0.22);
}

.commerce-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.commerce-modal-head button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.commerce-status {
  color: var(--site-muted, #64748b);
}

@media (max-width: 760px) {
  .rendered-nav nav {
    order: 3;
    width: 100%;
  }

  .commerce-actions {
    margin-left: 0;
    flex: 1 1 auto;
  }

  .commerce-action {
    padding: 8px 10px;
    font-size: 11px;
  }

  .commerce-modal {
    justify-items: stretch;
  }

  .commerce-modal-card {
    width: 100%;
    min-height: 100%;
  }
}

.rendered-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  padding: clamp(34px, 6vw, 82px);
  min-height: 68vh;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-secondary) 50%, transparent), transparent 46%),
    var(--site-bg);
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-surface) 92%, transparent);
  padding: 6px 10px;
  color: var(--site-text);
  font-size: 12px;
  font-weight: 900;
}

.hero-brand-badge img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: none;
  aspect-ratio: 1;
}

.spacing-compact {
  padding-block: 38px;
}

.spacing-balanced {
  padding-block: 74px;
}

.spacing-spacious {
  padding-block: 108px;
}

.rendered-hero h1,
.rendered-section h2 {
  font-family: var(--site-heading), Inter, sans-serif;
}

.rendered-hero h1 {
  margin: 0 0 14px;
  font-size: var(--type-h1-size, clamp(40px, 6vw, 76px));
  line-height: var(--type-h1-line-height, 0.98);
  letter-spacing: var(--type-h1-tracking, 0em);
  font-weight: var(--type-h1-weight, 700);
  max-width: 880px;
}

/* One branded cart and checkout surface shared by every commerce template. */
.kreaton-cart-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: color-mix(in srgb, var(--site-text, #111827) 42%, transparent);
  backdrop-filter: blur(12px) saturate(0.9);
  font-family: var(--site-body), Inter, sans-serif;
  animation: kreaton-cart-fade 180ms ease both;
}

.kreaton-cart-drawer {
  width: min(490px, calc(100vw - 28px));
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-left: 1px solid color-mix(in srgb, var(--site-primary, #0e7c66) 16%, transparent);
  border-radius: 28px 0 0 28px;
  background: color-mix(in srgb, var(--site-surface, #fff) 96%, var(--site-primary, #0e7c66));
  color: var(--site-text, #111827);
  box-shadow: -28px 0 90px color-mix(in srgb, var(--site-text, #111827) 22%, transparent);
  animation: kreaton-cart-enter 260ms cubic-bezier(.2,.8,.2,1) both;
}

.kreaton-cart-header {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--site-text, #111827) 9%, transparent);
}

.kreaton-cart-header span {
  display: block;
  margin-bottom: 6px;
  color: var(--site-primary, #0e7c66);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.kreaton-cart-header h2 {
  margin: 0;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
  letter-spacing: 0;
}

.kreaton-cart-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--site-text, #111827) 12%, transparent);
  border-radius: 50%;
  color: var(--site-text, #111827);
  background: color-mix(in srgb, var(--site-surface, #fff) 88%, transparent);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.kreaton-cart-close:hover {
  transform: rotate(6deg) scale(1.04);
  border-color: color-mix(in srgb, var(--site-primary, #0e7c66) 36%, transparent);
  background: color-mix(in srgb, var(--site-primary, #0e7c66) 8%, var(--site-surface, #fff));
}

.kreaton-cart-close svg,
.kreaton-cart-checkout svg,
.kreaton-cart-toast svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kreaton-cart-body {
  min-height: 0;
  overflow-y: auto;
  padding: 22px 28px;
}

.kreaton-cart-lines {
  display: grid;
  gap: 13px;
}

.kreaton-cart-line {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--site-text, #111827) 9%, transparent);
  border-radius: 18px;
  background: var(--site-surface, #fff);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--site-text, #111827) 7%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.kreaton-cart-line:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--site-primary, #0e7c66) 28%, transparent);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--site-text, #111827) 11%, transparent);
}

.kreaton-cart-line-visual {
  width: 74px;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--site-surface, #fff);
  background: linear-gradient(145deg, var(--site-primary, #0e7c66), var(--site-accent, #22c7d6));
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.kreaton-cart-line-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.kreaton-cart-line-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.kreaton-cart-line-copy strong {
  overflow: hidden;
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kreaton-cart-line-copy span {
  color: var(--site-muted, #64748b);
  font-size: 12px;
  font-weight: 800;
}

.kreaton-cart-line-copy button {
  width: max-content;
  padding: 0;
  border: 0;
  color: var(--site-muted, #64748b);
  background: transparent;
  font-size: 10px;
  text-decoration: underline;
  cursor: pointer;
}

.kreaton-cart-stepper {
  display: grid;
  grid-template-columns: 30px 28px 30px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--site-text, #111827) 12%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--site-bg, #f8fafc) 72%, var(--site-surface, #fff));
}

.kreaton-cart-stepper button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--site-text, #111827);
  background: transparent;
  cursor: pointer;
}

.kreaton-cart-stepper button:hover {
  background: color-mix(in srgb, var(--site-primary, #0e7c66) 12%, transparent);
}

.kreaton-cart-stepper b {
  text-align: center;
  font-size: 12px;
}

.kreaton-cart-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.kreaton-cart-empty > span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--site-primary, #0e7c66);
  background: color-mix(in srgb, var(--site-primary, #0e7c66) 10%, var(--site-surface, #fff));
}

.kreaton-cart-empty svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.kreaton-cart-empty strong {
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 20px;
}

.kreaton-cart-empty p {
  max-width: 270px;
  margin: 0;
  color: var(--site-muted, #64748b);
  line-height: 1.5;
}

.kreaton-cart-footer {
  display: grid;
  gap: 10px;
  padding: 20px 28px 26px;
  border-top: 1px solid color-mix(in srgb, var(--site-text, #111827) 9%, transparent);
  background: color-mix(in srgb, var(--site-surface, #fff) 92%, transparent);
  box-shadow: 0 -14px 34px color-mix(in srgb, var(--site-text, #111827) 5%, transparent);
}

.kreaton-cart-footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--site-muted, #64748b);
  font-size: 12px;
}

.kreaton-cart-footer > div strong {
  color: var(--site-text, #111827);
  font-size: 18px;
}

.kreaton-cart-checkout,
.kreaton-cart-continue {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.kreaton-cart-checkout {
  border: 0;
  color: var(--site-surface, #fff);
  background: linear-gradient(135deg, var(--site-primary, #0e7c66), color-mix(in srgb, var(--site-primary, #0e7c66) 70%, var(--site-accent, #22c7d6)));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--site-primary, #0e7c66) 28%, transparent);
}

.kreaton-cart-checkout:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--site-primary, #0e7c66) 36%, transparent);
}

.kreaton-cart-checkout:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.kreaton-cart-continue {
  border: 1px solid color-mix(in srgb, var(--site-text, #111827) 12%, transparent);
  color: var(--site-text, #111827);
  background: transparent;
}

.kreaton-cart-close:focus-visible,
.kreaton-cart-stepper button:focus-visible,
.kreaton-cart-line-copy button:focus-visible,
.kreaton-cart-checkout:focus-visible,
.kreaton-cart-continue:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--site-primary, #0e7c66) 32%, transparent);
  outline-offset: 2px;
}

.kreaton-cart-toast {
  position: fixed;
  z-index: 1010;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid color-mix(in srgb, var(--site-surface, #fff) 15%, transparent);
  border-radius: 14px;
  color: var(--site-surface, #fff);
  background: var(--site-text, #111827);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 18px 48px color-mix(in srgb, var(--site-text, #111827) 28%, transparent);
  animation: kreaton-cart-toast-enter 220ms ease both;
}

@keyframes kreaton-cart-fade { from { opacity: 0; } }
@keyframes kreaton-cart-enter { from { opacity: .8; transform: translateX(36px); } }
@keyframes kreaton-cart-toast-enter { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 620px) {
  .kreaton-cart-overlay {
    align-items: flex-end;
  }

  .kreaton-cart-drawer {
    width: 100%;
    min-height: 0;
    max-height: 92vh;
    border: 0;
    border-radius: 26px 26px 0 0;
    animation-name: kreaton-cart-enter-mobile;
  }

  .kreaton-cart-header {
    min-height: 96px;
    padding: 22px 20px 18px;
  }

  .kreaton-cart-body {
    padding: 17px 16px;
  }

  .kreaton-cart-line {
    grid-template-columns: 62px minmax(0, 1fr);
    border-radius: 16px;
  }

  .kreaton-cart-line-visual {
    width: 62px;
  }

  .kreaton-cart-stepper {
    grid-column: 2;
    width: max-content;
  }

  .kreaton-cart-footer {
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .kreaton-cart-toast {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    justify-content: center;
  }
}

@keyframes kreaton-cart-enter-mobile { from { opacity: .8; transform: translateY(32px); } }

.rendered-hero p,
.rendered-section p {
  color: var(--site-muted);
  line-height: 1.65;
  font-size: 17px;
}

.rendered-visual {
  min-width: 0;
}

.rendered-hero img,
.visual-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--brand-radius);
  box-shadow: var(--brand-shadow);
}

.hero-centered-bold {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero-centered-bold .rendered-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-centered-bold .rendered-visual,
.hero-centered-bold .rendered-visual img,
.hero-centered-bold .rendered-visual .visual-placeholder {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
}

.hero-centered-bold .rendered-visual {
  position: relative;
}

.hero-centered-bold .rendered-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--site-bg) 68%, transparent);
}

.hero-centered-bold .rendered-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-asymmetric-grid {
  grid-template-columns: minmax(0, .7fr) minmax(360px, 1.3fr);
  gap: clamp(28px, 6vw, 92px);
}

.hero-asymmetric-grid .rendered-hero-copy {
  max-width: 540px;
}

.hero-asymmetric-grid .rendered-visual img,
.hero-asymmetric-grid .visual-placeholder {
  aspect-ratio: 16 / 11;
}

.visual-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 20%, color-mix(in srgb, var(--site-primary) 28%, transparent), transparent 28%),
    linear-gradient(145deg, var(--site-secondary), var(--site-surface));
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
}

.visual-placeholder span {
  color: var(--site-primary);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: clamp(76px, 12vw, 150px);
  font-weight: 950;
}

.visual-placeholder small {
  align-self: end;
  margin-bottom: 26px;
  color: var(--site-muted);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.rendered-button {
  display: inline-flex;
  margin-top: 14px;
  border-radius: var(--brand-radius);
  background: var(--brand-button);
  color: var(--brand-button-text);
  text-decoration: none;
  padding: 13px 16px;
  font-weight: 900;
}

.rendered-button.secondary {
  background: transparent;
  color: var(--site-text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-text) 18%, transparent);
}

.rendered-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rendered-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rendered-section {
  padding: 74px clamp(18px, 5vw, 72px);
}

.rendered-section.container-narrow > * {
  max-width: 1040px;
  margin-inline: auto;
}

.rendered-section.container-standard > * {
  max-width: 1180px;
  margin-inline: auto;
}

.rendered-section.container-wide > * {
  max-width: 1380px;
  margin-inline: auto;
}

.rendered-hero.container-narrow {
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
}

.rendered-hero.container-wide {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 1fr);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

.heading-small h1,
.heading-small h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.heading-large h1,
.heading-large h2 {
  font-size: clamp(44px, 6vw, 78px);
}

.heading-huge h1,
.heading-huge h2 {
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.94;
}

.section-heading p {
  max-width: 640px;
}

.rendered-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gap-tight .rendered-grid {
  gap: 12px;
}

.gap-comfortable .rendered-grid {
  gap: 18px;
}

.gap-relaxed .rendered-grid {
  gap: 26px;
}

.rendered-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rendered-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rendered-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-radius: var(--brand-radius);
  background: var(--site-surface);
  box-shadow: var(--brand-shadow);
}

.rendered-card img,
.card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--site-secondary);
}

.image-shell {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--site-secondary);
}

.image-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-shell .card-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.image-shell.image-failed img {
  display: none;
}

.image-shell.image-failed .card-placeholder {
  display: grid;
}

.card-placeholder {
  display: grid;
  place-items: center;
  color: var(--site-primary);
  font-family: var(--site-heading), Inter, sans-serif;
  font-size: 42px;
  font-weight: 950;
}

.rendered-card div {
  padding: 16px;
}

.density-compact .rendered-card div {
  padding: 12px;
}

.density-comfortable .rendered-card div {
  padding: 18px;
}

.density-airy .rendered-card div {
  padding: 24px;
}

.density-compact .rendered-card h3 {
  font-size: 17px;
}

.density-airy .rendered-card h3 {
  font-size: 22px;
}

.rendered-card h3 {
  margin: 0 0 8px;
  font-family: var(--site-heading), Inter, sans-serif;
}

.stock-badge {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 0;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 950;
}

.stock-in {
  background: color-mix(in srgb, #12b76a 14%, var(--site-surface));
  color: #027a48;
}

.stock-low {
  background: color-mix(in srgb, #f79009 16%, var(--site-surface));
  color: #b54708;
}

.stock-out {
  background: color-mix(in srgb, #f04438 13%, var(--site-surface));
  color: #b42318;
}

.stock-unknown {
  background: color-mix(in srgb, var(--site-primary) 10%, var(--site-surface));
  color: var(--site-primary);
}

.feature-band {
  background: color-mix(in srgb, var(--site-secondary) 24%, var(--site-bg));
}

.feature-band-image-left,
.feature-band-image-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.feature-band-image-left .feature-band-visual {
  order: -1;
}

.feature-band-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--brand-radius);
}

.feature-band-card-grid .section-heading {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.feature-band-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-band-cards article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  background: color-mix(in srgb, var(--site-surface) 88%, transparent);
}

.feature-band-cards span {
  color: var(--site-muted);
  line-height: 1.55;
}

.premium-hero-centered-bold {
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  text-align: left;
}

.premium-hero-centered-bold .premium-hero-copy {
  max-width: 620px;
  margin-inline: 0;
}

.premium-hero-centered-bold .premium-product-stage {
  max-width: none;
  margin-inline: 0;
}

.premium-hero-asymmetric-grid {
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
}

.premium-hero-asymmetric-grid .premium-hero-meta {
  justify-self: start;
}

.marketplace-hero-centered-bold .marketplace-deal-hero {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}

.marketplace-hero-centered-bold .rendered-actions,
.marketplace-hero-centered-bold .marketplace-mini-stat-row {
  justify-content: center;
}

.marketplace-hero-asymmetric-grid .marketplace-deal-hero {
  grid-template-columns: minmax(0, .72fr) minmax(360px, 1.28fr);
}

@media (max-width: 760px) {
  .hero-asymmetric-grid,
  .premium-hero-asymmetric-grid,
  .marketplace-hero-asymmetric-grid .marketplace-deal-hero,
  .feature-band-image-left,
  .feature-band-image-right {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-band-image-left .feature-band-visual {
    order: 0;
  }

  .feature-band-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature-editorial-luxury .section-heading,
.feature-trust-first .section-heading {
  margin-inline: auto;
  text-align: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  background: var(--site-surface);
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  padding: 12px 0;
}

.contact-list span {
  color: var(--site-muted);
}

.hero-centered-hero,
.hero-bold-launch {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero-compact-catalog {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-block: 42px;
}

.hero-compact-catalog .rendered-visual {
  display: none;
}

.hero-centered-hero .rendered-actions,
.hero-bold-launch .rendered-actions {
  justify-content: center;
}

.hero-centered-hero .rendered-visual {
  max-width: 760px;
  margin: 0 auto;
}

.hero-image-left .rendered-visual {
  order: -1;
}

.layout-editorial-luxury .rendered-hero h1,
.layout-boutique .rendered-hero h1 {
  font-size: clamp(46px, 7vw, 88px);
}

.section-masonry .rendered-grid {
  align-items: start;
}

.section-masonry .rendered-card:nth-child(even) {
  margin-top: 36px;
}

.template-editorial-boutique .rendered-nav {
  padding-block: 24px;
}

.template-editorial-boutique .rendered-hero {
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 78vh;
}

.template-editorial-boutique .rendered-hero .rendered-visual {
  order: -1;
}

.template-editorial-boutique .rendered-card {
  border: 0;
  box-shadow: 0 22px 70px color-mix(in srgb, var(--site-text) 10%, transparent);
}

.template-editorial-boutique .rendered-grid {
  align-items: start;
}

.template-editorial-boutique .rendered-card:nth-child(2n) {
  margin-top: 44px;
}

.template-operational-catalog .rendered-nav {
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 16%, transparent);
}

.template-operational-catalog .rendered-hero {
  min-height: auto;
  grid-template-columns: 1fr;
  padding-block: 42px;
}

.template-operational-catalog .rendered-hero .rendered-visual {
  display: none;
}

.template-operational-catalog .rendered-section {
  padding-block: 42px;
}

.template-operational-catalog .rendered-card {
  box-shadow: none;
}

.template-operational-catalog .rendered-card img,
.template-operational-catalog .rendered-card .image-shell,
.template-operational-catalog .card-placeholder {
  aspect-ratio: 1 / 1;
}

.template-bold-landing .rendered-nav,
.template-bold-landing .rendered-footer {
  background: color-mix(in srgb, var(--site-surface) 84%, black);
}

.template-bold-landing .rendered-hero {
  grid-template-columns: 1fr;
  min-height: 82vh;
  text-align: center;
}

.template-bold-landing .rendered-actions {
  justify-content: center;
}

.template-bold-landing .rendered-visual {
  max-width: 760px;
  margin: 0 auto;
}

.template-bold-landing .rendered-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-bold-landing .rendered-card {
  background: color-mix(in srgb, var(--site-surface) 88%, black);
  border-color: color-mix(in srgb, var(--site-primary) 35%, transparent);
}

.rendered-footer {
  border-top: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
  border-bottom: 0;
}

.rendered-footer img {
  max-width: 128px;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .ai-shell,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .studio-side,
  .studio-editor-card {
    max-height: none;
  }

  .luma-studio-card {
    margin-top: 0;
  }
}

.template-luxury-high-ticket-pro,
.layout-luxury-high-ticket-pro {
  background:
    radial-gradient(circle at 80% 8%, rgba(214, 168, 79, 0.22), transparent 30%),
    linear-gradient(145deg, #0d0a07 0%, #17110c 52%, #080604 100%);
  color: #f7efe2;
}

.template-luxury-high-ticket-pro .rendered-nav,
.layout-luxury-high-ticket-pro .rendered-nav {
  background: rgba(13, 10, 7, 0.84);
  border-color: rgba(214, 168, 79, 0.22);
  color: #f7efe2;
}

.template-luxury-high-ticket-pro .rendered-nav a,
.layout-luxury-high-ticket-pro .rendered-nav a {
  color: #d8ccb7;
}

.luxury-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  min-height: auto;
  padding: clamp(58px, 7vw, 96px) clamp(22px, 6vw, 86px);
  background:
    radial-gradient(circle at 72% 42%, rgba(214, 168, 79, 0.16), transparent 38%),
    linear-gradient(135deg, #0d0a07 0%, #1c130b 62%, #090705 100%);
  color: #f8f1e6;
  overflow: visible;
}

.luxury-pro-copy {
  max-width: 720px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.luxury-pro-copy .rendered-kicker,
.luxury-signature-copy .rendered-kicker,
.luxury-provenance-section .rendered-kicker,
.luxury-private-section .rendered-kicker,
.luxury-contact-card .rendered-kicker {
  color: #d6a84f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.luxury-pro-copy h1 {
  margin: 14px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 0.98;
  max-width: 760px;
  color: #fff8ec;
  text-wrap: balance;
}

.luxury-pro-copy p {
  max-width: 620px;
  color: #d8ccb7;
  font-size: 1.12rem;
  line-height: 1.75;
}

.luxury-pro-hero .rendered-button,
.luxury-private-section .rendered-button,
.luxury-contact-card .rendered-button {
  background: linear-gradient(135deg, #f5d082, #b8872f);
  color: #130d07;
  border-color: rgba(245, 208, 130, 0.52);
}

.luxury-pro-hero .rendered-button.secondary,
.catalog-luxury-high-ticket .rendered-button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f8f1e6;
  border-color: rgba(214, 168, 79, 0.34);
}

.luxury-proof-strip,
.luxury-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.luxury-proof-strip span,
.luxury-mini-proof span {
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 999px;
  color: #ead9b8;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.05);
}

.luxury-pro-stage {
  position: relative;
  min-height: clamp(380px, 46vw, 540px);
  display: grid;
  place-items: center;
  min-width: 0;
}

.luxury-hero-visual,
.luxury-signature-media,
.luxury-visual-placeholder {
  width: min(100%, 620px);
  min-height: clamp(360px, 44vw, 520px);
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 22%, rgba(247, 239, 226, 0.18), transparent 28%),
    linear-gradient(145deg, #21170f, #080604);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

.luxury-hero-visual img,
.luxury-signature-media img,
.catalog-luxury-high-ticket img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.luxury-visual-placeholder {
  display: grid;
  place-items: center;
  color: #d6a84f;
  text-align: center;
}

.luxury-visual-placeholder span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
}

.luxury-floating-card {
  --inline-edit-radius: 6px;
  --inline-edit-background: rgba(255, 255, 255, 0.08);
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: min(280px, 74%);
  padding: 20px;
  border: 1px solid rgba(214, 168, 79, 0.36);
  border-radius: 6px;
  background: rgba(13, 10, 7, 0.84);
  color: #f8f1e6;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.luxury-pro-hero.heading-safe .luxury-pro-copy h1 {
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1;
  max-width: 700px;
}

.luxury-pro-hero.heading-safe .luxury-pro-copy p {
  max-width: 560px;
}

.luxury-floating-card small,
.catalog-luxury-high-ticket small {
  display: block;
  margin-bottom: 8px;
  color: #d6a84f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.luxury-floating-card strong,
.luxury-floating-card span {
  display: block;
}

.luxury-signature-section,
.luxury-provenance-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(22px, 6vw, 86px);
  background: #0d0a07;
  color: #f8f1e6;
}

.luxury-signature-copy h2,
.luxury-provenance-section h2,
.luxury-private-section h2,
.luxury-contact-card h2,
.luxury-collection-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #fff8ec;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 0.98;
}

.luxury-signature-copy p,
.luxury-provenance-section p,
.luxury-private-section p,
.luxury-contact-card p {
  color: #d8ccb7;
  line-height: 1.75;
}

.luxury-collection-section {
  padding: clamp(58px, 8vw, 110px) clamp(22px, 6vw, 86px);
  background: #130d08;
  color: #f8f1e6;
}

.luxury-collection-section .section-heading p {
  color: #d8ccb7;
}

.catalog-luxury-high-ticket {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-luxury-high-ticket article {
  --inline-edit-radius: 6px;
  --inline-edit-background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 6px;
  overflow: hidden;
  background: #0d0a07;
  color: #f8f1e6;
}

.catalog-luxury-high-ticket article.featured {
  grid-column: span 2;
}

.luxury-card-top {
  min-height: 330px;
  background: #1d140d;
}

.luxury-card-top .image-shell {
  height: 100%;
  min-height: inherit;
  aspect-ratio: auto;
}

.luxury-card-bottom {
  padding: 22px;
}

.luxury-card-bottom h3 {
  margin: 0 0 10px;
  color: #fff8ec;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.luxury-card-bottom p {
  color: #d8ccb7;
  line-height: 1.6;
}

.luxury-card-bottom > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  color: #ead9b8;
}

.luxury-provenance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.luxury-provenance-grid article {
  --inline-edit-radius: 6px;
  --inline-edit-background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 6px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.luxury-provenance-grid article > span {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 18px;
  background: #d6a84f;
}

.luxury-private-section,
.luxury-contact-section {
  padding: clamp(58px, 8vw, 110px) clamp(22px, 6vw, 86px);
  background:
    radial-gradient(circle at 20% 0%, rgba(214, 168, 79, 0.16), transparent 34%),
    #080604;
  color: #f8f1e6;
}

.luxury-private-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.luxury-contact-card {
  --inline-edit-radius: 6px;
  --inline-edit-background: rgba(255, 255, 255, 0.08);
  max-width: 820px;
  border: 1px solid rgba(214, 168, 79, 0.26);
  border-radius: 6px;
  padding: clamp(28px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1040px) {
  .luxury-pro-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .luxury-pro-copy {
    max-width: 820px;
  }

  .luxury-pro-copy h1 {
    font-size: clamp(42px, 8vw, 76px);
  }

  .luxury-pro-stage {
    justify-items: stretch;
    min-height: auto;
  }

  .luxury-hero-visual,
  .luxury-signature-media,
  .luxury-visual-placeholder {
    width: 100%;
    min-height: clamp(320px, 48vw, 460px);
  }
}

.template-education-course-academy-pro,
.layout-education-course-academy-pro {
  background: #f7fbff;
  color: #0f172a;
}

.template-education-course-academy-pro .rendered-nav,
.layout-education-course-academy-pro .rendered-nav {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.14);
  color: #0f172a;
}

.academy-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 760px;
  padding: clamp(58px, 8vw, 108px) clamp(22px, 6vw, 86px);
  background:
    radial-gradient(circle at 75% 18%, rgba(37, 99, 235, 0.22), transparent 32%),
    radial-gradient(circle at 18% 84%, rgba(20, 184, 166, 0.15), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%);
  overflow: hidden;
}

.academy-pro-copy h1 {
  margin: 14px 0 20px;
  max-width: 760px;
  color: #0f172a;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.94;
}

.academy-pro-copy p {
  max-width: 620px;
  color: #475569;
  font-size: 1.12rem;
  line-height: 1.75;
}

.academy-pro-copy .rendered-kicker,
.academy-path-section .rendered-kicker,
.academy-programs-section .rendered-kicker,
.academy-outcomes-section .rendered-kicker,
.academy-instructor-section .rendered-kicker,
.academy-enroll-section .rendered-kicker {
  color: #2563eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academy-proof-strip,
.academy-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.academy-proof-strip span,
.academy-mini-proof span {
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.78);
  color: #1e3a8a;
}

.academy-pro-stage {
  position: relative;
  min-height: 540px;
}

.academy-dashboard-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.academy-dashboard-top {
  display: flex;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.academy-dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfdbfe;
}

.academy-dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 18px;
  padding: 22px;
}

.academy-video-frame,
.academy-visual-placeholder,
.academy-instructor-card {
  min-height: 390px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(20, 184, 166, 0.25), transparent 30%),
    linear-gradient(145deg, #1d4ed8, #0f172a);
  color: #eff6ff;
}

.academy-video-frame img,
.academy-instructor-card img,
.education-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.academy-visual-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
}

.academy-visual-placeholder span {
  display: block;
  font-size: 72px;
  font-weight: 900;
}

.academy-progress-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.academy-progress-panel small,
.academy-floating-card small,
.education-card-top small {
  color: #2563eb;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.academy-progress-panel div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 13px;
  background: #f8fafc;
}

.academy-progress-panel b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #dbeafe;
  color: #1d4ed8;
}

.academy-floating-card {
  --inline-edit-radius: 20px;
  position: absolute;
  left: -18px;
  bottom: 26px;
  width: min(300px, 80%);
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14);
}

.academy-floating-card strong,
.academy-floating-card span {
  display: block;
}

.academy-path-section,
.academy-programs-section,
.academy-outcomes-section,
.academy-instructor-section {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 6vw, 86px);
  background: #ffffff;
}

.academy-programs-section,
.academy-instructor-section {
  background: #f1f7ff;
}

.academy-path-grid,
.academy-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.academy-path-grid article,
.academy-outcome-grid article,
.catalog-education-course article {
  --inline-edit-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.academy-path-grid article,
.academy-outcome-grid article {
  padding: 24px;
}

.academy-path-grid article > span,
.academy-outcome-grid article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 900;
}

.academy-path-grid strong,
.academy-outcome-grid strong {
  display: block;
  color: #0f172a;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.academy-path-grid p,
.academy-outcome-grid p {
  color: #64748b;
}

.catalog-education-course {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-education-course article.featured {
  grid-column: span 2;
}

.education-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.education-card-image {
  height: 220px;
  margin: 16px 18px 0;
  border-radius: 18px;
  overflow: hidden;
  background: #dbeafe;
}

.education-card-image .image-shell {
  height: 100%;
  aspect-ratio: auto;
}

.education-card-body {
  padding: 20px;
}

.education-card-body h3 {
  margin: 8px 0 10px;
  color: #0f172a;
  font-size: 1.45rem;
}

.education-card-body p,
.education-card-body li {
  color: #64748b;
}

.education-card-body ul {
  margin: 16px 0;
  padding-left: 18px;
}

.education-card-body > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.academy-outcomes-section,
.academy-instructor-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.academy-instructor-section {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.academy-instructor-section h2,
.academy-outcomes-section h2,
.academy-enroll-section h2,
.academy-path-section h2,
.academy-programs-section h2 {
  color: #0f172a;
}

.academy-instructor-section p,
.academy-outcomes-section p,
.academy-enroll-section p {
  color: #475569;
  line-height: 1.7;
}

.academy-enroll-section {
  --inline-edit-radius: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(44px, 6vw, 76px) clamp(22px, 6vw, 86px);
  padding: clamp(30px, 5vw, 64px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.22), transparent 34%),
    linear-gradient(135deg, #dbeafe, #eff6ff);
}

.template-medical-wellness-clinic-pro,
.layout-medical-wellness-clinic-pro {
  background: #f6fbfb;
  color: #082f49;
}

.template-medical-wellness-clinic-pro .rendered-nav,
.layout-medical-wellness-clinic-pro .rendered-nav {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 159, 154, 0.16);
  color: #082f49;
}

.clinic-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 760px;
  padding: clamp(58px, 8vw, 108px) clamp(22px, 6vw, 86px);
  background:
    radial-gradient(circle at 78% 18%, rgba(15, 159, 154, 0.22), transparent 34%),
    radial-gradient(circle at 20% 88%, rgba(125, 211, 252, 0.24), transparent 34%),
    linear-gradient(135deg, #f8fffd 0%, #e9f8f7 100%);
  overflow: hidden;
}

.clinic-pro-copy h1 {
  margin: 14px 0 20px;
  max-width: 760px;
  color: #082f49;
  font-size: clamp(50px, 7vw, 96px);
  line-height: 0.96;
}

.clinic-pro-copy p {
  max-width: 620px;
  color: #4b6673;
  font-size: 1.12rem;
  line-height: 1.75;
}

.clinic-pro-copy .rendered-kicker,
.clinic-services-section .rendered-kicker,
.clinic-path-section .rendered-kicker,
.clinic-trust-section .rendered-kicker,
.clinic-results-section .rendered-kicker,
.clinic-team-section .rendered-kicker,
.clinic-booking-section .rendered-kicker {
  color: #0f9f9a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clinic-proof-strip,
.clinic-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.clinic-proof-strip span,
.clinic-mini-proof span,
.clinic-trust-grid span {
  border: 1px solid rgba(15, 159, 154, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #0f766e;
  font-weight: 800;
}

.clinic-pro-stage {
  position: relative;
  min-height: 540px;
}

.clinic-appointment-card {
  border: 1px solid rgba(8, 47, 73, 0.08);
  border-radius: 30px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 36px 90px rgba(8, 47, 73, 0.14);
}

.clinic-appointment-top,
.clinic-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.clinic-appointment-top {
  padding: 4px 4px 16px;
}

.clinic-appointment-top span,
.clinic-card-top small,
.clinic-floating-card small {
  color: #0f9f9a;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.clinic-appointment-top b,
.clinic-card-top span {
  color: #4b6673;
  font-size: 0.9rem;
}

.clinic-appointment-media,
.clinic-visual-placeholder,
.clinic-team-media {
  min-height: 390px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(125, 211, 252, 0.42), transparent 32%),
    linear-gradient(145deg, #0f9f9a, #082f49);
  color: #ecfeff;
}

.clinic-appointment-media img,
.clinic-team-media img,
.clinic-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clinic-visual-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
}

.clinic-visual-placeholder span {
  display: block;
  font-size: 72px;
  font-weight: 900;
}

.clinic-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.clinic-slots span {
  border: 1px solid rgba(8, 47, 73, 0.08);
  border-radius: 14px;
  padding: 13px 10px;
  background: #f0fdfa;
  color: #0f766e;
  text-align: center;
  font-weight: 850;
}

.clinic-slots span.active {
  background: #0f9f9a;
  color: #ffffff;
}

.clinic-floating-card {
  --inline-edit-radius: 22px;
  position: absolute;
  left: -18px;
  bottom: 26px;
  width: min(310px, 82%);
  padding: 18px;
  border: 1px solid rgba(15, 159, 154, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(8, 47, 73, 0.14);
}

.clinic-floating-card strong,
.clinic-floating-card span {
  display: block;
}

.clinic-services-section,
.clinic-path-section,
.clinic-trust-section,
.clinic-results-section,
.clinic-team-section {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 6vw, 86px);
  background: #ffffff;
}

.clinic-path-section,
.clinic-team-section {
  background: #effbf9;
}

.clinic-path-section,
.clinic-results-section,
.clinic-team-section,
.clinic-trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.clinic-path-list,
.clinic-results-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.clinic-path-list article,
.clinic-results-board article,
.catalog-medical-wellness article {
  --inline-edit-radius: 24px;
  border: 1px solid rgba(8, 47, 73, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(8, 47, 73, 0.08);
}

.clinic-path-list article,
.clinic-results-board article {
  padding: 24px;
}

.clinic-path-list article > span,
.clinic-results-board b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #ccfbf1;
  color: #0f766e;
  font-weight: 900;
}

.clinic-path-list strong,
.clinic-results-board strong {
  display: block;
  color: #082f49;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.clinic-path-list p,
.clinic-results-board span,
.clinic-results-section p,
.clinic-team-section p,
.clinic-trust-section p,
.clinic-booking-section p {
  color: #4b6673;
  line-height: 1.68;
}

.clinic-trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-medical-wellness {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-medical-wellness article.featured {
  grid-column: span 2;
}

.clinic-card-top {
  padding: 18px 18px 0;
}

.clinic-card-visual {
  height: 220px;
  margin: 16px 18px 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ccfbf1;
}

.clinic-card-visual .image-shell {
  height: 100%;
  aspect-ratio: auto;
}

.clinic-card-body {
  padding: 20px;
}

.clinic-card-body h3 {
  margin: 8px 0 10px;
  color: #082f49;
  font-size: 1.45rem;
}

.clinic-card-body p,
.clinic-card-body li {
  color: #4b6673;
}

.clinic-card-body ul {
  margin: 16px 0;
  padding-left: 18px;
}

.clinic-card-body > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.clinic-team-section {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.clinic-booking-section {
  --inline-edit-radius: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(44px, 6vw, 76px) clamp(22px, 6vw, 86px);
  padding: clamp(30px, 5vw, 64px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 15%, rgba(125, 211, 252, 0.24), transparent 34%),
    linear-gradient(135deg, #ccfbf1, #f0fdfa);
}

.template-legal-professional-services-pro,
.layout-legal-professional-services-pro {
  background: #f7f3ec;
  color: #111827;
}

.template-legal-professional-services-pro .rendered-nav,
.layout-legal-professional-services-pro .rendered-nav {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(184, 132, 60, 0.22);
  color: #111827;
}

.professional-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: 760px;
  padding: clamp(58px, 8vw, 108px) clamp(22px, 6vw, 86px);
  background:
    radial-gradient(circle at 84% 16%, rgba(184, 132, 60, 0.18), transparent 34%),
    linear-gradient(135deg, #fffaf2 0%, #f3eadb 100%);
  overflow: hidden;
}

.professional-hero-copy h1 {
  margin: 14px 0 20px;
  max-width: 780px;
  color: #111827;
  font-size: clamp(50px, 7vw, 94px);
  line-height: 0.96;
}

.professional-hero-copy p,
.professional-process-section p,
.professional-proof-section p,
.professional-team-section p,
.professional-consultation-section p,
.professional-card-body p,
.professional-card-body li,
.professional-faq-list p {
  color: #5f6673;
  line-height: 1.7;
}

.professional-hero-copy .rendered-kicker,
.professional-services-section .rendered-kicker,
.professional-process-section .rendered-kicker,
.professional-proof-section .rendered-kicker,
.professional-team-section .rendered-kicker,
.professional-faq-section .rendered-kicker,
.professional-consultation-section .rendered-kicker {
  color: #9a6a2f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.professional-proof-strip,
.professional-mini-proof,
.professional-proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.professional-proof-strip span,
.professional-mini-proof span,
.professional-proof-grid span {
  border: 1px solid rgba(184, 132, 60, 0.22);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #7a4f1d;
  font-weight: 850;
}

.professional-stage {
  position: relative;
  min-height: 540px;
}

.professional-case-card,
.catalog-legal-professional article,
.professional-process-list article,
.professional-faq-list article {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.12);
}

.professional-case-card {
  --inline-edit-radius: 24px;
  border-radius: 24px;
  padding: 18px;
}

.professional-case-top,
.professional-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.professional-case-top {
  padding: 4px 4px 16px;
}

.professional-case-top span,
.professional-card-top small,
.professional-floating-card small {
  color: #9a6a2f;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.professional-case-top b,
.professional-card-top span {
  color: #5f6673;
  font-size: 0.9rem;
}

.professional-case-visual,
.professional-visual-placeholder,
.professional-team-media {
  min-height: 390px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(48, 37, 27, 0.94)),
    radial-gradient(circle at 78% 22%, rgba(184, 132, 60, 0.44), transparent 34%);
  color: #fff7ed;
}

.professional-case-visual img,
.professional-team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.professional-visual-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
}

.professional-visual-placeholder span {
  display: block;
  font-size: 72px;
  font-weight: 900;
}

.professional-document-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.professional-document-list span {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  padding: 12px 10px;
  background: #fbf6ed;
  color: #111827;
  font-weight: 800;
}

.professional-document-list b {
  color: #9a6a2f;
}

.professional-floating-card {
  --inline-edit-radius: 18px;
  position: absolute;
  left: -18px;
  bottom: 26px;
  width: min(320px, 82%);
  padding: 18px;
  border: 1px solid rgba(184, 132, 60, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.14);
}

.professional-floating-card strong,
.professional-floating-card span {
  display: block;
}

.professional-services-section,
.professional-process-section,
.professional-proof-section,
.professional-team-section,
.professional-faq-section {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 6vw, 86px);
  background: #ffffff;
}

.professional-process-section,
.professional-team-section {
  background: #f8efe2;
}

.professional-process-section,
.professional-proof-section,
.professional-team-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.professional-process-list,
.professional-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.professional-process-list article,
.professional-faq-list article {
  --inline-edit-radius: 18px;
  border-radius: 18px;
  padding: 24px;
}

.professional-process-list article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f2dfbd;
  color: #7a4f1d;
  font-weight: 900;
}

.catalog-legal-professional {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-legal-professional article {
  --inline-edit-radius: 20px;
  border-radius: 20px;
}

.catalog-legal-professional article.featured {
  grid-column: span 2;
}

.professional-card-top {
  padding: 18px 18px 0;
}

.professional-card-body {
  padding: 22px;
}

.professional-card-body h3,
.professional-process-list strong,
.professional-faq-list strong {
  display: block;
  color: #111827;
  font-size: 1.15rem;
  margin: 8px 0 10px;
}

.professional-card-body h3 {
  font-size: 1.45rem;
}

.professional-card-body ul {
  margin: 16px 0;
  padding-left: 18px;
}

.professional-card-body > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.professional-team-section {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.professional-consultation-section {
  --inline-edit-radius: 24px;
  --inline-edit-background: color-mix(in srgb, #ffffff 10%, transparent);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(44px, 6vw, 76px) clamp(22px, 6vw, 86px);
  padding: clamp(30px, 5vw, 64px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 15%, rgba(184, 132, 60, 0.22), transparent 34%),
    linear-gradient(135deg, #111827, #3b2f24);
  color: #fff7ed;
}

.professional-consultation-section h2,
.professional-consultation-section p {
  color: #fff7ed;
}

.template-b2b-saas-enterprise-pro,
.layout-b2b-saas-enterprise-pro {
  background: #f5f7fb;
  color: #0f172a;
}

.template-b2b-saas-enterprise-pro .rendered-nav,
.layout-b2b-saas-enterprise-pro .rendered-nav {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.16);
  color: #0f172a;
}

.enterprise-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: 760px;
  padding: clamp(58px, 8vw, 108px) clamp(22px, 6vw, 86px);
  background:
    radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.2), transparent 34%),
    radial-gradient(circle at 20% 82%, rgba(14, 165, 233, 0.18), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  overflow: hidden;
}

.enterprise-hero-copy h1 {
  margin: 14px 0 20px;
  max-width: 800px;
  color: #0f172a;
  font-size: clamp(50px, 7vw, 96px);
  line-height: 0.96;
}

.enterprise-hero-copy p,
.enterprise-use-cases-section p,
.enterprise-integrations-section p,
.enterprise-proof-section p,
.enterprise-pricing-section p,
.enterprise-demo-section p,
.b2b-card-body p,
.b2b-card-body li {
  color: #475569;
  line-height: 1.7;
}

.enterprise-hero-copy .rendered-kicker,
.enterprise-solutions-section .rendered-kicker,
.enterprise-use-cases-section .rendered-kicker,
.enterprise-integrations-section .rendered-kicker,
.enterprise-proof-section .rendered-kicker,
.enterprise-pricing-section .rendered-kicker,
.enterprise-demo-section .rendered-kicker {
  color: #2563eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enterprise-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.enterprise-metric-strip span,
.enterprise-proof-grid span,
.enterprise-integration-map span {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #1e3a8a;
  font-weight: 850;
}

.enterprise-metric-strip b {
  display: block;
  color: #0f172a;
  font-size: 1.35rem;
}

.enterprise-dashboard,
.catalog-b2b-solutions article,
.enterprise-use-case-grid article {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.enterprise-dashboard {
  border-radius: 28px;
  padding: 16px;
}

.enterprise-dashboard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 14px;
}

.enterprise-dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dbeafe;
}

.enterprise-dashboard-top b {
  margin-left: auto;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.enterprise-dashboard-main,
.enterprise-visual-placeholder {
  min-height: 390px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(56, 189, 248, 0.34), transparent 32%),
    linear-gradient(145deg, #0f172a, #1d4ed8);
  color: #eff6ff;
}

.enterprise-dashboard-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.enterprise-visual-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
}

.enterprise-visual-placeholder span {
  display: block;
  font-size: 72px;
  font-weight: 900;
}

.enterprise-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.enterprise-dashboard-grid span {
  border-radius: 12px;
  padding: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  text-align: center;
  font-weight: 850;
}

.enterprise-solutions-section,
.enterprise-use-cases-section,
.enterprise-integrations-section,
.enterprise-proof-section,
.enterprise-pricing-section {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 6vw, 86px);
  background: #ffffff;
}

.enterprise-use-cases-section,
.enterprise-integrations-section,
.enterprise-proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.enterprise-integrations-section {
  background: #eff6ff;
}

.enterprise-use-case-grid,
.enterprise-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.enterprise-use-case-grid article {
  border-radius: 20px;
  padding: 24px;
}

.enterprise-use-case-grid b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #dbeafe;
  color: #1d4ed8;
}

.enterprise-use-case-grid strong,
.b2b-card-body h3 {
  display: block;
  color: #0f172a;
  font-size: 1.18rem;
  margin: 8px 0 10px;
}

.enterprise-integration-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.catalog-b2b-solutions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-b2b-solutions article {
  border-radius: 22px;
}

.catalog-b2b-solutions article.featured {
  grid-column: span 2;
}

.b2b-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.b2b-card-top small {
  color: #2563eb;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.b2b-card-top span {
  color: #64748b;
  font-weight: 800;
}

.b2b-card-body {
  padding: 22px;
}

.b2b-card-body h3 {
  font-size: 1.45rem;
}

.b2b-card-body ul {
  margin: 16px 0;
  padding-left: 18px;
}

.b2b-card-body > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.enterprise-demo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(44px, 6vw, 76px) clamp(22px, 6vw, 86px);
  padding: clamp(30px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.26), transparent 34%),
    linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #eff6ff;
}

.enterprise-demo-section h2,
.enterprise-demo-section p {
  color: #eff6ff;
}

.template-manufacturing-industrial-supplier-pro,
.layout-manufacturing-industrial-supplier-pro {
  background: #f4f1e8;
  color: #111827;
}

.template-manufacturing-industrial-supplier-pro .rendered-nav,
.layout-manufacturing-industrial-supplier-pro .rendered-nav {
  background: rgba(17, 24, 39, 0.94);
  border-color: rgba(245, 179, 1, 0.32);
  color: #f8fafc;
}

.industrial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: 780px;
  padding: clamp(58px, 8vw, 112px) clamp(22px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(245, 179, 1, 0.22), transparent 34%),
    linear-gradient(135deg, #f4f1e8 0%, #e7e1d4 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  overflow: hidden;
}

.industrial-hero-copy h1 {
  margin: 14px 0 20px;
  max-width: 850px;
  color: #111827;
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 0.94;
  text-transform: uppercase;
}

.industrial-hero-copy p,
.industrial-capabilities-section p,
.industrial-certifications-section p,
.industrial-supply-section p,
.industrial-quote-section p,
.industrial-card-body p {
  color: #4b5563;
  line-height: 1.65;
}

.industrial-hero .rendered-kicker,
.industrial-catalog-section .rendered-kicker,
.industrial-capabilities-section .rendered-kicker,
.industrial-certifications-section .rendered-kicker,
.industrial-supply-section .rendered-kicker,
.industrial-quote-section .rendered-kicker {
  color: #8a5d00;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industrial-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.industrial-proof-strip span,
.industrial-catalog-stats span,
.industrial-rfq-fields span {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.7);
  color: #111827;
  font-weight: 900;
}

.industrial-rfq-dashboard,
.catalog-industrial-supplier,
.industrial-quote-card {
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.14);
}

.industrial-rfq-dashboard {
  border-radius: 18px;
  padding: 14px;
}

.industrial-dashboard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 14px;
}

.industrial-dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f5b301;
}

.industrial-dashboard-top b {
  margin-left: auto;
  color: #8a5d00;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.industrial-dashboard-body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
}

.industrial-product-visual,
.industrial-visual-placeholder {
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(245, 179, 1, 0.28), transparent 32%),
    linear-gradient(145deg, #111827, #374151);
  color: #f8fafc;
}

.industrial-product-visual img,
.industrial-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industrial-visual-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
}

.industrial-visual-placeholder span {
  display: block;
  font-size: 72px;
  font-weight: 950;
}

.industrial-spec-table {
  display: grid;
  gap: 10px;
}

.industrial-spec-table div {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  padding: 12px;
  background: #111827;
  color: #f8fafc;
}

.industrial-spec-table b {
  color: #f5b301;
}

.industrial-spec-table small {
  color: #d1d5db;
  font-weight: 800;
}

.industrial-catalog-section,
.industrial-capabilities-section,
.industrial-certifications-section,
.industrial-supply-section,
.industrial-quote-section {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 6vw, 86px);
}

.industrial-catalog-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.industrial-catalog-header h2 {
  max-width: 860px;
  margin: 8px 0 10px;
  color: #111827;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.96;
  text-transform: uppercase;
}

.industrial-catalog-header p {
  max-width: 760px;
}

.industrial-catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 8px;
}

.catalog-industrial-supplier {
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
}

.industrial-table-head,
.catalog-industrial-supplier article {
  display: grid;
  grid-template-columns: 112px minmax(260px, 1fr) 88px 128px 128px 150px;
  gap: 0;
  align-items: stretch;
}

.industrial-table-head {
  background: #111827;
  color: #f5b301;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industrial-table-head span,
.catalog-industrial-supplier article > * {
  display: grid;
  align-content: center;
  border-right: 1px solid rgba(17, 24, 39, 0.1);
  padding: 14px;
}

.industrial-table-head span {
  border-color: rgba(245, 179, 1, 0.2);
}

.catalog-industrial-supplier article {
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
}

.catalog-industrial-supplier article.featured {
  background:
    linear-gradient(90deg, rgba(245, 179, 1, 0.14), transparent 34%),
    #fff;
}

.catalog-industrial-supplier article > b {
  color: #8a5d00;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
}

.catalog-industrial-supplier article strong {
  color: #111827;
  font-size: 1rem;
}

.catalog-industrial-supplier article small {
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 900;
}

.catalog-industrial-supplier article p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 0.86rem;
  line-height: 1.45;
}

.catalog-industrial-supplier article > span {
  color: #111827;
  font-weight: 950;
}

.catalog-industrial-supplier .rendered-button {
  align-self: center;
  justify-self: center;
  width: calc(100% - 18px);
  padding: 10px 12px;
}

.industrial-quote-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.industrial-capabilities-section,
.industrial-certifications-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  background: #ffffff;
}

.industrial-capability-board,
.industrial-doc-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.industrial-capability-board div,
.industrial-doc-stack article {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  border-right: 1px solid rgba(17, 24, 39, 0.1);
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  padding: 18px;
}

.industrial-capability-board b,
.industrial-doc-stack b {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #111827;
  color: #f5b301;
  font-size: 0.8rem;
}

.industrial-capability-board strong,
.industrial-doc-stack span {
  color: #111827;
  font-weight: 950;
}

.industrial-capability-board span,
.industrial-doc-stack small {
  color: #6b7280;
  font-weight: 900;
}

.industrial-supply-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 10px;
  overflow-x: auto;
}

.industrial-supply-line article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  border-radius: 12px;
  padding: 18px;
  background: #111827;
  color: #f8fafc;
}

.industrial-supply-line small {
  color: #f5b301;
  font-weight: 950;
}

.industrial-quote-section {
  background:
    linear-gradient(90deg, rgba(245, 179, 1, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(245, 179, 1, 0.12) 1px, transparent 1px),
    #111827;
  background-size: 28px 28px;
}

.industrial-quote-card {
  max-width: 1100px;
  margin-inline: auto;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 46px);
}

.industrial-rfq-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 8px;
}

@media (max-width: 760px) {
  .catalog-marketplace,
  .marketplace-subscribe,
  .listing-card,
  .catalog-lookbook,
  .marketplace-deal-hero,
  .marketplace-trust-strip,
  .marketplace-trust-strip > div:last-child,
  .home-service-hero,
  .home-service-areas,
  .home-service-trust,
  .home-service-quote,
  .booking-hero,
  .booking-availability-section,
  .booking-team-section,
  .booking-contact-section,
  .restaurant-hero,
  .restaurant-specials-section,
  .restaurant-info-section,
  .digital-hero,
  .digital-modules-section,
  .digital-proof-section,
  .professional-hero,
  .professional-process-section,
  .professional-proof-section,
  .professional-team-section,
  .professional-consultation-section,
  .enterprise-hero,
  .enterprise-use-cases-section,
  .enterprise-integrations-section,
  .enterprise-proof-section,
  .enterprise-demo-section,
  .industrial-hero,
  .industrial-dashboard-body,
  .industrial-capabilities-section,
  .industrial-certifications-section,
  .industrial-quote-card,
  .listing-pro-hero,
  .listing-filter-section,
  .listing-area-section,
  .listing-trust-section,
  .funnel-hero,
  .funnel-offer-section,
  .funnel-proof-section,
  .funnel-faq-section {
    grid-template-columns: 1fr;
  }

  .home-service-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .marketplace-subscribe {
    margin: 18px 12px 0;
    padding: 20px;
  }

  .template-mega-marketplace,
  .template-marketplace-style {
    width: 100%;
    overflow-x: hidden;
  }

  .template-mega-marketplace .rendered-page-switcher,
  .template-marketplace-style .rendered-page-switcher {
    display: none;
  }

  .template-mega-marketplace .rendered-nav,
  .template-marketplace-style .rendered-nav {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .template-mega-marketplace .rendered-nav-brand,
  .template-marketplace-style .rendered-nav-brand {
    min-width: 0;
  }

  .template-mega-marketplace .rendered-nav .logo-lockup,
  .template-marketplace-style .rendered-nav .logo-lockup {
    min-width: 0;
  }

  .template-mega-marketplace .rendered-nav .logo-lockup strong,
  .template-marketplace-style .rendered-nav .logo-lockup strong {
    display: block;
    overflow: hidden;
    max-width: 130px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .template-mega-marketplace .rendered-nav nav,
  .template-marketplace-style .rendered-nav nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .template-mega-marketplace .rendered-nav nav::-webkit-scrollbar,
  .template-marketplace-style .rendered-nav nav::-webkit-scrollbar {
    display: none;
  }

  .template-mega-marketplace .commerce-actions,
  .template-marketplace-style .commerce-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
  }

  .template-mega-marketplace .commerce-action,
  .template-marketplace-style .commerce-action {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .marketplace-hero {
    padding: 0 10px 18px;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--site-text) 90%, var(--site-primary)) 0 92px, var(--site-bg) 92px);
  }

  .marketplace-search-panel {
    gap: 10px;
    border-radius: 0 0 8px 8px;
    padding: 10px;
  }

  .marketplace-logo-row strong {
    max-width: 58vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 20px;
  }

  .marketplace-search-box {
    grid-template-columns: 1fr auto;
    border-width: 2px;
  }

  .marketplace-search-box > span {
    display: none;
  }

  .marketplace-search-box input {
    height: 42px;
    font-size: 14px;
  }

  .marketplace-search-box button {
    min-height: 42px;
    padding-inline: 12px;
  }

  .marketplace-deal-hero {
    gap: 14px;
    margin-top: 12px;
    padding: 16px;
  }

  .marketplace-commerce-home {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .marketplace-deal-hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.02;
  }

  .marketplace-deal-hero p {
    font-size: 14px;
  }

  .marketplace-deal-hero aside {
    padding: 10px;
  }

  .marketplace-mini-stat-row {
    gap: 6px;
  }

  .marketplace-mini-stat-row span {
    padding: 6px 8px;
    font-size: 10px;
  }

  .marketplace-hero-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .marketplace-hero-product-card {
    grid-template-rows: 92px auto auto auto;
    gap: 5px;
    padding: 7px;
  }

  .marketplace-hero-product-card .image-shell,
  .marketplace-hero-product-card > .card-placeholder {
    height: 92px;
    min-height: 92px;
  }

  .marketplace-hero-product-card strong {
    min-height: 32px;
    font-size: 12px;
  }

  .marketplace-hero-products-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketplace-category-section,
  .marketplace-deal-section {
    padding: 28px 10px;
  }

  .marketplace-category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .marketplace-category-rail article {
    min-height: 104px;
    padding: 12px;
  }

  .catalog-marketplace {
    gap: 12px;
  }

  .catalog-marketplace aside {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    border-radius: 8px;
    padding: 10px;
    scrollbar-width: none;
  }

  .catalog-marketplace aside::-webkit-scrollbar {
    display: none;
  }

  .catalog-marketplace aside strong,
  .catalog-marketplace aside span {
    flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--site-text) 12%, transparent);
    border-radius: 999px;
    padding: 8px 10px;
    background: color-mix(in srgb, var(--site-surface) 92%, var(--site-accent));
    color: var(--site-text);
    font-size: 12px;
    white-space: nowrap;
  }

  .marketplace-sort-bar {
    position: sticky;
    top: 112px;
    z-index: 5;
    align-items: center;
    margin-inline: -2px;
    font-size: 12px;
    background: color-mix(in srgb, var(--site-surface) 96%, var(--site-bg));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  }

  .template-mega-marketplace .catalog-results,
  .template-marketplace-style .catalog-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .market-card {
    grid-template-rows: 118px auto auto 1fr auto auto;
    min-height: 322px;
    padding: 8px;
  }

  .market-card .image-shell,
  .market-card > .card-placeholder {
    height: 118px;
    min-height: 118px;
  }

  .market-card h3 {
    min-height: 36px;
    font-size: 13px;
  }

  .market-card p {
    min-height: 34px;
    font-size: 11px;
  }

  .market-card b {
    font-size: 15px;
  }

  .market-meta {
    display: grid;
    gap: 2px;
    font-size: 10px;
  }

  .market-card .rendered-button {
    min-height: 38px;
    padding: 9px 8px;
    font-size: 11px;
  }

  .marketplace-subscribe form {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .marketplace-subscribe input {
    min-height: 44px;
    padding: 0 10px;
  }

  .home-service-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .home-service-hero-visual {
    min-height: 320px;
  }

  .home-service-proof,
  .catalog-home-services,
  .home-service-area-map,
  .home-service-work-grid {
    grid-template-columns: 1fr;
  }

  .home-service-categories,
  .home-service-areas,
  .home-service-gallery,
  .home-service-trust {
    padding: 44px 16px;
  }

  .home-service-work-grid article:first-child {
    grid-row: auto;
    min-height: 280px;
  }

  .home-service-quote {
    margin: 28px 16px 56px;
    padding: 28px 18px;
  }

  .booking-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .booking-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .booking-stage-visual {
    min-height: 310px;
  }

  .booking-proof-strip,
  .catalog-booking-pro,
  .booking-availability-grid {
    grid-template-columns: 1fr;
  }

  .booking-services-section,
  .booking-availability-section,
  .booking-team-section {
    padding: 44px 16px;
  }

  .catalog-booking-pro article.featured {
    transform: none;
  }

  .booking-contact-section {
    margin: 28px 16px 56px;
    padding: 28px 18px;
  }

  .restaurant-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .restaurant-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .restaurant-stage {
    min-height: 320px;
  }

  .restaurant-mini-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 12px;
  }

  .restaurant-proof-strip,
  .catalog-restaurant-menu,
  .restaurant-specials-list,
  .restaurant-info-section > div:last-child {
    grid-template-columns: 1fr;
  }

  .restaurant-categories-section,
  .restaurant-menu-section,
  .restaurant-specials-section,
  .restaurant-info-section,
  .restaurant-order-section {
    padding: 44px 16px;
  }

  .restaurant-category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

  .restaurant-order-card {
    padding: 28px 18px;
  }

  .professional-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .professional-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .professional-stage {
    min-height: 320px;
  }

  .professional-floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 12px;
  }

  .professional-document-list,
  .catalog-legal-professional,
  .professional-process-list,
  .professional-faq-list {
    grid-template-columns: 1fr;
  }

  .catalog-legal-professional article.featured {
    grid-column: auto;
  }

  .professional-services-section,
  .professional-process-section,
  .professional-proof-section,
  .professional-team-section,
  .professional-faq-section {
    padding: 44px 16px;
  }

  .professional-consultation-section {
    margin: 28px 16px 56px;
    padding: 28px 18px;
  }

  .enterprise-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .enterprise-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .enterprise-metric-strip,
  .enterprise-dashboard-grid,
  .catalog-b2b-solutions,
  .enterprise-use-case-grid,
  .enterprise-proof-grid,
  .enterprise-integration-map {
    grid-template-columns: 1fr;
  }

  .catalog-b2b-solutions article.featured {
    grid-column: auto;
  }

  .enterprise-solutions-section,
  .enterprise-use-cases-section,
  .enterprise-integrations-section,
  .enterprise-proof-section,
  .enterprise-pricing-section {
    padding: 44px 16px;
  }

  .enterprise-demo-section {
    margin: 28px 16px 56px;
    padding: 28px 18px;
  }

  .industrial-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .industrial-hero h1 {
    font-size: clamp(40px, 13vw, 64px);
  }

  .industrial-product-visual,
  .industrial-visual-placeholder {
    min-height: 300px;
  }

  .industrial-spec-table div,
  .industrial-catalog-header,
  .industrial-catalog-stats,
  .industrial-table-head,
  .catalog-industrial-supplier article,
  .catalog-industrial-supplier,
  .industrial-card-body dl,
  .industrial-capability-board,
  .industrial-doc-stack,
  .industrial-rfq-fields {
    grid-template-columns: 1fr;
  }

  .industrial-table-head {
    display: none;
  }

  .catalog-industrial-supplier article {
    border-top: 8px solid #111827;
  }

  .catalog-industrial-supplier article > * {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  }

  .industrial-capability-board div,
  .industrial-doc-stack article {
    grid-template-columns: 46px 1fr;
  }

  .catalog-industrial-supplier article.featured {
    grid-column: auto;
  }

  .industrial-catalog-section,
  .industrial-capabilities-section,
  .industrial-certifications-section,
  .industrial-supply-section,
  .industrial-quote-section {
    padding: 44px 16px;
  }

  .industrial-card-body > div:last-child {
    display: grid;
  }

  .digital-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .digital-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .digital-stage {
    min-height: 320px;
  }

  .digital-access-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 12px;
  }

  .digital-proof-strip,
  .catalog-digital-pro,
  .digital-module-grid {
    grid-template-columns: 1fr;
  }

  .digital-bundle-section,
  .digital-modules-section,
  .digital-proof-section,
  .digital-access-section {
    padding: 44px 16px;
  }

  .digital-access-panel {
    padding: 28px 18px;
  }

  .listing-pro-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .listing-pro-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .listing-search-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .listing-search-bar span {
    padding-left: 0;
  }

  .listing-pro-stage {
    min-height: 320px;
  }

  .listing-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 12px;
  }

  .listing-filter-grid,
  .catalog-real-estate-listings,
  .listing-trust-section > div:last-child {
    grid-template-columns: 1fr;
  }

  .catalog-real-estate-listings article.featured {
    grid-column: auto;
  }

  .listing-filter-section,
  .listing-featured-section,
  .listing-area-section,
  .listing-trust-section,
  .listing-contact-section {
    padding: 44px 16px;
  }

  .listing-area-map {
    min-height: 320px;
  }

  .listing-contact-card {
    padding: 28px 18px;
  }

  .luxury-pro-hero,
  .luxury-signature-section,
  .luxury-provenance-section,
  .luxury-private-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 16px;
  }

  .luxury-pro-copy h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .luxury-pro-stage,
  .luxury-hero-visual,
  .luxury-signature-media,
  .luxury-visual-placeholder {
    min-height: 320px;
  }

  .luxury-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -38px;
  }

  .catalog-luxury-high-ticket,
  .luxury-provenance-grid {
    grid-template-columns: 1fr;
  }

  .catalog-luxury-high-ticket article.featured {
    grid-column: auto;
  }

  .luxury-card-bottom > div {
    flex-direction: column;
  }

  .academy-pro-hero,
  .academy-dashboard-main,
  .academy-outcomes-section,
  .academy-instructor-section,
  .academy-enroll-section {
    grid-template-columns: 1fr;
  }

  .academy-pro-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .academy-pro-copy h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .academy-pro-stage,
  .academy-video-frame,
  .academy-visual-placeholder,
  .academy-instructor-card {
    min-height: 320px;
  }

  .academy-floating-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .academy-path-section,
  .academy-programs-section,
  .academy-outcomes-section,
  .academy-instructor-section {
    padding: 44px 16px;
  }

  .academy-path-grid,
  .academy-outcome-grid,
  .catalog-education-course {
    grid-template-columns: 1fr;
  }

  .catalog-education-course article.featured {
    grid-column: auto;
  }

  .academy-enroll-section {
    margin: 28px 16px 56px;
    padding: 28px 18px;
  }

  .education-card-body > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .clinic-pro-hero,
  .clinic-path-section,
  .clinic-trust-section,
  .clinic-results-section,
  .clinic-team-section,
  .clinic-booking-section {
    grid-template-columns: 1fr;
  }

  .clinic-pro-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .clinic-pro-copy h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .clinic-pro-stage,
  .clinic-appointment-media,
  .clinic-visual-placeholder,
  .clinic-team-media {
    min-height: 320px;
  }

  .clinic-floating-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .clinic-services-section,
  .clinic-path-section,
  .clinic-trust-section,
  .clinic-results-section,
  .clinic-team-section {
    padding: 44px 16px;
  }

  .clinic-path-list,
  .clinic-results-board,
  .catalog-medical-wellness {
    grid-template-columns: 1fr;
  }

  .catalog-medical-wellness article.featured {
    grid-column: auto;
  }

  .clinic-booking-section {
    margin: 28px 16px 56px;
    padding: 28px 18px;
  }

  .clinic-card-body > div,
  .clinic-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .funnel-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .funnel-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .funnel-hero-visual {
    min-height: 300px;
  }

  .funnel-proof-strip,
  .funnel-benefit-grid,
  .catalog-lead-offers {
    grid-template-columns: 1fr;
  }

  .funnel-benefits-section,
  .funnel-offer-section,
  .funnel-proof-section,
  .funnel-faq-section {
    padding: 44px 16px;
  }

  .catalog-lead-offers article.featured {
    transform: none;
  }

  .marketplace-hero {
    padding-inline: 0;
  }

  .marketplace-search-panel {
    border-radius: 0;
    padding-inline: 14px;
  }

  .marketplace-search-box {
    grid-template-columns: 1fr auto;
  }

  .marketplace-search-box span {
    display: none;
  }

  .marketplace-search-box input {
    min-width: 0;
    font-size: 13px;
  }

  .marketplace-deal-hero {
    margin-inline: 14px;
    padding: 22px;
  }

  .marketplace-deal-hero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .marketplace-commerce-home {
    margin-inline: 10px;
    padding: 16px;
  }

  .marketplace-commerce-home h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .marketplace-commerce-home .marketplace-hero-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-category-section,
  .marketplace-deal-section {
    padding: 32px 14px;
  }

  .marketplace-category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-deal-row {
    grid-auto-columns: minmax(170px, 78vw);
  }

  .marketplace-sort-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketplace-trust-strip {
    margin-inline: 14px;
    padding: 20px;
  }

  .premium-hero {
    width: min(100% - 28px, 680px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "copy" "meta";
    gap: 24px;
    min-height: auto;
    padding: 38px 0 34px;
  }

  .premium-hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .premium-product-stage {
    width: 100%;
    min-height: 420px;
    border-radius: 16px;
  }

  .premium-hero-meta {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .premium-story,
  .premium-spec-strip,
  .premium-feature-grid {
    grid-template-columns: 1fr;
  }

  .premium-story {
    width: min(100% - 28px, 680px);
    padding: 46px 0;
  }

  .premium-story-visual {
    min-height: 380px;
    border-radius: 16px;
  }

  .premium-feature-showcase,
  .premium-gallery-section {
    padding: 46px 16px;
  }

  .premium-feature-showcase {
    contain: inline-size;
    min-width: 0;
    overflow: hidden;
  }

  .premium-feature-showcase .section-heading,
  .premium-gallery-section .section-heading {
    max-width: 100%;
  }

  .premium-feature-showcase .section-heading h2,
  .premium-gallery-section .section-heading h2 {
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .premium-feature-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 4px 16px 22px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .premium-feature-grid article {
    flex: 0 0 min(82vw, 310px);
    min-height: 238px;
    scroll-snap-align: start;
  }

  .catalog-premium-editorial {
    grid-template-columns: 1fr;
  }

  .catalog-premium-editorial article.featured {
    grid-column: auto;
  }

  .template-premium-product-store .rendered-nav,
  .template-apple-premium-product .rendered-nav,
  .layout-apple-premium-product .rendered-nav {
    width: min(100% - 28px, 680px);
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .template-premium-product-store .rendered-nav nav,
  .template-apple-premium-product .rendered-nav nav,
  .layout-apple-premium-product .rendered-nav nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .template-premium-product-store .commerce-actions,
  .template-apple-premium-product .commerce-actions,
  .layout-apple-premium-product .commerce-actions {
    justify-self: end;
  }

  .premium-nav-search {
    width: 38px;
    border-bottom: 0;
  }

  .premium-nav-search label,
  .premium-account-action > span,
  .commerce-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .premium-spec-strip {
    margin: 24px 16px 48px;
    padding: 24px;
    border-radius: 26px;
  }

  .premium-spec-strip > div:last-child {
    grid-template-columns: 1fr;
  }

  .fashion-hero,
  .fashion-drop-story,
  .fashion-fit-guide,
  .corporate-hero,
  .corporate-process-section,
  .corporate-proof-section {
    grid-template-columns: 1fr;
  }

  .fashion-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .fashion-hero h1 {
    font-size: clamp(42px, 14vw, 70px);
  }

  .fashion-hero-visual,
  .fashion-story-image {
    min-height: 340px;
    border-radius: 26px;
  }

  .fashion-hero-strip {
    grid-column: auto;
  }

  .fashion-collection-section,
  .fashion-drop-story,
  .fashion-lookbook-section {
    padding: 44px 16px;
  }

  .fashion-collection-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .fashion-collection-rail article {
    min-height: 150px;
  }

  .fashion-lookbook-strip {
    grid-template-columns: 1fr;
  }

  .fashion-lookbook-strip article,
  .fashion-lookbook-strip article.tall {
    min-height: 300px;
  }

  .fashion-fit-guide {
    margin: 24px 16px 48px;
    padding: 24px;
  }

  .corporate-hero {
    min-height: auto;
    padding: 44px 16px 28px;
  }

  .corporate-hero h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .corporate-hero-visual {
    min-height: 320px;
  }

  .corporate-hero-proof,
  .catalog-corporate-services {
    grid-template-columns: 1fr;
  }

  .corporate-services-section,
  .corporate-process-section {
    padding: 44px 16px;
  }

  .corporate-proof-section {
    margin: 24px 16px 48px;
    padding: 24px;
  }

  .corporate-process-list article {
    grid-template-columns: 48px 1fr;
  }

  .listing-card aside {
    justify-items: start;
  }

  .lookbook-card.wide {
    grid-column: auto;
  }

  .catalog-luxury {
    padding: 20px;
  }

  .catalog-menu article {
    display: grid;
    gap: 8px;
  }

  .guided-panel {
    padding: 0;
  }

  .guided-shell {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .guided-header,
  .guided-header-actions,
  .guided-layout {
    grid-template-columns: 1fr;
  }

  .guided-header {
    align-items: stretch;
    flex-direction: column;
  }

  .guided-header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .compact-language {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .guided-header-actions .icon-button {
    width: 52px;
    height: 44px;
  }

  #assistantAudioToggle {
    min-height: 44px;
  }

  .guided-layout {
    overflow: auto;
    padding: 0 12px 12px;
  }

  .guided-chat {
    max-height: none;
  }

  .luma-coach-card,
  .live-site-preview-card {
    border-radius: 16px;
  }

  .luma-coach-top {
    grid-template-columns: 1fr auto;
  }

  .luma-coach-top span {
    grid-column: 1 / -1;
  }

  .luma-coach-top strong {
    white-space: normal;
  }

  .neutral-live-workspace,
  .selected-template-preview {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .neutral-live-copy h2,
  .selected-template-preview-copy h2 {
    font-size: 24px;
  }

  .neutral-live-orbit {
    right: -120px;
    bottom: -140px;
  }

  .template-choice-grid,
  .template-board-grid {
    grid-auto-columns: minmax(230px, 82vw);
    max-width: 100%;
  }

  .template-coverflow-track {
    padding: 10px 10px 18px;
    scroll-padding-inline: 18px;
    perspective: 820px;
  }

  .template-coverflow-card {
    transform:
      translateX(0)
      translateZ(0)
      rotateY(0deg)
      scale(var(--coverflow-scale, 1));
  }

  .template-choice-heading,
  .template-board-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .template-choice-heading span {
    max-width: none;
    text-align: left;
  }

  .template-board-badges {
    justify-content: flex-start;
  }

  .live-template-preview-shell {
    max-height: 58vh;
    padding: 10px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .mobile-review-details summary {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 900;
  }

  .toolbar,
  .toolbar-actions,
  .rendered-nav,
  .rendered-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .rendered-hero,
  .rendered-grid,
  .rendered-grid.columns-2,
  .rendered-grid.columns-4,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-masonry .rendered-card:nth-child(even) {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .template-coverflow-card {
    transition: none;
  }
}

/* Final marketplace override after generic mobile rules. */
.template-mega-marketplace,
.template-marketplace-style {
  overflow-x: hidden;
}

.template-mega-marketplace .catalog-results,
.template-marketplace-style .catalog-results,
.template-mega-marketplace .marketplace-deal-row,
.template-marketplace-style .marketplace-deal-row {
  align-items: stretch;
}

.template-mega-marketplace .market-card,
.template-marketplace-style .market-card {
  height: 100%;
  min-width: 0;
}

.template-mega-marketplace .market-card .rendered-button,
.template-marketplace-style .market-card .rendered-button {
  margin-top: auto;
}

@media (max-width: 760px) {
  .template-mega-marketplace .rendered-nav,
  .template-marketplace-style .rendered-nav {
    align-items: center;
    flex-direction: initial;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .template-mega-marketplace .catalog-results,
  .template-marketplace-style .catalog-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-mega-marketplace .market-card,
  .template-marketplace-style .market-card {
    grid-template-rows: 116px auto auto minmax(34px, 1fr) auto auto;
    min-height: 318px;
  }

  .template-mega-marketplace .market-card .image-shell,
  .template-marketplace-style .market-card .image-shell,
  .template-mega-marketplace .market-card > .card-placeholder,
  .template-marketplace-style .market-card > .card-placeholder {
    height: 116px;
    min-height: 116px;
  }

  .template-mega-marketplace .commerce-actions,
  .template-marketplace-style .commerce-actions {
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
  }

  .template-mega-marketplace .commerce-action,
  .template-marketplace-style .commerce-action {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .template-mega-marketplace .marketplace-subscribe,
  .template-marketplace-style .marketplace-subscribe {
    grid-template-columns: 1fr;
    margin: 18px 10px 0;
    border-radius: 10px;
    padding: 18px;
  }
}

/* LYRA conversation simplification overrides. Keep these last so legacy
   dashboard rules cannot restore duplicate guidance or a second panel. */
.guided-rail,
.guided-live-stage,
.lyra-agent-status,
.luma-coach-card,
.guided-layout .live-site-preview-card {
  display: none !important;
}

.guided-shell { grid-template-columns: minmax(0, 1fr); }
.guided-progress { display: block; padding: 8px 18px 12px; }
.guided-progress span,
.chat-status-card span { display: none; }
.guided-progress div { height: 4px; }
.guided-layout { width: min(100%, 880px); margin: 0 auto; padding: 0 18px 18px; }
.guided-chat-card { border: 0; border-radius: 0; background: transparent; padding: 8px 0 0; }
.guided-chat { flex: 0 1 auto; min-height: 0; max-height: 420px; }
.chat-status-card { margin-top: 10px; border-width: 0 0 1px; border-radius: 0; background: transparent; padding: 10px 0; }
.chat-status-card strong { font-size: 13px; font-weight: 750; }
.quick-chip-row { margin-top: 14px; }
.quick-chip-row button { border-radius: 8px; padding: 9px 12px; }
.business-review-summary { padding: 4px 0 16px; }
.review-progress-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.review-progress-list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.review-progress-list li::before { content: ""; position: absolute; top: 0.35em; left: 0; width: 8px; height: 8px; border-radius: 999px; background: var(--primary); }
.business-review-summary strong,
.luma-ready-head strong { color: #17241f; font-size: 17px; line-height: 1.25; }
.business-review-summary p,
.luma-ready-card > p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.luma-ready-card { max-width: 680px; border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line)); border-radius: 10px; box-shadow: none; }
.luma-ready-head span,
.luma-ready-points { display: none; }

@media (max-width: 720px) {
  .guided-layout { width: 100%; padding: 0 14px 14px; }
  .review-details-open .summary-panel { position: fixed; inset: auto 0 0; z-index: 120; max-height: min(78vh, 680px); border-radius: 16px 16px 0 0; box-shadow: 0 -18px 46px rgba(15, 23, 42, 0.18); }
}
.marketplace-category-groups {
  display: grid;
  gap: 32px;
}

.marketplace-category-group {
  scroll-margin-top: 96px;
}

.marketplace-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--site-border, #d8dee8);
}

.marketplace-category-heading h3 {
  margin: 0;
}

.catalog-marketplace aside a,
.image-attribution {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.image-attribution {
  display: block;
  margin: 6px 0;
  font-size: 11px;
  opacity: 0.72;
}

.quote-request-form .industrial-rfq-fields label {
  display: grid;
  gap: 6px;
}

.quote-request-form .industrial-rfq-fields input,
.quote-request-form .industrial-rfq-fields textarea {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--site-border, #d8dee8);
  border-radius: 6px;
  background: var(--site-surface, #fff);
  color: var(--site-text, #111827);
}

.quote-request-form .industrial-rfq-fields textarea {
  min-height: 88px;
  resize: vertical;
}

.portfolio-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.portfolio-before-after figure {
  position: relative;
  margin: 0;
  min-width: 0;
}

.portfolio-before-after figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.82);
  color: #fff;
  font-size: 11px;
}

.video-showcase {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.video-embed {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #0b1020;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

[data-catalog-item][hidden] {
  display: none !important;
}

.client-preview-mode .rendered-page-switcher {
  display: none;
}

.course-offering {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.course-offering + .course-offering {
  border-top: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
}

.course-offering-media .video-embed,
.course-video-placeholder {
  border-radius: calc(var(--brand-radius) + 8px);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--site-primary) 14%, transparent);
}

.course-video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: clamp(24px, 4vw, 48px);
  color: var(--site-surface);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--site-primary) 94%, #020617), color-mix(in srgb, var(--site-accent) 45%, var(--site-primary)));
}

.course-video-placeholder span {
  color: color-mix(in srgb, var(--site-surface) 72%, transparent);
  font-weight: 800;
}

.course-video-placeholder strong,
.course-offering-copy h2 {
  font-family: var(--site-heading), Inter, sans-serif;
}

.course-video-placeholder strong {
  font-size: clamp(26px, 4vw, 48px);
}

.course-offering-copy h2 {
  margin: 8px 0 16px;
  font-size: var(--type-h2-size, clamp(36px, 5vw, 68px));
  line-height: var(--type-h2-line-height, 1);
}

.course-offering-copy p,
.course-offering-copy li {
  color: var(--site-muted);
  line-height: 1.6;
}

.course-offering-copy ul {
  margin: 22px 0;
  padding-left: 20px;
}

.course-offering-action {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .course-offering {
    grid-template-columns: 1fr;
    padding: 38px 0;
  }
}
/* Mega retail store */
.template-mega-retail-store {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 32px 0;
  overflow: clip;
  color: var(--site-text);
  background: color-mix(in srgb, var(--site-bg) 94%, #f6f4ef);
  font-family: var(--site-body), Inter, ui-sans-serif, system-ui, sans-serif;
}

.template-mega-retail-store,
.template-mega-retail-store * { box-sizing: border-box; }

.template-mega-retail-store .rendered-page-switcher,
.template-mega-retail-store .studio-floating-catalog { display: none; }

.template-mega-retail-store .mega-retail-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(260px, 1.4fr) minmax(220px, 1.1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  margin-bottom: 22px;
  padding: 10px 12px 10px 22px;
  border: 1px solid color-mix(in srgb, var(--site-border) 72%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--site-surface) 96%, transparent);
  box-shadow: 0 16px 38px -18px rgba(20, 20, 20, .24);
  backdrop-filter: blur(18px);
}

.template-mega-retail-store .mega-retail-brand,
.template-mega-retail-store .mega-retail-brand .logo-lockup { min-width: 0; }
.template-mega-retail-store .mega-retail-brand > img { display: block; width: auto; max-width: 150px; height: 38px; object-fit: contain; }
.template-mega-retail-store .mega-retail-brand .logo-lockup small { display: none; }
.template-mega-retail-store .mega-retail-brand .logo-lockup { display: flex; align-items: center; gap: 10px; }
.template-mega-retail-store .mega-retail-brand .logo-lockup > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--brand-button-text); background: var(--site-primary); }

.template-mega-retail-store .mega-retail-departments { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; }
.template-mega-retail-store .mega-retail-departments button,
.template-mega-retail-store .mega-retail-actions button,
.template-mega-retail-store .mega-retail-section-heading button,
.template-mega-retail-store .mega-retail-tile button { border: 0; cursor: pointer; font: inherit; }
.template-mega-retail-store .mega-retail-departments button { flex: 0 1 auto; padding: 9px 10px; overflow: hidden; color: var(--site-text); background: transparent; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.template-mega-retail-store .mega-retail-mobile-departments { display: none; min-width: 0; }
.template-mega-retail-store .mega-retail-mobile-departments summary { display: grid; grid-template-columns: 20px minmax(0, 1fr) 18px; align-items: center; gap: 9px; min-height: 42px; padding: 9px 13px; border: 1px solid var(--site-border); border-radius: 14px; color: var(--site-text); background: color-mix(in srgb, var(--site-bg) 82%, white); font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
.template-mega-retail-store .mega-retail-mobile-departments summary::-webkit-details-marker { display: none; }
.template-mega-retail-store .mega-retail-mobile-departments summary svg { width: 18px; height: 18px; }
.template-mega-retail-store .mega-retail-menu-chevron { width: 9px; height: 9px; justify-self: center; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.template-mega-retail-store .mega-retail-mobile-departments[open] .mega-retail-menu-chevron { transform: translateY(2px) rotate(225deg); }
.template-mega-retail-store .mega-retail-mobile-departments > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 7px; padding: 9px 2px 0; }
.template-mega-retail-store .mega-retail-mobile-departments button { min-width: 0; padding: 10px 12px; overflow: hidden; border: 1px solid var(--site-border); border-radius: 12px; color: var(--site-text); background: var(--site-surface); font-size: 12px; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; }

.template-mega-retail-store .mega-retail-search { display: grid; grid-template-columns: 1fr 38px; align-items: center; min-width: 0; padding: 3px; border: 1px solid var(--site-border); border-radius: 999px; background: color-mix(in srgb, var(--site-bg) 78%, white); }
.template-mega-retail-store .mega-retail-search input { min-width: 0; border: 0; outline: 0; padding: 8px 12px; color: var(--site-text); background: transparent; font: inherit; font-size: 13px; }
.template-mega-retail-store .mega-retail-search button { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; color: var(--brand-button-text); background: var(--site-primary); cursor: pointer; }
.template-mega-retail-store .mega-retail-search svg,
.template-mega-retail-store .mega-retail-actions svg { width: 18px; height: 18px; }

.template-mega-retail-store .mega-retail-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.template-mega-retail-store .mega-retail-actions > button:first-child { padding: 10px 15px; border-radius: 999px; color: var(--brand-button-text); background: var(--site-primary); font-size: 13px; font-weight: 750; }
.template-mega-retail-store .mega-retail-icon-button { position: relative; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: var(--site-text); background: color-mix(in srgb, var(--site-bg) 84%, white); }
.template-mega-retail-store .mega-retail-icon-button span { position: absolute; top: -3px; right: -3px; display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border: 2px solid var(--site-surface); border-radius: 999px; color: var(--brand-button-text); background: var(--site-accent); font-size: 10px; font-weight: 800; }

.template-mega-retail-store .mega-retail-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, 190px); gap: 14px; margin-bottom: 16px; }
.template-mega-retail-store .mega-retail-tile { position: relative; min-width: 0; overflow: hidden; border-radius: 22px; background: #171717; box-shadow: 0 16px 34px -22px rgba(20, 20, 20, .38); }
.template-mega-retail-store .mega-retail-tile.is-primary { grid-column: span 3; grid-row: span 2; }
.template-mega-retail-store .mega-retail-tile.is-medium { grid-column: span 3; }
.template-mega-retail-store .mega-retail-tile.is-small { grid-column: span 1; }
.template-mega-retail-store .mega-retail-tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.template-mega-retail-store .mega-retail-tile:hover > img { transform: scale(1.035); }
.template-mega-retail-store .mega-retail-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 20%, rgba(0,0,0,.78) 100%); }
.template-mega-retail-store .mega-retail-tile.is-duotone::before { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--mega-tile-tint); mix-blend-mode: color; opacity: .62; }
.template-mega-retail-store .mega-retail-tile > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 22px; color: #fff; }
.template-mega-retail-store .mega-retail-tile > div > span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.template-mega-retail-store .mega-retail-tile h1 { max-width: 580px; margin: 0; font-family: var(--site-heading), Inter, sans-serif; font-size: 50px; line-height: .98; letter-spacing: 0; }
.template-mega-retail-store .mega-retail-tile h2 { margin: 0; font-family: var(--site-heading), Inter, sans-serif; font-size: 24px; line-height: 1.05; letter-spacing: 0; }
.template-mega-retail-store .mega-retail-tile.is-small h2 { font-size: 17px; }
.template-mega-retail-store .mega-retail-tile p { max-width: 520px; margin: 10px 0 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }
.template-mega-retail-store .mega-retail-tile button { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 9px 12px; border-radius: 999px; color: #171717; background: #fff; font-size: 12px; font-weight: 800; }
.template-mega-retail-store .mega-retail-tile button svg { width: 15px; height: 15px; }
.template-mega-retail-store .mega-retail-tile.is-small p,
.template-mega-retail-store .mega-retail-tile.is-small button { display: none; }

.template-mega-retail-store .mega-retail-deals { min-width: 0; margin-bottom: 16px; padding: 28px 28px 8px; overflow: hidden; border-radius: 26px; background: var(--site-surface); box-shadow: 0 14px 34px -22px rgba(20,20,20,.25); }
.template-mega-retail-store .mega-retail-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.template-mega-retail-store .mega-retail-section-heading > div { min-width: 0; }
.template-mega-retail-store .mega-retail-section-heading span { display: block; margin-bottom: 4px; color: var(--site-primary); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.template-mega-retail-store .mega-retail-section-heading h2 { margin: 0; font-family: var(--site-heading), Inter, sans-serif; font-size: 32px; letter-spacing: 0; }
.template-mega-retail-store .mega-retail-section-heading button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; color: var(--site-text); background: color-mix(in srgb, var(--site-bg) 80%, white); font-size: 12px; font-weight: 750; white-space: nowrap; }
.template-mega-retail-store .mega-retail-section-heading svg { width: 15px; height: 15px; }
.template-mega-retail-store .mega-retail-deals-row { display: flex; max-width: 100%; gap: 16px; padding-bottom: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.template-mega-retail-store .mega-retail-product { flex: 0 0 230px; min-width: 0; padding: 10px; border: 1px solid color-mix(in srgb, var(--site-border) 76%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--site-surface) 92%, var(--site-bg)); scroll-snap-align: start; }
.template-mega-retail-store .mega-retail-product-image { position: relative; height: 190px; overflow: hidden; border-radius: 14px; background: var(--site-bg); }
.template-mega-retail-store .mega-retail-product-image .image-shell,
.template-mega-retail-store .mega-retail-product-image img { width: 100%; height: 100%; object-fit: cover; }
.template-mega-retail-store .mega-retail-discount { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 999px; color: #fff; background: var(--site-accent); font-size: 10px; font-weight: 850; }
.template-mega-retail-store .mega-retail-product > small { display: block; margin-top: 12px; color: var(--site-primary); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.template-mega-retail-store .mega-retail-product h3 { min-height: 42px; margin: 5px 0; overflow: hidden; font-size: 16px; line-height: 1.3; letter-spacing: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.template-mega-retail-store .mega-retail-product p { min-height: 38px; margin: 0 0 12px; overflow: hidden; color: var(--site-muted); font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.template-mega-retail-store .mega-retail-product > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.template-mega-retail-store .mega-retail-product > div:last-child strong { font-size: 15px; }
.template-mega-retail-store .mega-retail-product > div:last-child button { width: 36px; height: 36px; overflow: hidden; border: 0; border-radius: 50%; color: transparent; background: var(--site-primary); cursor: pointer; }
.template-mega-retail-store .mega-retail-product > div:last-child button::after { content: "+"; display: grid; width: 36px; height: 36px; place-items: center; color: var(--brand-button-text); font-size: 22px; }
.template-mega-retail-store .mega-retail-product > div:last-child:has(button[data-open-lead]) { flex-wrap: wrap; }
.template-mega-retail-store .mega-retail-product > div:last-child button[data-open-lead] { width: 100%; min-width: 0; height: auto; padding: 10px 13px; overflow: visible; border-radius: 999px; color: var(--brand-button-text); font-size: 11px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.template-mega-retail-store .mega-retail-product > div:last-child button[data-open-lead]::after { content: none; }

.template-mega-retail-store .mega-retail-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.template-mega-retail-store .mega-retail-trust article { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 18px 20px; border-radius: 18px; background: var(--site-surface); box-shadow: 0 12px 28px -20px rgba(20,20,20,.25); }
.template-mega-retail-store .mega-retail-trust svg { flex: 0 0 auto; width: 23px; height: 23px; color: var(--site-primary); }
.template-mega-retail-store .mega-retail-trust strong,
.template-mega-retail-store .mega-retail-trust span { display: block; }
.template-mega-retail-store .mega-retail-trust strong { margin-bottom: 3px; font-size: 13px; }
.template-mega-retail-store .mega-retail-trust span { overflow-wrap: anywhere; color: var(--site-muted); font-size: 11px; line-height: 1.4; }

.template-mega-retail-store .mega-retail-footer { margin: 24px -32px 0; padding: 42px 40px 24px; border-radius: 26px 26px 0 0; color: #aaa; background: #181818; }
.template-mega-retail-store .mega-retail-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.template-mega-retail-store .mega-retail-footer-grid.is-three-column { grid-template-columns: 1.4fr 1fr 1fr; }
.template-mega-retail-store .mega-retail-footer-grid > div > strong { display: block; margin-bottom: 14px; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.template-mega-retail-store .mega-retail-footer-grid p { max-width: 280px; margin: 10px 0 18px; color: #8f8f8f; font-size: 12px; line-height: 1.65; }
.template-mega-retail-store .mega-retail-footer-grid a { display: block; margin-bottom: 9px; color: #aaa; font-size: 13px; text-decoration: none; }
.template-mega-retail-store .mega-retail-footer-brand img { width: auto; max-width: 150px; height: 42px; object-fit: contain; filter: brightness(0) invert(1); }
.template-mega-retail-store .mega-retail-footer-brand .logo-lockup { display: flex; align-items: center; gap: 10px; color: #fff; }
.template-mega-retail-store .mega-retail-footer-brand .logo-lockup > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--site-primary); }
.template-mega-retail-store .mega-retail-footer-brand .logo-lockup small { display: none; }
.template-mega-retail-store .mega-retail-socials { display: flex; gap: 8px; }
.template-mega-retail-store .mega-retail-socials a { display: grid; width: 34px; height: 34px; margin: 0; place-items: center; border-radius: 50%; color: #fff; background: #292929; }
.template-mega-retail-store .mega-retail-socials svg { width: 16px; height: 16px; }
.template-mega-retail-store .mega-retail-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) 40px; padding: 3px; border: 1px solid #343434; border-radius: 999px; background: #222; }
.template-mega-retail-store .mega-retail-newsletter input { min-width: 0; border: 0; outline: 0; padding: 8px 11px; color: #fff; background: transparent; font: inherit; font-size: 12px; }
.template-mega-retail-store .mega-retail-newsletter button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; color: var(--brand-button-text); background: var(--site-primary); cursor: pointer; }
.template-mega-retail-store .mega-retail-newsletter svg { width: 16px; height: 16px; }
.template-mega-retail-store .mega-retail-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #2d2d2d; color: #777; font-size: 12px; }
.template-mega-retail-store .mega-retail-payments { display: flex; gap: 7px; }
.template-mega-retail-store .mega-retail-payments span { padding: 5px 8px; border: 1px solid #383838; border-radius: 6px; color: #bdbdbd; background: #222; font-size: 9px; font-weight: 800; }
.template-mega-retail-store .mega-retail-whatsapp { position: fixed; right: 28px; bottom: 28px; z-index: 30; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 12px 28px -8px rgba(37,211,102,.64); }
.template-mega-retail-store .mega-retail-whatsapp svg { width: 27px; height: 27px; }

@media (max-width: 1100px) {
  .template-mega-retail-store .mega-retail-header { grid-template-columns: minmax(140px, 1fr) minmax(220px, 1.4fr) auto; }
  .template-mega-retail-store .mega-retail-departments { display: none; }
  .template-mega-retail-store .mega-retail-mobile-departments { display: block; grid-column: 1 / -1; }
  .template-mega-retail-store .mega-retail-bento { grid-template-rows: repeat(2, 170px); }
  .template-mega-retail-store .mega-retail-tile h1 { font-size: 42px; }
}

@media (max-width: 760px) {
  .template-mega-retail-store { padding: 14px 14px 0; }
  .template-mega-retail-store .mega-retail-header { position: relative; top: auto; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; border-radius: 20px; }
  .template-mega-retail-store .mega-retail-search { grid-column: 1 / -1; grid-row: 2; }
  .template-mega-retail-store .mega-retail-mobile-departments { grid-column: 1 / -1; grid-row: 3; }
  .template-mega-retail-store .mega-retail-actions > button:first-child { padding: 9px 11px; }
  .template-mega-retail-store .mega-retail-actions .mega-retail-icon-button:nth-child(2) { display: none; }
  .template-mega-retail-store .mega-retail-bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: 330px 190px repeat(3, 150px); }
  .template-mega-retail-store .mega-retail-tile.is-primary,
  .template-mega-retail-store .mega-retail-tile.is-medium,
  .template-mega-retail-store .mega-retail-tile.is-small { grid-column: 1; grid-row: auto; }
  .template-mega-retail-store .mega-retail-tile h1 { font-size: 36px; }
  .template-mega-retail-store .mega-retail-tile h2 { font-size: 20px; }
  .template-mega-retail-store .mega-retail-deals { padding: 22px 18px 4px; border-radius: 22px; }
  .template-mega-retail-store .mega-retail-section-heading h2 { font-size: 27px; }
  .template-mega-retail-store .mega-retail-product { flex-basis: 210px; }
  .template-mega-retail-store .mega-retail-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-mega-retail-store .mega-retail-footer { margin-right: -14px; margin-left: -14px; padding: 34px 22px 22px; border-radius: 24px 24px 0 0; }
  .template-mega-retail-store .mega-retail-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-mega-retail-store .mega-retail-footer-bottom { align-items: flex-start; flex-direction: column; }
  .template-mega-retail-store .mega-retail-whatsapp { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .template-mega-retail-store .mega-retail-whatsapp svg { width: 23px; height: 23px; }
}

@media (max-width: 480px) {
  .template-mega-retail-store .mega-retail-brand .logo-lockup div { display: none; }
  .template-mega-retail-store .mega-retail-bento { grid-template-rows: 310px 175px repeat(3, 145px); }
  .template-mega-retail-store .mega-retail-tile > div { padding: 18px; }
  .template-mega-retail-store .mega-retail-trust,
  .template-mega-retail-store .mega-retail-footer-grid { grid-template-columns: 1fr; }
}
/* End mega retail store */

/* B2B SaaS enterprise */
.template-b2b-saas-enterprise-pro {
  min-height: 100%;
  overflow-x: hidden;
  background: #fff;
  color: var(--site-text);
}

.template-b2b-saas-enterprise-pro .rendered-page-switcher,
.template-b2b-saas-enterprise-pro .studio-floating-catalog {
  display: none;
}

.template-b2b-saas-enterprise-pro .b2b-saas-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 18px auto 0;
  padding: 12px 16px 12px 20px;
  border: 1px solid color-mix(in srgb, var(--site-primary) 12%, #e5e7eb);
  border-radius: 18px;
  background: color-mix(in srgb, var(--site-surface) 94%, transparent);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.template-b2b-saas-enterprise-pro .b2b-saas-brand,
.template-b2b-saas-enterprise-pro .b2b-saas-header nav,
.template-b2b-saas-enterprise-pro .b2b-saas-header-actions,
.template-b2b-saas-enterprise-pro .b2b-saas-hero-actions {
  display: flex;
  align-items: center;
}

.template-b2b-saas-enterprise-pro .b2b-saas-brand {
  min-width: 0;
  gap: 10px;
  color: var(--site-text);
  text-decoration: none;
}

.template-b2b-saas-enterprise-pro .b2b-saas-brand img,
.template-b2b-saas-enterprise-pro .b2b-saas-footer img {
  width: auto;
  max-width: 132px;
  height: 34px;
  object-fit: contain;
}

.template-b2b-saas-enterprise-pro .b2b-saas-brand .rendered-logo-mark,
.template-b2b-saas-enterprise-pro .b2b-saas-footer .rendered-logo-mark {
  width: 34px;
  height: 34px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-monogram {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.template-b2b-saas-enterprise-pro .b2b-saas-brand strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-b2b-saas-enterprise-pro .b2b-saas-header nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.template-b2b-saas-enterprise-pro .b2b-saas-header nav a,
.template-b2b-saas-enterprise-pro .b2b-saas-login {
  color: color-mix(in srgb, var(--site-text) 78%, transparent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.template-b2b-saas-enterprise-pro .b2b-saas-header nav a:hover,
.template-b2b-saas-enterprise-pro .b2b-saas-header nav a.active,
.template-b2b-saas-enterprise-pro .b2b-saas-login:hover {
  color: var(--site-primary);
}

.template-b2b-saas-enterprise-pro .b2b-saas-header-actions {
  justify-content: flex-end;
  gap: 8px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-start,
.template-b2b-saas-enterprise-pro .b2b-saas-primary,
.template-b2b-saas-enterprise-pro .b2b-saas-secondary,
.template-b2b-saas-enterprise-pro .b2b-saas-plans button {
  min-height: 44px;
  border-radius: 10px;
  padding: 0 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.template-b2b-saas-enterprise-pro .b2b-saas-start,
.template-b2b-saas-enterprise-pro .b2b-saas-primary,
.template-b2b-saas-enterprise-pro .b2b-saas-plans button {
  border: 1px solid var(--site-primary);
  background: var(--site-primary);
  color: var(--site-button-text, #fff);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--site-primary) 22%, transparent);
}

.template-b2b-saas-enterprise-pro .b2b-saas-login {
  padding: 10px 14px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 58px;
  min-height: 760px;
  padding: clamp(82px, 9vw, 118px) max(28px, calc((100% - 1180px) / 2)) 78px;
  background:
    radial-gradient(ellipse 46% 58% at 12% 14%, color-mix(in srgb, var(--site-primary) 21%, transparent), transparent 72%),
    radial-gradient(ellipse 42% 54% at 91% 18%, color-mix(in srgb, var(--site-accent) 19%, transparent), transparent 74%),
    linear-gradient(180deg, color-mix(in srgb, var(--site-background) 96%, #fff), #fff 78%);
}

.template-b2b-saas-enterprise-pro .b2b-saas-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.template-b2b-saas-enterprise-pro .b2b-saas-eyebrow,
.template-b2b-saas-enterprise-pro .b2b-saas-section-heading > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 20px;
  border-radius: 999px;
  padding: 8px 15px;
  background: color-mix(in srgb, var(--site-primary) 10%, #fff);
  color: var(--site-primary);
  font-size: 12px;
  font-weight: 700;
}

.template-b2b-saas-enterprise-pro .b2b-saas-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--site-text);
  font-family: var(--site-heading, Inter, sans-serif);
  font-size: clamp(50px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.template-b2b-saas-enterprise-pro .b2b-saas-hero h1 span {
  background: linear-gradient(100deg, var(--site-primary), var(--site-accent));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.template-b2b-saas-enterprise-pro .b2b-saas-hero-copy > p {
  max-width: 580px;
  margin: 24px auto 32px;
  color: color-mix(in srgb, var(--site-text) 68%, transparent);
  font-size: 17px;
  line-height: 1.68;
}

.template-b2b-saas-enterprise-pro .b2b-saas-hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-secondary {
  border: 1px solid color-mix(in srgb, var(--site-text) 16%, transparent);
  background: color-mix(in srgb, var(--site-surface) 92%, transparent);
  color: var(--site-text);
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(920px, 100%);
  margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--site-primary) 13%, #e5e7eb);
  border-radius: 18px;
  background: color-mix(in srgb, var(--site-surface) 97%, #fff);
  box-shadow: 0 44px 86px -34px rgba(15, 23, 42, 0.36);
  transform: perspective(1200px) rotateX(1deg);
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--site-text) 8%, transparent);
  background: color-mix(in srgb, var(--site-background) 74%, #fff);
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--site-text) 18%, transparent);
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard-bar strong {
  margin-left: auto;
  color: color-mix(in srgb, var(--site-text) 55%, transparent);
  font-size: 11px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 300px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 14px;
  border-right: 1px solid color-mix(in srgb, var(--site-text) 8%, transparent);
  background: color-mix(in srgb, var(--site-background) 68%, #fff);
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard aside span {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 9px;
  color: color-mix(in srgb, var(--site-text) 60%, transparent);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard aside span.active {
  background: color-mix(in srgb, var(--site-primary) 10%, #fff);
  color: var(--site-primary);
}

.template-b2b-saas-enterprise-pro .b2b-saas-dashboard svg,
.template-b2b-saas-enterprise-pro .b2b-saas-features svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
  padding: 30px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-metrics article {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--site-text) 8%, transparent);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.template-b2b-saas-enterprise-pro .b2b-saas-metrics small {
  display: block;
  color: color-mix(in srgb, var(--site-text) 52%, transparent);
  font-size: 11px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--site-text);
  font-size: clamp(24px, 3vw, 34px);
}

.template-b2b-saas-enterprise-pro .b2b-saas-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-top: 18px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-mini-chart i {
  flex: 1;
  height: 44%;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--site-accent), color-mix(in srgb, var(--site-primary) 65%, #fff));
}

.template-b2b-saas-enterprise-pro .b2b-saas-mini-chart i:nth-child(2) { height: 68%; }
.template-b2b-saas-enterprise-pro .b2b-saas-mini-chart i:nth-child(3) { height: 54%; }
.template-b2b-saas-enterprise-pro .b2b-saas-mini-chart i:nth-child(4) { height: 88%; }
.template-b2b-saas-enterprise-pro .b2b-saas-mini-chart i:nth-child(5) { height: 76%; }

.template-b2b-saas-enterprise-pro .b2b-saas-logo-row {
  padding: 48px max(24px, calc((100% - 1080px) / 2));
  text-align: center;
}

.template-b2b-saas-enterprise-pro .b2b-saas-logo-row > span {
  display: block;
  margin-bottom: 24px;
  color: color-mix(in srgb, var(--site-text) 45%, transparent);
  font-size: 12px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-logo-row > div {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 58px);
  color: color-mix(in srgb, var(--site-text) 36%, transparent);
  filter: grayscale(1);
}

.template-b2b-saas-enterprise-pro .b2b-saas-logo-row strong {
  font-size: 15px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-features,
.template-b2b-saas-enterprise-pro .b2b-saas-pricing {
  padding: 72px max(24px, calc((100% - 1080px) / 2));
}

.template-b2b-saas-enterprise-pro .b2b-saas-section-heading {
  max-width: 660px;
  margin: 0 auto 38px;
  text-align: center;
}

.template-b2b-saas-enterprise-pro .b2b-saas-section-heading > span {
  margin-inline: auto;
  margin-bottom: 14px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-section-heading h2 {
  margin: 0;
  color: var(--site-text);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.template-b2b-saas-enterprise-pro .b2b-saas-features > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-features article {
  --inline-edit-radius: 28px;
  position: relative;
  min-width: 0;
  min-height: 246px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--site-primary) 12%, #fff);
  border-radius: var(--inline-edit-radius);
  padding: 30px;
  background: linear-gradient(160deg, #fff 18%, color-mix(in srgb, var(--site-primary) 5%, #fff) 100%);
  box-shadow: 0 18px 46px -30px rgba(15, 23, 42, 0.52);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.template-b2b-saas-enterprise-pro .b2b-saas-features article:nth-child(2) {
  background: linear-gradient(160deg, #fff 18%, color-mix(in srgb, var(--site-secondary) 7%, #fff) 100%);
}

.template-b2b-saas-enterprise-pro .b2b-saas-features article:nth-child(3) {
  background: linear-gradient(160deg, #fff 18%, color-mix(in srgb, var(--site-accent) 7%, #fff) 100%);
}

.template-b2b-saas-enterprise-pro .b2b-saas-features article > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--site-primary) 11%, #fff);
  color: var(--site-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-primary) 16%, transparent);
}

.template-b2b-saas-enterprise-pro .b2b-saas-features article:nth-child(2) > span {
  background: color-mix(in srgb, var(--site-secondary) 12%, #fff);
  color: color-mix(in srgb, var(--site-secondary) 72%, var(--site-text));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-secondary) 18%, transparent);
}

.template-b2b-saas-enterprise-pro .b2b-saas-features article:nth-child(3) > span {
  background: color-mix(in srgb, var(--site-accent) 12%, #fff);
  color: color-mix(in srgb, var(--site-accent) 76%, var(--site-text));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--site-accent) 18%, transparent);
}

.template-b2b-saas-enterprise-pro .b2b-saas-features h3,
.template-b2b-saas-enterprise-pro .b2b-saas-plans h3 {
  margin: 0 0 10px;
  color: var(--site-text);
  font-size: 20px;
  line-height: 1.22;
}

.template-b2b-saas-enterprise-pro .b2b-saas-features p,
.template-b2b-saas-enterprise-pro .b2b-saas-plans p {
  margin: 0;
  color: color-mix(in srgb, var(--site-text) 62%, transparent);
  font-size: 14px;
  line-height: 1.62;
}

.template-b2b-saas-enterprise-pro .b2b-saas-features article h3,
.template-b2b-saas-enterprise-pro .b2b-saas-features article p {
  padding-right: 22px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-pricing {
  background: color-mix(in srgb, var(--site-background) 72%, #fff);
}

.template-b2b-saas-enterprise-pro .b2b-saas-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.template-b2b-saas-enterprise-pro .b2b-saas-plans article {
  --inline-edit-radius: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--site-text) 10%, transparent);
  border-radius: var(--inline-edit-radius);
  padding: 30px;
  background: #fff;
}

.template-b2b-saas-enterprise-pro .b2b-saas-plans article.featured {
  border: 2px solid var(--site-primary);
  box-shadow: 0 24px 54px color-mix(in srgb, var(--site-primary) 15%, transparent);
  transform: translateY(-8px);
}

.template-b2b-saas-enterprise-pro .b2b-saas-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  border-radius: 999px;
  padding: 5px 14px;
  background: var(--site-primary);
  color: var(--site-button-text, #fff);
  font-size: 11px;
  font-weight: 700;
  transform: translateX(-50%);
  white-space: nowrap;
}

.template-b2b-saas-enterprise-pro .b2b-saas-plans article > small {
  color: color-mix(in srgb, var(--site-text) 48%, transparent);
  font-weight: 700;
  text-transform: uppercase;
}

.template-b2b-saas-enterprise-pro .b2b-saas-plans article > strong {
  margin: 8px 0 18px;
  color: var(--site-text);
  font-size: 32px;
}

.template-b2b-saas-enterprise-pro .b2b-saas-plans button {
  width: 100%;
  margin-top: auto;
}

.template-b2b-saas-enterprise-pro .b2b-saas-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100% - 1080px) / 2));
  border-top: 1px solid color-mix(in srgb, var(--site-text) 8%, transparent);
  background: #fff;
  color: color-mix(in srgb, var(--site-text) 52%, transparent);
  font-size: 12px;
}

@media (max-width: 980px) {
  .template-b2b-saas-enterprise-pro .b2b-saas-header {
    grid-template-columns: minmax(150px, 1fr) auto;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 6px 0 2px;
    scrollbar-width: none;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 82px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero-copy > p {
    margin-inline: auto;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero-actions {
    justify-content: center;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-dashboard {
    max-width: 760px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 680px) {
  .template-b2b-saas-enterprise-pro .b2b-saas-header {
    width: calc(100% - 24px);
    min-height: 64px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-brand strong,
  .template-b2b-saas-enterprise-pro .b2b-saas-login {
    display: none;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-start {
    min-height: 42px;
    padding-inline: 14px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-header nav {
    gap: 20px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-header nav a {
    font-size: 13px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero {
    min-height: 0;
    gap: 44px;
    padding: 68px 18px 54px;
    background:
      radial-gradient(ellipse 85% 36% at 12% 5%, color-mix(in srgb, var(--site-primary) 20%, transparent), transparent 76%),
      radial-gradient(ellipse 80% 34% at 94% 16%, color-mix(in srgb, var(--site-accent) 17%, transparent), transparent 76%),
      linear-gradient(180deg, color-mix(in srgb, var(--site-background) 96%, #fff), #fff 82%);
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-eyebrow {
    margin-bottom: 16px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.02;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero-copy > p {
    margin: 20px auto 26px;
    font-size: 15px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-hero-actions > button {
    flex: 1 1 140px;
    min-width: 0;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-dashboard {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 15px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-dashboard-body {
    display: block;
    min-height: 0;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-dashboard aside {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--site-text) 8%, transparent);
    padding: 12px;
    scrollbar-width: none;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-dashboard aside span {
    flex: 0 0 auto;
    max-width: 160px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-metrics {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-metrics article {
    flex: 0 0 min(76vw, 250px);
    scroll-snap-align: start;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-logo-row {
    overflow: hidden;
    padding: 38px 18px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-logo-row > div {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 34px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-logo-row strong {
    flex: 0 0 auto;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-features,
  .template-b2b-saas-enterprise-pro .b2b-saas-pricing {
    padding: 58px 18px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-section-heading {
    margin-bottom: 28px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-section-heading h2 {
    font-size: 34px;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-features > div:last-child,
  .template-b2b-saas-enterprise-pro .b2b-saas-plans {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 4px 18px 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-features article,
  .template-b2b-saas-enterprise-pro .b2b-saas-plans article {
    flex: 0 0 min(82vw, 310px);
    scroll-snap-align: start;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-plans article.featured {
    transform: none;
  }

  .template-b2b-saas-enterprise-pro .b2b-saas-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 18px;
  }
}
/* End B2B SaaS enterprise */

/* KREATON brand accent moments: landing violet/cobalt/cyan inside the app. */
.studio-auth-gate {
  background:
    radial-gradient(circle at 14% 8%, rgba(124, 58, 237, 0.34), transparent 42%),
    radial-gradient(circle at 88% 16%, rgba(34, 211, 238, 0.2), transparent 38%),
    rgba(11, 10, 36, 0.82);
}

.studio-auth-card {
  border-color: rgba(196, 181, 253, 0.38);
  background:
    radial-gradient(circle at 92% 2%, rgba(34, 211, 238, 0.24), transparent 34%),
    radial-gradient(circle at 8% 0%, rgba(167, 139, 250, 0.3), transparent 30%),
    linear-gradient(145deg, var(--lyra-indigo), #191653 56%, var(--lyra-deep));
  color: #ffffff;
  box-shadow: 0 35px 110px rgba(11, 10, 36, 0.48);
}

.studio-auth-card [data-studio-auth-content] > span {
  display: block;
  color: #67e8f9;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.studio-auth-avatar .assistant-avatar {
  box-shadow: 0 18px 46px rgba(34, 211, 238, 0.23);
}

.studio-auth-card h2,
.studio-auth-loading strong {
  color: #ffffff;
}

.studio-auth-card p {
  color: #cbd5e1;
}

.studio-auth-card .icon-button {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.studio-auth-provider:has(.studio-auth-coming-soon) {
  padding-right: 94px;
  padding-left: 40px;
}

.studio-auth-lyra::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--lyra-violet) 55%, transparent), color-mix(in srgb, var(--lyra-cyan) 40%, transparent) 60%, transparent 75%);
}

.studio-auth-lyra img {
  filter: drop-shadow(0 10px 22px rgba(11, 10, 36, 0.55));
}

.studio-auth-divider {
  color: #c4b5fd;
}

.studio-auth-divider::before,
.studio-auth-divider::after {
  background: rgba(196, 181, 253, 0.28);
}

.studio-email-auth label {
  color: #e0e7ff;
}

.studio-email-auth button {
  background: var(--lyra-brand-gradient);
}

.studio-auth-demo {
  color: #c4b5fd;
}

.client-project-resume-banner {
  border-color: rgba(124, 58, 237, 0.2);
}

.client-project-resume-banner:hover {
  border-color: rgba(124, 58, 237, 0.38);
  box-shadow: 0 22px 52px rgba(30, 27, 75, 0.18);
}

.client-project-resume-details {
  background:
    radial-gradient(circle at 100% 0, rgba(34, 211, 238, 0.24), transparent 38%),
    linear-gradient(135deg, var(--lyra-indigo), var(--lyra-cobalt) 58%, var(--lyra-violet));
}

.client-project-resume-copy > span {
  color: #67e8f9;
}

.client-project-resume-copy h3 {
  color: #ffffff;
}

.client-project-resume-copy p {
  color: #e0e7ff;
}

.client-project-resume-copy small {
  color: #c4b5fd;
}

.client-project-resume-details > button {
  background: #ffffff;
  color: var(--lyra-indigo);
  box-shadow: 0 8px 22px rgba(11, 10, 36, 0.24);
}

.client-project-resume-details > button:hover {
  background: #eef2ff;
  box-shadow: 0 12px 28px rgba(11, 10, 36, 0.32);
}

body.public-client-setup.lyra-build-mode .guided-build-card:not(.is-error):not(.is-ready) {
  border-color: rgba(196, 181, 253, 0.42);
  background:
    radial-gradient(circle at 100% 0, rgba(34, 211, 238, 0.24), transparent 34%),
    linear-gradient(120deg, var(--lyra-indigo), var(--lyra-cobalt) 64%, var(--lyra-violet));
  box-shadow: 0 20px 48px rgba(11, 10, 36, 0.28);
}

body.public-client-setup.lyra-build-mode .guided-build-card:not(.is-error):not(.is-ready) .guided-build-head span,
body.public-client-setup.lyra-build-mode .guided-build-card:not(.is-error):not(.is-ready) p {
  color: #e0e7ff;
}

body.public-client-setup.lyra-build-mode .guided-build-card:not(.is-error):not(.is-ready) .guided-build-head em,
body.public-client-setup.lyra-build-mode .guided-build-card:not(.is-error):not(.is-ready) .guided-build-steps span {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #e0e7ff;
}

body.public-client-setup.lyra-build-mode .guided-build-card:not(.is-error):not(.is-ready) .guided-build-steps span.done {
  background: rgba(196, 181, 253, 0.2);
  color: #ffffff;
}

body.public-client-setup.lyra-build-mode .guided-build-card:not(.is-error):not(.is-ready) .guided-build-steps span.active {
  border-color: rgba(103, 232, 249, 0.65);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(255, 255, 255, 0.2), rgba(34, 211, 238, 0.12));
  background-size: 220% 100%;
  color: #67e8f9;
}

.public-client-setup .guided-layout.guided-layout--docked-panel {
  grid-template-columns: minmax(0, 1fr) !important;
}

.public-client-setup .guided-layout--docked-panel .guided-live-stage,
.public-client-setup .guided-layout--docked-panel .guided-chat-card {
  display: none !important;
}

.public-client-setup .client-projects-panel.is-docked {
  position: relative !important;
  inset: auto !important;
  z-index: auto !important;
  display: block !important;
  padding: 0 !important;
  height: 100%;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
}

.public-client-setup .client-projects-panel.is-docked .client-projects-card {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
