:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #0b1624;
  --muted: #5f6b7a;
  --line: #dce1e3;
  --line-strong: #c8d0d5;
  --gold: #e8a020;
  --gold-dark: #b97711;
  --teal: #14717c;
  --green: #16835c;
  --red: #c23131;
  --shadow: 0 10px 30px rgba(11, 22, 36, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

.ct-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.ct-brand {
  color: var(--ink);
  text-decoration: none;
  font-family: Outfit, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.ct-brand span {
  color: var(--gold-dark);
  font-style: italic;
}

.ct-whatsapp {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
}

.ct-shell {
  width: min(1360px, calc(100% - 32px));
  margin: 24px auto 56px;
}

.ct-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(11, 22, 36, 0.04);
}

.ct-profile-panel {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(180px, 0.25fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.ct-kicker {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Outfit, sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: 1.65rem;
}
h2 {
  font-size: 1.1rem;
}

.ct-profile-form,
.ct-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.ct-filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  padding: 16px;
}

.ct-filter-grid .ct-field:first-child {
  grid-column: span 2;
}

.ct-field,
.ct-input,
.ct-btn {
  min-width: 0;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.ct-help {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

.ct-size-guide {
  align-self: end;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf8;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.ct-size-guide summary {
  color: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

.ct-size-guide p {
  margin: 8px 0 0;
  line-height: 1.4;
}

.ct-input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.ct-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 113, 124, 0.14);
}

.ct-input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(194, 49, 49, 0.12);
}

.ct-input[readonly] {
  background: #f9faf8;
  color: var(--muted);
}

.ct-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F6B7A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 34px;
}

.ct-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease),
    color 0.15s var(--ease),
    transform 0.15s var(--ease);
}

.ct-btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}
.ct-btn[hidden],
.ct-success-actions [hidden] {
  display: none;
}
.ct-btn-primary {
  color: var(--ink);
  background: var(--gold);
}
.ct-btn-primary:hover:not(:disabled) {
  color: #ffffff;
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.ct-btn-ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line-strong);
}
.ct-btn-ghost:hover:not(:disabled) {
  color: var(--ink);
  background: #f9faf8;
}
.ct-btn-wide {
  width: 100%;
}

.ct-inline-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.ct-inline-status.is-error {
  color: var(--red);
}
.ct-inline-status.is-success {
  color: var(--green);
}

.ct-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: min(360px, calc(100% - 36px));
  padding: 13px 14px;
  border: 1px solid rgba(194, 49, 49, 0.22);
  border-radius: 8px;
  background: #ffffff;
  color: var(--red);
  box-shadow: 0 16px 38px rgba(11, 22, 36, 0.18);
  font-size: 0.9rem;
  font-weight: 800;
}

.ct-toast[hidden] {
  display: none;
}
.ct-status-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ct-serviceability {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.ct-main {
  min-width: 0;
}

.ct-catalogue-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px 12px;
}

.ct-catalogue-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.ct-lock-banner,
.ct-selected-summary {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #a8d7d3;
  border-radius: 8px;
  background: #eef8f7;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
}

.ct-selected-summary {
  margin: 0 0 12px;
  border-color: var(--line-strong);
  background: #f9faf8;
  color: var(--muted);
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ct-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ct-card.is-locked {
  opacity: 0.58;
}

.ct-card.is-locked .ct-card-media {
  filter: grayscale(0.45);
}

.ct-card-media {
  position: relative;
  background: #edf3f2;
  overflow: hidden;
}

.ct-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ct-image-open {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.ct-card-media img.is-hidden {
  display: none;
}

.ct-card-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
}

.ct-price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(11, 22, 36, 0.86);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
}

.ct-boutique {
  position: absolute;
  left: 10px;
  top: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-card-body {
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-card-title {
  font-weight: 800;
  line-height: 1.25;
}

.ct-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ct-chip {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef3f5;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.ct-card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  min-height: 3.75em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.ct-card-desc.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  min-height: 0;
  overflow: visible;
  white-space: pre-line;
}
.ct-read-more {
  display: inline-block;
  margin-top: 2px;
  background: none;
  border: none;
  padding: 0;
  color: var(--brand);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}
.ct-read-more:hover {
  text-decoration: underline;
}

.ct-variant-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-variant-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ct-variant-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ct-color-options,
.ct-size-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 6px;
}

.ct-color-chip {
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.ct-color-chip.is-selected {
  border-color: var(--teal);
  background: #eef8f7;
  color: var(--teal);
}

.ct-color-chip:disabled {
  cursor: not-allowed;
  background: #f4f5f2;
  color: var(--muted);
  opacity: 0.72;
}

.ct-variant-option {
  min-height: 46px;
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.ct-variant-option span,
.ct-variant-option small {
  display: block;
}

.ct-variant-option span {
  font-weight: 800;
  font-size: 0.8rem;
}

.ct-variant-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
}

.ct-variant-option.is-selected {
  border-color: var(--teal);
  background: #eef8f7;
}

.ct-variant-option:disabled {
  cursor: not-allowed;
  background: #f4f5f2;
  color: var(--muted);
  opacity: 0.72;
}

.ct-variant-selection {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.ct-card-error {
  margin: -2px 0 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

.ct-variant-hint {
  padding: 8px 9px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.ct-details-prompt {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px 38px 12px 12px;
  border: 1px solid #a8d7d3;
  border-radius: 8px;
  background: #eef8f7;
  color: var(--teal);
}

.ct-details-prompt strong,
.ct-details-prompt span {
  display: block;
}

.ct-details-prompt strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.ct-details-prompt span {
  font-size: 0.78rem;
  font-weight: 700;
}

.ct-details-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.ct-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-box {
  position: sticky;
  top: 82px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 16px;
}

.ct-box-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.ct-box-code {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3f5;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.ct-box-meter {
  height: 8px;
  overflow: hidden;
  margin: 14px 0;
  background: #e7ecee;
  border-radius: 999px;
}

.ct-box-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--teal);
  transition: width 0.2s var(--ease);
}

.ct-box-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ct-deposit-card {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
  background: #fff8e8;
  border: 1px solid #f0c775;
  border-radius: 8px;
  color: var(--ink);
}

.ct-policy-card,
.ct-total-card {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  padding: 12px;
  background: #eef8f7;
  border: 1px solid #a8d7d3;
  border-radius: 8px;
  color: var(--ink);
}

.ct-total-card {
  background: #f9faf8;
  border-color: var(--line-strong);
  color: var(--muted);
  font-weight: 700;
}

.ct-policy-card strong {
  font-size: 0.88rem;
}

.ct-policy-card span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ct-deposit-card strong {
  font-size: 0.88rem;
  line-height: 1.3;
}

.ct-deposit-card span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ct-deposit-card-modal {
  margin: 4px 0 0;
}

.ct-box-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 90px;
  margin-bottom: 14px;
}

.ct-box-empty {
  padding: 18px 12px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.ct-box-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  background: #f9faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ct-box-item strong {
  display: block;
  font-size: 0.86rem;
}

.ct-box-item span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.ct-remove {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--red);
  cursor: pointer;
  font-weight: 800;
}

.ct-delivery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.ct-address {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f9faf8;
}

.ct-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.ct-section-head h3 {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.ct-link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ct-modal,
.ct-success,
.ct-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.ct-modal[hidden],
.ct-success[hidden],
.ct-image-viewer[hidden] {
  display: none;
}

.ct-modal-backdrop,
.ct-image-viewer-backdrop,
.ct-success {
  background: rgba(11, 22, 36, 0.45);
}

.ct-modal-panel,
.ct-success-card,
.ct-image-viewer-panel {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  margin: 28px auto;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ct-image-viewer {
  z-index: 60;
}

.ct-image-viewer-backdrop {
  position: absolute;
  inset: 0;
}

.ct-image-viewer-panel {
  position: relative;
  width: min(920px, calc(100% - 28px));
  height: min(90vh, 780px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ct-image-viewer-head {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.ct-image-viewer-head h2 {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.08rem;
}

.ct-image-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.ct-image-count,
.ct-image-zoom {
  min-width: 56px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f9faf8;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.ct-image-tool {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
}

.ct-image-tool-text {
  min-width: 58px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.ct-image-viewer-stage {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: #f9faf8;
  overflow: hidden;
}

.ct-image-figure {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: default;
  touch-action: auto;
}

.ct-image-figure img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.16s var(--ease);
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}

.ct-image-figure.is-zoomed {
  cursor: grab;
  touch-action: none;
}

.ct-image-figure.is-panning {
  cursor: grabbing;
}

.ct-image-nav {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 800;
}

.ct-image-nav:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.ct-image-thumbs {
  min-height: 78px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid var(--line);
}

.ct-image-thumbs[hidden] {
  display: none;
}

.ct-image-thumb {
  width: 58px;
  height: 58px;
  padding: 2px;
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.ct-image-thumb.is-selected {
  border-color: var(--teal);
}

.ct-image-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.ct-modal-panel {
  position: relative;
  z-index: 1;
}

.ct-modal-backdrop {
  position: absolute;
  inset: 0;
}

.ct-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.ct-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.3rem;
}

.ct-consent-form {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-weight: 600;
}

.ct-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  margin-top: 2px;
}

.ct-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
}

.ct-success {
  display: grid;
  place-items: center;
}

.ct-success-card {
  padding: 28px;
  text-align: center;
}

.ct-success-card p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.ct-confirmation-summary {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 18px 0 22px;
  padding: 14px;
  text-align: left;
  background: #f9faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ct-confirmation-summary:empty {
  display: none;
}

.ct-confirmation-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.ct-confirmation-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ct-success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-mobile-box-bar {
  display: none;
}

.ct-mobile-box-bar[hidden] {
  display: none;
}

.ct-mobile-box-summary {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ct-mobile-box-summary strong,
.ct-mobile-box-summary span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-mobile-box-summary strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.ct-mobile-box-summary span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.ct-beta-locked {
  background:
    linear-gradient(135deg, rgba(20, 113, 124, 0.08), transparent 34%),
    var(--bg);
}

.ct-beta-locked .ct-shell {
  display: grid;
  min-height: calc(100vh - 144px);
  place-items: center;
}

.ct-beta-lock {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 48px);
}

.ct-beta-lock h1 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.ct-beta-lock p:not(.ct-kicker) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.ct-beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 1100px) {
  .ct-profile-panel,
  .ct-layout {
    grid-template-columns: 1fr;
  }
  .ct-box {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .ct-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 92px;
  }
  .ct-topbar {
    padding: 0 16px;
  }
  .ct-shell {
    width: min(100% - 22px, 1360px);
    margin-top: 14px;
  }
  .ct-profile-form,
  .ct-filter-grid,
  .ct-grid {
    grid-template-columns: 1fr;
  }
  .ct-filter-grid .ct-field:first-child {
    grid-column: auto;
  }
  .ct-card {
    grid-template-rows: 190px 1fr;
  }
  .ct-image-viewer-panel {
    width: calc(100% - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 8px auto;
  }
  .ct-image-viewer-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .ct-image-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .ct-image-viewer-head .ct-icon-btn {
    margin-left: auto;
  }
  .ct-image-viewer-stage {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 5px;
    padding: 10px;
  }
  .ct-image-nav {
    width: 36px;
    height: 40px;
  }
  .ct-image-thumbs {
    min-height: 72px;
  }
  .ct-image-thumb {
    width: 52px;
    height: 52px;
  }
  .ct-details-actions {
    flex-direction: column;
  }
  .ct-section-head {
    flex-direction: column;
  }
  .ct-modal-actions {
    flex-direction: column-reverse;
  }
  .ct-modal-actions .ct-btn {
    width: 100%;
  }
  .ct-confirmation-summary {
    grid-template-columns: 1fr;
  }
  .ct-mobile-box-bar:not([hidden]) {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 35;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(11, 22, 36, 0.16);
    backdrop-filter: blur(14px);
  }
  .ct-toast {
    left: 10px;
    right: 10px;
    bottom: 86px;
    width: auto;
  }
}
