:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #f0f3f8;
  --line: #d9e0ea;
  --text: #1d2633;
  --muted: #697386;
  --blue: #2563eb;
  --green: #16803c;
  --amber: #b76100;
  --red: #bd2835;
  --ink: #121826;
  --shadow: 0 10px 28px rgba(29, 38, 51, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.whatsapp-note {
  display: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ui-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.ui-icon svg {
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.icon-text-button {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
}

.app-shell {
  margin: 0 auto;
  max-width: 2000px;
  min-height: 100vh;
  width: 95%;
}

@media (min-width: 1400px) {
  .app-shell {
    margin-left: 0;
    margin-right: auto;
    width: calc(100% - clamp(140px, 10vw, 220px));
  }
}

.topbar {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 88px;
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.remote-bot-status {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 999px;
  color: #991b1b;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
  padding: 7px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.remote-bot-status:hover {
  filter: brightness(0.97);
}

.remote-bot-status:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.remote-bot-status:disabled {
  cursor: wait;
  opacity: 0.78;
}

.remote-bot-status[hidden] {
  display: none;
}

.remote-bot-status::before {
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
  content: "";
  height: 7px;
  width: 7px;
}

.remote-bot-status.is-online {
  border-color: #bbf7d0;
  color: #166534;
}

.remote-bot-status.is-online::before {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.remote-bot-status.is-testing {
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.remote-bot-status.is-testing::before {
  animation: bot-status-pulse 0.8s ease-in-out infinite alternate;
  background: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

@keyframes bot-status-pulse {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 4px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 0;
}

h2 {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 14px;
}

h3 {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.admin-site-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.admin-site-link:hover h1,
.admin-site-link:focus h1 {
  text-decoration: underline;
}

.toolbar {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.app-version {
  align-self: end;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  min-height: 36px;
  padding: 11px 12px;
  white-space: nowrap;
}

.side-nav {
  align-self: start;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 4px;
  position: sticky;
  top: 106px;
}

.tab-button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  min-height: 34px;
  padding: 8px 12px;
  text-align: left;
  width: 100%;
}

.tab-button.active {
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(29, 38, 51, 0.1);
  color: var(--text);
}

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

.published-subnav[hidden] {
  display: none;
}

.published-subnav > p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  grid-column: 1 / -1;
  margin: 0;
  text-transform: uppercase;
}

.published-subnav button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 12px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.published-subnav button span {
  line-height: 1.2;
}

.published-subnav button strong {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  flex: 0 0 auto;
  font-size: 15px;
  min-width: 34px;
  padding: 6px 9px;
  text-align: center;
}

.published-subnav button.active {
  background: #f5fff8;
  border-color: var(--green);
  color: var(--text);
  box-shadow: 0 0 0 2px rgba(22, 128, 60, 0.12), var(--shadow);
}

.published-subnav button.active strong {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.published-filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
  padding: 14px;
}

.published-filter-topline {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) auto;
}

.published-filter-feedback {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.published-filter-feedback strong {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.published-filter-feedback button {
  min-height: 40px;
  white-space: nowrap;
}

.published-filter-columns {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.published-filter-column {
  align-content: start;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.published-filter-column + .published-filter-column {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.published-filter-group {
  display: grid;
  gap: 7px;
}

.published-filter-group > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.published-category-filter-group {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.published-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.published-filter-chip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  white-space: nowrap;
}

.published-filter-chip:hover {
  border-color: #9aa9bd;
  color: var(--text);
}

.published-filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(18, 24, 38, 0.16);
}

.published-filter-chip small {
  background: var(--surface-muted);
  border-radius: 999px;
  color: var(--text);
  font-size: 10px;
  min-width: 20px;
  padding: 2px 5px;
  text-align: center;
}

.published-filter-chip.active small {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.offer-collection-filter {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 0 14px;
  padding: 12px 14px;
}

.offer-collection-filter-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.offer-collection-filter-copy strong {
  color: var(--text);
  font-size: 13px;
}

.offer-collection-filter-copy span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.offer-collection-filter .published-filter-chips {
  flex: 0 0 auto;
}

.offer-collection-filter .published-filter-chip:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.offer-collection-category-row {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  grid-column: 1 / -1;
  padding-top: 12px;
}

.offer-collection-category-row > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-collection-category-row .published-filter-chips {
  flex: 1 1 auto;
}

.tag-field,
.field {
  display: grid;
  gap: 6px;
}

.tag-field span,
.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tag-field input,
.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 40px;
  padding: 9px 11px;
  width: 100%;
}

.tag-field input {
  width: 180px;
}

.toolbar .admin-construction-toggle {
  align-self: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 40px;
  padding: 8px 10px;
}

.field textarea {
  min-height: 220px;
  resize: vertical;
}

.workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 18px;
}

.sidebar {
  display: none;
}

.panel,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 16px;
}

.compact-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 0;
}

.metric-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.metric-list div {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.metric-list span {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.metric-list small {
  color: var(--muted);
  font-size: 12px;
}

.offer-area {
  min-width: 0;
}

.radar-area {
  min-width: 0;
}

.whatsapp-area {
  min-width: 0;
}

.settings-area {
  min-width: 0;
}

.admin-settings-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-settings-card {
  align-content: start;
  display: grid;
  gap: 14px;
}

.admin-settings-card-wide {
  grid-column: 1 / -1;
}

.admin-settings-card > p,
.admin-settings-form > small,
.login-description {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.admin-settings-card-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.admin-settings-card-head h3 {
  margin: 3px 0 0;
}

.settings-value-badge {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  white-space: nowrap;
}

.admin-settings-form {
  display: grid;
  gap: 12px;
}

.admin-settings-columns,
.database-settings-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-url-preview {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 10px 12px;
}

.settings-url-preview strong {
  color: var(--text);
}

.settings-divider {
  border-top: 1px solid var(--line);
  margin: 4px 0;
}

.admin-settings-status {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  min-height: 20px;
}

.admin-settings-status.is-success {
  color: #18794e;
}

.admin-settings-status.is-error {
  color: #b42318;
}

.generated-token-box {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.generated-token-box[hidden] {
  display: none;
}

.generated-token-box .field textarea {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  min-height: 78px;
  resize: none;
}

.view-panel {
  grid-column: 2;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 24px;
  margin-bottom: 0;
}

.offer-title-row,
.offer-title-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.offer-title-row {
  gap: 16px;
}

.offer-title-actions {
  gap: 8px;
}

.offer-title-actions button {
  min-height: 40px;
}

.offer-bulk-bar {
  align-items: center;
  background: #fff7d6;
  border: 1px solid #f3d36a;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 14px;
  padding: 10px 12px;
  position: sticky;
  top: 106px;
  z-index: 4;
}

.offer-bulk-bar[hidden] {
  display: none;
}

.offer-bulk-bar strong {
  color: #713f12;
  font-size: 14px;
  white-space: nowrap;
}

.offer-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.offer-bulk-actions .small-button {
  min-height: 32px;
  padding: 6px 12px;
}

.result-count {
  color: var(--muted);
  font-weight: 700;
}

.whatsapp-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.whatsapp-summary > .whatsapp-summary-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(29, 38, 51, 0.04);
  display: flex;
  gap: 12px;
  min-height: 76px;
  padding: 12px 14px;
}

.whatsapp-summary-icon {
  background: #fff7ed;
  border-radius: 10px;
  color: var(--amber);
  height: 42px;
  width: 42px;
}

.whatsapp-summary-card.is-sent .whatsapp-summary-icon {
  background: #ecfdf3;
  color: var(--green);
}

.whatsapp-summary-card.is-error .whatsapp-summary-icon {
  background: #fff1f2;
  color: var(--red);
}

.whatsapp-summary-copy {
  display: grid;
  gap: 3px;
}

.whatsapp-summary-copy strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.whatsapp-summary-copy > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.whatsapp-note {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.whatsapp-robot-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  max-width: 1780px;
}

.whatsapp-inner-nav {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  max-width: 1780px;
  overflow-x: auto;
  padding: 6px;
}

.whatsapp-inner-nav button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  font-weight: 850;
  padding: 10px 14px;
}

.whatsapp-inner-nav button:hover,
.whatsapp-inner-nav button:focus-visible {
  background: var(--surface-muted);
  color: var(--text);
}

.whatsapp-inner-nav button.active {
  background: var(--green);
  color: #fff;
}

#radarView [data-radar-panel] {
  display: none;
}

#radarView [data-radar-panel].is-active {
  display: block;
}

#whatsappRobotLayout [data-whatsapp-panel] {
  display: none;
}

#whatsappRobotLayout [data-whatsapp-panel].is-active {
  display: grid;
}

.whatsapp-robot-panel > [data-whatsapp-panel] {
  grid-column: 1 / -1;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="logs"] {
  grid-template-columns: 1fr;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="settings"],
.whatsapp-robot-layout[data-active-whatsapp-panel="messages"] {
  grid-template-columns: 1fr;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="settings"] .whatsapp-robot-log-panel,
.whatsapp-robot-layout[data-active-whatsapp-panel="messages"] .whatsapp-robot-log-panel {
  display: none;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="logs"] .whatsapp-robot-left {
  display: none;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="logs"] .whatsapp-robot-log-panel {
  grid-column: 1;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="queue"] {
  align-items: start;
  grid-template-columns: minmax(310px, 0.72fr) minmax(520px, 1.28fr);
}

.whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-robot-left {
  grid-column: 1;
  grid-row: 1;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-robot-panel {
  display: none;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-robot-log-panel {
  display: grid !important;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-offers-list-panel {
  grid-column: 1 / -1;
  grid-row: 3;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-scheduled-panel {
  grid-column: 1 / -1;
  grid-row: 2;
}

.whatsapp-robot-left {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.whatsapp-send-rhythm-panel {
  align-content: start;
  background:
    radial-gradient(circle at 100% 0, rgba(22, 128, 60, 0.1), transparent 38%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(29, 38, 51, 0.05);
  gap: 14px;
  min-height: 286px;
  padding: 18px;
}

.whatsapp-send-rhythm-head,
.whatsapp-log-title {
  align-items: center;
  display: flex;
  gap: 11px;
  min-width: 0;
}

.whatsapp-feature-icon {
  background: #ecfdf3;
  border-radius: 10px;
  color: var(--green);
  height: 40px;
  width: 40px;
}

.whatsapp-send-rhythm-head h3,
.whatsapp-log-title h3 {
  font-size: 18px;
  margin: 0;
}

.whatsapp-send-rhythm-head .eyebrow,
.whatsapp-log-title .eyebrow {
  margin-bottom: 2px;
}

.whatsapp-send-rhythm-description {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.whatsapp-send-rhythm-description strong {
  color: var(--text);
}

.whatsapp-delay-field {
  display: grid;
  gap: 7px;
}

.whatsapp-delay-field > span:first-child {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.whatsapp-delay-control select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  min-height: 44px;
  padding: 8px 34px 8px 12px;
  width: 100%;
}

.whatsapp-delay-control select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 128, 60, 0.12);
  outline: 0;
}

.whatsapp-variable-delay-panel {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.whatsapp-variable-delay-panel.is-enabled {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(22, 128, 60, 0.07);
}

.whatsapp-variable-delay-toggle {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 11px 12px;
}

.whatsapp-variable-delay-toggle input {
  accent-color: var(--green);
  flex: 0 0 auto;
  height: 18px;
  margin: 0;
  width: 18px;
}

.whatsapp-variable-delay-toggle > span {
  display: grid;
  gap: 2px;
}

.whatsapp-variable-delay-toggle strong {
  color: var(--text);
  font-size: 13px;
}

.whatsapp-variable-delay-toggle small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.whatsapp-variable-delay-fields {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  padding: 12px;
  transition: opacity 160ms ease;
}

.whatsapp-variable-delay-panel:not(.is-enabled) .whatsapp-variable-delay-fields {
  opacity: 0.55;
}

.whatsapp-variable-delay-fields .field {
  gap: 6px;
}

.whatsapp-variable-delay-fields input {
  min-height: 42px;
  text-align: center;
}

.whatsapp-variable-delay-fields input:disabled {
  background: #eef1f5;
  cursor: not-allowed;
}

.whatsapp-variable-delay-separator {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 13px;
}

.whatsapp-batch-estimate {
  align-items: center;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  color: #166534;
  display: flex;
  font-size: 12px;
  font-weight: 750;
  min-height: 38px;
  padding: 9px 11px;
}

.whatsapp-scheduled-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(29, 38, 51, 0.04);
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.whatsapp-scheduled-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.whatsapp-scheduled-head h3 {
  font-size: 18px;
  margin: 0;
}

.whatsapp-scheduled-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}

.whatsapp-scheduled-head p.whatsapp-scheduled-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}

.whatsapp-scheduled-summary-item.is-success {
  color: var(--green);
}

.whatsapp-scheduled-summary-item.is-warning {
  color: var(--amber);
}

.whatsapp-scheduled-summary-item.is-danger {
  color: var(--red);
}

.whatsapp-scheduled-summary-separator {
  color: #94a3b8;
}

.whatsapp-scheduled-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.whatsapp-scheduled-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  max-height: 460px;
  min-height: 82px;
  overflow: auto;
}

.whatsapp-scheduled-empty {
  align-content: center;
  color: var(--muted);
  display: grid;
  justify-items: center;
  min-height: 112px;
  padding: 18px;
  text-align: center;
}

.whatsapp-scheduled-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 54px minmax(220px, 1fr) minmax(188px, auto) minmax(160px, auto);
  min-height: 64px;
  padding: 9px 12px;
}

.whatsapp-scheduled-row:last-child {
  border-bottom: 0;
}

.whatsapp-scheduled-position {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.whatsapp-scheduled-product {
  min-width: 0;
}

.whatsapp-scheduled-product strong,
.whatsapp-scheduled-product small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-scheduled-product small {
  color: var(--muted);
  margin-top: 4px;
}

.whatsapp-scheduled-status {
  background: var(--surface-muted);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  justify-self: start;
  padding: 5px 9px;
}

.whatsapp-scheduled-status-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.whatsapp-scheduled-row.status-scheduled .whatsapp-scheduled-status,
.whatsapp-scheduled-row.status-queued .whatsapp-scheduled-status {
  background: #fef3c7;
  color: #92400e;
}

.whatsapp-scheduled-row.status-sending .whatsapp-scheduled-status {
  background: #dbeafe;
  color: #1d4ed8;
}

.whatsapp-scheduled-row.status-sent .whatsapp-scheduled-status {
  background: #dcfce7;
  color: var(--green);
}

.whatsapp-scheduled-row.status-error .whatsapp-scheduled-status {
  background: #ffe2e5;
  color: var(--red);
}

.whatsapp-scheduled-time {
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.whatsapp-scheduled-time small {
  color: var(--muted);
  display: block;
}

.whatsapp-scheduled-item-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
  justify-content: flex-start;
}

.whatsapp-scheduled-item-actions button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 32px;
}

.whatsapp-scheduled-item-actions button:hover:not(:disabled),
.whatsapp-scheduled-item-actions button:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.whatsapp-scheduled-item-actions button.remove {
  color: var(--red);
}

.whatsapp-scheduled-item-actions button.resend {
  color: var(--blue);
  font-size: 12px;
  padding: 0 9px;
  width: auto;
}

.whatsapp-scheduled-item-actions button.resend:hover:not(:disabled),
.whatsapp-scheduled-item-actions button.resend:focus-visible {
  background: #eff6ff;
  border-color: var(--blue);
  color: var(--blue);
}

.whatsapp-scheduled-item-actions button.remove:hover:not(:disabled),
.whatsapp-scheduled-item-actions button.remove:focus-visible {
  background: #fff1f2;
  border-color: var(--red);
}

.whatsapp-scheduled-item-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.32;
}

.whatsapp-robot-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  padding: 14px;
}

.whatsapp-settings-columns {
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whatsapp-settings-column {
  align-content: start;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.whatsapp-settings-intro {
  padding: 2px 2px 0;
}

.whatsapp-settings-intro h3,
.whatsapp-api-settings h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.whatsapp-settings-intro p:not(.eyebrow),
.whatsapp-api-settings p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}

.whatsapp-api-settings,
.whatsapp-night-settings,
.whatsapp-settings-column > .public-site-settings-panel {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
}

.whatsapp-night-settings-copy h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.whatsapp-night-settings-copy p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}

.whatsapp-night-mode-form {
  display: grid;
  gap: 12px;
}

.whatsapp-night-enabled {
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 11px 12px;
}

.whatsapp-night-enabled input {
  margin-top: 3px;
}

.whatsapp-night-enabled span {
  display: grid;
  gap: 2px;
}

.whatsapp-night-enabled small,
.whatsapp-night-status {
  color: var(--muted);
  font-size: 12px;
}

.whatsapp-morning-message-settings {
  display: grid;
  gap: 8px;
}

.whatsapp-morning-message-toggle {
  align-items: flex-start;
  display: flex;
  gap: 9px;
}

.whatsapp-morning-message-toggle input {
  margin-top: 3px;
}

.whatsapp-morning-message-toggle span {
  display: grid;
  gap: 2px;
}

.whatsapp-morning-message-toggle small {
  color: var(--muted);
  font-size: 12px;
}

.whatsapp-morning-message-settings.is-disabled textarea {
  opacity: 0.6;
}

.whatsapp-night-mode-form.is-night-disabled .whatsapp-night-time-grid,
.whatsapp-night-mode-form.is-night-disabled > .field,
.whatsapp-night-mode-form.is-night-disabled .whatsapp-morning-message-settings {
  opacity: 0.72;
}

.whatsapp-night-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whatsapp-night-actions button {
  width: 100%;
}

.whatsapp-night-time-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whatsapp-night-mode-form textarea {
  min-height: 82px;
  resize: vertical;
}

.whatsapp-night-status {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
}

#toggleWhatsappQueuePause.is-paused {
  background: #fff7ed;
  border-color: #fb923c;
  color: #9a3412;
}

.whatsapp-settings-column > .public-site-settings-panel {
  grid-template-columns: 1fr;
}

.whatsapp-settings-column .public-site-settings-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whatsapp-settings-column .public-site-settings-form button {
  width: 100%;
}

.whatsapp-replica-groups-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.whatsapp-robot-panel h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.whatsapp-settings-panel > p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}

.whatsapp-offers-list-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(29, 38, 51, 0.04);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-offers-list-panel .whatsapp-queue-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whatsapp-offers-list-head {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.whatsapp-offers-list-head h3 {
  font-size: 18px;
  margin: 0;
}

.whatsapp-offers-list-head > span,
.whatsapp-offers-list-head-actions > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.whatsapp-offers-list-head-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.whatsapp-offers-list-head-actions .small-button {
  white-space: nowrap;
}

.whatsapp-queue-controls {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 16px;
  margin-top: 4px;
  padding: 16px;
}

.whatsapp-queue-filter-group {
  display: grid;
  gap: 8px;
}

.whatsapp-queue-control-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-queue-control-heading div {
  display: grid;
  gap: 3px;
}

.whatsapp-queue-control-heading small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.whatsapp-queue-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.whatsapp-queue-filters button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  white-space: nowrap;
}

.whatsapp-queue-filters button:hover {
  border-color: #9aa9bd;
  color: var(--text);
}

.whatsapp-queue-filters button.active {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(18, 24, 38, 0.16);
  color: #fff;
}

.whatsapp-queue-filters small {
  background: var(--surface-muted);
  border-radius: 999px;
  color: var(--text);
  font-size: 10px;
  min-width: 20px;
  padding: 2px 5px;
  text-align: center;
}

.whatsapp-queue-filters button.active small {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.whatsapp-queue-batch-toolbar {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.whatsapp-queue-batch-toolbar-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
}

.whatsapp-queue-batch-toolbar-head > strong {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  color: #166534;
  flex: 0 0 auto;
  padding: 8px 12px;
  white-space: nowrap;
}

.whatsapp-robot-panel p {
  color: var(--muted);
  margin: 0;
}

.whatsapp-robot-form {
  display: grid;
  gap: 10px;
}

.whatsapp-replica-groups {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.whatsapp-replica-groups-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.whatsapp-replica-groups-head div {
  display: grid;
  gap: 3px;
}

.whatsapp-replica-groups-head small {
  color: var(--muted);
  line-height: 1.35;
}

.whatsapp-replica-group-list {
  display: grid;
  gap: 8px;
}

.whatsapp-replica-group-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  transition: opacity 160ms ease;
}

.whatsapp-replica-group-row > input {
  min-width: 0;
}

.whatsapp-replica-group-row.is-disabled > input {
  color: var(--muted);
  opacity: 0.72;
}

.whatsapp-replica-group-toggle {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  min-width: 86px;
  user-select: none;
}

.whatsapp-replica-group-toggle input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.whatsapp-replica-switch {
  background: #94a3b8;
  border-radius: 999px;
  display: inline-block;
  height: 20px;
  position: relative;
  transition: background 160ms ease;
  width: 36px;
}

.whatsapp-replica-switch::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
  content: "";
  height: 16px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 160ms ease;
  width: 16px;
}

.whatsapp-replica-group-toggle input:checked + .whatsapp-replica-switch {
  background: var(--green);
}

.whatsapp-replica-group-toggle input:checked + .whatsapp-replica-switch::after {
  transform: translateX(16px);
}

.whatsapp-replica-group-toggle input:focus-visible + .whatsapp-replica-switch {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.whatsapp-replica-group-toggle strong {
  color: var(--text);
  font-size: 11px;
  min-width: 44px;
}

.whatsapp-replica-group-row.is-disabled .whatsapp-replica-group-toggle strong {
  color: var(--muted);
}

.whatsapp-robot-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.whatsapp-robot-actions button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  text-align: center;
}

.whatsapp-robot-status {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  grid-column: 1 / -1;
  padding: 10px 12px;
}

.whatsapp-robot-status.status-ready,
.whatsapp-robot-status.status-sent {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.whatsapp-robot-status.status-error {
  background: #ffe2e5;
  border-color: #f3a8b0;
  color: var(--red);
}

.whatsapp-robot-status.status-sending,
.whatsapp-robot-status.status-working,
.whatsapp-robot-status.status-waiting-login,
.whatsapp-robot-status.status-searching-chat {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.whatsapp-batch-panel {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(130px, 150px) minmax(120px, 150px) minmax(0, 1fr);
  padding: 12px;
}

.whatsapp-batch-summary {
  align-items: center;
  align-self: stretch;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62px;
  padding: 8px 10px;
  text-align: center;
}

.whatsapp-batch-summary .eyebrow {
  margin: 0 0 4px;
}

.whatsapp-batch-summary strong {
  color: var(--text);
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.whatsapp-batch-panel .compact-field {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 150px;
}

.compact-field input {
  min-height: 38px;
}

.whatsapp-batch-panel .compact-field input {
  text-align: center;
}

.whatsapp-batch-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
}

.whatsapp-batch-actions .small-button {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  justify-content: center;
  line-height: 1.15;
  min-height: 42px;
  padding: 8px 10px;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.whatsapp-robot-log-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(29, 38, 51, 0.05);
  display: grid;
  gap: 12px;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 286px;
  padding: 16px;
}

.whatsapp-robot-log-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.whatsapp-robot-log-head h3 {
  font-size: 18px;
  margin: 0;
}

.whatsapp-robot-log-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.whatsapp-live-indicator {
  align-items: center;
  background: #ecfdf3;
  border-radius: 999px;
  color: #166534;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  gap: 6px;
  margin-left: 2px;
  padding: 5px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.whatsapp-live-indicator::before {
  animation: bot-status-pulse 0.8s ease-in-out infinite alternate;
  background: #22c55e;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.danger-light-button {
  color: var(--red);
}

.whatsapp-robot-log {
  background: #0f172a;
  border-radius: 8px;
  color: #dbeafe;
  display: grid;
  gap: 0;
  max-height: 218px;
  min-height: 190px;
  overflow: auto;
}

.whatsapp-robot-log-empty {
  align-self: center;
  color: #94a3b8;
  font-weight: 800;
  justify-self: center;
  padding: 18px;
}

.whatsapp-robot-log-item {
  align-items: start;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  font-size: 12px;
  gap: 7px;
  grid-template-columns: 58px 78px minmax(0, 1fr);
  line-height: 1.3;
  padding: 6px 8px;
}

.whatsapp-robot-log-item span {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
}

.whatsapp-robot-log-item strong {
  background: rgba(59, 130, 246, 0.18);
  border-radius: 999px;
  color: #bfdbfe;
  font-size: 9px;
  padding: 2px 6px;
  text-align: center;
}

.whatsapp-robot-log-item p {
  color: #e5e7eb;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 1181px) {
  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] {
    align-items: stretch;
    --whatsapp-queue-top-card-height: 532px;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-send-rhythm-panel {
    height: var(--whatsapp-queue-top-card-height);
    max-height: var(--whatsapp-queue-top-card-height);
    min-height: var(--whatsapp-queue-top-card-height);
    overflow-y: auto;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-robot-log-panel {
    align-self: stretch;
    grid-template-rows: auto minmax(0, 1fr);
    height: var(--whatsapp-queue-top-card-height);
    max-height: var(--whatsapp-queue-top-card-height);
    min-height: var(--whatsapp-queue-top-card-height);
    overflow: hidden;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-robot-log {
    align-self: stretch;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
  }
}

.whatsapp-robot-log-item.log-error strong,
.whatsapp-robot-log-item.log-ui-error strong {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
}

.whatsapp-robot-log-item.log-warning strong {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}

.whatsapp-robot-log-item.log-sent strong {
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.whatsapp-robot-log-item.log-batch strong {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}

.whatsapp-queue-list {
  display: grid;
  gap: 10px;
  max-width: none;
  min-width: 0;
}

.whatsapp-queue-item {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid #94a3b8;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 30px 58px minmax(0, 1fr);
  max-width: none;
  min-height: 92px;
  padding: 9px 10px;
}

.whatsapp-queue-item.status-sent {
  border-left-color: var(--green);
}

.whatsapp-queue-item.status-error {
  border-left-color: var(--red);
}

.whatsapp-queue-item.status-sending {
  border-left-color: var(--blue);
}

.whatsapp-queue-item.status-cancelled {
  opacity: 0.68;
}

.whatsapp-queue-select {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 58px;
}

.whatsapp-queue-select input {
  accent-color: var(--green);
  height: 18px;
  margin: 0;
  width: 18px;
}

.whatsapp-queue-image {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  height: 58px;
  justify-content: center;
  overflow: hidden;
}

.whatsapp-queue-image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.whatsapp-queue-image span {
  color: var(--muted);
  font-weight: 900;
}

.whatsapp-queue-main {
  min-width: 0;
}

.whatsapp-queue-title {
  align-items: start;
  display: flex;
  gap: 10px;
}

.whatsapp-queue-title strong {
  line-height: 1.25;
  max-width: 100%;
}

.whatsapp-queue-title span {
  background: var(--surface-muted);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
}

.whatsapp-queue-item.status-sent .whatsapp-queue-title span {
  background: #dcfce7;
  color: var(--green);
}

.whatsapp-queue-item.status-error .whatsapp-queue-title span {
  background: #ffe2e5;
  color: var(--red);
}

.whatsapp-queue-main p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 4px 0;
  max-width: 720px;
}

.whatsapp-queue-main small {
  color: var(--muted);
  font-weight: 700;
}

.whatsapp-queue-item.status-sent .whatsapp-queue-main small {
  color: var(--green);
}

.whatsapp-queue-item.status-error .whatsapp-queue-main small {
  color: var(--red);
}

.whatsapp-queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 3 / -1;
  justify-content: flex-start;
  min-width: 0;
}

.whatsapp-queue-actions .small-button {
  min-height: 34px;
  min-width: 92px;
  padding: 7px 12px;
}

.send-whatsapp-button {
  background: var(--green);
  color: #fff;
}

.ai-whatsapp-button {
  background: #facc15;
  border-color: #eab308;
  color: #713f12;
}

.ai-whatsapp-button:hover,
.ai-whatsapp-button:focus {
  background: #fbbf24;
  border-color: #d97706;
  color: #713f12;
}

.whatsapp-edit-modal {
  max-width: 760px;
}

.whatsapp-edit-modal textarea {
  min-height: 220px;
  resize: vertical;
}

.whatsapp-edit-ai-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-edit-ai-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.radar-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ghost-button:hover {
  border-color: #b8c7df;
  box-shadow: 0 6px 18px rgba(18, 24, 38, 0.08);
}

.radar-status {
  background: #e8f0ff;
  border: 1px solid #c9d8ff;
  border-radius: 8px;
  color: #26437a;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  padding: 10px 12px;
}

.radar-actions[hidden] {
  display: none;
}

.radar-grid {
  display: grid;
  gap: 14px;
}

.radar-panel {
  box-shadow: none;
}

.radar-automation-panel {
  background: linear-gradient(135deg, #f4f8ff, #fff);
  border-color: #b9ccef;
}

.radar-automation-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(230px, 0.8fr) minmax(150px, 210px) minmax(360px, 1.4fr) auto;
  margin-top: 14px;
}

.radar-production-update-field {
  align-self: stretch;
}

.radar-production-update-field > span {
  display: grid;
  gap: 3px;
}

.radar-production-update-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.radar-automation-form .radar-actions {
  flex-wrap: nowrap;
}

.radar-automation-panel .hosting-connection-badge.is-running {
  background: #e8f0ff;
  border-color: #91afe8;
  color: #26437a;
}

.radar-automation-panel .hosting-connection-badge.is-error {
  background: #fff0ef;
  border-color: #e7a19c;
  color: #8b241d;
}

.radar-report-panel {
  margin-top: 14px;
}

.radar-automation-reports {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.radar-report {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.radar-report > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  list-style: none;
  padding: 13px 15px;
}

.radar-report > summary::-webkit-details-marker {
  display: none;
}

.radar-report > summary > div {
  display: grid;
  gap: 4px;
}

.radar-report > summary small {
  color: var(--muted);
}

.radar-report-mode {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 850;
  padding: 6px 9px;
}

.radar-report-mode.is-active {
  background: #ecfdf3;
  border-color: #86efac;
  color: #166534;
}

.radar-report-detail {
  border-top: 1px solid var(--line);
  max-height: 420px;
  overflow: auto;
  padding: 10px 15px;
}

.radar-report-detail ul {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.radar-report-detail li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, auto) minmax(180px, 0.8fr);
  padding: 10px 0;
}

.radar-report-detail li:last-child {
  border-bottom: 0;
}

.radar-report-detail li > div {
  display: grid;
  gap: 2px;
}

.radar-report-detail li small {
  color: var(--muted);
}

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

.radar-config-columns .radar-panel {
  align-content: start;
  display: grid;
}

.radar-config-columns .radar-form {
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 10px;
}

.radar-config-columns .channel-quick-form {
  align-items: end;
}

.radar-config-columns .wide-field,
.radar-config-columns .approve-button {
  grid-column: 1 / -1;
}

.radar-config-columns .config-item {
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
}

.radar-config-columns .config-actions {
  align-items: center;
  display: grid;
  flex-wrap: nowrap;
  grid-template-columns: 44px 76px;
  min-width: 0;
}

.radar-config-columns .config-actions .small-button {
  min-height: 30px;
  padding: 6px 9px;
  width: 76px;
}

.radar-config-columns .config-actions .config-switch {
  grid-row: 1 / span 2;
}

.radar-config-columns .field input,
.radar-config-columns .field select {
  min-height: 34px;
  padding: 7px 10px;
}

.radar-config-columns .panel-head h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.radar-config-columns .panel-head p {
  font-size: 13px;
}

.compact-config-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar-config-columns .channel-config-item {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
}

.radar-config-columns .channel-config-item.channel-config-automatic {
  grid-template-columns: minmax(0, 1fr) 150px;
}

.channel-config-main {
  min-width: 0;
  width: 100%;
}

.radar-config-columns .channel-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  width: 100px;
}

.radar-config-columns .channel-actions .config-switch {
  align-self: center;
  grid-row: auto;
  margin: 2px 0 4px;
}

.radar-config-columns .channel-actions .small-button {
  width: 100px;
}

.radar-config-columns .channel-actions-auto {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 48px 96px;
  width: 150px;
}

.radar-config-columns .channel-actions-auto .config-switch {
  justify-self: start;
  margin: 0;
}

.radar-config-columns .channel-actions-auto .small-button {
  grid-column: 1 / -1;
  width: 100%;
}

.channel-sections {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  margin-top: 8px;
  max-height: 190px;
  overflow: auto;
  padding: 8px;
}

.channel-sections-empty,
.channel-sections-loading,
.channel-sections-error {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.channel-scan-events {
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
}

.channel-scan-events span {
  border-top: 1px solid currentColor;
  display: block;
  line-height: 1.35;
  opacity: 0.9;
  padding-top: 4px;
}

.channel-scan-events b {
  margin-right: 4px;
}

.channel-sections-loading {
  background: #e8f0ff;
  border-color: #c9d8ff;
  color: var(--blue);
}

.channel-sections-error {
  background: #ffe2e5;
  border-color: #ffc1c8;
  color: var(--red);
}

.channel-sections-auto {
  background: #ecfdf3;
  border-color: #bfe8cd;
  color: var(--green);
}

.channel-sections-list {
  background: #fff7ed;
  border-color: #fed7aa;
  color: var(--amber);
}

.channel-limit-control {
  align-items: center;
  background: #edf3ff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  gap: 4px;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
  padding: 7px 9px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.channel-limit-control input {
  background: transparent;
  border: 0;
  color: var(--blue);
  font: inherit;
  min-width: 0;
  padding: 0;
  text-align: right;
  flex: 0 1 42px;
  width: 42px;
}

.channel-limit-control span {
  flex: 0 0 auto;
  line-height: 1;
  white-space: nowrap;
}

.channel-limit-control input:focus {
  outline: none;
}

.channel-limit-control:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.channel-sections-title {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.channel-sections-title strong {
  font-size: 12px;
}

.channel-sections-title span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.channel-section-list {
  display: grid;
  gap: 5px;
}

.channel-section-option {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 16px minmax(0, 1fr) 54px;
}

.channel-section-option input {
  height: 15px;
  margin: 0;
  width: 15px;
}

.channel-section-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-section-option small {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.panel-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.panel-head p,
.helper-text,
.empty-inline {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.settings-grid {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 170px 220px minmax(260px, 1fr);
}

.check-field {
  align-items: center;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 40px;
  padding: 9px 11px;
}

.check-field input {
  height: 18px;
  width: 18px;
}

.check-field span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.radar-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  margin: 12px 0 14px;
}

.wide-field {
  grid-column: span 2;
}

.edit-actions {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.config-list {
  display: grid;
  gap: 8px;
}

.config-item {
  align-items: center;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px;
}

.config-item div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.config-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.config-switch {
  align-items: center;
  background: #cbd5e1;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 24px;
  padding: 3px;
  transition: background 160ms ease;
  width: 44px;
}

.config-switch span {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(18, 24, 38, 0.18);
  display: block;
  height: 18px;
  transform: translateX(0);
  transition: transform 160ms ease;
  width: 18px;
}

.config-switch.is-on {
  background: var(--green);
}

.config-switch.is-on span {
  transform: translateX(20px);
}

.config-switch:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  outline: none;
}

.config-item-disabled {
  opacity: 0.62;
}

.proxy-item {
  align-items: stretch;
}

.proxy-main {
  align-content: center;
  flex: 1;
}

.proxy-status {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
  padding: 8px 10px;
}

.proxy-status-testing {
  background: #e8f0ff;
  border-color: #c9d8ff;
  color: var(--blue);
}

.proxy-status-ok {
  background: #daf8e5;
  border-color: #a7e8bd;
  color: var(--green);
}

.proxy-status-warn {
  background: #fff4d8;
  border-color: #f4d58a;
  color: #8a5d00;
}

.proxy-status-error {
  background: #ffe2e5;
  border-color: #f3a8b0;
  color: var(--red);
}

.config-item strong,
.config-item span,
.config-item small {
  overflow-wrap: anywhere;
}

.config-item span,
.config-item small {
  color: var(--muted);
  font-size: 13px;
}

.small-button {
  min-height: 34px;
  padding: 7px 10px;
}

.offer-grid {
  display: grid;
  gap: 22px;
}

.offer-source-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.offer-uncategorized-list {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  min-width: 0;
}

.offer-uncategorized-list .offer-card {
  min-width: 0;
}

.source-section-head {
  align-items: end;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.source-section-head h3 {
  font-size: 19px;
  line-height: 1.2;
  margin: 0;
}

.source-section-head p {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}

.source-section-head span {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.source-offer-row {
  display: flex;
  gap: 14px;
  cursor: grab;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  touch-action: pan-y;
  user-select: none;
}

.source-offer-row.is-dragging {
  cursor: grabbing;
}

.source-offer-row .offer-card {
  cursor: pointer;
  flex: 0 0 min(260px, calc((100% - 56px) / 5));
  scroll-snap-align: start;
}

@media (min-width: 821px) and (max-width: 1399px) {
  .source-offer-row .offer-card {
    flex-basis: calc((100% - 42px) / 4);
  }
}

@media (max-width: 820px) {
  .source-offer-row .offer-card {
    flex-basis: min(260px, calc(100vw - 42px));
  }
}

.source-offer-row.is-dragging .offer-card {
  cursor: grabbing;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.offer-card:hover,
.offer-card:focus {
  border-color: var(--blue);
  outline: none;
  transform: translateY(-1px);
}

.offer-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), var(--shadow);
}

.offer-card.batch-selected {
  border-color: #eab308;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.26), var(--shadow);
}

.offer-select-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(29, 38, 51, 0.12);
  cursor: pointer;
  display: grid;
  height: 30px;
  justify-items: center;
  position: absolute;
  left: 10px;
  top: 10px;
  width: 30px;
  z-index: 4;
}

.offer-card.has-rank .offer-select-control {
  top: 36px;
}

.offer-select-control input {
  cursor: pointer;
  height: 16px;
  margin: 0;
  width: 16px;
}

.card-delete {
  align-items: center;
  background: rgba(18, 24, 38, 0.9);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-size: 19px;
  font-weight: 800;
  height: 30px;
  justify-items: center;
  line-height: 1;
  opacity: 0.88;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  z-index: 2;
}

.card-delete:hover,
.card-delete:focus {
  background: var(--red);
  opacity: 1;
  outline: none;
}

.product-thumb {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: grid;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.image-transfer-badge {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  bottom: 9px;
  box-shadow: 0 3px 10px rgba(29, 38, 51, 0.12);
  display: inline-flex;
  font-size: 10px !important;
  font-weight: 800 !important;
  gap: 5px;
  line-height: 1;
  padding: 6px 8px;
  position: absolute;
  right: 9px;
  z-index: 3;
}

.image-transfer-badge::before {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 6px;
  width: 6px;
}

.image-transfer-ready {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534 !important;
}

.image-transfer-pending {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e !important;
}

.image-transfer-warning {
  background: #ffedd5;
  border-color: #fdba74;
  color: #9a3412 !important;
}

.image-transfer-error {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b !important;
}

.product-thumb span {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.product-thumb .rank-ribbon {
  align-items: center;
  background: #c95800;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 26px;
  left: 0;
  line-height: 1;
  padding: 0 10px 0 9px;
  position: absolute;
  top: 0;
  z-index: 3;
}

.product-thumb .rank-ribbon::after {
  border-bottom: 26px solid transparent;
  border-left: 10px solid #c95800;
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
}

.product-thumb img,
.detail-image-slot img {
  background: #fff;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-thumb img {
  height: calc(100% - 36px);
  inset: 18px;
  margin: 0;
  max-height: none;
  max-width: none;
  object-position: center;
  position: absolute;
  -webkit-user-drag: none;
  user-select: none;
  width: calc(100% - 36px);
}

.product-thumb:has(img) {
  background: #fff;
}

.category-cafe {
  background: #7a4b2a;
}

.category-limpeza {
  background: #25767a;
}

.category-higiene {
  background: #6d5bd0;
}

.category-bebe {
  background: #be5c78;
}

.category-alimentos {
  background: #3f7f44;
}

.category-farmacia {
  background: #2f6ea5;
}

.category-bebidas {
  background: #81406b;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
}

.card-action-row {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
}

.card-action-row .small-button {
  font-size: 13px;
  min-height: 34px;
  padding: 7px 6px;
}

.card-topline {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-collection-tags {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.card-body h3 {
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 8px;
  min-height: 39px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.posted-line {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  margin: -2px 0 8px;
}

.status-pill,
.value-chip,
.value-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
  white-space: nowrap;
}

.status-new {
  background: #eaf0ff;
  color: #1e4ec8;
}

.status-seen {
  background: #fff0d7;
  color: #8a5600;
}

.status-updated {
  background: #e8f0ff;
  color: #245bb5;
}

.card-state-tags {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 8px;
  padding: 6px;
}

.card-state-tags.is-both {
  background: #fffbed;
  border-color: #f2d46d;
}

.card-state-tag {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  padding: 6px 8px;
  text-align: center;
}

.state-site {
  background: #ddf8e7;
  color: var(--green);
}

.state-site-pending {
  background: #fff0d7;
  color: #8a5600;
}

.state-inactive {
  background: #e9edf3;
  color: #64748b;
}

.state-whatsapp-sent {
  background: #e7f7ed;
  color: #087b39;
}

.state-whatsapp-queued {
  background: #fff0d7;
  color: #8a5600;
}

.status-approved {
  background: #ddf8e7;
  color: var(--green);
}

.status-rejected {
  background: #ffe2e5;
  color: var(--red);
}

.status-posted {
  background: #efe8ff;
  color: #6340a8;
}

.value-forte {
  background: #daf8e5;
  color: var(--green);
}

.value-boa {
  background: #e8f0ff;
  color: var(--blue);
}

.value-morna {
  background: #fff0d7;
  color: var(--amber);
}

.value-pendente {
  background: #eceff4;
  color: #566176;
}

.deal-discount-badge {
  background: #cc0c39;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  flex: 0 1 auto;
  order: initial;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 7px 8px;
  text-align: center;
  width: 100%;
  white-space: normal;
}

.card-topline .status-pill {
  order: 1;
}

.card-topline .value-chip {
  margin-left: auto;
  order: 2;
}

.headline-line,
.reason-preview {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.headline-line {
  display: -webkit-box;
  min-height: 36px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.reason-preview {
  margin-top: auto;
  margin-bottom: 6px;
  min-height: 35px;
}

.collected-line {
  align-items: baseline;
  border-top: 1px solid #edf0f4;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  line-height: 1.35;
  margin: 2px 0 8px;
  padding-top: 7px;
}

.collected-line span {
  color: #475569;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collected-line strong {
  color: var(--muted);
  font-weight: 700;
}

.price-row {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 10px;
}

.price-row div {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 8px 7px;
}

.price-row dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.price-row dd {
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-content {
  display: grid;
  align-items: start;
  gap: 18px;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  max-height: calc(100vh - 48px);
}

.detail-image-slot {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  justify-items: center;
  height: clamp(440px, calc(100vh - 74px), 640px);
  max-height: calc(100vh - 74px);
  min-height: 0;
  overflow: hidden;
  padding: 16px;
  position: static;
  width: 100%;
}

.detail-image-fallback {
  align-items: center;
  color: #fff;
  display: grid;
  font-size: 42px;
  font-weight: 900;
  height: 100%;
  justify-items: center;
  width: 100%;
}

.detail-image-slot img {
  display: block;
  height: 100% !important;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center center;
  width: auto !important;
}

.detail-main {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-right: 40px;
}

.detail-header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.detail-header h2 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 0;
}

.price-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-box {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
}

.coupon-box {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #14532d;
  display: grid;
  gap: 3px;
  padding: 8px 12px;
}

.coupon-box[hidden] {
  display: none;
}

.coupon-box-label {
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.coupon-box strong {
  color: #052e16;
  font-size: 14px;
}

.coupon-box p {
  color: #166534;
  margin: 0;
}

.reason-box h3 {
  margin-bottom: 6px;
}

.reason-box ul {
  color: var(--muted);
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 18px;
}

.reason-box li {
  break-inside: avoid;
  margin-bottom: 2px;
}

.action-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.primary-button,
.approve-button,
.reject-button,
.ghost-button {
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 12px;
}

.primary-button {
  background: var(--ink);
  color: #fff;
}

.primary-button[aria-busy="true"] {
  background: #2f3a4d;
  color: #fff;
}

.approve-button {
  background: var(--green);
  color: #fff;
}

.reject-button {
  background: var(--red);
  color: #fff;
}

.ghost-button {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.ghost-button.is-posted {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.approve-button[aria-disabled="true"],
.ghost-button[aria-disabled="true"] {
  cursor: default;
}

.external-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.external-link:hover {
  text-decoration: underline;
}

.grid-empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.corner-notifications {
  bottom: 18px;
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 36px);
  max-width: min(420px, calc(100vw - 28px));
  overflow-y: auto;
  position: fixed;
  right: 18px;
  width: 100%;
  z-index: 50;
}

.activity-center,
.persistent-alerts {
  display: grid;
  gap: 10px;
}

.activity-center[hidden],
.persistent-alerts[hidden] {
  display: none;
}

.activity-card {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-left: 5px solid #2563eb;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
  color: #172033;
  display: grid;
  gap: 4px;
  grid-template-columns: 24px minmax(0, 1fr);
  padding: 14px 46px 14px 14px;
  position: relative;
}

.activity-card.is-success {
  background: #f0fdf4;
  border-color: #86efac;
  border-left-color: #16a34a;
  color: #14532d;
}

.activity-card.is-error {
  background: #fff7f7;
  border-color: #f0a2aa;
  border-left-color: #cf2737;
  color: #4e1017;
}

.activity-card.is-warning {
  background: #fffbeb;
  border-color: #fcd34d;
  border-left-color: #d99a00;
  color: #713f12;
}

.activity-card-icon {
  align-items: center;
  background: #dbeafe;
  border-radius: 50%;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  margin-top: 1px;
  width: 24px;
}

.activity-card.is-running .activity-card-icon,
.activity-card.is-queued .activity-card-icon {
  animation: activity-spin 0.9s linear infinite;
  border: 3px solid #bfdbfe;
  border-top-color: #2563eb;
  background: transparent;
  font-size: 0;
}

.activity-card.is-success .activity-card-icon {
  background: #bbf7d0;
  color: #166534;
}

.activity-card.is-error .activity-card-icon {
  background: #fbdde0;
  color: #b42332;
}

.activity-card.is-warning .activity-card-icon {
  background: #fef3c7;
  color: #a16207;
}

.activity-card-content {
  min-width: 0;
}

.activity-card-eyebrow {
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.activity-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.activity-card-message {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}

.activity-card-state {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-top: 6px;
  text-transform: uppercase;
}

.activity-card-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: currentColor;
  cursor: pointer;
  display: flex;
  font-size: 22px;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 32px;
}

.activity-card-close:hover {
  background: rgba(15, 23, 42, 0.08);
}

@keyframes activity-spin {
  to { transform: rotate(360deg); }
}


.persistent-alert {
  background: #fff7f7;
  border: 1px solid #f0a2aa;
  border-left: 5px solid #cf2737;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(64, 10, 18, 0.2);
  color: #4e1017;
  padding: 15px 46px 15px 16px;
  position: relative;
}

.persistent-alert strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.persistent-alert p {
  line-height: 1.45;
  margin: 0;
}

.persistent-alert .persistent-alert-eyebrow {
  color: #bd1f31;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.persistent-alert-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #7e1824;
  cursor: pointer;
  display: flex;
  font-size: 24px;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 34px;
}

.persistent-alert-close:hover {
  background: #fbdde0;
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  align-items: center;
  background: rgba(18, 24, 38, 0.52);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 12px;
  position: fixed;
  z-index: 30;
}

.modal-backdrop[hidden] {
  display: none;
}

.offer-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.24);
  max-height: calc(100vh - 24px);
  max-width: 1240px;
  overflow: hidden;
  padding: 12px;
  position: relative;
  width: min(100%, 1240px);
}

.progress-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.24);
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 24px);
  max-width: 920px;
  overflow: hidden;
  padding: 18px;
  position: relative;
  width: min(100%, 920px);
}

.settings-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.24);
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 24px);
  max-width: 980px;
  overflow: auto;
  padding: 18px;
  position: relative;
  width: min(100%, 980px);
}

.channel-edit-modal {
  max-width: 720px;
  width: min(100%, 720px);
}

.proxy-edit-modal {
  max-width: 660px;
  width: min(100%, 660px);
}

.proxy-edit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.channel-edit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.channel-edit-sections-field {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  min-width: 0;
  padding: 10px;
}

.channel-edit-sections-field legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 0 5px;
}

.channel-edit-sections {
  display: grid;
  gap: 6px;
  max-height: 230px;
  overflow: auto;
}

.channel-edit-section-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.channel-edit-section-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.channel-edit-section-delete {
  min-width: 76px;
}

.confirmation-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.24);
  display: grid;
  gap: 12px;
  max-width: 460px;
  padding: 22px;
  position: relative;
  width: min(100%, 460px);
}

.confirmation-modal .eyebrow {
  margin: 0;
  padding-right: 42px;
}

.confirmation-modal h2 {
  font-size: 22px;
  margin: 0;
  padding-right: 42px;
}

.confirmation-message {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.confirmation-actions {
  display: flex;
  gap: 8px;
  justify-content: end;
  margin-top: 4px;
}

.confirmation-actions button {
  min-width: 116px;
}

.proxy-toggle {
  margin-right: 46px;
}

.proxy-form {
  margin-top: 0;
}

.progress-header {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-right: 46px;
}

.progress-header h2 {
  font-size: 24px;
  margin-bottom: 0;
}

.progress-state {
  background: #e8f0ff;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress-state[data-state="concluido"] {
  background: #daf8e5;
  color: var(--green);
}

.progress-state[data-state="erro"] {
  background: #ffe2e5;
  color: var(--red);
}

.progress-state[data-state="cancelando"],
.progress-state[data-state="cancelado"] {
  background: #fff1d6;
  color: #9a5b00;
}

.progress-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.progress-summary {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  padding: 11px 12px;
}

.progress-summary.is-warning {
  background: #ffe2e5;
  border-color: #f6aeb7;
  color: var(--red);
}

.progress-meter {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 48px;
}

.progress-meter-track {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
}

.progress-meter-fill {
  background: linear-gradient(90deg, #2563eb, #168a45);
  border-radius: inherit;
  height: 100%;
  transition: width 220ms ease;
  width: 0;
}

.progress-meter span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.progress-log {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  max-height: min(62vh, 560px);
  overflow: auto;
  padding: 0;
}

.progress-log-item {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 80px 92px minmax(0, 1fr);
  padding: 10px 12px;
}

.progress-log-item:last-child {
  border-bottom: 0;
}

.progress-log-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.progress-log-item strong {
  background: var(--surface-muted);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 8px;
  text-align: center;
  text-transform: uppercase;
}

.progress-log-item p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}

.logs-modal {
  max-width: min(1120px, calc(100vw - 28px));
}

.logs-list {
  max-height: min(66vh, 640px);
}

.log-content {
  min-width: 0;
}

.log-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.log-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none;
}

.log-links a:hover {
  border-color: #9ab7f5;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.progress-added strong,
.progress-updated strong,
.progress-done strong {
  background: #daf8e5;
  color: var(--green);
}

.progress-search strong,
.progress-channel strong,
.progress-channel-result strong,
.progress-product strong,
.progress-image strong {
  background: #e8f0ff;
  color: var(--blue);
}

.progress-error strong,
.progress-fatal strong,
.progress-collection-warning strong {
  background: #ffe2e5;
  color: var(--red);
}

.progress-skip strong {
  background: #fff0d7;
  color: var(--amber);
}

.offer-modal .field {
  gap: 4px;
}

.offer-modal .tag-field input,
.offer-modal .field input,
.offer-modal .field select,
.offer-modal .field textarea {
  min-height: 34px;
  padding: 6px 10px;
}

.offer-modal .field textarea {
  height: 122px;
  min-height: 122px;
  resize: none;
}

.offer-modal .action-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.modal-close {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-size: 24px;
  font-weight: 700;
  height: 36px;
  justify-items: center;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  z-index: 1;
}

.published-offer-item.is-expired-site {
  border-color: rgba(154, 93, 22, 0.35);
  background: rgba(255, 247, 232, 0.75);
}

.offer-period-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 24px;
}

.offer-period-tabs button {
  padding: 10px 16px;
  border: 1px solid var(--premium-line);
  border-radius: 999px;
  background: transparent;
  color: var(--premium-muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.offer-period-tabs button.active {
  border-color: #c8ff1a;
  background: #c8ff1a;
  color: #111418;
  box-shadow: 0 6px 18px rgba(183, 235, 20, 0.22);
}

.published-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.published-view-tabs button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 15px;
}

.published-view-tabs button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.published-price-change {
  color: var(--green);
  display: block;
  font-weight: 900;
  margin-bottom: 3px;
}

.published-price-comparison {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 5px 0;
}

.published-price-comparison span,
.published-price-comparison small {
  color: var(--muted);
  font-size: 12px;
}

.published-price-comparison strong {
  color: var(--ink);
}

.published-price-comparison b {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 16px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.published-price-comparison.is-down b,
.published-price-comparison.is-down small {
  color: var(--green);
}

.published-price-comparison.is-down b {
  background: #ddf8e7;
}

.published-price-comparison.is-up b,
.published-price-comparison.is-up small {
  color: var(--red);
}

.published-price-comparison.is-up b {
  background: #ffe2e5;
}

.published-price-comparison.is-same b {
  background: #eceff4;
  color: var(--muted);
}

.published-price-comparison small {
  font-weight: 800;
}

.refresh-list-icon-button {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-size: 22px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 42px;
}

.live-update-offer-button {
  background: #f6c945;
  border: 1px solid #d6a91c;
  border-radius: 8px;
  color: #2b2206;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 12px;
}

.live-update-offer-button:hover:not(:disabled) {
  background: #ffd862;
}

.live-update-offer-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.public-date-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px 4px;
  color: var(--premium-ink);
  text-transform: capitalize;
}

.public-date-heading span {
  color: var(--premium-muted);
  font-size: 0.78rem;
}

.deal-section .public-offer-card.is-expired {
  opacity: 0.88;
}

.expired-price-note {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(154, 93, 22, 0.08);
  color: var(--premium-muted);
}

.expired-price-note strong {
  color: #d63b32;
  font-size: 0.92rem;
  line-height: 1.2;
}

.card-badges .expired-change-warning {
  max-width: 82%;
  padding: 7px 10px;
  border: 1px solid rgba(214, 59, 50, 0.32);
  border-radius: 4px;
  background: #fff2ef;
  color: #c9342c;
  box-shadow: 0 7px 18px rgba(214, 59, 50, 0.16);
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.expired-price-note .expired-historical-price {
  color: var(--premium-ink);
  font-size: 1.2rem;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.025em;
}

.expired-price-note small {
  color: #d63b32;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .app-shell {
    width: calc(100% - 32px);
  }

  .workspace {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .whatsapp-robot-layout {
    grid-template-columns: 1fr;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] {
    grid-template-columns: 1fr;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-robot-log-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-offers-list-panel {
    grid-column: 1;
    grid-row: 4;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-scheduled-panel {
    grid-column: 1;
    grid-row: 3;
  }

  .whatsapp-settings-columns {
    grid-template-columns: 1fr;
  }

  .radar-form,
  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radar-automation-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radar-automation-form .radar-actions {
    grid-column: 1 / -1;
  }

  .radar-config-columns {
    grid-template-columns: 1fr;
  }

  .detail-content {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .detail-image-slot {
    height: clamp(380px, calc(100vh - 74px), 560px);
  }
}

@media (max-width: 820px) {
  .app-shell {
    width: 100%;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar {
    justify-content: stretch;
  }

  .tag-field,
  .tag-field input,
  .toolbar button {
    width: 100%;
  }

  .workspace {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .offer-bulk-bar {
    align-items: stretch;
    flex-direction: column;
    position: static;
  }

  .offer-bulk-actions {
    justify-content: stretch;
  }

  .offer-bulk-actions .small-button {
    flex: 1;
  }

  .side-nav {
    position: static;
  }

  .view-panel {
    grid-column: 1;
  }

  .sidebar {
    position: static;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .radar-form,
  .settings-grid,
  .admin-settings-grid,
  .admin-settings-columns,
  .database-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-settings-card-wide {
    grid-column: auto;
  }

  .radar-automation-form {
    grid-template-columns: 1fr;
  }

  .radar-automation-form .radar-actions {
    grid-column: auto;
  }

  .radar-config-columns .radar-form {
    grid-template-columns: 1fr;
  }

  .wide-field {
    grid-column: auto;
  }

  .radar-config-columns .wide-field,
  .radar-config-columns .approve-button,
  .edit-actions {
    grid-column: auto;
  }

  .config-item {
    align-items: stretch;
    flex-direction: column;
  }

  .whatsapp-summary {
    grid-template-columns: 1fr;
  }

  .whatsapp-robot-log-item {
    grid-template-columns: 64px 86px minmax(0, 1fr);
  }

  .whatsapp-robot-panel {
    grid-template-columns: 1fr;
  }

  .whatsapp-robot-layout[data-active-whatsapp-panel="queue"] .whatsapp-offers-list-panel .whatsapp-queue-list,
  .whatsapp-settings-column .public-site-settings-form {
    grid-template-columns: 1fr;
  }

  .whatsapp-night-time-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-night-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-robot-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-batch-panel {
    grid-template-columns: 1fr;
  }

  .whatsapp-batch-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatsapp-scheduled-head {
    align-items: stretch;
    flex-direction: column;
  }

  .whatsapp-scheduled-actions {
    justify-content: stretch;
  }

  .whatsapp-scheduled-actions button {
    flex: 1;
  }

  .whatsapp-scheduled-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .whatsapp-scheduled-status-controls {
    flex-wrap: wrap;
    grid-column: 2;
  }

  .whatsapp-scheduled-time {
    grid-column: 2 / -1;
    text-align: left;
  }

  .whatsapp-scheduled-item-actions {
    justify-content: flex-start;
  }

  .whatsapp-queue-item {
    align-items: stretch;
    grid-template-columns: 30px 64px minmax(0, 1fr);
  }

  .whatsapp-queue-actions {
    grid-column: 1 / -1;
  }

  .whatsapp-queue-actions .small-button {
    flex: 1 1 120px;
  }

  .radar-config-columns .config-actions {
    grid-template-columns: 44px repeat(2, 76px);
    min-width: 0;
  }

  .radar-config-columns .config-actions .small-button {
    width: 76px;
  }

  .radar-config-columns .config-actions .config-switch {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 24px;
  }

  .whatsapp-variable-delay-fields {
    grid-template-columns: 1fr;
  }

  .whatsapp-variable-delay-separator {
    display: none;
  }

  .whatsapp-robot-log-item {
    gap: 6px;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .whatsapp-robot-log-item p {
    grid-column: 1 / -1;
  }

  .section-head,
  .detail-header {
    align-items: stretch;
    flex-direction: column;
  }

  .product-thumb {
    aspect-ratio: 4 / 3;
  }

  .price-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .detail-content {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .detail-image-slot {
    height: 220px;
    max-height: 220px;
    position: static;
  }

  .detail-main {
    padding-right: 0;
  }

  .modal-backdrop {
    align-items: stretch;
    padding: 10px;
  }

  .offer-modal {
    overflow: auto;
    max-height: calc(100vh - 20px);
    padding: 14px;
  }

  .progress-modal {
    max-height: calc(100vh - 20px);
    overflow: hidden;
    padding: 14px;
  }

  .settings-modal {
    max-height: calc(100vh - 20px);
    padding: 14px;
  }

  .progress-header {
    align-items: stretch;
    flex-direction: column;
    padding-right: 42px;
  }

  .progress-log-item {
    grid-template-columns: 1fr;
  }

  .offer-modal .field textarea {
    height: 150px;
  }

  .offer-modal .action-grid {
    grid-template-columns: 1fr;
  }
}
.public-site {
  min-height: 100vh;
  background: #f6f7fb;
  color: #19202a;
}

.public-hero {
  background: #111827;
  color: #ffffff;
  padding: 48px 20px 40px;
}

.public-hero-inner,
.public-main,
.public-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.public-hero h1 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.public-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.construction-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.construction-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle-track {
  position: relative;
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: #536174;
  transition: background 160ms ease;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 160ms ease;
}

.construction-toggle input:checked + .toggle-track {
  background: #16a34a;
}

.construction-toggle input:checked + .toggle-track::after {
  transform: translateX(22px);
}

.public-hero p:last-child {
  max-width: 640px;
  margin: 0;
  color: #d7dce7;
  font-size: 1.05rem;
}

.public-main {
  padding: 28px 0 40px;
}

.public-section-head {
  margin-bottom: 18px;
}

.public-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.public-offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
}

.public-offer-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.78;
  background: #f0f3f8;
}

.public-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.public-offer-fallback {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #dde5f3;
  color: #273449;
  font-size: 2rem;
  font-weight: 800;
}

.public-offer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.public-offer-category {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf2fb;
  color: #34445e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.category-check-field {
  border: 1px solid #d9ddca;
  border-radius: 14px;
  padding: 14px;
  margin: 0;
  background: #f7f9ef;
}

.category-check-field legend { padding: 0 7px; font-weight: 800; }
.category-check-field > p { margin: 0 0 12px; color: #6f746b; font-size: .82rem; }
.category-checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; margin-bottom: 12px; }
.category-checkbox { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid #d9ddca; border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; }
.category-checkbox:has(input:checked) { border-color: #a8db18; background: #f0ffd0; }
.category-checkbox input { accent-color: #8dbd00; }
.category-status-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.category-status-chip { background: #eff8d8; color: #456400; border-color: #d4e9a8; }
.category-rules-panel { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr); gap: 24px; margin-top: 18px; }
.category-rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.category-rules-grid textarea { min-height: 84px; resize: vertical; }
.offer-head-actions { display: flex; align-items: center; gap: 14px; }
.categories-manager-button {
  border: 1px solid #d9ff3f;
  border-radius: 10px;
  background: #18202b;
  box-shadow: 0 8px 22px rgba(205, 255, 33, .24);
  color: #d9ff3f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 10px 18px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.categories-manager-button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(205, 255, 33, .38); }
.category-rules-modal { max-width: 1280px; width: min(100%, 1280px); }
.category-rules-modal .progress-header p:last-child { color: var(--muted); margin: 8px 0 0; }
.category-rules-modal .form-actions { justify-content: flex-end; }

@media (max-width: 760px) {
  .category-rules-panel, .category-rules-grid { grid-template-columns: 1fr; }
  .offer-head-actions { align-items: flex-end; flex-direction: column-reverse; gap: 8px; }
  .offer-title-row { align-items: flex-start; flex-direction: column; gap: 10px; }
}

.public-offer-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.public-offer-body p {
  margin: 0;
  color: #526071;
  font-size: 0.9rem;
}

.public-price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.public-price-row strong {
  color: #087443;
  font-size: 1.2rem;
}

.public-price-row span {
  color: #667284;
  font-size: 0.85rem;
}

.public-offer-button {
  display: inline-flex;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #0b6bcb;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 28px;
  color: #667284;
  font-size: 0.85rem;
}

.public-footer p {
  margin: 0;
}

.public-footer a {
  color: #0b6bcb;
  font-weight: 700;
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: #f6f7fb;
  padding: 20px;
}

.login-card {
  width: min(420px, 100%);
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
}

.login-card h1 {
  margin: 4px 0 18px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-helper {
  margin: 14px 0 0;
  color: #667284;
  font-size: 0.9rem;
}

.login-link-button {
  background: transparent;
  border: 0;
  color: #0b6bcb;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  margin-top: 14px;
  padding: 0;
}

.login-link-button:hover {
  text-decoration: underline;
}

.login-feedback {
  color: #18794e;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 14px 0 0;
  min-height: 20px;
}

.login-feedback.is-error {
  color: #b42318;
}

.construction-card {
  width: min(560px, 100%);
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.construction-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 20px;
  background: #101114;
}

.construction-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.construction-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1;
}

.construction-copy {
  max-width: 430px;
  margin: 0 auto;
  color: #667284;
  font-size: 1.05rem;
  line-height: 1.65;
}

.construction-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 14px;
  color: #176b3a;
  background: #eaf8ef;
  border: 1px solid #bfe8cd;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.construction-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a35a;
  box-shadow: 0 0 0 5px rgba(34, 163, 90, 0.12);
}

.logout-form {
  margin: 0;
}

.published-offer-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.published-bulk-bar {
  align-items: center;
  background: #fff7d6;
  border: 1px solid #f3d36a;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 10px 12px;
}

.published-bulk-bar[hidden] {
  display: none;
}

.published-bulk-bar strong {
  color: #713f12;
  font-size: 14px;
  white-space: nowrap;
}

.published-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.published-offer-item {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  position: relative;
  background: #ffffff;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
}

.published-offer-item.batch-selected {
  border-color: #eab308;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.22);
}

.published-offer-item.is-pending-site {
  border-left: 5px solid #eab308;
}

.published-offer-select {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d6dce5;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  left: 12px;
  padding: 7px;
  position: absolute;
  top: 12px;
  z-index: 2;
}

.published-offer-select input {
  accent-color: var(--green);
  height: 18px;
  margin: 0;
  width: 18px;
}

.published-offer-image {
  align-items: center;
  align-self: stretch;
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 154px;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f3f8;
}

.published-offer-image img {
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.published-card-badge-zone {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: calc(50% - 12px);
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.published-card-badge-zone.is-top-left {
  left: 50px;
  top: 9px;
}

.published-card-badge-zone.is-top-right {
  align-items: flex-end;
  right: 9px;
  top: 9px;
}

.published-card-badge-zone.is-bottom-left {
  bottom: 9px;
  left: 9px;
}

.published-card-badge-zone.is-bottom-right {
  align-items: flex-end;
  bottom: 9px;
  right: 9px;
}

.published-card-badge {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d8dee8;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
  color: #475569;
  display: block;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.15;
  max-width: 150px;
  overflow: hidden;
  padding: 5px 8px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.published-card-badge.is-published,
.published-card-badge.is-price-down {
  background: rgba(220, 252, 231, 0.96);
  border-color: #86d49d;
  color: #146c36;
}

.published-card-badge.is-unpublished,
.published-card-badge.is-stale,
.published-card-badge.is-price-same,
.published-card-badge.is-shipping-unknown {
  background: rgba(241, 245, 249, 0.96);
  border-color: #d8dee8;
  color: #64748b;
}

.published-card-badge.is-price-up {
  background: rgba(255, 226, 229, 0.96);
  border-color: #f3a0aa;
  color: #b42332;
}

.published-card-badge.is-featured,
.published-card-badge.is-shipping-ok {
  background: rgba(234, 255, 157, 0.97);
  border-color: #a9d545;
  color: #263d00;
}

.published-card-badge.is-shipping-paid {
  background: rgba(255, 237, 196, 0.97);
  border-color: #e8bd5f;
  color: #7a4b00;
}

.published-card-badge.is-shipping-conditional {
  background: rgba(255, 245, 199, 0.98);
  border-color: #e6c34f;
  color: #6c5000;
}

.published-offer-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.published-offer-item .whatsapp-queue-title {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}

.published-offer-item .whatsapp-queue-title strong {
  flex: 1 1 200px;
  font-size: 15px;
}

.published-offer-main p,
.published-offer-main small {
  margin: 4px 0 0;
  color: #667284;
}

.published-offer-source {
  align-items: flex-start;
  display: flex;
  gap: 6px;
  line-height: 1.3;
}

.published-offer-source span {
  color: #64748b;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.published-offer-source strong {
  color: #334155;
  display: -webkit-box;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.published-offer-main .published-deal-highlight {
  background: #fff1f4;
  border: 1px solid #f4b4c3;
  border-radius: 7px;
  color: #9f1239;
  display: grid;
  gap: 2px;
  margin: 8px 0 3px;
  padding: 7px 8px;
}

.published-deal-highlight span {
  color: #be123c;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.published-deal-highlight strong {
  color: #881337;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.25;
}

.published-offer-item .whatsapp-queue-actions {
  align-content: start;
  border-left: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
  padding: 12px 0 0;
  width: 100%;
}

.published-offer-item .whatsapp-queue-actions .small-button {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  line-height: 1.2;
  min-height: 36px;
  min-width: 0;
  padding: 6px 8px;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.published-offer-item .whatsapp-queue-actions > :last-child {
  grid-column: 1 / -1;
}

.published-edit-modal {
  max-width: 760px;
  width: min(100%, 760px);
}

.public-site-settings-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(720px, 1.5fr);
  gap: 24px;
  margin-bottom: 14px;
}

.public-site-settings-copy h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.public-site-settings-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.public-site-settings-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  align-items: end;
  gap: 10px;
}

.public-site-settings-form button {
  min-height: 40px;
}

@media (max-width: 1300px) {
  .public-site-settings-panel {
    grid-template-columns: 1fr;
  }
}

.published-offer-item.is-featured-offer {
  border-color: #8ca818;
  box-shadow: 0 0 0 3px rgba(216, 255, 62, 0.3);
}

.featured-offer-label,
.whatsapp-queue-title .featured-offer-label {
  background: #eaff8f;
  color: #314000;
}

.featured-offer-button {
  border: 1px solid #b2d326;
  background: #d8ff3e;
  color: #1d2633;
  font-weight: 900;
  opacity: 1;
}

.published-edit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .published-filter-columns {
    grid-template-columns: 1fr;
  }

  .published-filter-column + .published-filter-column {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 1650px) {
  .published-offer-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .published-offer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .offer-collection-filter {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .offer-collection-filter > .published-filter-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-collection-filter .published-filter-chip {
    justify-content: center;
    min-width: 0;
    padding-inline: 8px;
  }

  .published-subnav {
    grid-template-columns: 1fr;
  }

  .published-filter-topline {
    grid-template-columns: 1fr;
  }

  .published-filter-feedback {
    justify-content: space-between;
  }

  .channel-edit-form,
  .proxy-edit-form {
    grid-template-columns: 1fr;
  }

  .public-site-settings-panel,
  .public-site-settings-form {
    grid-template-columns: 1fr;
  }

  .public-footer,
  .published-offer-item {
    grid-template-columns: 1fr;
  }

  .published-offer-list {
    grid-template-columns: 1fr;
  }

  .published-bulk-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .published-bulk-actions {
    justify-content: stretch;
  }

  .published-bulk-actions .small-button {
    flex: 1;
  }

  .published-offer-item .whatsapp-queue-actions {
    border-top: 1px solid var(--line);
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 12px;
  }

  .published-offer-image {
    justify-self: center;
  }

  .published-edit-grid {
    grid-template-columns: 1fr;
  }

  .public-footer {
    display: grid;
  }
}

/* Public storefront polish */
.public-site {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34rem),
    linear-gradient(180deg, #f7f9fd 0%, #eef3f9 100%);
  color: #101828;
}

.public-hero {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #101828;
  padding: 12px 20px;
  backdrop-filter: blur(12px);
}

.public-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 1.12rem;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
}

.public-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff6a00, #ffb000);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.24);
}

.construction-toggle {
  color: #334155;
}

.public-main {
  padding: 34px 0 42px;
}

.public-section-head {
  align-items: end;
  margin-bottom: 20px;
}

.public-section-head h1 {
  max-width: 720px;
  margin: 4px 0 0;
  color: #101828;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.06;
}

.public-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dde6f2;
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}

.public-offer-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.public-offer-card {
  position: relative;
  min-height: 440px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.public-offer-card:hover {
  border-color: #ff9d00;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.public-offer-image {
  position: relative;
  height: 238px;
  aspect-ratio: auto;
  border-bottom: 1px solid #edf1f6;
  background: #ffffff;
}

.public-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.public-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 8px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.15;
  max-width: calc(100% - 24px);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.24);
  text-align: left;
  white-space: normal;
}

.public-offer-body {
  gap: 9px;
  padding: 14px;
}

.public-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 800;
}

.public-offer-category {
  max-width: 58%;
  overflow: hidden;
  background: #fff4df;
  color: #9a5a00;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-offer-body h3 {
  display: -webkit-box;
  min-height: 3.85em;
  overflow: hidden;
  color: #101828;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-offer-body p {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: #667085;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-price-row {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #edf1f6;
}

.public-price-row strong {
  color: #079455;
  font-size: 1.36rem;
  letter-spacing: 0;
}

.public-offer-button {
  margin-top: 2px;
  background: linear-gradient(135deg, #ff6a00, #ff9d00);
  box-shadow: 0 12px 22px rgba(255, 106, 0, 0.22);
}

.public-offer-button:hover {
  filter: brightness(0.98);
}

@media (max-width: 720px) {
  .public-hero {
    padding: 10px 14px;
  }

  .public-brand {
    font-size: 1rem;
  }

  .public-brand-mark {
    width: 30px;
    height: 30px;
  }

  .construction-toggle {
    font-size: 0.78rem;
  }

  .public-section-head {
    align-items: start;
  }

  .public-offer-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Hard locks for storefront cards: product images must never invade content. */
.public-offer-grid {
  align-items: stretch;
}

.public-offer-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 458px;
  min-height: 0;
  overflow: hidden;
}

.public-offer-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.public-offer-image > img {
  box-sizing: border-box;
  display: block;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 18px;
  object-fit: contain;
  object-position: center;
}

.public-offer-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
  padding-bottom: 16px;
}

.public-offer-body p {
  display: none;
}

.public-card-topline,
.public-price-row,
.public-offer-button {
  flex-shrink: 0;
}

/* Wider storefront layout */
.public-hero-inner,
.public-main,
.public-footer {
  width: min(90vw, 1680px);
}

.public-offer-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.public-offer-card {
  height: 438px;
}

.public-offer-body {
  padding: 12px;
}

.public-card-topline {
  font-size: 0.7rem;
}

.public-offer-body h3 {
  font-size: 0.93rem;
}

.public-price-row strong {
  font-size: 1.2rem;
}

@media (max-width: 1350px) {
  .public-offer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .public-offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .public-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .public-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .public-offer-grid {
    grid-template-columns: 1fr;
  }
}

.public-price-row span {
  color: #b85d5d;
}

.public-offer-button {
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
}

/* Premium public storefront — v2 */
.public-site {
  --premium-ink: #111214;
  --premium-charcoal: #17191d;
  --premium-lime: #d8ff3e;
  --premium-lime-dark: #bfe91c;
  --premium-coral: #ff6542;
  --premium-cream: #f6f4ed;
  --premium-paper: #ffffff;
  --premium-copy: #191b20;
  --premium-muted: #6d706f;
  --premium-line: #dedfd9;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--premium-cream);
  color: var(--premium-copy);
  font-family: "Segoe UI", Arial, sans-serif;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site strong,
.public-site .public-brand-copy {
  font-family: Arial, "Segoe UI", sans-serif;
}

.public-site a:focus-visible,
.public-site button:focus-visible,
.public-site input:focus-visible,
.public-site select:focus-visible {
  outline: 3px solid var(--premium-lime);
  outline-offset: 3px;
}

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

.store-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(17, 18, 20, 0.62);
  backdrop-filter: blur(18px);
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.store-header.scrolled {
  padding-block: 11px;
  background: rgba(17, 18, 20, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.store-header-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.store-header .public-brand,
.premium-footer .public-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
}

.store-header .public-brand-mark,
.premium-footer .public-brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 62, 0.34);
  border-radius: 13px 5px 13px 5px;
  background: var(--premium-ink);
  box-shadow: 0 0 30px rgba(216, 255, 62, 0.24);
  transform: rotate(-3deg);
}

.store-header .public-brand-mark img,
.premium-footer .public-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.public-brand-copy {
  display: grid;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.public-brand-copy strong,
.public-brand-copy em {
  font-style: normal;
}

.public-brand-copy em {
  color: var(--premium-lime);
  letter-spacing: 0.16em;
}

.store-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.store-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.store-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--premium-lime);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.store-nav a:hover {
  color: #fff;
}

.store-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.header-cta:hover {
  border-color: var(--premium-lime);
  background: rgba(216, 255, 62, 0.08);
}

.header-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--premium-lime);
  box-shadow: 0 0 0 5px rgba(216, 255, 62, 0.12);
  animation: premiumPulse 1.8s ease-in-out infinite;
}

.premium-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 148px 30px 118px;
  background: var(--premium-ink);
  color: #fff;
}

.premium-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.8fr);
  align-items: center;
  gap: clamp(54px, 8vw, 128px);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-ambient-one {
  top: 3%;
  right: 2%;
  width: 570px;
  height: 570px;
  background: radial-gradient(circle, rgba(216, 255, 62, 0.18), rgba(216, 255, 62, 0) 68%);
  animation: ambientDrift 8s ease-in-out infinite;
}

.hero-ambient-two {
  bottom: -43%;
  left: -12%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 101, 66, 0.15), rgba(255, 101, 66, 0) 67%);
}

.hero-kicker,
.premium-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--premium-lime);
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker span,
.premium-eyebrow span {
  width: 29px;
  height: 2px;
  background: currentColor;
}

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(3.8rem, 6.2vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.87;
}

.hero-copy h1 em,
.deal-section-heading h2 em,
.curation-copy h2 em,
.vip-card h2 em {
  color: var(--premium-lime);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.hero-whatsapp-copy {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.hero-cta-buttons {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.hero-secondary-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-primary-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  overflow: hidden;
  padding: 0 13px 0 19px;
  border: 0;
  border-radius: 4px;
  background: var(--premium-lime);
  color: var(--premium-ink);
  box-shadow: 0 18px 50px rgba(216, 255, 62, 0.13);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-primary-button::before,
.hero-primary-button::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero-primary-button::before {
  z-index: 0;
  inset: -220%;
  background: conic-gradient(
    from 0deg,
    var(--premium-lime) 0deg 44deg,
    rgba(255, 255, 255, 0.94) 44deg 51deg,
    #ffffff 51deg 83deg,
    rgba(255, 255, 255, 0.94) 83deg 90deg,
    var(--premium-lime) 90deg 150deg,
    var(--premium-ink) 150deg 160deg,
    var(--premium-lime) 160deg 224deg,
    rgba(255, 255, 255, 0.94) 224deg 231deg,
    #ffffff 231deg 263deg,
    rgba(255, 255, 255, 0.94) 263deg 270deg,
    var(--premium-lime) 270deg 330deg,
    var(--premium-ink) 330deg 340deg,
    var(--premium-lime) 340deg 360deg
  );
  animation: heroCtaBorderRun 3.1s linear infinite;
}

.hero-primary-button::after {
  z-index: 1;
  inset: 3px;
  border-radius: 1px;
  background: var(--premium-lime);
  box-shadow: inset 0 0 0 1px rgba(17, 18, 20, 0.06);
}

.hero-primary-button strong {
  position: relative;
  z-index: 2;
  color: rgba(17, 18, 20, 0.76);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-primary-button em {
  position: relative;
  z-index: 2;
  color: var(--premium-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.hero-primary-button span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--premium-ink);
  color: var(--premium-lime);
  font-size: 1rem;
}

.hero-primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(216, 255, 62, 0.22);
}

.hero-primary-button:hover::before {
  animation-duration: 1.9s;
}

.hero-primary-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.hero-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.hero-secondary-button span {
  color: var(--premium-lime);
  font-size: 1rem;
}

.hero-secondary-button:hover {
  border-color: var(--premium-lime);
  background: rgba(216, 255, 62, 0.08);
  color: #fff;
}

.hero-secondary-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 13px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars i {
  display: grid;
  width: 31px;
  height: 31px;
  margin-left: -7px;
  place-items: center;
  border: 2px solid var(--premium-ink);
  border-radius: 50%;
  background: #fff;
  color: var(--premium-ink);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 900;
}

.proof-avatars i:first-child {
  margin-left: 0;
  background: var(--premium-coral);
  color: #fff;
}

.proof-avatars i:last-child {
  background: var(--premium-lime);
}

.hero-social-proof > span:last-child {
  display: grid;
  gap: 2px;
}

.hero-social-proof strong {
  font-size: 0.75rem;
}

.hero-social-proof small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.68rem;
}

.hero-metrics {
  display: flex;
  gap: clamp(22px, 4vw, 52px);
  margin-top: 56px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics div {
  display: grid;
  gap: 4px;
}

.hero-metrics strong {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-showcase {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.showcase-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(216, 255, 62, 0.21);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
  animation: orbitSpin 28s linear infinite;
}

.orbit-one::after,
.orbit-two::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 48px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--premium-lime);
  box-shadow: 0 0 20px var(--premium-lime);
}

.orbit-two {
  width: 425px;
  height: 425px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.13);
  animation: orbitSpin 20s linear infinite reverse;
}

.orbit-two::after {
  top: auto;
  bottom: 28px;
  left: auto;
  right: 88px;
  background: var(--premium-coral);
  box-shadow: 0 0 20px var(--premium-coral);
}

.showcase-card {
  width: min(390px, 82%);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--premium-ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  text-decoration: none;
  transform: rotate(2.2deg);
  animation: cardFloat 5.5s ease-in-out infinite;
  transition: opacity 180ms ease, filter 180ms ease;
}

.showcase-card.is-changing {
  opacity: 0;
  filter: blur(5px);
}

.showcase-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid #e8e9e4;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.09em;
}

.showcase-carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-inline: auto;
}

.showcase-carousel-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5c7c0;
  transition: width 180ms ease, background 180ms ease;
}

.showcase-carousel-dots i.active {
  width: 14px;
  border-radius: 999px;
  background: var(--premium-coral);
}

.showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #646863;
}

.showcase-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3bb65f;
  animation: premiumPulse 1.8s ease-in-out infinite;
}

.showcase-product-image {
  position: relative;
  display: grid;
  height: 252px;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
}

.showcase-product-image::after {
  content: none;
}

.showcase-product-image img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 26px;
  box-sizing: border-box;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  filter: none;
}

.showcase-loader {
  width: 42px;
  height: 42px;
  border: 4px solid #ddd;
  border-top-color: var(--premium-ink);
  border-radius: 50%;
  animation: orbitSpin 1s linear infinite;
}

.showcase-card-body {
  position: relative;
  z-index: 10;
  padding: 20px 20px 18px;
  border-radius: 0 0 21px 21px;
  background: linear-gradient(180deg, #eeeeec 0%, #dde1dc 100%);
}

.showcase-discount {
  position: absolute;
  z-index: 20;
  top: -18px;
  right: 16px;
  padding: 10px 13px;
  border-radius: 5px;
  background: var(--premium-coral);
  color: #fff;
  box-shadow: 0 9px 22px rgba(255, 101, 66, 0.27);
  font-size: 0.73rem;
  font-weight: 950;
}

.showcase-card-body h2 {
  display: -webkit-box;
  min-height: 2.4em;
  margin: 0 50px 14px 0;
  overflow: hidden;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.showcase-price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  border-top: 1px solid #e5e5df;
}

.showcase-price-line > div {
  display: grid;
  gap: 1px;
}

.showcase-price-line small {
  color: #787b76;
  font-size: 0.65rem;
}

.showcase-price-line strong {
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.showcase-link-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--premium-ink);
  color: var(--premium-lime);
  text-decoration: none;
  transition: transform 180ms ease;
}

.showcase-card:hover .showcase-link-arrow {
  transform: rotate(12deg) scale(1.07);
}

.showcase-float-tag {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(35, 37, 40, 0.92);
  box-shadow: 0 13px 38px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  animation: tagFloat 4s ease-in-out infinite;
}

.showcase-float-tag span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--premium-lime);
  color: var(--premium-ink);
}

.float-tag-top {
  top: 38px;
  left: -4px;
}

.float-tag-bottom {
  right: -25px;
  bottom: 55px;
  animation-delay: -1.7s;
}

.float-tag-bottom span {
  background: var(--premium-coral);
  color: #fff;
}

.hero-ticker {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.17);
}

.hero-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 26s linear infinite;
}

.hero-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  padding: 20px 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.hero-ticker b {
  color: var(--premium-lime);
}

.trust-bar {
  padding: 0 30px;
  border-bottom: 1px solid var(--premium-line);
  background: #fff;
}

.trust-bar-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-bar-inner > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 105px;
  padding: 18px clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--premium-line);
}

.trust-bar-inner > div:first-child {
  padding-left: 0;
}

.trust-bar-inner > div:last-child {
  border-right: 0;
}

.trust-bar-inner > div > span {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d9dbd3;
  border-radius: 50%;
  color: var(--premium-copy);
  font-size: 0.9rem;
  font-weight: 900;
}

.trust-bar-inner p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.trust-bar-inner strong {
  font-size: 0.82rem;
}

.trust-bar-inner small {
  color: var(--premium-muted);
  font-size: 0.69rem;
}

.deal-section {
  padding: 100px 30px 120px;
  scroll-margin-top: 70px;
  background:
    radial-gradient(circle at 95% 12%, rgba(216, 255, 62, 0.19), transparent 23rem),
    var(--premium-cream);
}

.deal-section-inner,
.curation-inner,
.vip-card,
.premium-footer-inner,
.premium-footer-legal {
  width: min(1380px, 100%);
  margin-inline: auto;
}

.deal-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 50px;
}

.premium-eyebrow {
  margin-bottom: 16px;
  color: #747870;
}

.premium-eyebrow span {
  background: var(--premium-coral);
}

.deal-section-heading h2,
.curation-copy h2,
.vip-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.deal-section-heading h2 em {
  color: var(--premium-coral);
}

.deal-section-heading > p {
  margin: 0 0 5px;
  color: var(--premium-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.deal-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
  margin-top: 52px;
}

.deal-search,
.deal-sort {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid #d7d8d2;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.deal-search:focus-within,
.deal-sort:focus-within {
  border-color: var(--premium-copy);
  box-shadow: 0 0 0 4px rgba(25, 27, 32, 0.05);
}

.deal-search > span:not(.sr-only) {
  padding-left: 19px;
  color: #6c7069;
  font-size: 1.45rem;
}

.deal-search input {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--premium-copy);
  font-size: 0.88rem;
}

.deal-search kbd {
  margin-right: 13px;
  padding: 6px 8px;
  border: 1px solid #dcddd7;
  border-radius: 4px;
  background: #f3f3ef;
  color: #7b7e77;
  font-family: inherit;
  font-size: 0.59rem;
  font-weight: 800;
}

.deal-sort select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: #fff;
  color: var(--premium-copy);
  font-size: 0.82rem;
  font-weight: 750;
}

.deal-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 19px 0 32px;
}

.deal-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deal-filter-chips button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d8d9d3;
  border-radius: 999px;
  background: transparent;
  color: #656960;
  font-size: 0.7rem;
  font-weight: 800;
  transition: all 150ms ease;
}

.deal-filter-chips button:hover,
.deal-filter-chips button.active {
  border-color: var(--premium-copy);
  background: var(--premium-copy);
  color: #fff;
}

.deal-filter-chips button[data-filter="daily"] {
  border-color: rgba(220, 38, 38, 0.44);
  background: rgba(239, 68, 68, 0.06);
  color: #b91c1c;
}

.deal-filter-chips button[data-filter="daily"]:hover,
.deal-filter-chips button[data-filter="daily"].active {
  border-color: #b91c1c;
  background: #b91c1c;
  color: #fff;
}

.deal-filter-chips button[data-filter="daily"] span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef2020;
  box-shadow: 0 0 0 3px rgba(239, 32, 32, 0.18), 0 0 10px rgba(220, 38, 38, 0.7);
  animation: dailyOfferPulse 1.05s ease-in-out infinite;
}

.deal-filter-chips button[data-filter="daily"].active span,
.deal-filter-chips button[data-filter="daily"]:hover span {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22), 0 0 11px rgba(255, 255, 255, 0.85);
}

@keyframes dailyOfferPulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .deal-filter-chips button[data-filter="daily"] span {
    animation: none;
  }
}

.deal-filter-row .public-count-pill {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #787c73;
  font-size: 0.72rem;
  font-weight: 750;
}

.deal-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -18px 0 18px;
}

.deal-category-row[hidden] {
  display: none;
}

.deal-category-row > span {
  flex: 0 0 auto;
  color: #787c73;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.deal-category-chips button {
  min-height: 32px;
  padding: 0 12px;
}

.deal-section .public-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.deal-section .public-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid #dedfd9;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease var(--card-delay), transform 420ms ease var(--card-delay), border-color 180ms ease, box-shadow 180ms ease;
}

.deal-section .public-offer-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.deal-section .public-offer-card:hover {
  z-index: 2;
  border-color: #adafa7;
  box-shadow: 0 25px 55px rgba(25, 27, 32, 0.11);
  transform: translateY(-6px);
}

.deal-section .public-offer-image {
  position: relative;
  display: grid;
  width: 100%;
  height: 282px;
  min-height: 282px;
  aspect-ratio: auto;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #ebece6;
  background: #ffffff;
}

.deal-section .public-offer-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 32px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.deal-section .public-offer-card:hover .public-offer-image > img {
  transform: scale(1.06) rotate(-1deg);
}

.card-badges {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: start;
  gap: 6px;
  justify-content: space-between;
  pointer-events: none;
}

.deal-section .public-discount-badge {
  position: static;
  max-width: 74%;
  padding: 8px 10px;
  border-radius: 3px;
  background: var(--premium-coral);
  box-shadow: 0 7px 18px rgba(255, 101, 66, 0.22);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.card-verified-badge {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #d9dbd4;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #4b7b2c;
  font-size: 0.68rem;
  font-weight: 950;
  backdrop-filter: blur(8px);
}

.card-image-tags {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: calc(100% - 24px);
}

.card-lowest-price {
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 3px;
  background: var(--premium-coral);
  box-shadow: 0 7px 18px rgba(255, 101, 66, 0.22);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.card-store,
.card-shipping {
  padding: 5px 7px;
  border: 1px solid #e0e1db;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  color: #777b73;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-shipping {
  border-color: #aacb26;
  background: #d8ff3e;
  color: #263600;
  font-weight: 950;
}

.deal-section .public-offer-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  padding: 17px 17px 16px;
  background: linear-gradient(180deg, #f3f3ed 0%, #e7ecd7 100%);
}

.deal-section .public-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8a8d87;
  font-size: 0.62rem;
  font-weight: 750;
}

.deal-section .public-offer-category {
  max-width: 55%;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #74786f;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.deal-section .public-offer-body h3 {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0;
  overflow: hidden;
  color: var(--premium-copy);
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.deal-section .public-price-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #dcddd5;
}

.old-price {
  color: #8b8e87 !important;
  font-size: 0.68rem !important;
  text-decoration: line-through;
}

.current-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.deal-section .public-price-row .current-price strong {
  color: var(--premium-copy);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.current-price small {
  color: #8a8d86;
  font-size: 0.61rem;
}

.deal-section .public-offer-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  margin-top: 3px;
  padding: 0 14px;
  border-radius: 3px;
  background: var(--premium-copy);
  box-shadow: none;
  color: var(--premium-lime);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.deal-section .public-offer-button span {
  position: absolute;
  right: 14px;
  color: var(--premium-lime);
  font-size: 0.95rem;
}

.deal-section .public-offer-button:hover {
  background: var(--premium-lime);
  color: var(--premium-copy);
  filter: none;
}

.deal-section .public-offer-button:hover span {
  color: var(--premium-copy);
}

.deal-skeleton {
  min-height: 530px;
  border: 1px solid #e0e1db;
  background: linear-gradient(100deg, #efefe9 20%, #fafaf7 40%, #efefe9 60%);
  background-size: 200% 100%;
  animation: skeletonSweep 1.4s ease infinite;
}

.premium-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #c8cac2;
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.premium-empty > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--premium-copy);
  color: var(--premium-lime);
  font-size: 1.3rem;
}

.premium-empty strong {
  margin-top: 8px;
  font-size: 1.15rem;
}

.premium-empty p {
  margin: 0;
  color: var(--premium-muted);
  font-size: 0.82rem;
}

.premium-empty button {
  margin-top: 10px;
  padding: 10px 16px;
  border: 0;
  background: var(--premium-lime);
  color: var(--premium-copy);
  font-weight: 850;
}

.curation-section {
  padding: 110px 30px;
  scroll-margin-top: 60px;
  background: var(--premium-charcoal);
  color: #fff;
}

.curation-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(60px, 10vw, 160px);
}

.premium-eyebrow.light {
  color: var(--premium-lime);
}

.premium-eyebrow.light span {
  background: currentColor;
}

.curation-copy h2 em {
  color: var(--premium-lime);
}

.curation-copy > p:not(.premium-eyebrow) {
  max-width: 500px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.7;
}

.curation-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--premium-lime);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.curation-copy > a span {
  color: var(--premium-lime);
}

.curation-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.curation-steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.curation-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.curation-steps li > span {
  color: var(--premium-lime);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
}

.curation-steps strong {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.curation-steps p {
  max-width: 400px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.84rem;
  line-height: 1.55;
}

.vip-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 90px 30px;
  background:
    radial-gradient(circle at 12% 30%, rgba(208, 255, 47, 0.28), transparent 25rem),
    radial-gradient(circle at 88% 72%, rgba(56, 112, 255, 0.12), transparent 27rem),
    linear-gradient(118deg, #fbfcf8 0%, #f2f7f7 48%, #fbfbf6 100%);
  background-position: -8% 4%, 108% 96%, 0 0;
  background-size: 132% 132%, 132% 132%, 100% 100%;
  animation: vipAmbientShift 9s ease-in-out infinite alternate;
}

.vip-section::before,
.vip-section::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
}

.vip-section::before {
  inset: -80px;
  background-image:
    linear-gradient(rgba(17, 18, 20, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, 0.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(146, 185, 12, 0.72) 1.2px, transparent 1.8px);
  background-position: center;
  background-size: 56px 56px, 56px 56px, 28px 28px;
  opacity: 0.52;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse at center, #000 18%, transparent 76%);
  animation: vipGridDrift 11s linear infinite;
}

.vip-section::after {
  top: -135%;
  left: 0;
  width: 18%;
  height: 380%;
  background: linear-gradient(
    90deg,
    rgba(165, 210, 20, 0) 0%,
    rgba(165, 210, 20, 0.32) 20%,
    rgba(165, 210, 20, 0.64) 50%,
    rgba(165, 210, 20, 0.32) 80%,
    rgba(165, 210, 20, 0) 100%
  );
  filter: blur(3px);
  opacity: 0.78;
  transform: translate3d(-35vw, 0, 0) rotate(17deg);
  animation: vipScanSweep 3.9s linear infinite;
}

.vip-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  padding: clamp(45px, 7vw, 82px);
  background: var(--premium-lime);
  color: var(--premium-copy);
}

.vip-glow {
  position: absolute;
  top: -70%;
  right: 5%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(17, 18, 20, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(17, 18, 20, 0.025), 0 0 0 110px rgba(17, 18, 20, 0.025);
}

.vip-card > div:not(.vip-glow) {
  position: relative;
  z-index: 1;
  transform: translateY(-14px);
}

.vip-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 12px;
  background: var(--premium-copy);
  color: var(--premium-lime);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.vip-card h2 {
  font-size: clamp(2.7rem, 4.35vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.vip-card h2 em {
  color: var(--premium-copy);
}

.vip-card p {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(17, 18, 20, 0.9);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.vip-group-links {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 min(330px, 100%);
  gap: 10px;
  width: min(330px, 100%);
}

.vip-group-links > a {
  position: relative;
  display: inline-flex;
  min-width: 240px;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 22px;
  border: 1px solid rgba(25, 27, 32, 0.3);
  color: var(--premium-copy);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.vip-group-links > a[hidden] {
  display: none;
}

.vip-group-links > a:hover {
  background: var(--premium-copy);
  color: #fff;
}

@keyframes vipAmbientShift {
  0% {
    background-position: -8% 4%, 108% 96%, 0 0;
  }
  50% {
    background-position: 8% 18%, 94% 78%, 0 0;
  }
  100% {
    background-position: 18% 7%, 82% 92%, 0 0;
  }
}

@keyframes vipGridDrift {
  from {
    transform: translate3d(-28px, -28px, 0);
  }
  to {
    transform: translate3d(28px, 28px, 0);
  }
}

@keyframes vipScanSweep {
  from {
    transform: translate3d(-18vw, 0, 0) rotate(17deg);
  }
  to {
    transform: translate3d(118vw, 0, 0) rotate(17deg);
  }
}

.premium-footer {
  padding: 76px 30px 24px;
  background: var(--premium-ink);
  color: #fff;
}

.premium-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 54px;
}

.premium-footer-inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--premium-lime);
}

.premium-footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.65rem;
}

.premium-footer-legal p {
  max-width: 720px;
  margin: 0;
}

@keyframes premiumPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.82); }
}

@keyframes ambientDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-35px, 25px, 0) scale(1.08); }
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(2.2deg); }
  50% { transform: translateY(-12px) rotate(1.3deg); }
}

@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes tickerMove {
  to { transform: translateX(-50%); }
}

@keyframes heroCtaBorderRun {
  to { transform: rotate(1turn); }
}

@keyframes skeletonSweep {
  to { background-position: -200% 0; }
}

@media (max-width: 1180px) {
  .premium-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 6.5vw, 5.5rem);
  }

  .deal-section .public-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar-inner > div:nth-child(2) {
    border-right: 0;
  }

  .trust-bar-inner > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--premium-line);
  }
}

@media (max-width: 900px) {
  .store-nav {
    display: none;
  }

  .premium-hero {
    padding-top: 130px;
  }

  .premium-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-kicker,
  .hero-actions,
  .hero-metrics {
    justify-content: center;
  }

  .hero-copy h1,
  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-showcase {
    min-height: 550px;
  }

  .float-tag-top {
    left: 14%;
  }

  .float-tag-bottom {
    right: 11%;
  }

  .deal-section-heading,
  .curation-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .deal-section-heading > p {
    max-width: 620px;
  }

  .deal-section .public-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curation-steps {
    margin-top: 15px;
  }

  .vip-card,
  .premium-footer-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .vip-card {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .store-header {
    padding: 11px 16px;
  }

  .store-header .public-brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 0.7rem;
  }

  .public-brand-copy {
    font-size: 0.7rem;
  }

  .premium-hero {
    min-height: auto;
    padding: 112px 18px 106px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
    line-height: 0.9;
  }

  .hero-copy > p {
    margin-top: 24px;
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 29px;
  }

  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-secondary-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-primary-button,
  .hero-secondary-button {
    width: 100%;
    max-width: 340px;
  }

  .hero-metrics {
    gap: 20px;
    margin-top: 38px;
  }

  .hero-metrics strong {
    font-size: 1.3rem;
  }

  .hero-metrics span {
    font-size: 0.56rem;
  }

  .hero-showcase {
    min-height: 490px;
  }

  .showcase-card {
    width: min(340px, 88%);
  }

  .showcase-product-image {
    height: 220px;
  }

  .orbit-one {
    width: 430px;
    height: 430px;
  }

  .orbit-two {
    width: 350px;
    height: 350px;
  }

  .showcase-float-tag {
    font-size: 0.62rem;
  }

  .float-tag-top {
    top: 30px;
    left: -2px;
  }

  .float-tag-bottom {
    right: -4px;
    bottom: 34px;
  }

  .trust-bar {
    padding-inline: 18px;
  }

  .trust-bar-inner {
    grid-template-columns: 1fr;
  }

  .trust-bar-inner > div,
  .trust-bar-inner > div:first-child {
    min-height: 84px;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--premium-line);
  }

  .deal-section,
  .curation-section,
  .vip-section {
    padding: 72px 18px;
  }

  .deal-section-heading h2,
  .curation-copy h2,
  .vip-card h2 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .deal-toolbar {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .deal-filter-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .deal-filter-chips {
    flex-wrap: nowrap;
    width: 100%;
    margin-right: 0;
    padding-right: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .deal-filter-chips button {
    flex: 0 0 auto;
  }

  .deal-section .public-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .deal-section .public-offer-card {
    min-height: 388px;
  }

  .deal-section .public-offer-image {
    height: 158px;
    min-height: 158px;
  }

  .deal-section .public-offer-image > img {
    padding: 17px;
  }

  .deal-section .card-badges {
    top: 9px;
    right: 9px;
    left: 9px;
    gap: 4px;
  }

  .deal-section .public-discount-badge {
    max-width: 42%;
    padding: 6px 7px;
    font-size: 0.54rem;
  }

  .deal-section .card-image-tags {
    right: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    gap: 4px;
  }

  .deal-section .card-lowest-price {
    max-width: 58%;
    padding: 6px 7px;
    font-size: 0.54rem;
    line-height: 1.1;
    white-space: normal;
  }

  .deal-section .card-store,
  .deal-section .card-shipping {
    overflow: hidden;
    padding: 4px 5px;
    font-size: 0.48rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .deal-section .public-offer-body {
    gap: 8px;
    padding: 12px 10px 10px;
  }

  .deal-section .public-card-topline > span:last-child {
    display: none;
  }

  .deal-section .public-offer-category {
    max-width: 100%;
    font-size: 0.54rem;
  }

  .deal-section .public-offer-body h3 {
    min-height: 3.8em;
    font-size: 0.75rem;
    line-height: 1.28;
    -webkit-line-clamp: 3;
  }

  .deal-section .public-price-row {
    padding-top: 8px;
  }

  .deal-section .old-price {
    font-size: 0.57rem !important;
  }

  .deal-section .public-price-row .current-price strong {
    font-size: 1.12rem;
  }

  .deal-section .current-price {
    gap: 4px;
  }

  .deal-section .current-price small {
    font-size: 0.5rem;
  }

  .deal-section .public-offer-button {
    min-height: 40px;
    padding: 0 24px 0 8px;
    font-size: 0.64rem;
    line-height: 1.15;
    text-align: center;
  }

  .deal-section .public-offer-button span {
    right: 8px;
    font-size: 0.75rem;
  }

  .deal-section .deal-skeleton {
    min-height: 388px;
  }

  .curation-steps li {
    grid-template-columns: 46px 1fr;
    gap: 15px;
  }

  .vip-card {
    padding: 38px 24px;
  }

  .vip-group-links,
  .vip-group-links > a {
    min-width: 0;
    width: 100%;
  }

  .premium-footer {
    padding: 58px 18px 22px;
  }

  .premium-footer-legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-site *,
  .public-site *::before,
  .public-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Publicacao manual na hospedagem */
.hosting-area {
  min-width: 0;
}

.hosting-connection-badge {
  background: #fff4d6;
  border: 1px solid #edc966;
  border-radius: 999px;
  color: #765300;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
}

.hosting-connection-badge.is-ready {
  background: #eaf8ef;
  border-color: #83c99b;
  color: #11662f;
}

.hosting-intro {
  align-items: center;
  background: linear-gradient(135deg, #f5fff8, #fff);
  border-color: #a9d9b9;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hosting-intro strong,
.hosting-panel h3,
.hosting-publish-panel h3 {
  color: var(--text);
  display: block;
  font-size: 17px;
  margin: 0 0 5px;
}

.hosting-intro p,
.hosting-panel-head p,
.hosting-publish-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.hosting-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.hosting-status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px;
}

.hosting-status-card > span,
.hosting-status-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hosting-status-card strong {
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hosting-status-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hosting-status-card-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.hosting-configure-button,
.hosting-test-button {
  border-radius: 7px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.hosting-configure-button {
  background: #eaf8ef;
  border: 1px solid #83c99b;
  color: #11662f;
  min-height: 27px;
  padding: 6px 9px;
}

.hosting-configure-button:hover:not(:disabled) {
  background: #d8f2e1;
  border-color: #55ad74;
}

.hosting-test-button {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  margin-top: auto;
  min-height: 29px;
  padding: 7px 10px;
}

.hosting-test-button:hover:not(:disabled) {
  background: var(--surface-muted);
  border-color: #aeb8c5;
}

.hosting-configure-button:disabled,
.hosting-test-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.hosting-card-status {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.hosting-card-status:empty {
  display: none;
}

.hosting-panel {
  margin-bottom: 14px;
}

.hosting-panel-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
}

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

.hosting-settings-modal {
  max-width: 900px;
  width: min(100%, 900px);
}

.hosting-settings-modal .progress-header p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 5px 0 0;
}

.hosting-wide-field {
  grid-column: span 2;
}

.hosting-form-actions {
  display: flex;
  gap: 9px;
  grid-column: span 2;
}

.hosting-form-actions button {
  flex: 1;
}

.hosting-inline-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 12px 0 0;
  min-height: 19px;
}

.hosting-preview-empty {
  background: var(--surface-muted);
  border: 1px dashed #aeb8c5;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  padding: 22px;
  text-align: center;
}

.hosting-preview-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hosting-change-card {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.hosting-change-card strong {
  font-size: 22px;
}

.hosting-change-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.hosting-change-card.is-positive {
  background: #f0faf3;
  border-color: #b6dec3;
}

.hosting-change-card.is-warning {
  background: #fff9df;
  border-color: #ead47a;
}

.hosting-change-card.is-danger {
  background: #fff2f1;
  border-color: #efb6b0;
}

.hosting-hero-summary {
  align-items: center;
  background: #f7f8ed;
  border: 1px solid #dce778;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 10px;
  padding: 12px;
}

.hosting-hero-icon {
  align-items: center;
  background: #d9f526;
  border-radius: 8px;
  color: #171b20;
  display: flex;
  font-size: 17px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.hosting-hero-summary strong {
  display: block;
  font-size: 13px;
}

.hosting-hero-summary p,
.hosting-preview-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 3px 0 0;
}

.hosting-hero-summary > span {
  color: #667414;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.hosting-publish-panel {
  align-items: center;
  background: #171b20;
  border-color: #171b20;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 0;
}

.hosting-publish-panel h3 {
  color: #fff;
}

.hosting-publish-panel p,
.hosting-publish-panel .eyebrow {
  color: #bdc6d0;
}

.hosting-publish-button {
  background: #d9f526;
  border: 1px solid #d9f526;
  border-radius: 8px;
  color: #171b20;
  font-weight: 900;
  min-height: 46px;
  padding: 11px 22px;
  white-space: nowrap;
}

.hosting-publish-button:disabled {
  background: #50575e;
  border-color: #50575e;
  color: #aab1b8;
  cursor: not-allowed;
}

.hosting-publish-status {
  margin: 8px 2px 14px;
}

.hosting-history-list {
  display: grid;
  gap: 8px;
}

.hosting-history-item {
  align-items: center;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 11px;
}

.hosting-history-item.is-error {
  background: #fff2f1;
  border-color: #efb6b0;
}

.hosting-history-status {
  align-items: center;
  background: #dff4e6;
  border-radius: 999px;
  color: #15813d;
  display: flex;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.hosting-history-item.is-error .hosting-history-status {
  background: #f9d5d2;
  color: #a52b22;
}

.hosting-history-item strong,
.hosting-history-item span {
  display: block;
}

.hosting-history-item strong {
  font-size: 13px;
}

.hosting-history-item span,
.hosting-history-item p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  margin: 2px 0 0;
}

@media (max-width: 1180px) {
  .hosting-settings-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosting-preview-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hosting-intro,
  .hosting-publish-panel,
  .hosting-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hosting-status-grid,
  .hosting-settings-form,
  .hosting-preview-summary {
    grid-template-columns: 1fr;
  }

  .hosting-wide-field,
  .hosting-form-actions {
    grid-column: auto;
  }

  .hosting-form-actions,
  .hosting-history-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .hosting-form-actions {
    display: grid;
  }

  .hosting-hero-summary {
    grid-template-columns: auto 1fr;
  }

  .hosting-hero-summary > span {
    grid-column: 2;
  }
}

/* Central de sincronizacao incremental SFTP */
.hosting-area {
  --hosting-green: #1f9d5a;
  --hosting-green-dark: #14733f;
  --hosting-blue: #2878d0;
  --hosting-amber: #c98508;
}

.hosting-area .section-head {
  margin-bottom: 18px;
}

.hosting-area .section-head h2 {
  letter-spacing: -0.025em;
}

.hosting-connection-badge {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.hosting-connection-badge::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.hosting-intro {
  background:
    radial-gradient(circle at 96% 10%, rgba(31, 157, 90, 0.13), transparent 30%),
    linear-gradient(135deg, #f4fff8 0%, #ffffff 64%);
  border-color: #b9dfc7;
  overflow: hidden;
  padding: 18px 20px;
}

.hosting-intro-icon {
  align-items: center;
  background: linear-gradient(145deg, #28aa65, #14733f);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(31, 157, 90, 0.22);
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  font-size: 25px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.hosting-intro-copy {
  flex: 1;
  min-width: 0;
}

.hosting-status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hosting-status-card {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(27, 39, 51, 0.06);
  min-height: 112px;
  position: relative;
}

.hosting-status-card::after {
  background: #dce4ec;
  border-radius: 10px;
  content: "";
  height: 4px;
  left: 15px;
  position: absolute;
  right: 15px;
  top: 0;
}

.hosting-status-card:first-child::after {
  background: var(--hosting-green);
}

.hosting-panel {
  border-radius: 12px;
}

.hosting-compare-button {
  align-items: center;
  background: #eef7ff;
  border: 1px solid #b9d9f8;
  border-radius: 9px;
  color: #165a99;
  display: inline-flex;
  font-weight: 850;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  white-space: nowrap;
}

.hosting-compare-button:hover:not(:disabled) {
  background: #dceeff;
  border-color: #83b8e9;
}

.hosting-compare-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.hosting-preview-actions {
  align-items: stretch;
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.hosting-preview-actions .hosting-publish-button {
  min-height: 40px;
  padding: 9px 15px;
}

.hosting-preview-empty {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 32px 22px;
}

.hosting-preview-empty[hidden],
.hosting-preview[hidden] {
  display: none;
}

.hosting-preview-empty strong {
  color: var(--text);
  font-size: 14px;
}

.hosting-preview-empty p {
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
}

.hosting-empty-icon {
  align-items: center;
  background: #e9eef4;
  border-radius: 50%;
  display: flex;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  margin-bottom: 4px;
  width: 44px;
}

.hosting-preview-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hosting-change-card {
  align-content: start;
  border-radius: 10px;
  min-height: 112px;
}

.hosting-change-card small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.hosting-change-card.is-local {
  background: #eefaf6;
  border-color: #b8dfd0;
}

.hosting-change-card.is-neutral {
  background: #f1f7fc;
  border-color: #c7dbea;
}

.hosting-change-card.is-remote {
  background: #f6f3fb;
  border-color: #d8cbed;
}

.hosting-files-toolbar {
  align-items: center;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
  margin-top: 8px;
  padding: 10px 12px;
}

.hosting-select-all {
  align-items: center;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
}

.hosting-select-all input,
.hosting-file-check input {
  accent-color: var(--hosting-green);
  height: 16px;
  width: 16px;
}

.hosting-file-filters {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.hosting-filter {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
}

.hosting-filter:hover,
.hosting-filter.is-active {
  background: #fff;
  border-color: #cbd6e1;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(27, 39, 51, 0.06);
}

.hosting-selection-label {
  color: var(--hosting-green-dark);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.hosting-file-list {
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  border-top: 0;
  background: #f7f9fb;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 520px;
  overflow: auto;
  padding: 10px;
}

.hosting-file-row {
  align-content: start;
  background: #fff;
  border: 1px solid #e3e8ed;
  border-radius: 10px;
  display: grid;
  gap: 7px 10px;
  grid-template-columns: 20px 34px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  min-height: 168px;
  padding: 11px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.hosting-file-row.is-selectable {
  cursor: pointer;
}

.hosting-file-row.is-selectable:hover {
  background: #f8fcfa;
  border-color: #b9dcca;
  box-shadow: 0 4px 12px rgb(20 91 57 / 8%);
}

.hosting-file-check {
  grid-column: 1;
  grid-row: 1;
  padding-top: 6px;
}

.hosting-file-type {
  align-items: center;
  background: #e7f5ec;
  border-radius: 8px;
  color: var(--hosting-green-dark);
  display: flex;
  font-size: 16px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
  grid-column: 2;
  grid-row: 1;
}

.hosting-file-row.is-changed .hosting-file-type {
  background: #fff2d6;
  color: #9a6500;
}

.hosting-file-row.is-identical .hosting-file-type {
  background: #eaf2f8;
  color: #47708f;
}

.hosting-file-row.is-remote .hosting-file-type {
  background: #f0eafb;
  color: #6c4b9e;
}

.hosting-file-main {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

.hosting-file-main strong,
.hosting-file-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hosting-file-main strong {
  color: var(--text);
  font-size: 12px;
}

.hosting-file-main small,
.hosting-file-category {
  color: var(--muted);
  font-size: 10px;
}

.hosting-file-main small {
  margin-top: 3px;
}

.hosting-file-category {
  background: #f2f4f6;
  border-radius: 999px;
  font-weight: 750;
  grid-column: 2 / 4;
  grid-row: 2;
  justify-self: start;
  padding: 5px 8px;
}

.hosting-file-status {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  grid-column: 2 / 4;
  grid-row: 2;
  justify-self: end;
  padding: 5px 8px;
  white-space: nowrap;
}

.hosting-file-comparison {
  display: grid;
  gap: 6px;
  grid-column: 1 / 4;
  grid-row: 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2px;
}

.hosting-file-side {
  background: #f7f9fb;
  border: 1px solid #e8edf1;
  border-radius: 8px;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
}

.hosting-file-side strong {
  color: #617083;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hosting-file-side > span {
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
}

.hosting-file-side time {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hosting-file-side.is-missing {
  background: #fafafa;
  border-style: dashed;
}

.hosting-file-side.is-missing > span,
.hosting-file-side.is-missing time {
  color: #929cab;
}

.hosting-file-status.is-new {
  background: #e4f7eb;
  color: #16733f;
}

.hosting-file-status.is-changed {
  background: #fff1d1;
  color: #875800;
}

.hosting-file-status.is-identical {
  background: #e8f1f7;
  color: #3f6887;
}

.hosting-file-status.is-remote {
  background: #efe8f9;
  color: #66448f;
}

.hosting-files-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  grid-column: 1 / -1;
  padding: 28px 16px;
  text-align: center;
}

.hosting-preview-note {
  background: #f7f9fb;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  color: #435165;
  font-size: 11px;
  font-weight: 750;
  margin: 12px 0 0;
  padding: 9px 11px;
}

.hosting-preview-note.is-pending {
  background: #fff9df;
  border-color: #ead47a;
  color: #765400;
}

.hosting-publish-panel {
  background:
    radial-gradient(circle at 90% 0%, rgba(41, 185, 104, 0.22), transparent 35%),
    linear-gradient(135deg, #16231d, #18202a);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(19, 31, 25, 0.18);
}

.hosting-publish-button {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

@media (max-width: 1180px) {
  .hosting-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosting-file-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hosting-intro {
    align-items: flex-start;
  }

  .hosting-status-grid,
  .hosting-preview-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosting-files-toolbar {
    grid-template-columns: 1fr;
  }

  .hosting-file-filters {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hosting-selection-label {
    justify-self: start;
  }

  .hosting-preview-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hosting-preview-actions button {
    width: 100%;
  }

  .hosting-file-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hosting-status-grid,
  .hosting-preview-summary {
    grid-template-columns: 1fr;
  }

  .hosting-file-row {
    grid-template-columns: 20px 32px minmax(0, 1fr);
  }
}
.shipping-review-button,
.shipping-review-bulk-button {
  border: 1px solid #9fca17;
  background: #dfff67;
  color: #213500;
  font-weight: 900;
}

.shipping-review-button:hover:not(:disabled),
.shipping-review-bulk-button:hover:not(:disabled) {
  border-color: #769c00;
  background: #ceff38;
}
