:root {
  --font-main: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg: #f7f4f6;
  --bg-soft: #fffafd;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.58);
  --plum: #241033;
  --plum-soft: #5f2b7a;
  --plum-glow: rgba(95, 43, 122, 0.22);
  --coral: #f28c66;
  --coral-strong: #ffa27f;
  --ink: #17151d;
  --muted: #6e6673;
  --muted-strong: #514958;
  --line: rgba(36, 16, 51, 0.1);
  --line-strong: rgba(36, 16, 51, 0.18);
  --success: #21856c;
  --shadow-soft: 0 12px 32px rgba(23, 21, 29, 0.08);
  --shadow-card: 0 24px 64px rgba(36, 16, 51, 0.14);
  --shadow-deep: 0 36px 80px rgba(23, 21, 29, 0.2);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 140, 102, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(95, 43, 122, 0.16), transparent 24%),
    linear-gradient(180deg, #fffafc 0%, var(--bg) 45%, #f4eef5 100%);
  position: relative;
  overflow-x: hidden;
}

body::selection {
  background: rgba(242, 140, 102, 0.2);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-orb,
.site-noise {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -2;
}

.site-orb {
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.45;
}

.site-orb--coral {
  top: -12rem;
  right: -14rem;
  background: radial-gradient(circle, rgba(242, 140, 102, 0.82), rgba(242, 140, 102, 0));
}

.site-orb--plum {
  bottom: -15rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(95, 43, 122, 0.46), rgba(95, 43, 122, 0));
}

.site-noise {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.16;
  z-index: -3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(247, 244, 246, 0.88), rgba(247, 244, 246, 0.45));
  border-bottom: 1px solid rgba(36, 16, 51, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  width: clamp(116px, 18vw, 168px);
  display: block;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-nav a,
.header-chip {
  border: 1px solid rgba(36, 16, 51, 0.08);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 20px rgba(23, 21, 29, 0.05);
  color: var(--muted-strong);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-nav a:hover,
.header-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 16, 51, 0.16);
  box-shadow: 0 12px 28px rgba(23, 21, 29, 0.08);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.header-chip {
  font-weight: 700;
}

.header-chip--accent {
  background: linear-gradient(135deg, rgba(242, 140, 102, 0.2), rgba(255, 255, 255, 0.92));
  color: var(--plum);
}

.hero {
  padding: clamp(28px, 5vw, 56px) 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 16, 51, 0.08);
  color: var(--plum-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.offers-head h2,
.blog-head h2,
.search-card h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.1rem);
  max-width: 12ch;
}

.hero-lead,
.search-card p,
.blog-head p,
.trust-item p,
.journey-grid p,
.site-footer p,
.offer-description,
.flow-message,
.status-line {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 62ch;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 16, 51, 0.08);
  box-shadow: 0 12px 24px rgba(23, 21, 29, 0.06);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-cta,
.search-actions,
.dialog-actions,
.offer-actions,
.review-actions,
.chat-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.ghost-btn,
.cep-inline button,
.offer-action,
.suggestion-btn,
.tab {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}

.primary-btn,
.offer-action,
.cep-inline button,
.suggestion-btn,
.tab.active {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-soft) 55%, var(--coral) 130%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(36, 16, 51, 0.22);
}

.ghost-btn,
.tab {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid rgba(36, 16, 51, 0.1);
  box-shadow: 0 12px 28px rgba(23, 21, 29, 0.06);
}

.primary-btn:hover,
.ghost-btn:hover,
.cep-inline button:hover,
.offer-action:hover,
.suggestion-btn:hover,
.tab:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.primary-btn:disabled,
.ghost-btn:disabled,
.offer-action:disabled,
.suggestion-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

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

.metric-card,
.search-card,
.proof-item,
.trust-item,
.offers-section,
.journey article,
.offer-card,
.flow-dialog form {
  border: 1px solid rgba(36, 16, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
}

.metric-card {
  padding: 18px;
  border-radius: 22px;
  display: grid;
  gap: 6px;
}

.metric-card strong,
.proof-value {
  color: var(--plum);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.metric-card span,
.proof-label {
  color: var(--muted);
  line-height: 1.5;
}

.hero-editorial-note {
  color: var(--muted-strong);
  max-width: 56ch;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  width: min(100%, 570px);
  min-height: 580px;
  display: grid;
  align-content: start;
  justify-items: stretch;
  gap: 18px;
  padding-top: 8px;
}

.hero-device-frame {
  width: min(100%, 570px);
  padding: 18px;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(36, 16, 51, 0.96), rgba(95, 43, 122, 0.9));
  box-shadow: var(--shadow-deep);
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
  position: relative;
}

.hero-map-shell {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  min-height: 430px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #231430 0%, #2e1c41 100%);
}

.hero-map-canvas {
  min-height: 430px;
  height: 430px;
  width: 100%;
  background: linear-gradient(180deg, rgba(36, 16, 51, 0.82), rgba(57, 33, 76, 0.72));
}

.hero-map-shell .leaflet-container {
  width: 100%;
  height: 100%;
  background: #2b193c;
  font: inherit;
}

.hero-map-shell .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted-strong);
  border-radius: 12px 0 0 0;
  padding: 4px 8px;
}

.hero-map-shell .leaflet-control-attribution a {
  color: var(--plum-soft);
}

.hero-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(36, 16, 51, 0.08) 0%, rgba(36, 16, 51, 0.04) 38%, rgba(36, 16, 51, 0.56) 100%);
}

.hero-map-status {
  max-width: 320px;
  display: grid;
  gap: 10px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(15, 10, 22, 0.24);
}

.hero-map-status__eyebrow {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum-soft);
}

.hero-map-status strong {
  font-size: 1.18rem;
  line-height: 1.12;
}

.hero-map-status p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.hero-map-cta {
  position: relative;
  inset: auto;
  display: block;
  width: fit-content;
  max-width: calc(100% - 12px);
  margin-left: auto;
  margin-right: 0;
  z-index: 3;
  min-width: 312px;
  min-height: 64px;
  padding: 18px 30px;
  border-radius: 999px;
  box-shadow: 0 20px 36px rgba(242, 140, 102, 0.36);
  animation: heroMapCtaPulse 1.9s ease-in-out infinite;
  margin-bottom: 170px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-map-path-glow {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.28));
}

.hero-map-path {
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18 14;
  animation: heroRouteDash 2.8s linear infinite;
  filter: drop-shadow(0 0 14px rgba(242, 140, 102, 0.36));
}

.hero-map-origin-marker,
.hero-map-destination-marker,
.hero-map-travel-marker {
  position: absolute;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 22px rgba(14, 10, 20, 0.22);
}

.hero-map-origin-marker {
  background: var(--plum-soft);
}

.hero-map-destination-marker {
  background: var(--coral);
}

.hero-map-travel-marker {
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  background: #fff4cc;
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 10px rgba(242, 140, 102, 0.18), 0 14px 26px rgba(242, 140, 102, 0.32);
}

.hero-map-tooltip {
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 28px rgba(20, 14, 28, 0.18);
  font-weight: 800;
}

.hero-map-tooltip::before {
  display: none;
}

.offers-head-copy {
  margin: 12px 0 0;
  max-width: 64ch;
  color: var(--muted-strong);
  line-height: 1.65;
}

.marketplace-block + .marketplace-block {
  margin-top: 30px;
}

.marketplace-subhead {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.marketplace-subhead h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.marketplace-pill {
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(36, 16, 51, 0.08);
  color: var(--plum-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketplace-pill--soft {
  background: rgba(242, 140, 102, 0.12);
  color: #b15a39;
}

.auth-helper {
  margin: -2px 0 0;
}

.text-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--plum-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes heroMapCtaPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 20px 36px rgba(242, 140, 102, 0.3);
  }
  50% {
    transform: translateX(-50%) scale(1.025);
    box-shadow: 0 24px 44px rgba(242, 140, 102, 0.42);
  }
}

@keyframes heroRouteDash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -64;
  }
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e102a;
}

.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
  max-width: 290px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(36, 16, 51, 0.08);
  box-shadow: 0 22px 40px rgba(23, 21, 29, 0.18);
  backdrop-filter: blur(18px);
}

.hero-floating-card img {
  width: 44px;
  height: 44px;
}

.hero-floating-card strong {
  display: block;
  font-size: 1rem;
}

.hero-floating-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.hero-floating-card--top {
  top: 18px;
  left: 0;
}

.hero-floating-card--bottom {
  right: 0;
  bottom: 42px;
}

.floating-badge {
  background: linear-gradient(135deg, rgba(242, 140, 102, 0.18), rgba(255, 255, 255, 0.95));
  color: var(--plum);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-shell {
  display: grid;
  gap: 34px;
  padding-bottom: 88px;
}

.search-shell {
  position: relative;
}

.search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
}

.search-card {
  padding: clamp(22px, 4vw, 30px);
  border-radius: 30px;
  display: grid;
  gap: 18px;
}

.search-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  max-width: 12ch;
}

.search-card--insight {
  background:
    radial-gradient(circle at top right, rgba(242, 140, 102, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 240, 246, 0.88));
}

.insight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.insight-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
  color: var(--muted-strong);
}

.insight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--plum-soft));
  box-shadow: 0 0 0 6px rgba(242, 140, 102, 0.12);
}

.cep-fallback {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(36, 16, 51, 0.08);
}

.cep-form,
.flow-body,
.chat-book-panel {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--muted-strong);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(36, 16, 51, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(242, 140, 102, 0.32);
  border-color: rgba(95, 43, 122, 0.35);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.cep-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.status-line {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(36, 16, 51, 0.04);
  border: 1px solid rgba(36, 16, 51, 0.06);
}

.proof-strip,
.trust-strip,
.journey-grid {
  display: grid;
  gap: 16px;
}

.proof-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item,
.trust-item,
.journey article {
  padding: 22px;
  border-radius: 26px;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item h3,
.journey article h3 {
  margin: 0;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.offers-section,
.blog-shell {
  padding: clamp(26px, 4vw, 34px);
  border-radius: 32px;
}

.offers-head,
.blog-head,
.section-heading {
  display: grid;
  gap: 12px;
}

.offers-head h2,
.blog-head h2,
.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.tabs-wrap {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  width: fit-content;
}

.tab {
  min-width: 132px;
}

.offer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.offer-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 28px;
  display: grid;
  gap: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(242, 140, 102, 0.25), rgba(95, 43, 122, 0.14), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(36, 16, 51, 0.16);
}

.offer-media {
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 102, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 240, 246, 0.98));
}

.offer-image,
.blog-cover {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(36, 16, 51, 0.08);
  background: rgba(95, 43, 122, 0.08);
}

.offer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.offer-name {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.offer-price {
  white-space: nowrap;
  font-weight: 900;
  color: var(--plum);
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px dashed rgba(36, 16, 51, 0.18);
  color: var(--muted);
}

.review-box,
.partner-info,
.chat-book-panel {
  padding: 16px;
  border-radius: 18px;
  background: rgba(36, 16, 51, 0.04);
  border: 1px solid rgba(36, 16, 51, 0.06);
}

.review-actions {
  display: grid;
  gap: 12px;
}

.journey {
  display: grid;
  gap: 18px;
}

.journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey article {
  display: grid;
  gap: 10px;
}

.journey article span {
  width: fit-content;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(242, 140, 102, 0.14);
  color: var(--plum);
  font-weight: 900;
}

.blog-shell {
  display: grid;
  gap: 20px;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 102, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(95, 43, 122, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 245, 249, 0.96));
  border: 1px solid rgba(36, 16, 51, 0.08);
  box-shadow: var(--shadow-card);
  border-radius: 32px;
}

.blog-shell--home {
  align-content: start;
}

.blog-shell--editorial {
  position: relative;
  gap: 28px;
  padding: clamp(28px, 4vw, 40px);
  background:
    radial-gradient(circle at top right, rgba(242, 140, 102, 0.12), transparent 26%),
    radial-gradient(circle at 12% 18%, rgba(95, 43, 122, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 249, 0.98));
}

.blog-shell--editorial::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(36, 16, 51, 0.05);
  pointer-events: none;
}

.route-hidden {
  display: none !important;
}

body[data-page-route="blog"] .hero {
  display: none !important;
}

body[data-page-route="blog"] #marketplace,
body[data-page-route="blog"] #busca,
body[data-page-route="blog"] #historySection,
body[data-page-route="blog"] #lastSalonsSection,
body[data-page-route="blog"] #blog {
  display: none !important;
}

body[data-page-route="blog"] .main-shell {
  padding-top: clamp(18px, 3vw, 34px);
}

.blog-head code {
  padding: 3px 7px;
  border-radius: 10px;
  background: rgba(36, 16, 51, 0.08);
  font-weight: 800;
}

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

.blog-page .blog-panel {
  gap: 32px;
}

.blog-layout {
  display: grid;
  gap: 28px;
}

.blog-featured,
.blog-article {
  position: relative;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(36, 16, 51, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 22px;
}

.blog-featured::before,
.blog-article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(242, 140, 102, 0.08), transparent 38%, rgba(95, 43, 122, 0.05));
  pointer-events: none;
}

.blog-copy,
.blog-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.blog-badge {
  width: fit-content;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  background: rgba(242, 140, 102, 0.16);
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-date {
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.blog-featured .blog-cover {
  aspect-ratio: 16 / 12;
  min-height: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.blog-article .blog-title {
  font-size: 1.42rem;
}

.blog-summary-text {
  color: var(--muted);
  line-height: 1.7;
}

.blog-details {
  border-top: 1px solid rgba(36, 16, 51, 0.08);
  padding-top: 14px;
}

.blog-details summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--plum);
  cursor: pointer;
}

.blog-details summary::-webkit-details-marker {
  display: none;
}

.blog-html {
  margin-top: 16px;
  display: grid;
  gap: clamp(18px, 2.3vw, 28px);
  color: var(--ink);
}

.blog-html > * {
  margin: 0;
}

.blog-html article {
  display: grid;
  gap: clamp(18px, 2.3vw, 28px);
}

.blog-html h1,
.blog-html h2,
.blog-html h3,
.blog-html h4 {
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.blog-html h2 {
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  padding-top: 10px;
}

.blog-html h3 {
  font-size: clamp(1.16rem, 1.35vw, 1.38rem);
  line-height: 1.2;
  color: color-mix(in srgb, var(--ink) 88%, var(--plum) 12%);
}

.blog-html p,
.blog-html li,
.blog-html blockquote {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.92;
  color: var(--muted-strong);
}

.blog-html p {
  max-width: 72ch;
}

.blog-html .blog-opening {
  font-size: clamp(1.12rem, 1.5vw, 1.24rem);
  line-height: 1.95;
  color: var(--ink);
}

.blog-html ul,
.blog-html ol {
  margin: 4px 0 8px;
  padding-left: 1.3rem;
  display: grid;
  gap: 10px;
}

.blog-html img {
  width: 100%;
  border-radius: 20px;
}

.blog-html blockquote {
  padding: 18px 20px;
  border-left: 4px solid rgba(242, 140, 102, 0.72);
  border-radius: 18px;
  background: rgba(242, 140, 102, 0.08);
  color: var(--ink);
}

.blog-html a {
  color: var(--plum-soft);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.blog-html strong {
  color: var(--ink);
}

.blog-html .blog-sources {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(36, 16, 51, 0.1);
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
}

.blog-head-actions,
.blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.blog-actions--center {
  justify-content: center;
}

.blog-archive-btn,
.blog-read-btn {
  text-decoration: none;
}

.blog-page {
  min-height: 56vh;
}

.blog-head--page {
  align-items: end;
}

.blog-page .blog-head--page {
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(36, 16, 51, 0.08);
}

.blog-panel--archive {
  grid-template-columns: 1fr;
}

.blog-article-shell {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(36, 16, 51, 0.08);
  box-shadow: var(--shadow-card);
}

.blog-page--article .blog-article-shell {
  gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 251, 0.95));
}

.blog-article-hero {
  display: grid;
  gap: 14px;
}

.blog-article-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-article-cover-wrap {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(95, 43, 122, 0.08);
  border: 1px solid rgba(36, 16, 51, 0.08);
}

.blog-article-cover {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.blog-article-content {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.blog-page--article .blog-article-content {
  padding-top: 6px;
}

.blog-page--article .blog-html > h2:first-child,
.blog-page--article .blog-html > h3:first-child,
.blog-page--article .blog-html > p:first-child {
  margin-top: 0;
}

.blog-page--article .blog-html > h2 {
  position: relative;
  padding-top: 22px;
}

.blog-page--article .blog-html > h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 140, 102, 0.95), rgba(95, 43, 122, 0.55));
}

.blog-page--article .blog-html > p + h2,
.blog-page--article .blog-html > ul + h2,
.blog-page--article .blog-html > ol + h2,
.blog-page--article .blog-html > blockquote + h2 {
  margin-top: 10px;
}

.site-footer {
  padding: 22px 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 16, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.footer-mark {
  width: 128px;
  margin-bottom: 10px;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.footer-social {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-social__eyebrow {
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-social__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--radius-pill);
  color: var(--plum);
  font-size: 0.9rem;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 252, 0.68)),
    radial-gradient(circle at 20% 10%, rgba(242, 140, 102, 0.16), transparent 48%);
  border: 1px solid rgba(95, 43, 122, 0.12);
  box-shadow: 0 14px 28px rgba(36, 16, 51, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: var(--plum-soft);
  border-color: rgba(242, 140, 102, 0.34);
  box-shadow: 0 18px 34px rgba(36, 16, 51, 0.13);
  transform: translateY(-2px);
}

.footer-social__link:focus-visible {
  outline: 2px solid rgba(242, 140, 102, 0.42);
  outline-offset: 3px;
}

.footer-social__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--coral));
  box-shadow: inset 0 -8px 16px rgba(36, 16, 51, 0.18);
}

.footer-social__icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-copyright {
  max-width: 360px;
  text-align: right;
}

.footer-legal-links {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  overflow-x: auto;
}

.footer-legal-links li {
  flex: 0 0 auto;
}

.footer-legal-links a {
  color: var(--muted-strong);
  font-size: 0.84rem;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: rgba(36, 16, 51, 0.74);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-banner__text {
  margin: 0;
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.4;
}

.cookie-banner__link {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  color: #ffd8c9;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-banner__actions .cookie-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9010;
  background: rgba(20, 12, 30, 0.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.cookie-overlay.is-open {
  display: flex;
}

.cookie-panel {
  width: min(820px, 100%);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(36, 16, 51, 0.12);
  box-shadow: 0 20px 36px rgba(36, 16, 51, 0.22);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.cookie-panel h2 {
  margin: 0;
  font-size: 1.16rem;
  color: var(--ink);
}

.cookie-panel p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-options {
  display: grid;
  gap: 8px;
}

.cookie-option {
  border: 1px solid rgba(36, 16, 51, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.cookie-option input[type="checkbox"] {
  margin-top: 3px;
  width: 1rem;
  height: 1rem;
  accent-color: #5f2b7a;
}

.cookie-option__title {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 800;
}

.cookie-option__text {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

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

.cookie-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 1.9375rem;
  padding: 0.8rem 1.45rem;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.cookie-btn--primary {
  background: linear-gradient(135deg, #241033 0%, #f28c66 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 10px 20px rgba(36, 16, 51, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.cookie-btn--primary:hover,
.cookie-btn--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(36, 16, 51, 0.32), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.cookie-btn--ghost {
  background: rgba(36, 16, 51, 0.08);
  color: #241033;
  border: 1px solid rgba(36, 16, 51, 0.18);
}

@media (max-width: 720px) {
  .footer-legal-links {
    justify-content: flex-start;
    text-align: left;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .cookie-panel {
    border-radius: 18px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-actions .cookie-btn {
    width: 100%;
  }
}

.flow-dialog {
  width: min(760px, calc(100vw - 18px));
  max-height: min(90vh, 920px);
  padding: 0;
  border: 0;
  background: transparent;
}

.chat-dialog {
  width: min(680px, calc(100vw - 18px));
  max-height: min(88dvh, 720px);
}

.chat-dialog form {
  max-height: min(88dvh, 720px);
  overflow: auto;
  gap: 12px;
  padding: clamp(16px, 3vw, 22px);
  scrollbar-width: none;
}

.chat-dialog form::-webkit-scrollbar,
.chat-list::-webkit-scrollbar,
.qivya-support-dialog form::-webkit-scrollbar,
.qivya-support-dialog .support-thread::-webkit-scrollbar {
  display: none;
}

.flow-dialog::backdrop {
  background: rgba(23, 21, 29, 0.56);
  backdrop-filter: blur(8px);
}

.flow-dialog form {
  padding: clamp(22px, 4vw, 30px);
  border-radius: 30px;
  display: grid;
  gap: 18px;
}

.flow-dialog.chat-dialog form {
  max-height: min(88dvh, 720px);
  overflow: auto;
  gap: 12px;
  padding: clamp(16px, 3vw, 22px);
  scrollbar-width: none;
}

.flow-dialog h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.chat-dialog h2 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.flow-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suggestion-title {
  width: 100%;
  margin: 0 0 4px;
  font-weight: 800;
}

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

.chat-layout {
  display: grid;
}

.chat-main {
  display: grid;
  gap: 10px;
  min-height: 0;
}

.chat-list {
  max-height: min(30dvh, 260px);
  overflow: auto;
  padding-right: 0;
  display: grid;
  gap: 10px;
  scrollbar-width: none;
}

.support-thread {
  max-height: min(42vh, 380px);
  padding: 4px 6px 0 2px;
}

.qivya-support-dialog {
  position: fixed;
  inset: auto 18px 18px auto;
  width: min(392px, calc(100vw - 24px));
  max-height: min(680px, calc(100dvh - 36px));
  margin: 0;
  overflow: visible;
  z-index: 1100;
  transform-origin: right bottom;
}

.qivya-support-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
}

.qivya-support-dialog form {
  max-height: inherit;
  overflow: auto;
  gap: 0;
  padding: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 0%, rgba(242, 140, 102, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 248, 0.94));
  box-shadow: 0 24px 54px rgba(23, 21, 29, 0.26);
  scrollbar-width: none;
}

.qivya-support-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 17px 16px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 140, 102, 0.52), transparent 34%),
    linear-gradient(145deg, rgba(36, 16, 51, 0.98), rgba(95, 43, 122, 0.94));
}

.qivya-support-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -55% 30%;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 64%);
  pointer-events: none;
}

.qivya-support-hero__avatar {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff, rgba(255, 255, 255, 0.78));
  color: var(--plum);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  font-size: 1.05rem;
  font-weight: 900;
}

.qivya-support-hero__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.qivya-support-hero__eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qivya-support-dialog .qivya-support-hero h2 {
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.qivya-support-hero p {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  line-height: 1.45;
}

.qivya-support-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  grid-column: 2 / 3;
  width: fit-content;
  min-width: 0;
  padding: 7px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.7rem;
  font-weight: 900;
}

.qivya-support-close {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.qivya-support-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.qivya-support-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f7c268;
  box-shadow: 0 0 0 5px rgba(247, 194, 104, 0.15);
}

.qivya-support-status.is-online span {
  background: #79e0bd;
  box-shadow: 0 0 0 5px rgba(121, 224, 189, 0.16);
}

.qivya-support-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 13px 14px 0;
}

.qivya-support-prompts button {
  border: 1px solid rgba(36, 16, 51, 0.1);
  border-radius: var(--radius-pill);
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--plum);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(23, 21, 29, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.qivya-support-prompts button:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 140, 102, 0.32);
  box-shadow: 0 14px 24px rgba(23, 21, 29, 0.08);
}

.qivya-support-dialog.is-conversation .qivya-support-prompts,
.qivya-support-dialog.is-conversation .support-hint {
  display: none;
}

.qivya-support-dialog .support-hint {
  margin: 12px 14px 0;
  padding: 10px 12px;
  border-radius: 15px;
  border: 1px solid rgba(95, 43, 122, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-strong);
}

.qivya-support-dialog .support-thread {
  margin: 13px 14px 0;
  max-height: min(220px, 28vh);
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(95, 43, 122, 0.08), rgba(242, 140, 102, 0.12));
  border: 1px solid rgba(36, 16, 51, 0.08);
  scrollbar-width: none;
}

.qivya-support-dialog .support-thread .chat-item {
  max-width: min(90%, 310px);
  padding: 12px;
  border-radius: 16px 16px 16px 7px;
  background: rgba(255, 255, 255, 0.95);
}

.qivya-support-dialog .support-thread .chat-item--mine {
  border-radius: 18px 18px 7px 18px;
  background: linear-gradient(145deg, rgba(36, 16, 51, 0.97), rgba(95, 43, 122, 0.92));
}

.qivya-support-fields {
  display: grid;
  gap: 14px;
  padding: 13px 14px 0;
}

.qivya-support-identity {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(36, 16, 51, 0.04);
  border: 1px solid rgba(36, 16, 51, 0.08);
}

.qivya-support-composer textarea {
  min-height: 94px;
  resize: vertical;
  border-color: rgba(95, 43, 122, 0.16);
  background: rgba(255, 255, 255, 0.98);
}

.qivya-support-dialog #qivyaSupportMessage {
  min-height: 18px;
  padding: 6px 14px 0;
}

.qivya-support-dialog .dialog-actions {
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 14px;
}

.qivya-support-dialog .primary-btn {
  position: relative;
  overflow: hidden;
  min-width: 178px;
  padding: 13px 14px;
  box-shadow: 0 20px 38px rgba(95, 43, 122, 0.28);
}

.qivya-support-minimize {
  padding: 13px 14px;
}

.qivya-support-dialog .primary-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.3) 44%, transparent 72%);
  transform: translateX(-120%);
  animation: qivyaSupportButtonShine 2.8s ease-in-out infinite;
}

.support-thread .chat-item p {
  margin: 0;
}

.support-thread__meta {
  opacity: 0.72;
  font-size: 0.78rem;
  line-height: 1.2;
}

.support-hint {
  margin: 0;
}

.chat-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 16px;
  max-width: min(100%, 520px);
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 16, 51, 0.08);
  box-shadow: 0 14px 24px rgba(23, 21, 29, 0.06);
}

.chat-item--mine {
  margin-left: auto;
  background: linear-gradient(145deg, rgba(36, 16, 51, 0.96), rgba(95, 43, 122, 0.9));
  color: #fff;
}

.chat-item--mine .offer-meta,
.chat-item--mine span,
.chat-item--mine b,
.chat-item--mine em {
  color: inherit;
}

.chat-item--system {
  margin: 0 auto;
  background: rgba(242, 140, 102, 0.14);
  color: var(--plum);
}

.chat-service-card {
  display: grid;
  gap: 6px;
  text-align: left;
  border: 1px solid rgba(36, 16, 51, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
}

.chat-item--mine .chat-service-card {
  color: var(--ink);
}

.chat-service-card strong,
.chat-service-card span,
.chat-service-card em {
  display: block;
}

.chat-media-image,
.chat-media-video {
  width: min(100%, 320px);
  border-radius: 18px;
  border: 1px solid rgba(36, 16, 51, 0.08);
}

.chat-media-audio {
  width: min(100%, 320px);
}

.chat-media-file {
  color: var(--plum-soft);
  text-decoration: underline;
}

.chat-file-label {
  display: inline-grid;
}

.chat-file-label input[type="file"] {
  padding: 12px;
}

body[data-discovery-mode="editorial"] [data-marketplace-section] {
  display: none !important;
}

body[data-auth-shell="member"] .hero,
body[data-auth-shell="member"] #busca,
body[data-auth-shell="member"] .proof-strip,
body[data-auth-shell="member"] .trust-strip,
body[data-auth-shell="member"] .journey,
body[data-auth-shell="member"] #blog {
  display: none !important;
}

body[data-auth-shell="member"] .header-nav a[href="#busca"],
body[data-auth-shell="member"] .header-nav a[href="#blog"] {
  display: none !important;
}

body[data-auth-shell="member"] .header-nav {
  justify-content: flex-start;
}

body[data-auth-shell="member"] .main-shell {
  gap: 20px;
  padding-top: 18px;
}

body[data-auth-shell="member"] #marketplace {
  margin-top: 0;
}

body[data-auth-shell="member"][data-auth-view="marketplace"] #historySection {
  display: none !important;
}

body[data-auth-shell="member"][data-auth-view="history"] #historySection {
  display: block;
}

body[data-auth-shell="member"] .site-footer {
  margin-top: 12px;
}

body[data-auth-shell="member"] #historySection > .offers-head,
body[data-auth-shell="member"] .member-home-grid {
  display: none !important;
}

@media (max-width: 1080px) {
  .header-inner,
  .hero-grid,
  .search-grid,
  .blog-featured,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-actions,
  .footer-social {
    justify-items: start;
  }

  .footer-social__links {
    justify-content: flex-start;
  }

  .footer-copyright {
    text-align: left;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-device-frame {
    transform: none;
  }

  .hero-floating-card {
    position: static;
    max-width: none;
    margin-top: 16px;
  }

  .proof-strip,
  .trust-strip,
  .journey-grid,
  .offer-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body[data-auth-shell="member"] {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }

  body[data-auth-shell="member"] .main-shell {
    padding-top: 8px;
    padding-bottom: 112px;
  }

  body[data-auth-shell="member"] .mobile-app-nav {
    display: grid;
  }

  .site-header {
    padding: 14px 0;
  }

  .header-inner {
    gap: 14px;
  }

  .header-nav {
    display: none;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-metrics,
  .proof-strip,
  .trust-strip,
  .offer-grid,
  .journey-grid,
  .blog-grid,
  .date-time-grid {
    grid-template-columns: 1fr;
  }

  .tabs-wrap {
    width: 100%;
  }

  .tab {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 20px, 1180px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero-copy,
  .search-card,
  .offers-section,
  .blog-shell,
  .proof-item,
  .trust-item,
  .journey article,
  .offer-card,
  .flow-dialog form {
    border-radius: 24px;
  }

  .hero-badges,
  .hero-cta,
  .search-actions,
  .dialog-actions,
  .offer-actions,
  .chat-tools {
    display: grid;
  }

  .cep-inline {
    grid-template-columns: 1fr;
  }

  .flow-dialog,
  .chat-dialog {
    width: calc(100vw - 10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


#busca,
#marketplace,
#blog,
#historySection {
  scroll-margin-top: 110px;
}

.marketplace-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.marketplace-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(36, 16, 51, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: var(--plum);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(23, 21, 29, 0.05);
}

.offers-head,
.blog-head {
  margin-bottom: 8px;
}

.offer-card-body {
  display: grid;
  gap: 14px;
}

.offer-card-product {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(251, 248, 250, 0.94));
}

.offer-card-product::after,
.offer-card-service::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(36, 16, 51, 0), rgba(36, 16, 51, 0.1), rgba(36, 16, 51, 0));
}

.offer-media-product,
.offer-media-service {
  position: relative;
  isolation: isolate;
}

.offer-media-product {
  min-height: 260px;
  padding: 18px;
  border: 1px solid rgba(36, 16, 51, 0.06);
  background:
    radial-gradient(circle at 50% 12%, rgba(242, 140, 102, 0.16), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(95, 43, 122, 0.08), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fb 100%);
}

.offer-media-product::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 249, 0.92)),
    repeating-linear-gradient(90deg, rgba(36, 16, 51, 0.02) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(36, 16, 51, 0.02) 0 1px, transparent 1px 32px);
  border: 1px solid rgba(36, 16, 51, 0.05);
}

.offer-product-stage {
  position: relative;
  z-index: 1;
  min-height: 224px;
  display: grid;
  place-items: center;
  padding: 20px;
}

.offer-image-product {
  width: 100%;
  max-height: 208px;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  background: transparent;
  border-radius: 0;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 26px rgba(23, 21, 29, 0.14)) saturate(1.05) contrast(1.03);
}

.offer-product-placeholder,
.offer-service-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--plum);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 140, 102, 0.18));
  box-shadow: 0 24px 42px rgba(23, 21, 29, 0.12);
}

.offer-media-badge,
.offer-media-stock,
.offer-media-overlay span,
.offer-chip,
.offer-note {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.offer-media-badge,
.offer-media-stock {
  position: absolute;
  z-index: 2;
  top: 16px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(36, 16, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(23, 21, 29, 0.08);
}

.offer-media-badge {
  left: 16px;
  color: var(--plum);
}

.offer-media-stock {
  right: 16px;
  color: var(--coral);
}

.offer-media-service {
  min-height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(247, 240, 246, 0.3));
}

.offer-image-service {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.offer-media-service--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(242, 140, 102, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(36, 16, 51, 0.94), rgba(95, 43, 122, 0.84));
}

.offer-service-placeholder {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.offer-media-overlay {
  position: absolute;
  inset: auto 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}

.offer-media-overlay span {
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--plum);
  border: 1px solid rgba(36, 16, 51, 0.08);
}

.offer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offer-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(36, 16, 51, 0.05);
  color: var(--muted-strong);
  border: 1px solid rgba(36, 16, 51, 0.06);
}

.offer-chip--coral {
  background: rgba(242, 140, 102, 0.14);
  color: var(--plum);
}

.offer-chip--soft {
  background: rgba(95, 43, 122, 0.08);
  color: var(--plum-soft);
}

.offer-name {
  max-width: 18ch;
}

.offer-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-partner-meta {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(36, 16, 51, 0.04);
  border: 1px solid rgba(36, 16, 51, 0.06);
}

.offer-partner-meta strong {
  font-size: 0.96rem;
}

.offer-partner-meta span {
  color: var(--muted);
  line-height: 1.55;
}

.offer-note {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(242, 140, 102, 0.12);
  color: var(--plum);
}

.blog-shell {
  margin-top: 14px;
}

.blog-featured,
.blog-article {
  padding: clamp(20px, 3vw, 28px);
}

.blog-summary-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-app-nav {
  display: none;
}

@media (max-width: 1080px) {
  .offer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    top: 0;
    padding: 12px 0;
  }

  .header-actions {
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 4px;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-copy {
    gap: 18px;
  }

  .hero-device-frame {
    padding: 12px;
    border-radius: 28px;
  }

  .search-card--insight {
    order: 2;
  }

  .marketplace-rail {
    overflow: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .marketplace-rail::-webkit-scrollbar {
    display: none;
  }

  .tabs-wrap {
    position: sticky;
    top: 72px;
    z-index: 20;
    background: rgba(247, 244, 246, 0.92);
    backdrop-filter: blur(12px);
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(23, 21, 29, 0.08);
  }

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

  #servicesPanel.offer-grid,
  #ordersPanel.offer-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    padding: 16px;
    border-radius: 24px;
    gap: 14px;
    box-shadow: 0 16px 34px rgba(23, 21, 29, 0.1);
  }

  .offer-media-product {
    min-height: 210px;
    padding: 14px;
  }

  .offer-product-stage {
    min-height: 176px;
    padding: 12px;
  }

  .offer-image-product {
    max-height: 160px;
  }

  .offer-media-service,
  .offer-image-service {
    min-height: 190px;
  }

  .offer-head {
    flex-direction: column;
    gap: 8px;
  }

  .offer-price {
    font-size: 1.15rem;
  }

  .mobile-app-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 990;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 26px;
    background: rgba(36, 16, 51, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(23, 21, 29, 0.28);
    backdrop-filter: blur(18px);
  }

  .mobile-app-btn {
    min-height: 64px;
    padding: 10px 8px 12px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);
    display: grid;
    gap: 4px;
    align-content: center;
    text-align: center;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }

  .mobile-app-btn strong {
    font-size: 0.86rem;
    line-height: 1.1;
  }

  .mobile-app-btn__eyebrow {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.72;
  }

  .mobile-app-btn.active {
    background: linear-gradient(145deg, rgba(242, 140, 102, 0.24), rgba(95, 43, 122, 0.32));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 18px, 1180px);
  }

  .main-shell {
    gap: 28px;
  }

  .offers-section,
  .blog-shell {
    padding: 18px;
    border-radius: 26px;
  }

  .tabs-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    top: 68px;
  }

  #productsPanel.offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .offer-card {
    padding: 14px;
    border-radius: 22px;
  }

  .offer-media-badge,
  .offer-media-stock {
    top: 12px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .offer-media-badge {
    left: 12px;
  }

  .offer-media-stock {
    right: 12px;
  }

  .offer-product-stage {
    min-height: 154px;
  }

  .offer-image-product {
    max-height: 138px;
  }

  .offer-chip-row {
    gap: 6px;
  }

  .offer-chip,
  .offer-note {
    font-size: 0.72rem;
  }

  .offer-name {
    font-size: 1.02rem;
    max-width: none;
  }

  .offer-description,
  .offer-partner-meta span,
  .offer-meta {
    font-size: 0.88rem;
  }

  .blog-layout,
  .blog-grid {
    gap: 20px;
  }

  .mobile-app-nav {
    left: 8px;
    right: 8px;
    padding: 8px;
    gap: 6px;
    border-radius: 22px;
  }

  .mobile-app-btn {
    min-height: 58px;
    padding: 8px 6px 10px;
  }

  .mobile-app-btn strong {
    font-size: 0.78rem;
  }

  .mobile-app-btn__eyebrow {
    font-size: 0.62rem;
  }
}

@media (max-width: 420px) {
  .hero-badges {
    gap: 8px;
  }

  .hero-badges span,
  .floating-badge,
  .marketplace-pill {
    font-size: 0.78rem;
    padding: 9px 12px;
  }

  #productsPanel.offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-media-product {
    min-height: 188px;
  }

  .offer-product-stage {
    min-height: 138px;
    padding: 8px;
  }

  .offer-image-product {
    max-height: 122px;
  }
}


/* === Qivya v3 refinamento marketplace, mobile app e area do cliente === */
.brand-stack {
  display: grid;
  gap: 6px;
}

.brand-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(36,16,51,0.08);
  color: var(--plum-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: clamp(152px, 21vw, 220px);
}

.main-shell {
  gap: clamp(32px, 5vw, 54px);
}

.offers-section,
.blog-shell {
  position: relative;
}

.offer-grid {
  gap: 32px;
}

.blog-shell {
  margin-top: 28px;
}

.blog-head {
  gap: 18px;
  margin-bottom: 18px;
}

.blog-layout {
  gap: 36px;
}

.blog-grid {
  gap: 32px;
}

.marketplace-rail {
  display: none !important;
}

.hero-install-card {
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(36,16,51,0.96), rgba(95,43,122,0.88));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 22px 40px rgba(36,16,51,0.22);
}

.hero-install-card strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.hero-install-card span {
  color: rgba(255,255,255,0.76);
  line-height: 1.55;
}

.offer-card {
  padding: 22px;
  min-height: 100%;
}

.offer-card-product {
  background: linear-gradient(180deg, rgba(255,255,255,0.985), rgba(251,248,250,0.96));
}

.offer-card-service {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,243,248,0.93));
}

.offer-card-body {
  gap: 12px;
}

.offer-head {
  gap: 12px;
}

.offer-name {
  max-width: none;
}

.offer-price {
  font-size: 1.14rem;
}

.offer-media-product {
  min-height: 290px;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 8%, rgba(242, 140, 102, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbf9fb 100%);
}

.offer-media-product::before {
  inset: 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,245,248,0.94));
}

.offer-product-stage {
  min-height: 244px;
  padding: 24px 20px 18px;
}

.offer-product-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: min(72%, 220px);
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(36,16,51,0.18), rgba(36,16,51,0));
  filter: blur(8px);
}

.offer-image-product {
  position: relative;
  z-index: 2;
  max-height: 228px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 30px rgba(23,21,29,0.14)) saturate(1.04) contrast(1.03);
}

.offer-media-badge {
  color: var(--plum-soft);
}

.offer-media-stock {
  color: var(--coral);
}

.offer-media-service {
  min-height: 236px;
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(247,240,246,0.36));
}

.offer-image-service {
  min-height: 236px;
}

.offer-description {
  -webkit-line-clamp: 2;
}

.offer-partner-meta,
.offer-note.offer-note--hidden {
  display: none !important;
}

.offer-action {
  width: 100%;
  justify-content: center;
}

.account-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.account-shortcuts .ghost-btn {
  min-width: 210px;
}

.review-box {
  display: grid;
  gap: 14px;
}

.review-toggle-btn {
  width: 100%;
}

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

.review-summary {
  display: grid;
  gap: 8px;
}

@media (min-width: 861px) {
  #servicesPanel.offer-grid,
  #productsPanel.offer-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 10px 0 8px;
    background: linear-gradient(180deg, rgba(247,244,246,0.92), rgba(247,244,246,0.58));
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,0.84), rgba(249,242,247,0.92));
    border: 1px solid rgba(36,16,51,0.08);
    box-shadow: 0 18px 34px rgba(23,21,29,0.1);
  }

  .brand-status {
    display: inline-flex;
  }

  .brand-mark {
    width: clamp(184px, 54vw, 260px);
  }

  .header-actions {
    justify-content: flex-end;
    gap: 8px;
  }

  .header-chip {
    padding: 9px 12px;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-badges span:nth-child(4) {
    display: none;
  }

  .hero-install-card {
    display: grid;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .metric-card:last-child {
    grid-column: 1 / -1;
  }

  .offers-head,
  .blog-head {
    gap: 16px;
  }

  .tabs-wrap {
    top: 88px;
  }

  #servicesPanel.offer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .offer-card {
    padding: 16px;
    gap: 14px;
  }

  .offer-media-product {
    min-height: 224px;
    padding: 14px;
  }

  .offer-product-stage {
    min-height: 184px;
    padding: 18px 12px 12px;
  }

  .offer-image-product {
    max-height: 158px;
  }

  .offer-media-service,
  .offer-image-service {
    min-height: 198px;
  }

  .offer-chip-row {
    gap: 6px;
  }

  .offer-chip {
    padding: 7px 10px;
  }

  .offer-name {
    font-size: 1rem;
  }

  .offer-price {
    font-size: 1.02rem;
  }

  .offer-description {
    font-size: 0.86rem;
  }

  .mobile-app-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-stack {
    gap: 5px;
  }

  .brand-status {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 6px 9px;
  }

  .header-actions {
    max-width: 36vw;
  }

  .header-chip {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .hero-install-card {
    grid-template-columns: 1fr;
  }

  .hero-install-card .primary-btn {
    width: 100%;
  }

  .tabs-wrap {
    top: 82px;
  }

  #productsPanel.offer-grid {
    gap: 14px;
  }

  .offer-card {
    padding: 14px;
  }

  .offer-media-product {
    min-height: 206px;
  }

  .offer-product-stage {
    min-height: 166px;
  }

  .offer-image-product {
    max-height: 142px;
  }

  .offer-media-badge,
  .offer-media-stock {
    top: 12px;
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .offer-action {
    padding: 13px 14px;
    font-size: 0.9rem;
  }

  .account-shortcuts {
    display: grid;
  }

  .account-shortcuts .ghost-btn {
    min-width: 0;
    width: 100%;
  }
}

/* === Qivya v4 marketplace first, mobile app header and clean account area === */
.brand-stack--clean {
  gap: 0;
}

.brand-mark {
  width: clamp(176px, 23vw, 286px);
}

.site-header {
  padding: 12px 0;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(36, 16, 51, 0), rgba(242, 140, 102, 0.38), rgba(36, 16, 51, 0));
  pointer-events: none;
}

.header-inner {
  gap: 16px;
}

.header-nav {
  gap: 12px;
}

.header-nav a,
.header-chip {
  padding: 10px 15px;
}

.header-chip--accent {
  background: linear-gradient(135deg, rgba(242, 140, 102, 0.28), rgba(255, 255, 255, 0.94));
  border-color: rgba(242, 140, 102, 0.34);
  box-shadow: 0 16px 30px rgba(242, 140, 102, 0.16);
}

.has-install-cta .header-chip--accent:not(.hidden) {
  animation: qivyaPulse 1.8s ease-in-out infinite;
}

@keyframes qivyaPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 30px rgba(242, 140, 102, 0.16);
  }
  50% {
    transform: translateY(-1px) scale(1.015);
    box-shadow: 0 20px 36px rgba(242, 140, 102, 0.26);
  }
}

.hero {
  padding: clamp(20px, 4vw, 44px) 0 26px;
}

.hero-copy {
  gap: 18px;
}

.hero h1 {
  max-width: 11ch;
}

.hero-lead {
  max-width: 58ch;
}

.hero-editorial-note {
  max-width: 58ch;
}

.hero-visual {
  min-height: 520px;
}

/* === Ajustes de menu mobile e notificacoes Qivya === */
.qivya-popup-stack {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  z-index: 4000;
  display: grid;
  gap: 10px;
  width: min(390px, calc(100vw - 32px));
  pointer-events: none;
}

.qivya-popup {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(36, 16, 51, 0.96);
  color: #fff;
  box-shadow: 0 20px 44px rgba(23, 21, 29, 0.32);
  font-weight: 800;
  line-height: 1.45;
  padding: 14px 16px;
  transform: translateY(0);
  animation: qivyaPopupIn 0.22s ease-out both;
}

.qivya-popup--leaving {
  animation: qivyaPopupOut 0.24s ease-in both;
}

.mobile-app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 2px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--plum);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.mobile-menu-dialog .mobile-menu-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mobile-menu-action {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(36, 16, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--plum);
  cursor: pointer;
  font-weight: 800;
  padding: 12px 14px;
  text-align: left;
}

.mobile-menu-action strong {
  border-radius: 999px;
  background: rgba(36, 16, 51, 0.1);
  color: var(--plum);
  font-size: 0.78rem;
  padding: 6px 9px;
}

.mobile-menu-action--danger {
  color: #9f1239;
}

@media (max-width: 860px) {
  body[data-auth-shell="member"] #historyBtn,
  body[data-auth-shell="member"] #recentSalonsBtn,
  body[data-auth-shell="member"] #logoutBtn {
    display: none !important;
  }

  .header-actions {
    max-width: 46vw;
    overflow: visible;
  }

  .mobile-app-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mobile-app-btn {
    min-width: 0;
  }

  .mobile-app-btn strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    font-size: 0.76rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .mobile-app-btn__eyebrow {
    letter-spacing: 0;
  }
}

@media (max-width: 640px) {
  .qivya-popup-stack {
    left: 10px;
    right: 10px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    width: auto;
  }

  .qivya-popup {
    border-radius: 16px;
    font-size: 0.9rem;
    padding: 12px 13px;
  }

  .mobile-app-nav {
    gap: 4px;
    padding: 7px;
  }

  .mobile-app-btn {
    min-height: 56px;
    padding: 7px 3px 9px;
    border-radius: 15px;
  }

  .mobile-app-btn strong {
    font-size: 0.68rem;
  }

  .mobile-app-btn__eyebrow {
    font-size: 0.58rem;
  }

  .mobile-app-badge {
    min-width: 16px;
    height: 16px;
    font-size: 0.62rem;
    padding: 0 4px;
  }
}

@keyframes qivyaPopupIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes qivyaPopupOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero-floating-card--bottom {
  right: 16px;
  bottom: 28px;
}

.main-shell {
  gap: clamp(28px, 4vw, 46px);
}

.offers-head,
.blog-head {
  margin-bottom: 26px;
}

#marketplace .offer-grid,
#blogPanel {
  margin-top: 20px;
}

.search-card--brand {
  align-content: start;
}

.insight-logo {
  width: clamp(162px, 18vw, 220px);
  max-width: 76%;
  display: block;
}

.offer-grid {
  gap: 34px;
}

.offer-card {
  min-height: 100%;
}

.offer-card-service--clean,
.offer-card-service--history {
  padding: 24px;
}

.offer-card-service--clean::after,
.offer-card-service--history::after {
  display: none;
}

.offer-card-service--clean .offer-card-body,
.offer-card-service--history .offer-card-body {
  gap: 16px;
}

.offer-card-service--clean .offer-media,
.offer-card-service--history .offer-media {
  display: none;
}

.offer-card-service--clean .offer-description,
.offer-card-service--history .offer-description {
  -webkit-line-clamp: 3;
}

.offer-card-service--clean .offer-action,
.offer-card-service--history .offer-action {
  width: 100%;
}

.offer-card-service--history .offer-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.offer-card-service--history .ghost-btn,
.offer-card-service--history .offer-action.ghost-btn {
  border: 1px solid rgba(36, 16, 51, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 21, 29, 0.06);
}

.offer-media-badge--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  padding: 10px 14px;
}

.offer-media-badge--logo img {
  width: 100%;
  max-width: 92px;
  display: block;
}

.offer-media-product {
  min-height: 304px;
}

.offer-product-stage {
  min-height: 254px;
}

.offer-image-product {
  max-height: 234px;
}

.member-shell {
  display: grid;
  gap: 24px;
}

.member-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.member-home-card {
  border: 1px solid rgba(36, 16, 51, 0.08);
  border-radius: 26px;
  padding: 22px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 245, 248, 0.92));
  box-shadow: 0 18px 34px rgba(23, 21, 29, 0.08);
  display: grid;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.member-home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(23, 21, 29, 0.12);
  border-color: rgba(242, 140, 102, 0.22);
}

.member-home-card strong {
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.member-home-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.member-home-card__eyebrow {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(36, 16, 51, 0.05);
  color: var(--plum-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-home-card__cta {
  width: fit-content;
  margin-top: 2px;
  padding: 10px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.member-home-card--support {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 140, 102, 0.76), transparent 34%),
    linear-gradient(145deg, rgba(36, 16, 51, 0.98), rgba(95, 43, 122, 0.92));
  box-shadow: 0 24px 48px rgba(36, 16, 51, 0.22);
}

.member-home-card--support::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -38px;
  bottom: -48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.04);
  animation: qivyaSupportCardPulse 2.6s ease-in-out infinite;
}

.member-home-card--support > * {
  position: relative;
  z-index: 1;
}

.member-home-card--support .member-home-card__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.member-home-card--support p {
  color: rgba(255, 255, 255, 0.78);
}

.member-home-card--logout {
  background: linear-gradient(180deg, rgba(36, 16, 51, 0.96), rgba(95, 43, 122, 0.92));
  color: #fff;
}

.member-home-card--logout .member-home-card__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.member-home-card--logout p {
  color: rgba(255, 255, 255, 0.78);
}

.blog-shell {
  margin-top: 0;
}

.blog-layout {
  gap: 32px;
}

.blog-grid {
  gap: 30px;
}

@media (max-width: 1080px) {
  .member-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 8px 0 10px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 14px 12px;
    border-radius: 28px;
    background:
      radial-gradient(circle at top right, rgba(242, 140, 102, 0.18), transparent 38%),
      linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(248, 240, 246, 0.96));
    border: 1px solid rgba(36, 16, 51, 0.08);
    box-shadow: 0 18px 32px rgba(23, 21, 29, 0.1);
  }

  .header-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: auto;
    padding-top: 2px;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav a {
    white-space: nowrap;
  }

  .header-actions {
    gap: 8px;
    align-items: center;
  }

  .brand-mark {
    width: clamp(210px, 60vw, 320px);
  }

  .hero {
    padding-top: 8px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-device-frame {
    padding: 10px;
  }

  .hero-floating-card--bottom {
    position: relative;
    inset: auto;
    margin-top: 12px;
    right: auto;
    bottom: auto;
  }

  #marketplace .offer-grid,
  #blogPanel {
    margin-top: 12px;
  }

  .offer-grid {
    gap: 20px;
  }

  #servicesPanel.offer-grid {
    grid-template-columns: 1fr;
  }

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

  .offer-card-service--clean,
  .offer-card-service--history {
    padding: 18px;
  }

  .offer-card-service--history .offer-actions {
    grid-template-columns: 1fr;
  }

  .member-shell {
    gap: 18px;
  }

  .member-home-grid {
    gap: 12px;
  }

  .member-home-card {
    padding: 18px;
    border-radius: 22px;
  }

  .mobile-app-nav {
    background: rgba(36, 16, 51, 0.94);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 8px 10px;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .brand-mark {
    width: min(38vw, 160px);
    min-width: 104px;
  }

  .header-actions {
    max-width: none;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }

  .header-chip {
    padding: 8px 11px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .header-chip--accent:not(.hidden) {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    font-size: 0.78rem;
    padding: 9px 11px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .offers-section,
  .blog-shell,
  .search-card,
  .proof-item,
  .trust-item,
  .journey article {
    border-radius: 24px;
  }

  #productsPanel.offer-grid {
    gap: 12px;
  }

  .offer-media-badge--logo {
    min-width: 104px;
    padding: 9px 12px;
  }

  .offer-media-badge--logo img {
    max-width: 78px;
  }

  .offer-media-product {
    min-height: 214px;
  }

  .offer-product-stage {
    min-height: 174px;
  }

  .offer-image-product {
    max-height: 148px;
  }

  .member-home-grid {
    grid-template-columns: 1fr;
  }

  .member-home-card {
    padding: 16px;
  }
}

@media (min-width: 861px) {
  .has-install-cta .header-chip--accent:not(.hidden) {
    animation: none;
  }
}


/* Qivya v6 logged marketplace refinements */
body[data-auth-shell="member"] .header-nav a[href="#busca"] {
  display: inline-flex !important;
}

body[data-auth-shell="member"] .header-nav a[href="#blog"] {
  display: none !important;
}

.offer-grid {
  margin-top: 24px;
}

.offer-card[data-offer-card] {
  cursor: pointer;
}

@media (max-width: 860px) {
  .hero-map-canvas,
  .hero-map-shell {
    min-height: 360px;
    height: 360px;
  }

  .hero-map-cta {
    display: block;
    width: fit-content;
    max-width: calc(100% - 8px);
    margin-left: auto;
    min-width: 280px;
    min-height: 60px;
    padding: 16px 26px;
    margin-right: 0;
    margin-bottom: 120px;
    font-size: 1rem;
  }

  .hero-map-overlay {
    padding: 16px;
  }

  .hero-map-status {
    max-width: 100%;
    padding: 14px 14px 13px;
  }

  .marketplace-block + .marketplace-block {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .hero-map-canvas,
  .hero-map-shell {
    min-height: 300px;
    height: 300px;
  }

  .hero-map-cta {
    display: block;
    width: fit-content;
    margin-left: auto;
    min-width: min(calc(100% - 44px), 320px);
    min-height: 58px;
    padding-inline: 22px;
    margin-right: 0;
    margin-bottom: 70px;
    font-size: 0.98rem;
  }

  .hero-map-status strong {
    font-size: 1.04rem;
  }

  .offers-head-copy {
    font-size: 0.94rem;
  }
}

.offer-action--detail {
  width: 100%;
  justify-content: center;
}

.offer-product-stage {
  min-height: 246px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.98), rgba(247,244,246,0.96)),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,240,246,0.94));
}

.offer-product-placeholder,
.detail-product-placeholder {
  width: 100%;
  min-height: 180px;
  border-radius: 28px;
  border: 1px dashed rgba(36, 16, 51, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,240,246,0.94));
}

.detail-dialog {
  width: 100vw;
  max-width: none;
  max-height: 100dvh;
  height: 100dvh;
}

.detail-dialog form {
  min-height: 100dvh;
  border-radius: 0;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at top right, rgba(242, 140, 102, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,244,246,0.98));
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-eyebrow {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(36, 16, 51, 0.05);
  color: var(--plum-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.detail-header h2 {
  margin: 0;
}

.detail-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.detail-body {
  display: grid;
  gap: 24px;
}

.detail-grid {
  display: grid;
  gap: 24px;
}

.detail-grid--product {
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
}

.detail-copy-card,
.detail-content-card,
.detail-media-card {
  border-radius: 30px;
  border: 1px solid rgba(36, 16, 51, 0.08);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 22px 46px rgba(23, 21, 29, 0.08);
}

.detail-copy-card,
.detail-content-card {
  padding: clamp(22px, 3vw, 28px);
}

.detail-content-card--tight {
  padding: 20px 22px;
  margin-top: 20px;
}

.detail-media-card {
  padding: clamp(18px, 3vw, 24px);
}

.detail-product-stage {
  min-height: min(62vh, 560px);
  border-radius: 30px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(255,255,255,1), rgba(248,243,248,0.94)),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,244,246,0.98));
}

.detail-product-image {
  width: 100%;
  max-width: 520px;
  max-height: min(52vh, 460px);
  object-fit: contain;
}

.detail-price-row {
  display: grid;
  gap: 6px;
  margin: 22px 0 18px;
}

.detail-price {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--plum);
}

.detail-price-caption,
.detail-copy-text,
.recent-dialog-copy {
  color: var(--muted);
  line-height: 1.7;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.detail-info-card {
  border-radius: 24px;
  border: 1px solid rgba(36, 16, 51, 0.08);
  background: rgba(255,255,255,0.8);
  padding: 18px;
  display: grid;
  gap: 8px;
}

.dialog-actions--split {
  justify-content: space-between;
}

.recent-dialog {
  width: min(920px, calc(100vw - 18px));
}

.recent-salons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.recent-salon-card {
  border: 1px solid rgba(36, 16, 51, 0.08);
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,245,248,0.9));
  box-shadow: 0 18px 36px rgba(23, 21, 29, 0.08);
  display: grid;
  gap: 10px;
  text-align: left;
}

.recent-salon-card--blocked {
  background: linear-gradient(180deg, rgba(255, 247, 244, 0.96), rgba(252, 240, 240, 0.92));
}

.recent-salon-card__eyebrow,
.recent-salon-card__cta {
  width: fit-content;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.recent-salon-card__eyebrow {
  padding: 8px 10px;
  background: rgba(36, 16, 51, 0.05);
  color: var(--plum-soft);
}

.recent-salon-card__meta {
  color: var(--muted);
  line-height: 1.6;
}

.recent-salon-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.recent-salon-card__button {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  background: linear-gradient(135deg, rgba(36, 16, 51, 0.96), rgba(95, 43, 122, 0.94));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.recent-salon-card__button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.recent-salon-card__button--ghost {
  background: rgba(242, 140, 102, 0.14);
  color: var(--plum);
}

.recent-salon-card__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .detail-grid--product {
    grid-template-columns: 1fr;
  }

  .hero-map-scene {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  .detail-dialog form {
    padding: 18px 14px calc(110px + env(safe-area-inset-bottom, 0px));
  }

  .detail-header {
    display: grid;
    gap: 14px;
  }

  .detail-header .primary-btn {
    width: 100%;
  }

  .detail-product-stage {
    min-height: 320px;
  }

  .recent-salons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-map-scene {
    min-height: 300px;
  }

  .hero-map-label {
    font-size: 0.74rem;
    padding: 8px 11px;
  }

  .offer-grid {
    margin-top: 18px;
  }

  .detail-dialog,
  .recent-dialog,
  .explore-dialog {
    width: calc(100vw - 10px);
  }

  .detail-copy-card,
  .detail-content-card,
  .detail-media-card,
  .recent-salon-card {
    border-radius: 22px;
  }
}

.qivya-support-bubble {
  position: fixed;
  right: 18px;
  bottom: 22px;
  overflow: visible;
  z-index: 1000;
  min-width: 218px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 9px 18px 9px 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(145deg, rgba(95, 43, 122, 0.96), rgba(242, 140, 102, 0.92));
  color: #fff;
  box-shadow: 0 20px 38px rgba(23, 21, 29, 0.3);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.qivya-support-bubble::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(95, 43, 122, 0.28), rgba(242, 140, 102, 0.34));
  animation: qivyaSupportHalo 2.4s ease-out infinite;
}

.qivya-support-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(23, 21, 29, 0.34);
  filter: saturate(1.06);
}

.qivya-support-bubble:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: 2px;
}

.qivya-support-bubble__icon {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 -8px 18px rgba(95, 43, 122, 0.08), 0 12px 22px rgba(23, 21, 29, 0.18);
}

.qivya-support-bubble__icon::before {
  content: "";
  width: 25px;
  height: 18px;
  border-radius: 12px 12px 12px 5px;
  background: linear-gradient(145deg, var(--plum), var(--plum-soft));
}

.qivya-support-bubble__icon::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 12px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--plum);
  transform: rotate(45deg);
}

.qivya-support-bubble__icon span,
.qivya-support-bubble__icon span::before,
.qivya-support-bubble__icon span::after {
  position: absolute;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.qivya-support-bubble__icon span {
  left: 20px;
  top: 21px;
}

.qivya-support-bubble__icon span::before,
.qivya-support-bubble__icon span::after {
  content: "";
  top: 0;
}

.qivya-support-bubble__icon span::before {
  left: -7px;
}

.qivya-support-bubble__icon span::after {
  left: 7px;
}

.qivya-support-bubble__label {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1.12;
  white-space: nowrap;
}

.qivya-support-bubble__label strong {
  font-size: 0.92rem;
  font-weight: 950;
}

.qivya-support-bubble__label small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
}

.qivya-support-bubble__pulse {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  animation: qivyaSupportPulse 2.1s ease-out infinite;
}

@media (max-width: 860px) {
  .qivya-support-dialog {
    inset: 10px 10px calc(86px + env(safe-area-inset-bottom, 0px)) 10px;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    border-radius: 24px;
  }

  .qivya-support-dialog form {
    height: 100%;
    max-height: none;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  }

  .qivya-support-dialog.is-conversation form {
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  }

  .qivya-support-dialog .support-hint {
    margin: 8px 12px 0;
    padding: 9px 10px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .qivya-support-dialog .support-thread {
    min-height: 0;
    max-height: none;
    overflow: auto;
    margin: 10px 12px 0;
    padding: 10px;
  }

  .qivya-support-dialog .support-thread.hidden {
    display: none !important;
  }

  .qivya-support-dialog .support-thread .chat-item {
    max-width: min(92%, 312px);
    padding: 10px 11px;
  }

  .qivya-support-fields {
    min-height: 0;
    overflow: auto;
    padding: 10px 12px 0;
    gap: 10px;
  }

  .qivya-support-dialog.is-conversation .qivya-support-fields {
    overflow: visible;
  }

  .qivya-support-dialog.is-conversation #qivyaSupportText {
    min-height: 58px;
    max-height: 112px;
  }

  .qivya-support-dialog #qivyaSupportMessage {
    padding: 5px 12px 0;
    font-size: 0.82rem;
  }

  .qivya-support-dialog .dialog-actions {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    padding: 8px 12px 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    gap: 8px;
  }

  .qivya-support-dialog .qivya-support-minimize {
    display: none;
  }

  .qivya-support-dialog .dialog-actions button {
    min-width: 0;
    white-space: nowrap;
  }

  .qivya-support-dialog .dialog-actions .ghost-btn {
    flex: 0 1 auto;
    padding-inline: 12px;
  }

  .qivya-support-dialog .dialog-actions .primary-btn {
    flex: 1 1 auto;
    width: 100%;
  }

  .chat-dialog {
    width: calc(100vw - 10px);
    max-height: calc(100dvh - 96px);
  }

  .flow-dialog.chat-dialog form {
    max-height: calc(100dvh - 96px);
  }

  .chat-list {
    max-height: min(24dvh, 210px);
  }

  .qivya-support-bubble {
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    right: 10px;
    min-width: min(204px, calc(100vw - 20px));
    height: 58px;
    padding: 8px 13px 8px 8px;
  }

  .qivya-support-bubble__icon {
    width: 42px;
    height: 42px;
  }

  .qivya-support-bubble__label strong {
    font-size: 0.84rem;
  }

  .qivya-support-bubble__label small {
    font-size: 0.68rem;
  }

  .qivya-support-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 14px 14px 12px;
    gap: 9px;
  }

  .qivya-support-hero__avatar {
    width: 38px;
    height: 38px;
  }

  .qivya-support-hero p {
    display: none;
  }

  .qivya-support-status {
    grid-column: 2 / 3;
    width: fit-content;
    min-width: 0;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .qivya-support-identity {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qivya-support-bubble::before,
  .qivya-support-bubble__pulse,
  .qivya-support-dialog .primary-btn::after,
  .member-home-card--support::before {
    animation: none !important;
  }
}

@keyframes qivyaSupportPulse {
  0% {
    opacity: 0.82;
    transform: scale(0.98);
  }
  70% {
    opacity: 0;
    transform: scale(1.18);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes qivyaSupportHalo {
  0% {
    opacity: 0.7;
    transform: scale(0.96);
  }
  70% {
    opacity: 0;
    transform: scale(1.12);
  }
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes qivyaSupportButtonShine {
  0%, 48% {
    transform: translateX(-120%);
  }
  70%, 100% {
    transform: translateX(120%);
  }
}

@keyframes qivyaSupportCardPulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}
