/* ESCAMBO LOUCO — inspirado no Enjoei */
:root {
  --pink: #E91E8C;
  --pink-dark: #C4177A;
  --pink-soft: #FDF2F8;
  --pink-hover: #F72585;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --bg-muted: #EFEFEF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #999;
  --border: #E8E8E8;
  --green: #00A86B;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
  white-space: nowrap;
}

.btn--pink {
  background: var(--pink);
  color: #fff;
}
.btn--pink:hover { background: var(--pink-dark); }

.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: #fff;
}
.btn--outline:hover { border-color: var(--pink); color: var(--pink); }

.btn--white {
  background: #fff;
  color: var(--pink);
  font-weight: 700;
}
.btn--white:hover { transform: scale(1.02); }

.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 14px 28px; font-size: 15px; }

/* ─── Header ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.topbar__row {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand img {
  height: 72px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  object-position: center;
  transition: transform .2s;
}

.brand:hover img { transform: scale(1.03); }

.brand--footer img {
  height: 56px;
  max-width: 90px;
}

.brand span {
  font-weight: 800;
  font-size: 18px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.owl-guide-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--pink-soft);
  border: 1.5px solid transparent;
  transition: all .2s;
  flex-shrink: 0;
}

.owl-guide-trigger img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center top;
}

.owl-guide-trigger span {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  text-transform: none;
}

.owl-guide-trigger:hover,
.owl-guide-trigger.active {
  border-color: var(--pink);
  background: #fff;
}

.owl-guide-trigger.pulse {
  animation: owlPulse 2s ease infinite;
}

@keyframes owlPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(233, 30, 140, 0); }
}

.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  max-width: 520px;
  transition: border-color .2s;
}

.search:focus-within {
  border-color: var(--pink);
  background: #fff;
}

.search svg { color: var(--text-light); flex-shrink: 0; }

.search input {
  flex: 1;
  border: none;
  background: none;
  font-size: 14px;
  outline: none;
  color: var(--text);
}

.search input::placeholder { color: var(--text-light); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s;
}
.topbar__link:hover { color: var(--pink); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Category bar */
.catbar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 20px 12px;
  max-width: 1280px;
  margin: 0 auto;
  scrollbar-width: none;
}
.catbar::-webkit-scrollbar { display: none; }

.cat-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-soft);
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
}

.cat-pill:hover { background: var(--pink-soft); color: var(--pink); }

.cat-pill.active {
  background: var(--pink);
  color: #fff;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  color: var(--text);
}
.mobile-nav.open { display: flex; }

/* ─── Hero zone: frases + imagens ─── */
.hero-zone {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(233, 30, 140, 0.08), transparent 70%),
    linear-gradient(180deg, #fff5fa 0%, #faf8f5 45%, #fff 100%);
  border-bottom: 1px solid var(--border);
}

.hero-text {
  position: relative;
  min-height: 200px;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 24px 20px;
  text-align: center;
}

.hero-text-slide {
  position: absolute;
  inset: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.hero-text-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-text-slide__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--accent, var(--pink));
  opacity: 0.9;
}

.hero-text-slide__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: none;
  max-width: 18ch;
}

.hero-text-slide__line {
  display: inline;
  margin-right: 0.25em;
}

.hero-text-slide__highlight {
  display: inline-block;
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1;
  color: var(--accent, var(--pink));
  text-shadow: 0 2px 24px color-mix(in srgb, var(--accent, var(--pink)) 35%, transparent);
  transform: rotate(-2deg);
  margin-left: 0.1em;
}

.hero-text-slide__sub {
  font-size: clamp(14px, 2.2vw, 17px);
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.55;
  font-weight: 500;
}

.hero-text-slide__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent, var(--pink)) 0%, var(--pink-dark) 100%);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent, var(--pink)) 40%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: none;
}

.hero-text-slide__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent, var(--pink)) 45%, transparent);
}

/* ─── Hero carousel (imagens) ─── */
.hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--bg-muted);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  color: #fff;
}

.hero-slide__content h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: none;
  margin-bottom: 8px;
}

.hero-slide__content h1 em {
  font-style: normal;
  color: var(--slide-color, var(--pink));
  text-shadow: 0 0 40px rgba(233,30,140,.5);
}

.hero-slide__content p {
  font-size: 15px;
  opacity: .85;
  margin-bottom: 20px;
  max-width: 400px;
}

.hero-slide__btn {
  align-self: flex-start;
  padding: 12px 24px;
  background: var(--slide-color, var(--pink));
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s;
}
.hero-slide__btn:hover { transform: scale(1.04); }

.hero--brand {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  padding: 0;
  margin: 0;
  background: transparent;
  border-bottom: none;
}

.hero--brand .hero-slide--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf8f5;
}

.hero--brand .hero-slide--brand .hero-slide__bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero--brand .hero-slide__content {
  display: none;
}

.hero-dots {
  margin-top: 0;
  padding: 10px 0 14px;
  background: transparent;
}

@media (max-width: 768px) {
  .hero--brand {
    aspect-ratio: 3 / 2;
    max-height: none;
  }
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
  background: #fff;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all .3s;
}
.hero-dot.active {
  background: var(--pink);
  width: 24px;
  border-radius: 4px;
}

/* Hero unificado: texto + imagem no mesmo slide */
.hero-carousel {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 10px;
  min-height: 280px;
}

.hero-banner {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-banner.active {
  display: grid;
}

.hero-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.hero-banner__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent, var(--pink));
}

.hero-banner__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: none;
  text-wrap: balance;
}

.hero-banner__line {
  display: inline;
  margin-right: 0.25em;
}

.hero-banner__highlight {
  display: inline-block;
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1;
  color: var(--accent, var(--pink));
  transform: rotate(-2deg);
  margin-left: 0.1em;
}

.hero-banner__sub {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42ch;
}

.hero-banner__cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent, var(--pink)) 0%, var(--pink-dark) 100%);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent, var(--pink)) 40%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-banner__cta:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-banner__visual {
  border-radius: 20px;
  overflow: hidden;
  background: #faf8f5;
  aspect-ratio: 4 / 3;
  max-height: 300px;
  box-shadow: 0 16px 40px rgba(137, 16, 86, 0.1);
}

.hero-banner__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(137, 16, 86, 0.12));
}

/* Vitrine home: 6 colunas × 3 linhas por página */
.home-showcase__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.home-showcase__counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 5ch;
  text-align: center;
}

.home-showcase__viewport {
  overflow: hidden;
  margin-top: 4px;
}

.home-showcase__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.home-showcase__page {
  flex: 0 0 100%;
  min-width: 0;
}

.home-showcase__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.home-showcase__grid .card {
  flex: unset;
  scroll-snap-align: unset;
}

.shelf__arrow--inline {
  position: static;
  transform: none;
  width: 36px;
  height: 36px;
}

.shelf__arrow--inline:hover {
  transform: scale(1.05);
}

.shelf__arrow--inline:disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .home-showcase__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    min-height: auto;
    padding: 18px 14px 8px;
  }

  .hero-banner.active {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-banner__visual {
    order: -1;
    max-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .hero-banner__copy {
    align-items: center;
    text-align: center;
  }

  .hero-banner__sub {
    max-width: 100%;
  }

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

  .home-showcase .shelf__head {
    flex-direction: column;
    align-items: stretch;
  }

  .home-showcase__controls {
    justify-content: center;
  }
}

/* ─── Shelves (carrosséis Enjoei) ─── */
.shelf {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px;
}

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

.shelf__head h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.5px;
  color: var(--text);
}

.shelf__head p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

.shelf__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  padding: 8px 16px;
  border: 1.5px solid var(--pink);
  border-radius: 999px;
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
}
.shelf__cta:hover {
  background: var(--pink);
  color: #fff;
}

.shelf__wrap {
  position: relative;
}

.shelf__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.shelf__track::-webkit-scrollbar { display: none; }

.shelf__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 22px;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.shelf__arrow:hover { border-color: var(--pink); color: var(--pink); }
.shelf__arrow--prev { left: -12px; }
.shelf__arrow--next { right: -12px; }

/* ─── Product card (estilo Enjoei) ─── */
.card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.shelf--grid .card,
.grid .card {
  flex: unset;
}

.card__img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-soft);
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card:hover .card__img img { transform: scale(1.05); }

.card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
}
.card__tag--hot { background: var(--pink); }
.card__tag--new { background: var(--green); left: auto; right: 8px; }

.card__body { padding: 12px; }

.card__category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pink);
  margin-bottom: 4px;
}

.card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card--compact .card__body {
  padding: 10px;
}

.card--compact .card__offer,
.card--compact .card__want {
  font-size: 12px;
}

.card__offer {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.4;
}
.card__offer strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__want {
  font-size: 12px;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__seller {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
}

.card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card__seller img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.card__seller span {
  font-size: 11px;
  color: var(--text-light);
}

/* ─── Grid ─── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.grid--home {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.grid--category {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

/* ─── Home quick nav ─── */
.home-quicknav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 8px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-quicknav::-webkit-scrollbar { display: none; }

.home-quicknav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: all .2s;
}

.home-quicknav__item:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
}

.home-quicknav__icon {
  font-size: 15px;
}

/* ─── Home categories ─── */
.home-categories {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px 24px;
}

.home-categories__intro {
  margin-bottom: 20px;
}

.home-categories__intro h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.home-categories__intro p {
  color: var(--text-muted);
  font-size: 14px;
}

.home-categories__grid {
  display: grid;
  gap: 24px;
}

.home-category-block {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.home-category-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.home-category-block__head h3 {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shelf__head--stack {
  flex-wrap: wrap;
  align-items: flex-start;
}

.home-grid-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-grid-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.home-grid-sort select {
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--text);
}

/* ─── Search page ─── */
.search--page {
  max-width: 640px;
}

.search-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  min-height: calc(100vh - 180px);
}

.search-page__intro {
  margin-bottom: 28px;
}

.search-page__back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.search-page__back:hover {
  color: var(--pink);
}

.search-page h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 6px;
}

.search-page__subtitle {
  color: var(--text-muted);
  font-size: 15px;
}

.search-page__loading,
.search-page__empty {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text-muted);
  margin-bottom: 24px;
}

.search-page__empty strong {
  color: var(--text);
}

.search-section {
  margin-bottom: 36px;
}

.search-section__head {
  margin-bottom: 16px;
}

.search-section__head h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.search-section__head p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer--compact {
  padding-top: 0;
}

.footer--compact .footer__grid {
  display: none;
}

.footer--compact .footer__bottom {
  border-top: none;
  padding-top: 16px;
}

/* ─── Shops (lojinhas) ─── */
.shop {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .25s;
}
.shop:hover { box-shadow: var(--shadow); }

.shop__cover {
  height: 100px;
  overflow: hidden;
}
.shop__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop__info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.shop__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-top: -28px;
  box-shadow: var(--shadow);
}

.shop__info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.shop__info span {
  font-size: 11px;
  color: var(--text-light);
}

/* ─── Promo banner ─── */
.promo {
  background: linear-gradient(135deg, var(--pink) 0%, #9B1B6E 100%);
  margin: 20px 0;
}

.promo__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 48px 40px;
}

.promo__tag {
  font-size: 13px;
  font-weight: 700;
  opacity: .8;
  display: block;
  margin-bottom: 8px;
}

.promo__text h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.promo__text p {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  margin-bottom: 24px;
}

.promo__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.promo__img img {
  width: 100%;
  aspect-ratio: 6/5;
  object-fit: contain;
  background: #faf8f5;
}

/* ─── Brand gallery ─── */
.brand-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 12px;
}

.brand-gallery::-webkit-scrollbar { display: none; }

.brand-gallery img {
  flex: 0 0 min(85%, 720px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #faf8f5;
  box-shadow: var(--shadow);
}

/* ─── Plans ─── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
  position: relative;
}
.plan:hover { box-shadow: var(--shadow); }

.plan--hot { border-color: var(--pink); border-width: 2px; }

.plan__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 8px;
}

.plan__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.plan__price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }

.plan ul {
  list-style: none;
  flex: 1;
  margin-bottom: 16px;
}
.plan li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.plan .btn { width: 100%; }

/* ─── Footer ─── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
  margin-top: 20px;
}

.footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.brand--footer span { color: var(--pink); }

.footer__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer a {
  display: block;
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
  text-transform: none;
  transition: color .2s;
}
.footer a:hover { color: var(--pink); }

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-light);
}

/* ─── Cookie bar ─── */
.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}

.cookie p { font-size: 13px; color: var(--text-muted); }
.cookie--hide {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .25s ease, transform .25s ease;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.legal-card {
  background: var(--surface-strong);
  border: 1px solid rgba(233,30,140,.13);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 42px);
}
.legal-card h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin-bottom: 12px;
}
.legal-card h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}
.legal-card p,
.legal-card li {
  color: var(--text-muted);
  margin-bottom: 10px;
}
.legal-card ul { padding-left: 20px; }
.legal-updated {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

/* ─── Modal ─── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }

.modal__box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
  animation: popIn .25s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 18px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__box h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: none;
  margin-bottom: 6px;
}

.modal__box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal__box input,
.modal__box select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .2s;
}
.modal__box input:focus,
.modal__box select:focus { border-color: var(--pink); }

.toast {
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.toast--ok {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* ─── Checkout pages ─── */
.checkout-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 20px 60px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-top: 24px;
}

.checkout-form, .checkout-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.checkout-form h2, .checkout-summary h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--pink); }

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-weight: 800;
  font-size: 18px;
}
.mp-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
}
.mp-logo {
  background: #00bcff;
  color: #fff;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.alert {
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert--warning { background: #FEF9C3; color: #854D0E; border: 1px solid #FDE047; }
.alert--error { background: #FEE2E2; color: #991B1B; }
.alert--success { background: #ECFDF5; color: #065F46; }

.status-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.status-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 36px;
  max-width: 400px;
}
.status-card__icon { font-size: 48px; margin-bottom: 16px; }
.status-card h1 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.status-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .promo__inner { grid-template-columns: 1fr; }
  .promo__img { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar__actions, .topbar__link { display: none; }
  .menu-btn { display: flex; margin-left: auto; }
  .search { max-width: none; }

  .hero { height: 260px; }
  .hero-slide__content { padding: 28px 24px; }

  .shelf__arrow { display: none; }

  .plans { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 4px; text-align: center; }

  .checkout-grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 480px) {
  .card { flex: 0 0 160px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shelf__head { flex-direction: column; align-items: flex-start; }
}

/* ─── Guia da Coruja ─── */
.owl-guide {
  position: fixed;
  inset: 0;
  z-index: 10000;
  isolation: isolate;
  pointer-events: none;
}

.owl-guide.open { pointer-events: auto; }

.owl-guide__overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: transparent;
}

.owl-guide__spotlight {
  position: fixed;
  border-radius: var(--radius);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  transition: top .4s ease, left .4s ease, width .4s ease, height .4s ease;
  z-index: 1;
}

.owl-guide__bubble {
  position: fixed;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 24px));
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition: opacity .2s ease;
}

.owl-guide.open .owl-guide__bubble {
  animation: popIn .3s ease;
}

.owl-guide__bubble.is-changing {
  opacity: 0.6;
}

.owl-guide__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.owl-guide__avatar {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center top;
  flex-shrink: 0;
}

.owl-guide__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  text-transform: none;
}

.owl-guide__title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: none;
  line-height: 1.3;
}

.owl-guide__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.owl-guide__text strong {
  color: var(--text);
  font-weight: 600;
}

.owl-guide__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.owl-guide__skip {
  font-size: 12px;
  color: var(--text-light);
  padding: 4px 0;
}

.owl-guide__skip:hover { color: var(--pink); }

.owl-guide__progress {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.owl-guide__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.owl-guide__prev {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
}

.owl-guide__prev:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.owl-guide__prev:not(:disabled):hover {
  border-color: var(--pink);
  color: var(--pink);
}

.owl-guide--highlight {
  box-shadow: 0 0 0 3px var(--pink);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .owl-guide-trigger span { display: none; }
  .owl-guide-trigger { padding: 4px; }
  .brand img { height: 56px; max-width: 88px; }
  .brand span { display: none; }
  .owl-guide__bubble { bottom: 16px; }
}

/* ─── Auth ─── */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg-soft);
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}

.auth-card h1 { font-size: 24px; margin-bottom: 4px; }
.auth-sub { color: var(--text-muted); margin-bottom: 24px; }

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
}

.auth-tab.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.auth-form input, .auth-form select, .product-form input, .product-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 14px;
}

.auth-form button, .product-form button { width: 100%; margin-top: 8px; }
.auth-hint { font-size: 12px; color: var(--text-light); margin-top: 12px; text-align: center; }
.auth-hint--left { text-align: left; margin-bottom: 12px; }
.auth-back-btn { margin-top: 8px; width: auto !important; }
.auth-error { color: #e53935; font-size: 14px; margin-top: 12px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: var(--text-muted);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border, #eee);
}
.auth-oauth {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
.auth-oauth-btn-wrap {
  width: 100%;
  min-height: 44px;
  display: flex;
  justify-content: center;
}
.auth-oauth-btn-wrap > div {
  width: 100% !important;
  display: flex;
  justify-content: center;
}
.auth-oauth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
}
.auth-oauth-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.auth-oauth-icon--apple {
  fill: currentColor;
}
.match-rating {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #eee);
  font-size: 14px;
}
.match-rating--done,
.match-rating--received {
  color: var(--text-muted);
}
.star-rating {
  display: flex;
  gap: 4px;
  margin: 8px 0;
}
.star-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.star-btn.active,
.star-btn:hover {
  color: #ffb300;
}
.rating-comment {
  width: 100%;
  border: 1px solid var(--border, #eee);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 14px;
  margin-bottom: 8px;
  resize: vertical;
}
.profile-ratings {
  max-width: 720px;
  margin: 32px auto;
  padding: 0 20px;
}
.ratings-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rating-item {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #eee);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.rating-stars { color: #ffb300; margin-right: 8px; }
.rating-item time { display: block; font-size: 12px; color: var(--text-light); margin-top: 4px; }
.auth-divider--compact { margin: 20px 0 12px; }
.heart-purchase-block {
  background: var(--surface-alt, #fafafa);
  border: 1px solid var(--border, #eee);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.heart-purchase-block h3 { font-size: 16px; margin-bottom: 8px; }
.heart-purchase-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.heart-purchase-total {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 15px;
}
.heart-purchase-total strong { color: var(--pink, #E91E8C); }
.hidden { display: none !important; }

/* ─── Dashboard ─── */
.dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px;
  gap: 24px;
  min-height: calc(100vh - 80px);
}

.dashboard__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav__item {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-nav__item:hover, .dash-nav__item.active {
  background: var(--pink-soft);
  color: var(--pink);
}

.dash-fee-info {
  background: var(--pink-soft);
  padding: 16px;
  border-radius: var(--radius);
  font-size: 13px;
}

.dash-fee-info strong { color: var(--pink); display: block; margin-bottom: 4px; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-panel h2 { font-size: 22px; margin-bottom: 16px; }

.dash-panel__head {
  margin-bottom: 16px;
}

.dash-panel__head h2 {
  margin-bottom: 4px;
}

.dash-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  margin-bottom: 20px;
  max-width: 100%;
  transition: border-color .2s;
}

.dash-search:focus-within {
  border-color: var(--pink);
  background: #fff;
}

.dash-search svg { color: var(--text-light); flex-shrink: 0; }

.dash-search input {
  flex: 1;
  border: none;
  background: none;
  font-size: 14px;
  outline: none;
  color: var(--text);
}

.dash-search input::placeholder { color: var(--text-light); }

.dash-browse-grid {
  margin-top: 4px;
}
.dash-desc { color: var(--text-muted); margin-bottom: 16px; font-size: 14px; }

.badge {
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
}

.empty-msg { color: var(--text-muted); padding: 24px; text-align: center; }

/* ─── Proposals & Matches ─── */
.proposals-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.proposals-header h2 { margin-bottom: 4px; }
.proposals-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  background: var(--bg-muted);
  border-radius: 999px;
}
.proposals-tabs__btn {
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.proposals-tabs__btn.active {
  background: #fff;
  color: var(--pink);
  box-shadow: 0 2px 8px rgba(233,30,140,.12);
}
.proposals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proposal-card, .match-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 0;
  background: #fff;
  overflow: hidden;
}

.proposal-card.unread {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px rgba(233,30,140,.15);
}
.proposal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(233,30,140,.08);
}
.proposal-card__user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.proposal-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.proposal-card__name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}
.proposal-card__name:hover { color: var(--pink); }
.proposal-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}
.proposal-type--bolt { color: #d97706; }
.proposal-type--heart { color: #e91e8c; }
.proposal-type--counter { color: #6366f1; }
.proposal-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.proposal-status--pending { background: #fef3c7; color: #92400e; }
.proposal-status--accepted { background: #d1fae5; color: #065f46; }
.proposal-status--rejected { background: #fee2e2; color: #991b1b; }
.proposal-status--countered { background: #e0e7ff; color: #3730a3; }

.proposal-card__trade {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
}
.proposal-card__trade--compact {
  padding: 12px;
  background: var(--bg-muted);
  border-radius: 12px;
  margin-bottom: 12px;
}
.proposal-trade-arrow {
  font-size: 22px;
  color: var(--pink);
  text-align: center;
  flex-shrink: 0;
}
.proposal-items-group__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.proposal-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proposal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(233,30,140,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.proposal-item:hover {
  border-color: var(--pink);
  box-shadow: 0 4px 12px rgba(233,30,140,.08);
}
.proposal-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.proposal-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.proposal-item__info strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proposal-item__info small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.proposal-value-section {
  margin: 0 16px 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--pink-soft), #fff);
  border-radius: 12px;
  border: 1px solid rgba(233,30,140,.1);
}
.proposal-value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
  color: var(--text-muted);
}
.proposal-value-row strong {
  color: var(--text);
  font-size: 14px;
}
.proposal-value-row--highlight {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(233,30,140,.2);
  font-weight: 600;
}
.proposal-value-row--highlight strong {
  color: var(--pink);
  font-size: 16px;
}
.proposal-value-status {
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 0;
}
.proposal-value-status--ok { color: var(--green); }
.proposal-value-status--low { color: #d97706; }
.proposal-value-status--high { color: #dc2626; }

.proposal-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(233,30,140,.08);
  background: rgba(253,242,248,.35);
}
.proposal-card__time {
  font-size: 12px;
  color: var(--text-light);
}
.proposal-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--text-muted);
}
.btn--ghost:hover {
  background: rgba(0,0,0,.04);
  color: var(--text);
}

.proposal-card__icon { font-size: 24px; }
.proposal-card__body { flex: 1; font-size: 14px; }

.match-card { flex-direction: column; align-items: stretch; padding: 16px; }
.match-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.match-badge { background: var(--pink); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.paid-chat-badge { background: #6366f1; color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.chat-match-badge { margin-left: auto; flex-shrink: 0; }
.profile-match-hint { font-size: 13px; color: var(--muted); margin-top: 8px; display: block; }
.match-card__products { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.match-product { display: flex; align-items: center; gap: 8px; font-size: 13px; flex: 1; }
.match-product img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.match-arrow { font-size: 20px; color: var(--pink); }
.match-card__fee { font-size: 14px; margin-bottom: 12px; }
.fee-paid { color: var(--green); font-weight: 600; }
.fee-pending { color: var(--pink); font-weight: 600; }
.match-card__actions { display: flex; gap: 8px; }

/* ─── Product detail ─── */
.product-page { max-width: 1100px; margin: 0 auto; padding: 24px 20px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-detail__img img { width: 100%; border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.product-detail h1 { font-size: 26px; margin-bottom: 8px; }
.product-detail__category { color: var(--text-muted); margin-bottom: 16px; }
.product-detail__trade p { margin-bottom: 8px; font-size: 15px; }
.product-detail__value { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

.photo-upload { margin: 12px 0 16px; }
.photo-upload__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.photo-upload__label small { font-weight: 500; color: var(--text-muted); }
.photo-upload__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.photo-upload__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(233,30,140,.15);
}
.photo-upload__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-upload__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.photo-upload__add {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 2px dashed rgba(233,30,140,.35);
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.photo-upload__add:hover {
  border-color: var(--pink);
  background: #fff;
}
.photo-upload__add.hidden { display: none; }

.product-gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-muted);
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.product-gallery__thumb.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(233,30,140,.15);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-seller {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 20px 0;
}

.product-seller img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.product-seller strong { display: block; }
.product-seller span { font-size: 13px; color: var(--text-muted); }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.action-btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  transition: all .2s;
}

.action-btn:hover, .action-btn.active { border-color: var(--pink); background: var(--pink-soft); }
.bolt-btn:hover, .bolt-btn.active { border-color: #d97706; background: #fffbeb; }
.bolt-btn.active { color: #b45309; }
.action-btn__count {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.75;
  margin-left: 2px;
}
.heart-btn.active { border-color: #e91e8c; background: #fdf2f8; }

/* ─── Q&A ─── */
.qa-section h3 { font-size: 18px; margin-bottom: 16px; }
.qa-item { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.qa-item__q { display: flex; gap: 12px; margin-bottom: 8px; }
.qa-item__q img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.qa-item__a { background: var(--bg-soft); padding: 12px; border-radius: var(--radius-sm); font-size: 14px; }
.qa-form, .qa-answer-form { display: flex; gap: 8px; margin-top: 16px; }
.qa-form input, .qa-answer-form input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); }
.qa-pending { font-size: 13px; color: var(--text-light); font-style: italic; }

.my-products-select { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; max-height: 300px; overflow-y: auto; }
.my-product-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.my-product-option input { accent-color: var(--pink); }
.my-product-option__info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.my-product-option__info small { color: var(--text-muted); font-size: 12px; }
.my-product-option img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.my-product-option.selected { border-color: var(--pink); background: var(--pink-soft); }
.modal__box--wide { max-width: 520px; }

.modal__box--heart {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  max-height: min(92vh, 720px);
  padding: 0;
  overflow: hidden;
}
.modal__head {
  flex-shrink: 0;
  padding: 16px 20px 10px;
  padding-right: 48px;
  border-bottom: none;
}
.modal__head h2 { margin-bottom: 4px; font-size: 18px; }
.modal__head p { margin-bottom: 0; font-size: 13px; line-height: 1.4; }
.modal__body--scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 20px 12px;
  -webkit-overflow-scrolling: touch;
}
.modal__foot {
  flex-shrink: 0;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border, #eee);
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}
.modal__foot .btn { width: 100%; margin: 0; }
.modal__box--heart .modal__x { top: 10px; right: 10px; z-index: 3; }

.heart-value-bar--sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--bg-muted, #f5f5f5);
  border-bottom: 1px solid var(--border, #eee);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}
.heart-value-bar--compact .heart-value-bar__row { font-size: 13px; }

.modal__box--heart .my-products-select,
.my-products-select--modal {
  max-height: none;
  overflow: visible;
  margin-bottom: 10px;
}
.my-products-select--modal .my-product-option {
  padding: 10px 12px;
}
.my-products-select--modal .my-product-option img {
  width: 40px;
  height: 40px;
}
.heart-suggest-btn { margin-bottom: 10px; width: 100%; }
.modal__box--heart .heart-diff-field { margin-bottom: 4px; }

.product-price-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--pink-soft, #fdf2f8), #fff);
  border: 1px solid var(--border, #eee);
  border-radius: var(--radius-sm);
}
.product-price-card__main {
  flex: 1;
  min-width: 120px;
}
.product-price-card__label,
.product-price-card__total-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.product-price-card__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--pink, #E91E8C);
  line-height: 1.1;
}
.product-price-card__buy {
  flex: 1;
  min-width: 140px;
  padding-left: 12px;
  border-left: 1px solid var(--border, #eee);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-price-card__buy strong { font-size: 18px; color: var(--text, #1a1a1a); }
.product-price-card__buy small { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.product-price-card__buy .btn { align-self: flex-start; margin-top: 4px; }
.product-price-card__owner-hint {
  font-size: 13px;
  color: var(--text-muted);
  align-self: center;
}

.buy-btn {
  border-color: var(--pink, #E91E8C);
  background: #fff;
  color: var(--pink, #E91E8C);
}
.buy-btn:hover { background: var(--pink-soft, #fdf2f8); }
.buy-btn span { font-size: 12px; font-weight: 700; }

.heart-value-bar {
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 12px 0;
}
.heart-value-bar__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 4px;
}
.heart-value-bar__status { font-size: 13px; margin-top: 8px; }
.heart-value-bar__status--ok { color: var(--green); }
.heart-value-bar__status--low { color: #d97706; }
.heart-value-bar__status--high { color: #dc2626; }
.heart-suggest-btn { margin-bottom: 12px; }
.heart-diff-field {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.heart-diff-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.heart-diff-field__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.heart-diff-field__row input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.heart-diff-hint { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.match-card__diff { font-size: 14px; margin-bottom: 8px; }
.product-detail__multi-hint {
  font-size: 13px;
  color: var(--pink);
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--pink-soft);
  border-radius: var(--radius-sm);
}
.my-current-offer {
  font-size: 13px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}
.counter-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin: 12px 0 8px;
}
.counter-actor-section.hidden { display: none; }
.counter-actor-section { margin-bottom: 4px; }
.match-product--multi { flex-direction: column; align-items: flex-start; }
.match-product__stack { display: flex; gap: 4px; margin-bottom: 4px; }
.match-product__stack img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.match-card__values { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.match-modal { text-align: center; }

/* ─── Celebração de match ─── */
.match-celebrate__box {
  text-align: center;
  max-width: 420px;
  background: radial-gradient(120% 120% at 50% 0%, #fff 0%, #fff5fa 60%, #ffeaf4 100%);
  border: 1px solid rgba(233, 30, 140, 0.18);
  box-shadow: 0 30px 80px rgba(137, 16, 86, 0.28);
  animation: matchPop 0.5s cubic-bezier(0.22, 1.4, 0.5, 1) both;
  overflow: hidden;
  position: relative;
}

@keyframes matchPop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.match-celebrate__owl {
  font-size: 68px;
  line-height: 1;
  margin-bottom: 6px;
  display: inline-block;
  animation: matchOwlBounce 1.1s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(233, 30, 140, 0.35));
}

@keyframes matchOwlBounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.match-celebrate__title {
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 4px 0 6px;
  background: linear-gradient(135deg, var(--pink), var(--violet, #8b5cf6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: matchTitlePulse 1.4s ease-in-out infinite;
}

@keyframes matchTitlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.match-celebrate__sub {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}

.match-celebrate__hearts {
  font-size: 22px;
  letter-spacing: 6px;
  margin-bottom: 16px;
  animation: matchHeartsFloat 2s ease-in-out infinite;
}

@keyframes matchHeartsFloat {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-6px); opacity: 1; }
}

.match-celebrate__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

/* ─── Bolhas/corujas estourando pela tela ─── */
.match-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 11000;
}

.match-bubble {
  position: absolute;
  bottom: -60px;
  will-change: transform, opacity;
  animation-name: bubbleRise;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes bubbleRise {
  0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--drift, 0), -108vh) scale(1.15); opacity: 0; }
}

/* ─── CTA divertido para pagar a corujinha ─── */
.corujinha-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff6fb 0%, #fdeaf5 100%);
  border: 1px dashed rgba(233, 30, 140, 0.4);
}

.corujinha-cta__owl {
  font-size: 34px;
  line-height: 1;
  animation: matchOwlBounce 1.6s ease-in-out infinite;
}

.corujinha-cta__text {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.corujinha-cta__text strong { font-size: 14px; color: var(--text); }
.corujinha-cta__text span { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.corujinha-cta__text b { color: var(--pink-dark, #b3175f); }

.corujinha-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark, #b3175f) 100%);
  box-shadow: 0 8px 22px rgba(233, 30, 140, 0.4);
  animation: ctaPulse 1.8s ease-in-out infinite;
  transition: transform 0.15s;
}

.corujinha-cta__btn:hover { transform: translateY(-2px) scale(1.03); }

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(233, 30, 140, 0.35); }
  50% { box-shadow: 0 10px 30px rgba(233, 30, 140, 0.6); }
}

@media (max-width: 600px) {
  .corujinha-cta { flex-direction: column; text-align: center; align-items: center; }
  .corujinha-cta__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .match-celebrate__owl,
  .match-celebrate__title,
  .match-celebrate__hearts,
  .corujinha-cta__owl,
  .corujinha-cta__btn { animation: none; }
}

/* ─── Admin ─── */
.admin-auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--pink-soft), #fff);
}

.admin-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.admin-auth__brand { margin-bottom: 20px; justify-content: center; }

.admin-auth__card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 14px;
}

.admin-auth__card h1 { font-size: 28px; text-transform: none; }
.admin-auth__card p, .admin-auth__card small { color: var(--text-muted); }
.admin-auth__card input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--bg-soft);
  padding-bottom: 0;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-sidebar__brand img { height: 52px; }

.admin-nav { display: grid; gap: 8px; }
.admin-nav__item {
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 700;
}
.admin-nav__item.active, .admin-nav__item:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.admin-main { padding: 28px; overflow: auto; }
.admin-main__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-period {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.admin-period__btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.admin-period__btn.active,
.admin-period__btn:hover {
  background: var(--pink-soft);
  color: var(--pink);
}
.admin-card--wide { grid-column: 1 / -1; }
.admin-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.admin-chart-header h2 { margin-bottom: 4px; }
.admin-chart-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}
.admin-chart-wrap {
  position: relative;
  height: 280px;
}
.admin-chart-wrap--tall { height: 340px; }
.admin-chart-wrap--split { height: 300px; }
.admin-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-main__header h1 { font-size: 30px; }
.admin-user-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.admin-panel { display: none; }
.admin-panel.active { display: grid; gap: 18px; }
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 14px;
}
.admin-kpi, .admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.admin-kpi { padding: 18px; }
.admin-kpi span { color: var(--text-muted); font-size: 13px; font-weight: 700; text-transform: none; }
.admin-kpi strong { display: block; font-size: 24px; margin: 6px 0; }
.admin-kpi small { color: var(--text-light); }
.admin-card { padding: 20px; }
.admin-card h2, .admin-toolbar h2 { font-size: 18px; margin-bottom: 14px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-card--hero {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 2fr;
  gap: 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,193,7,.22), transparent 34%),
    linear-gradient(135deg, rgba(233,30,140,.12), rgba(99,102,241,.10)),
    var(--surface-strong);
}
.admin-card--hero p {
  color: var(--text-muted);
  line-height: 1.55;
}
.admin-snapshot,
.admin-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px;
}
.admin-insight {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(233,30,140,.12);
}
.admin-insight span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}
.admin-insight strong {
  display: block;
  color: var(--pink-dark);
  font-size: 20px;
  margin-top: 5px;
}
.admin-insight small {
  display: block;
  color: var(--text-light);
  margin-top: 5px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
}
.admin-toolbar input {
  min-width: 320px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-list { display: grid; gap: 10px; }
.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.admin-row:last-child { border-bottom: 0; }
.admin-row--wide {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.admin-row strong { display: block; }
.admin-row small { display: block; color: var(--text-muted); margin-top: 2px; }
.admin-row__stats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.admin-ok { color: var(--green); font-weight: 800; }
.admin-warn { color: #d97706; font-weight: 800; }

.admin-bars { display: grid; gap: 12px; }
.admin-bar__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.admin-bar__track {
  height: 9px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
}
.admin-bar__track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), #6366f1);
  border-radius: 999px;
}
.admin-question {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.admin-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-tags span {
  background: var(--pink-soft);
  color: var(--pink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .admin-page { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .admin-card--hero { grid-template-columns: 1fr; }
  .admin-snapshot, .admin-insights { grid-template-columns: 1fr; }
}

/* ─── Brand refresh 2026: owl/logo palette ─── */
:root {
  --pink: #E91E8C;
  --pink-dark: #B91570;
  --pink-soft: #FDF2F8;
  --pink-hover: #F72585;
  --amber: #FFB347;
  --amber-soft: #FFF2D8;
  --ink: #1A1A1A;
  --violet: #7C3AED;
  --cyan: #20D3C2;
  --surface: rgba(255,255,255,.78);
  --surface-strong: rgba(255,255,255,.94);
  --border: rgba(233, 30, 140, .14);
  --bg: #FFF8FC;
  --bg-soft: #FFF0F8;
  --bg-muted: #F8EAF3;
  --shadow: 0 18px 50px rgba(137, 16, 86, .11);
  --shadow-soft: 0 10px 30px rgba(137, 16, 86, .08);
  --ring: 0 0 0 4px rgba(255, 179, 71, .22);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(233, 30, 140, .18), transparent 28vw),
    radial-gradient(circle at 88% 4%, rgba(255, 179, 71, .24), transparent 24vw),
    radial-gradient(circle at 55% 100%, rgba(32, 211, 194, .11), transparent 28vw),
    linear-gradient(180deg, #fff 0%, #fff7fc 38%, #fffaf3 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .45;
  background-image:
    linear-gradient(rgba(233,30,140,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,30,140,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 78%, transparent);
}

::selection { background: rgba(233, 30, 140, .18); color: var(--ink); }

.topbar {
  background: rgba(255,255,255,.76);
  border-bottom: 1px solid rgba(233,30,140,.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(137, 16, 86, .06);
}

.topbar__row { padding-block: 10px; }

.brand img {
  filter: drop-shadow(0 8px 18px rgba(233,30,140,.18));
}

.brand span {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.search,
.auth-card,
.checkout-form,
.checkout-summary,
.status-card,
.dashboard__sidebar,
.dash-panel,
.product-detail__info,
.chat-sidebar,
.chat-main,
.admin-card,
.admin-kpi,
.admin-toolbar,
.admin-row--wide {
  background: var(--surface-strong);
  border-color: rgba(233,30,140,.13);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.btn {
  box-shadow: 0 8px 18px rgba(137,16,86,.08);
}

.btn--pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-hover) 52%, var(--violet));
  border: 0;
  box-shadow: 0 12px 28px rgba(233,30,140,.28);
}
.btn--pink:hover {
  background: linear-gradient(135deg, var(--pink-dark), var(--pink), var(--violet));
  transform: translateY(-1px);
}

.btn--outline {
  border-color: rgba(233,30,140,.22);
  background: rgba(255,255,255,.82);
}
.btn--outline:hover {
  background: var(--pink-soft);
  box-shadow: var(--ring);
}

.cat-pill {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(233,30,140,.10);
  box-shadow: 0 4px 14px rgba(137,16,86,.04);
}
.cat-pill:hover,
.cat-pill.active {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  border-radius: 0 0 36px 36px;
  box-shadow: 0 20px 60px rgba(137,16,86,.10);
}

.hero-zone {
  border-radius: 0 0 36px 36px;
  box-shadow: 0 20px 60px rgba(137, 16, 86, 0.08);
  overflow: hidden;
}

.hero--brand,
.hero--brand .hero-slide--brand {
  background: transparent;
}

.hero-dots {
  background: transparent;
}

.hero--brand .hero-slide--brand .hero-slide__bg {
  filter: drop-shadow(0 24px 50px rgba(137,16,86,.14));
}

.hero-slide__content {
  background:
    radial-gradient(circle at 12% 50%, rgba(233,30,140,.40), transparent 30%),
    linear-gradient(90deg, rgba(26,26,26,.78) 0%, rgba(26,26,26,.38) 58%, rgba(26,26,26,.08) 100%);
}

.hero-slide__content h1 {
  letter-spacing: -1.8px;
  text-wrap: balance;
}

.hero-slide__content h1 em {
  color: var(--amber);
  text-shadow: 0 0 34px rgba(255,179,71,.45);
}

.hero-dot {
  height: 9px;
  width: 9px;
  background: rgba(233,30,140,.18);
}
.hero-dot.active {
  background: linear-gradient(90deg, var(--pink), var(--amber));
  width: 30px;
}

.shelf {
  position: relative;
}

.shelf__head {
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(253,242,248,.72));
  border: 1px solid rgba(233,30,140,.10);
  box-shadow: 0 10px 30px rgba(137,16,86,.05);
}

.shelf__head h2,
.dash-panel h2,
.profile-products h2,
.checkout-page h1,
.admin-main__header h1 {
  background: linear-gradient(135deg, var(--ink), var(--pink-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shelf__cta {
  background: #fff;
  box-shadow: 0 8px 20px rgba(233,30,140,.10);
}

.shelf__arrow {
  border-color: rgba(233,30,140,.16);
  box-shadow: 0 14px 32px rgba(137,16,86,.14);
}
.shelf__arrow:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.card {
  border: 1px solid rgba(233,30,140,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 24px rgba(137,16,86,.07);
  transform-origin: center bottom;
}
.card:hover {
  box-shadow: 0 22px 48px rgba(137,16,86,.16);
  transform: translateY(-6px);
}

.card__img {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,179,71,.18), transparent 36%),
    linear-gradient(135deg, #fff, var(--pink-soft));
}

.card__img::after {
  content: "";
  position: absolute;
  inset: auto 10px 10px 10px;
  height: 36%;
  border-radius: 18px;
  background: linear-gradient(to top, rgba(26,26,26,.22), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover .card__img::after { opacity: 1; }

.card__tag,
.match-badge,
.badge {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 8px 18px rgba(233,30,140,.20);
}
.card__tag--new {
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.card__body {
  padding: 14px;
}
.card__want {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--pink-soft);
}

.card__seller {
  background: linear-gradient(90deg, rgba(253,242,248,.70), rgba(255,242,216,.45));
}

.footer {
  margin-top: 40px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255,179,71,.16), transparent 28%),
    linear-gradient(135deg, #1A1A1A, #431238 55%, #1A1A1A);
  color: rgba(255,255,255,.86);
}
.footer a,
.footer__desc,
.footer__bottom { color: rgba(255,255,255,.68); }
.brand--footer span,
.footer h4 { color: #fff; }

.auth-card,
.checkout-form,
.checkout-summary,
.status-card {
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.auth-card::before,
.checkout-form::before,
.checkout-summary::before,
.status-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--violet));
}

.auth-form input,
.auth-form select,
.product-form input,
.product-form select,
.form-group input,
.form-group select,
.qa-form input,
.qa-answer-form input,
.heart-diff-field__row input,
.admin-toolbar input,
.admin-auth__card input {
  background: rgba(255,255,255,.82);
  border-color: rgba(233,30,140,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.auth-form input:focus,
.auth-form select:focus,
.product-form input:focus,
.product-form select:focus,
.form-group input:focus,
.form-group select:focus,
.qa-form input:focus,
.qa-answer-form input:focus,
.heart-diff-field__row input:focus,
.admin-toolbar input:focus,
.admin-auth__card input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: var(--ring);
}

.dashboard {
  max-width: 1360px;
}
.dashboard__sidebar {
  border: 1px solid rgba(233,30,140,.12);
  border-radius: 26px;
  padding: 16px;
  align-self: start;
  position: sticky;
  top: 112px;
}
.dash-nav__item {
  border-radius: 16px;
  transition: transform .18s, background .18s, color .18s;
}
.dash-nav__item:hover,
.dash-nav__item.active {
  background: linear-gradient(135deg, var(--pink-soft), #fff4df);
  color: var(--pink);
  transform: translateX(2px);
}
.dash-fee-info,
.dash-boost-info {
  background: linear-gradient(135deg, var(--pink-soft), var(--amber-soft));
  border: 1px solid rgba(255,179,71,.30);
  box-shadow: 0 10px 26px rgba(255,179,71,.10);
}

.dashboard-product-card {
  display: flex;
  flex-direction: column;
}
.dashboard-product-card .card__link {
  flex: 1;
}
.dashboard-product-card__actions {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(233,30,140,.12);
  background: linear-gradient(135deg, rgba(253,242,248,.75), rgba(255,242,216,.55));
}
.boosted-product-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.proposal-card,
.match-card,
.qa-item,
.product-seller,
.my-current-offer,
.my-product-option,
.heart-value-bar,
.heart-diff-field {
  border-color: rgba(233,30,140,.13);
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 26px rgba(137,16,86,.06);
}
.proposal-card.unread {
  background: linear-gradient(135deg, var(--pink-soft), #fff);
  box-shadow: 0 14px 34px rgba(233,30,140,.10);
}

.product-page {
  max-width: 1180px;
}
.product-detail {
  padding: 20px;
  border-radius: 32px;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(233,30,140,.10);
  box-shadow: var(--shadow-soft);
}
.product-detail__img img {
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(26,26,26,.14);
}
.product-detail__info {
  border-radius: 28px;
  padding: 22px;
}
.product-detail h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: -1.1px;
}
.product-detail__category,
.product-detail__multi-hint {
  display: inline-flex;
  width: fit-content;
}
.product-detail__category {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #8a4c00;
  font-weight: 700;
  font-size: 12px;
}
.action-btn:hover,
.action-btn.active,
.heart-btn.active,
.my-product-option.selected {
  box-shadow: var(--ring);
}

.profile-header {
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 20px 60px rgba(26,26,26,.12);
}
.profile-header__overlay {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,179,71,.30), transparent 26%),
    linear-gradient(180deg, rgba(26,26,26,.08) 0%, rgba(26,26,26,.78) 100%);
}
.profile-avatar {
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.profile-boost-banner {
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--violet));
  letter-spacing: .02em;
}
.profile-boost-badge {
  box-shadow: 0 10px 24px rgba(255,179,71,.22);
}

.chat-page {
  padding: 24px 20px;
  gap: 18px;
}
.chat-sidebar,
.chat-main {
  border: 1px solid rgba(233,30,140,.12);
  border-radius: 26px;
  overflow: hidden;
}
.conv-item {
  border-radius: 18px;
}
.conv-item.active,
.conv-item:hover {
  background: linear-gradient(135deg, var(--pink-soft), #fff8ec);
}
.chat-msg__bubble {
  box-shadow: 0 8px 20px rgba(137,16,86,.08);
}

.checkout-page {
  position: relative;
}
.checkout-page::before,
.status-page::before,
.admin-auth::before {
  content: "";
  position: fixed;
  inset: 12% auto auto 8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,71,.25), transparent 68%);
  pointer-events: none;
}
.mp-badge {
  background: linear-gradient(135deg, #e6f8ff, #fff);
}

.admin-auth-page,
.admin-page {
  background:
    radial-gradient(circle at 10% 6%, rgba(233,30,140,.18), transparent 28vw),
    radial-gradient(circle at 92% 12%, rgba(255,179,71,.24), transparent 24vw),
    linear-gradient(180deg, #fff, #fff7fc);
}
.admin-sidebar {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
}
.admin-nav__item.active,
.admin-nav__item:hover {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
}
.admin-kpi strong {
  color: var(--pink-dark);
}
.admin-bar__track span {
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--violet));
}

@media (max-width: 768px) {
  body::before { background-size: 32px 32px; }
  .shelf__head { align-items: flex-start; flex-direction: column; }
  .product-detail { padding: 12px; border-radius: 24px; }
  .dashboard__sidebar { position: static; }
}

/* ─── Profile ─── */
.profile-header {
  height: 280px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-muted);
  position: relative;
}

.profile-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,.7));
  display: flex;
  align-items: flex-end;
  padding: 32px;
  gap: 20px;
  color: #fff;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
}

.profile-level { font-size: 14px; opacity: .9; }
.profile-meta { font-size: 13px; opacity: .8; margin-bottom: 8px; }
.profile-bio { font-size: 14px; opacity: .9; margin-bottom: 12px; }
.profile-info h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-boost-badge {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.profile-boost-banner {
  background: linear-gradient(90deg, #f59e0b, #f97316);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
}
.profile-header--boosted {
  box-shadow: inset 0 -4px 0 #f59e0b;
}
.profile-avatar--boosted {
  border-color: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, .35), 0 0 24px rgba(249, 115, 22, .45);
}
.profile-boost-status {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: #fde68a;
  font-weight: 600;
}
.profile-products { max-width: 1280px; margin: 0 auto; padding: 32px 20px; }
.profile-products h2 { margin-bottom: 20px; }

.dash-boost-info {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffbeb, #fff);
}
.dash-boost-info strong { display: block; margin-bottom: 6px; }
.dash-boost-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }

/* ─── Chat ─── */
.chat-page {
  display: grid;
  grid-template-columns: 320px 1fr;
  max-width: 1280px;
  margin: 0 auto;
  height: calc(100vh - 80px);
  border-top: 1px solid var(--border);
}

.chat-sidebar {
  border-right: 1px solid var(--border);
  padding: 20px;
  overflow-y: auto;
}

.chat-sidebar h2 { font-size: 18px; margin-bottom: 16px; }
.conv-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: left;
  width: 100%;
  margin-bottom: 4px;
  background: #fff;
}

.conv-item:hover, .conv-item.active { background: var(--pink-soft); }
.conv-item img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.conv-item strong { display: block; font-size: 14px; }
.conv-item span { font-size: 11px; color: var(--text-muted); }
.conv-item p { font-size: 12px; color: var(--text-light); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-main { display: flex; flex-direction: column; }
.chat-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.chat-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat-header a { font-size: 13px; color: var(--pink); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg { max-width: 70%; }
.chat-msg--me { align-self: flex-end; }
.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--bg-soft);
  font-size: 14px;
  line-height: 1.5;
}

.chat-msg--me .chat-msg__bubble { background: var(--pink); color: #fff; }
.chat-msg__time { font-size: 11px; color: var(--text-light); margin-top: 4px; display: block; }
.chat-msg--me .chat-msg__time { text-align: right; }

.chat-input {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
}

/* ─── Monetization banner ─── */
.monetization-banner {
  background: linear-gradient(135deg, var(--pink-soft), #fff);
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.monetization-banner h3 { font-size: 20px; margin-bottom: 8px; color: var(--pink); }

.topbar__user {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.topbar__user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  animation: popIn .3s ease;
}

.toast--ok { background: var(--green); color: #fff; }
.toast--err { background: #e53935; color: #fff; }

.card__value { font-size: 11px; color: var(--text-light); margin-top: 4px; }

@media (max-width: 900px) {
  .dashboard { grid-template-columns: 1fr; }
  .dashboard__sidebar { order: 0; }
  .product-detail { grid-template-columns: 1fr; }
  .chat-page { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 80px); }
  .chat-sidebar { max-height: 200px; }
  .proposal-card__trade {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .proposal-trade-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .proposal-card__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .proposal-card__actions {
    margin-left: 0;
    width: 100%;
  }
  .proposal-card__actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
  .proposals-header {
    flex-direction: column;
  }
  .proposals-tabs {
    width: 100%;
  }
  .proposals-tabs__btn {
    flex: 1;
    justify-content: center;
  }
}

/* ─── Corujinha / trade checkout ─── */
.corujinha-hero {
  text-align: center;
  margin-bottom: 28px;
}
.corujinha-hero__img {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
}
.trade-checkout-sub {
  color: var(--muted);
  max-width: 480px;
  margin: 8px auto 0;
}
.trade-checkout-page .checkout-grid {
  max-width: 960px;
  margin: 0 auto;
}
.trade-checkout-products ul {
  margin: 8px 0 16px;
  padding-left: 20px;
}
.checkout-summary--wide {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.checkout-section {
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--bg-muted, #f8f8f8);
  border-radius: var(--radius-sm);
}
.checkout-section--values {
  background: #fff;
  border: 1px solid var(--border, #eee);
}
.checkout-section__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.checkout-line { font-size: 14px; margin: 8px 0 0; }
.checkout-line--big { font-size: 22px; margin: 0; }
.trade-fee-breakdown {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg-muted);
  border-radius: var(--radius);
}
.trade-fee-breakdown.checkout-section {
  margin: 16px 0 0;
}

/* ─── Bolt pick ─── */
.proposal-bolt-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #fffbeb;
  border-radius: 8px;
  border-left: 3px solid #d97706;
}
.bolt-pick-grid .my-product-option.selected {
  border-color: #d97706;
  background: #fffbeb;
}
.bolt-pick-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.chat-paywall {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  min-height: 360px;
  gap: 16px;
}
.chat-paywall__owl {
  width: 80px;
  height: 80px;
}
.chat-match-badge--locked {
  background: #d97706;
}

/* ─── Mobile extra ─── */
@media (max-width: 768px) {
  .hero-text {
    min-height: 220px;
    padding: 20px 16px 16px;
  }
  .hero-text-slide {
    inset: 20px 16px 16px;
  }
  .hero-text-slide__title {
    max-width: 100%;
  }
  .hero-text-slide__highlight {
    font-size: 1.25em;
  }
  .hero--brand {
    aspect-ratio: 3 / 2;
    max-height: none;
  }
  .product-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .action-btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  .match-card__products {
    flex-direction: column;
    align-items: stretch;
  }
  .match-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .match-card__actions {
    flex-direction: column;
  }
  .match-card__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .dashboard {
    flex-direction: column;
  }
  .dashboard__sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
  }
  .dash-nav__item {
    flex: 1 1 auto;
    font-size: 13px;
    padding: 8px 10px;
  }
  .brand-gallery img {
    flex: 0 0 88%;
  }
  .topbar__actions {
    display: none;
  }
  .search {
    flex: 1;
    min-width: 0;
  }
  .checkout-page {
    padding: 16px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .modal__box--wide:not(.modal__box--heart) {
    width: calc(100vw - 16px);
    max-width: none;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal__box--heart {
    max-height: 88vh;
    width: 100%;
    margin: 0;
    border-radius: 16px 16px 0 0;
  }
  #heartModal.open {
    align-items: flex-end;
    padding: 0;
  }
  #heartModal .modal__box--heart {
    border-radius: 16px 16px 0 0;
    width: 100%;
  }
  .product-price-card {
    flex-direction: column;
  }
  .product-price-card__buy {
    padding-left: 0;
    padding-top: 12px;
    border-left: none;
    border-top: 1px solid var(--border, #eee);
  }
  .product-actions {
    flex-direction: column;
  }
  .product-actions .action-btn,
  .product-actions .buy-btn {
    width: 100%;
    justify-content: center;
  }
  .chat-layout {
    flex-direction: column;
  }
  .chat-sidebar {
    width: 100%;
    max-height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .product-detail {
    flex-direction: column;
  }
  .product-gallery {
    width: 100%;
  }
}

/* ─── Mobile / responsive fixes (≤768px) ─── */
@media (max-width: 768px) {
  :root { --header-h: 96px; }

  html {
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: clip;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .topbar__row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    align-items: center;
  }

  .brand { min-width: 0; }
  .brand img { height: 44px; max-width: 52px; }
  .brand span { display: none; }
  .brand--footer span { display: inline; font-size: 14px; }
  .brand--footer img { height: 40px; max-width: 48px; }

  .owl-guide-trigger { padding: 4px; flex-shrink: 0; }
  .owl-guide-trigger img { width: 34px; height: 34px; }
  .owl-guide-trigger span { display: none; }

  .topbar__actions,
  .topbar__link { display: none !important; }

  .menu-btn {
    display: flex !important;
    margin-left: auto;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .topbar__row:has(.search) .menu-btn { margin-left: 0; }

  .search {
    flex: 1 1 100%;
    order: 10;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 10px 14px;
  }

  .search--page {
    flex: 1 1 auto;
    order: unset;
    width: auto;
  }

  .topbar__row:has(.search--page) { flex-wrap: nowrap; }
  .topbar__row:has(.search--page) .search {
    flex: 1 1 auto;
    order: unset;
    min-width: 0;
  }

  .catbar { padding: 0 12px 10px; gap: 4px; }
  .cat-pill { padding: 8px 12px; font-size: 12px; }

  .mobile-nav { padding: 12px 14px 16px; }
  .mobile-nav a,
  .mobile-nav .btn { width: 100%; text-align: center; justify-content: center; }

  .hero-zone { border-radius: 0 0 24px 24px; }
  .hero-carousel { padding: 18px 14px 8px; }
  .hero-banner__title { font-size: clamp(1.55rem, 7vw, 2rem); }
  .hero-banner__highlight { display: block; margin-top: 4px; font-size: 1.2em; }
  .hero-banner__visual { max-height: 180px; }

  .shelf { padding: 20px 14px; }
  .shelf__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }
  .shelf__head h2 { font-size: 18px; }
  .shelf__head p { font-size: 13px; }
  .shelf__cta { align-self: flex-start; white-space: normal; text-align: center; }
  .shelf__arrow { display: none; }
  .home-showcase .shelf__arrow--inline { display: flex; }
  .shelf__track { gap: 10px; padding-inline: 2px; scroll-padding-inline: 14px; }

  .card { flex: 0 0 min(78vw, 220px); }
  .grid,
  .grid--home,
  .grid--category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card__body { padding: 10px; }
  .card__title { font-size: 13px; }
  .card__offer,
  .card__want { font-size: 12px; overflow-wrap: anywhere; }
  .card__offer strong { overflow-wrap: anywhere; }
  .card__seller span { font-size: 10px; }

  .home-quicknav { padding: 0 14px 6px; gap: 8px; }
  .home-quicknav__item { padding: 9px 14px; font-size: 12px; }
  .home-grid-toolbar { width: 100%; flex-direction: column; align-items: stretch; }
  .home-grid-sort { width: 100%; justify-content: space-between; }
  .home-grid-sort select { flex: 1; }
  .home-grid-toolbar .shelf__cta { width: 100%; }

  .promo__inner { padding: 28px 18px; gap: 20px; }
  .promo__text h2 { font-size: 24px; }
  .plans { grid-template-columns: 1fr; }
  .footer { padding: 28px 14px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; padding-top: 16px; }

  .cookie {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .cookie .btn { width: 100%; }

  .search-page { padding: 18px 14px 36px; }
  .search-page h1 { font-size: 22px; }
  .search-section__head h2 { font-size: 17px; }

  .dashboard {
    display: flex;
    flex-direction: column;
    padding: 14px;
    gap: 14px;
    min-height: auto;
  }
  .dashboard__sidebar {
    order: 0;
    position: static;
    top: auto;
    width: 100%;
    padding: 12px;
    border-radius: 18px;
  }
  .dashboard__main { order: 1; min-width: 0; }
  .dash-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav__item {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 12px;
    transform: none !important;
  }
  .dash-fee-info,
  .dash-boost-info { font-size: 12px; padding: 12px; }
  .dash-panel h2 { font-size: 18px; }

  .proposals-header { flex-direction: column; gap: 12px; }
  .proposals-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .proposals-tabs__btn { flex: 0 0 auto; white-space: nowrap; }
  .proposal-card__footer,
  .proposal-card__actions,
  .match-card__actions { flex-direction: column; align-items: stretch; }
  .proposal-card__actions .btn,
  .match-card__actions .btn { width: 100%; justify-content: center; }
  .proposal-card__trade { grid-template-columns: 1fr; gap: 8px; }
  .proposal-trade-arrow { transform: rotate(90deg); text-align: center; }

  .product-page { padding: 12px 14px 24px; }
  .product-detail {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 14px;
    border-radius: 20px;
  }
  .product-detail h1 { font-size: 20px; line-height: 1.25; }
  .product-actions { flex-direction: column; gap: 8px; }
  .product-actions .action-btn,
  .product-actions .buy-btn { width: 100%; justify-content: center; min-height: 44px; }
  .product-price-card { flex-direction: column; }
  .product-price-card__buy {
    padding-left: 0;
    padding-top: 12px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .profile-header { height: 200px; }
  .profile-header__overlay { padding: 16px; flex-wrap: wrap; gap: 12px; }
  .profile-avatar { width: 72px; height: 72px; }
  .profile-products { padding: 20px 14px; }

  .chat-page {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100dvh - 72px);
  }
  .chat-sidebar {
    width: 100%;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 14px;
  }
  .chat-main { min-height: 50dvh; }
  .chat-msg { max-width: 88%; }
  .chat-input { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .chat-input .btn { flex-shrink: 0; }

  .auth-page { padding: 24px 14px; align-items: flex-start; }
  .auth-card { width: 100%; max-width: none; padding: 22px 18px; border-radius: 20px; }
  .checkout-page,
  .trade-checkout-page { padding: 14px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 16px; }
  .status-page { padding: 20px 14px; }
  .status-card { padding: 24px 18px; width: 100%; }

  .modal { padding: 0; align-items: flex-end; }
  .modal.open { align-items: flex-end; }
  .modal__box {
    max-width: none;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92dvh;
    overflow-y: auto;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .modal__box--wide { width: 100%; max-width: none; }
  .modal__box--heart { border-radius: 20px 20px 0 0; }
  #heartModal.open { align-items: flex-end; padding: 0; }

  .admin-page { padding: 14px; }
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .admin-auth__card { padding: 22px 18px; }

  .legal-page { padding: 24px 14px 48px; }
  .legal-card { padding: 20px 16px; border-radius: 20px; }

  .owl-guide__bubble {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
    padding: 16px;
  }
  .owl-guide__nav { gap: 6px; }
  .owl-guide__actions { width: 100%; justify-content: flex-end; }

  .auth-card .btn--lg,
  .status-card .btn--lg,
  .cookie .btn--lg,
  .modal .btn--lg,
  .mobile-nav .btn,
  .promo .btn--lg,
  .checkout-form .btn--lg {
    width: 100%;
    padding: 14px 20px;
  }

  .btn { min-height: 40px; }
}

@media (max-width: 380px) {
  .grid,
  .grid--home,
  .grid--category { grid-template-columns: 1fr; }
  .card { flex: 0 0 min(88vw, 280px); }
  .hero-text-slide__title { font-size: 1.5rem; }
}
