/* SmartShope — visual refresh 2026
   Camada de acabamento carregada após o design system legado. */

:root {
  --primary: #e9005f;
  --primary-strong: #c9004f;
  --primary-light: rgba(233, 0, 95, 0.09);
  --secondary: #6d28d9;
  --accent: #f59e0b;
  --success: #16a34a;
  --bg-main: #f7f7fa;
  --bg-surface: #ffffff;
  --text-main: #17131d;
  --text-muted: #5f5968;
  --text-dim: #89828f;
  --border: rgba(23, 19, 29, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 8px 28px rgba(34, 24, 43, 0.06);
  --shadow-card: 0 10px 30px rgba(34, 24, 43, 0.07);
  --shadow-float: 0 20px 50px rgba(109, 40, 217, 0.16);
}

html {
  background: #eeeaf2;
}

body {
  background:
    radial-gradient(circle at 15% 5%, rgba(233, 0, 95, 0.08), transparent 28rem),
    radial-gradient(circle at 90% 25%, rgba(109, 40, 217, 0.08), transparent 30rem),
    #eeeaf2;
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a,
[onclick] {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(233, 0, 95, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #17131d;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#app-container {
  max-width: 560px;
  min-width: 0;
  background: var(--bg-main);
  box-shadow: 0 0 0 1px rgba(23, 19, 29, 0.04), 0 30px 80px rgba(34, 24, 43, 0.14);
}

#app-view.animate-in,
#app-view.animate-in:hover {
  animation: none !important;
  transform: none !important;
  box-shadow: none !important;
}

#app-header {
  padding: 10px 16px;
  min-height: 68px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(23, 19, 29, 0.06);
  box-shadow: 0 8px 30px rgba(34, 24, 43, 0.04);
}

.header-content {
  gap: 16px;
}

.header-actions {
  gap: 7px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #fff;
  color: #37303f;
  border: 1px solid rgba(23, 19, 29, 0.07);
  box-shadow: 0 4px 12px rgba(34, 24, 43, 0.05);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .icon-btn:hover {
    transform: translateY(-2px);
    color: var(--primary);
    background: var(--primary-light);
    border-color: rgba(233, 0, 95, 0.16);
    box-shadow: 0 9px 22px rgba(233, 0, 95, 0.11);
    animation: none;
  }

  .icon-btn:hover i,
  .icon-btn:hover svg,
  .icon-btn:hover>* {
    transform: none;
  }

  .icon-btn:hover::before {
    opacity: 0;
  }
}

.icon-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

#bottom-nav {
  bottom: max(10px, env(safe-area-inset-bottom, 10px));
  width: calc(100% - 20px);
  max-width: 540px;
  height: 66px;
  padding: 6px 8px;
  border: 1px solid rgba(23, 19, 29, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(34, 24, 43, 0.16);
}

.nav-item {
  min-width: 64px;
  min-height: 50px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 9px;
  letter-spacing: 0.01em;
}

.nav-item.active {
  background: var(--primary-light);
}

.nav-item.active::after {
  display: none;
}

.nav-item.active i {
  transform: none;
}

/* Home */
.home-view {
  width: 100%;
  min-width: 0;
  min-height: 100dvh;
  padding-bottom: 96px;
  overflow-x: hidden;
}

.home-hero {
  width: 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 18px 18px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.16), transparent 9rem),
    linear-gradient(142deg, #21122e 0%, #401650 48%, #741349 100%);
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.home-hero-glow {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.home-hero-glow--pink {
  right: -100px;
  bottom: -130px;
  background: rgba(255, 0, 110, 0.55);
}

.home-hero-glow--purple {
  left: -120px;
  top: -150px;
  background: rgba(124, 58, 237, 0.52);
}

.home-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.home-location {
  min-width: 0;
}

.home-greeting {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-greeting svg {
  width: 12px;
  height: 12px;
}

.home-city-button {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.home-city-button strong {
  max-width: 240px;
  overflow: hidden;
  font-family: "League Spartan", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-city-chevron {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}

.home-city-chevron svg {
  width: 12px;
  height: 12px;
}

.home-cart-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease;
}

.home-cart-button:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-2px);
}

.home-cart-button svg {
  width: 19px;
  height: 19px;
}

.home-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  border: 2px solid #43164c;
  border-radius: 20px;
  background: #ffcc33;
  color: #21122e;
  font-size: 9px;
  font-weight: 900;
}

.home-hero-grid {
  display: grid;
  min-width: 0;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #ffccdc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 5px;
  background: #ff6ba1;
}

.home-hero-title {
  max-width: 500px;
  margin: 0;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: clamp(30px, 9vw, 44px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.home-hero-title span {
  color: #ffb7d1;
}

.home-hero-subtitle {
  max-width: 480px;
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.home-search {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 15px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: #fff;
  color: #665e6d;
  box-shadow: 0 16px 36px rgba(20, 8, 29, 0.2);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(20, 8, 29, 0.26);
}

.home-search>svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--primary);
}

.home-search-placeholder {
  flex: 1;
  font-size: 12px;
  font-weight: 650;
}

.home-search-action {
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.home-hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 700;
}

.home-proof-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.home-proof-item svg {
  width: 13px;
  height: 13px;
  color: #ffb7d1;
}

.home-proof-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .18);
}

.home-hero-visual {
  display: none;
}

.home-ad-section {
  padding: 16px 0 4px !important;
}

#home-ad-carousel {
  scroll-padding-inline: 18px;
}

#home-ad-carousel>div {
  width: calc(100vw - 36px) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-card);
}

.home-section {
  padding: 20px 0 4px !important;
}

.home-section-heading {
  padding: 0 18px 12px !important;
}

.home-section-heading h2 {
  gap: 9px !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em;
}

.home-section-heading h2>span {
  width: 30px !important;
  height: 30px !important;
  border-radius: 10px !important;
}

.home-section-heading h2>span svg {
  width: 15px !important;
  height: 15px !important;
}

.home-section .m-scroll-x {
  gap: 12px !important;
  padding: 0 18px 12px !important;
  scroll-padding-inline: 18px;
  scroll-snap-type: x proximity;
}

.home-section .m-scroll-x>* {
  scroll-snap-align: start;
}

.home-category-strip {
  gap: 9px !important;
}

.home-category-pill {
  min-height: 40px !important;
  padding: 5px 13px 5px 5px !important;
  border-radius: 999px !important;
}

.home-category-pill>div {
  width: 30px !important;
  height: 30px !important;
}

.home-category-pill span {
  font-size: 11px !important;
}

.home-product-slide {
  width: 164px !important;
  flex: 0 0 164px !important;
}

.home-sponsored-card {
  width: 164px;
  flex: 0 0 164px;
}

.home-view .product-card {
  min-width: 0;
  isolation: isolate;
  border: 1px solid rgba(38, 25, 46, 0.095);
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(38, 25, 46, 0.045),
    0 10px 26px rgba(38, 25, 46, 0.085);
  transform: translateZ(0);
}

.home-view .product-card::after {
  pointer-events: none;
}

.home-view .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
  pointer-events: none;
}

.home-view .product-card-img-container {
  position: relative;
  border-radius: 19px 19px 0 0;
}

.home-view .product-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--product-accent) 18%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--product-accent) 11%, #fff), #f7f3f8);
  color: var(--product-accent);
}

.home-view .product-card-placeholder::before,
.home-view .product-card-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--product-accent) 15%, transparent);
  border-radius: 50%;
}

.home-view .product-card-placeholder::before {
  width: 128px;
  height: 128px;
  top: -73px;
  right: -64px;
}

.home-view .product-card-placeholder::after {
  width: 92px;
  height: 92px;
  bottom: -62px;
  left: -48px;
}

.home-view .product-card-placeholder-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--product-accent) 16%, #fff);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--product-accent) 12%, transparent);
}

.home-view .product-card-placeholder-icon svg {
  width: 22px;
  height: 22px;
}

.home-view .product-card-placeholder-label {
  position: relative;
  z-index: 1;
  color: color-mix(in srgb, var(--product-accent) 72%, #382d3c);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.home-view .product-card-img {
  position: relative;
  z-index: 1;
}

.home-view .product-card-img-wrap {
  border-bottom: 1px solid rgba(38, 25, 46, .055);
}

.home-view .product-card-info {
  gap: 4px;
  padding: 11px;
  background: linear-gradient(180deg, #fff 0%, #fff 76%, #fefcfe 100%);
}

.home-view .product-card-store {
  color: #746c7c;
  font-size: 8px;
  letter-spacing: .09em;
}

.home-view .product-card-name {
  height: 34px;
  font-size: 12px;
  line-height: 1.35;
}

.home-view .product-card-meta {
  min-height: 16px;
  gap: 5px;
}

.home-view .product-card-service-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(38, 25, 46, .055);
  color: #68606e;
  font-size: 8px;
  font-weight: 800;
}

.home-view .product-card-service-duration svg {
  width: 10px;
  height: 10px;
}

.home-view .product-card-rating {
  font-size: 10px;
}

.home-view .product-card-trending {
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 8px;
}

.home-view .product-card-discount {
  top: 9px;
  left: 9px;
  padding: 4px 7px;
  border-radius: 8px;
  font-size: 9px;
}

.home-view .product-card-old-price {
  margin-bottom: 0;
  font-size: 8px;
}

.home-view .product-card-price {
  font-size: 14px;
}

.home-view .product-card-price.is-consult {
  color: #5c5262;
  font-size: 12px;
  letter-spacing: -.01em;
}

.home-view .product-card-btn {
  width: 34px;
  height: 34px;
  border-color: rgba(233, 0, 95, .14);
  border-radius: 12px;
  background: rgba(233, 0, 95, .055);
}

.home-view .product-card-btn svg {
  width: 14px;
  height: 14px;
}

.home-view .product-card-btn.is-service {
  width: auto;
  min-width: 66px;
  padding: 0 9px;
  gap: 4px;
  border-color: transparent;
  background: #211323;
  color: #fff;
}

.home-view .product-card-btn.is-service span {
  font-size: 8.5px;
  font-weight: 850;
}

.home-products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 18px 12px;
}

.home-view .scroll-hint {
  display: none !important;
}

.home-trust-section {
  margin-top: 28px;
}

.hts-hero,
.hts-mission {
  background:
    radial-gradient(circle at 90% 10%, rgba(233, 0, 95, .2), transparent 13rem),
    linear-gradient(145deg, #17101e, #2c1638);
}

.hts-cards {
  padding: 10px 20px;
}

.hts-card {
  padding: 14px 0;
}

/* Mobile first fold: the hero introduces the product without hiding the city. */
@media (max-width: 720px) {
  .home-hero {
    min-height: 0;
    padding: 12px 14px 13px;
  }

  .home-hero-topbar {
    margin-bottom: 13px;
  }

  .home-greeting {
    margin-bottom: 2px;
    font-size: 8px;
  }

  .home-city-button strong {
    font-size: 16px;
  }

  .home-city-chevron {
    width: 20px;
    height: 20px;
  }

  .home-cart-button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .home-hero-eyebrow {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .home-hero-title {
    max-width: 410px;
    font-size: clamp(29px, 8.4vw, 36px);
    line-height: .96;
  }

  .home-hero-subtitle {
    display: -webkit-box;
    max-width: 430px;
    margin: 8px 0 11px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-search {
    min-height: 44px;
    padding: 6px 6px 6px 12px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(20, 8, 29, .18);
  }

  .home-search-action {
    padding: 8px 11px;
  }

  .home-hero-proof {
    gap: 8px;
    margin-top: 9px;
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  #app-header {
    padding: 9px 10px;
  }

  .logo-area div {
    width: 86px !important;
  }

  .header-actions {
    gap: 4px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .nav-item {
    min-width: 54px;
    padding-inline: 8px;
  }

  .home-hero {
    padding-inline: 14px;
  }

  .home-hero-title {
    font-size: 30px;
  }

  .home-hero-proof {
    gap: 8px;
    font-size: 9px;
  }

  .home-product-slide {
    width: 148px !important;
    flex-basis: 148px !important;
  }

  .home-sponsored-card {
    width: 148px;
    flex-basis: 148px;
  }
}

@media (min-width: 900px) {
  body {
    background:
      radial-gradient(circle at 20% 0%, rgba(233, 0, 95, 0.08), transparent 32rem),
      radial-gradient(circle at 95% 35%, rgba(109, 40, 217, 0.09), transparent 35rem),
      #f2eff5;
  }

  #app-container {
    max-width: 100%;
    box-shadow: none;
  }

  #app-sidebar {
    width: 252px;
    padding: 24px 18px;
    border-right-color: rgba(23, 19, 29, 0.06);
    box-shadow: 12px 0 40px rgba(34, 24, 43, 0.035);
  }

  .sidebar-logo {
    padding: 2px 10px 26px;
  }

  .sidebar-item {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #696170;
  }

  .sidebar-item.active {
    background: linear-gradient(135deg, rgba(233, 0, 95, .1), rgba(109, 40, 217, .08));
    color: var(--primary);
    box-shadow: inset 3px 0 var(--primary);
  }

  #app-main {
    background: transparent;
  }

  #app-header {
    min-height: 72px;
    padding-inline: 28px;
    background: rgba(247, 247, 250, 0.82);
  }

  .header-content {
    justify-content: flex-end;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
  }

  #app-view {
    padding: 0 28px 48px;
  }

  .home-view {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .home-hero {
    margin-top: 24px;
    padding: 28px 34px 34px;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(54, 19, 68, 0.2);
  }

  .home-hero-topbar {
    margin-bottom: 36px;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 54px;
    align-items: center;
  }

  .home-hero-title {
    font-size: clamp(42px, 4.2vw, 62px);
  }

  .home-hero-subtitle {
    font-size: 15px;
  }

  .home-hero-visual {
    position: relative;
    display: grid;
    min-height: 250px;
    place-items: center;
  }

  .home-showcase-card {
    position: relative;
    width: min(100%, 350px);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 26px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 20px 60px rgba(14, 7, 21, .22);
    backdrop-filter: blur(18px);
  }

  .home-showcase-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #ffbdd4;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .home-showcase-kicker svg {
    width: 15px;
    height: 15px;
  }

  .home-showcase-list {
    display: grid;
    gap: 10px;
  }

  .home-showcase-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 15px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
  }

  .home-showcase-item span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .11);
    color: #ffbdd4;
  }

  .home-showcase-item svg {
    width: 14px;
    height: 14px;
  }

  .home-ad-section {
    padding-top: 28px !important;
  }

  #home-ad-carousel {
    gap: 18px !important;
    padding-inline: 0 !important;
  }

  #home-ad-carousel>div {
    width: min(720px, calc(100vw - 360px)) !important;
    max-width: 720px !important;
  }

  .home-section {
    margin-top: 18px;
    padding: 24px 0 12px !important;
    border: 1px solid rgba(23, 19, 29, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-soft);
  }

  .home-section-heading {
    padding-inline: 24px !important;
  }

  .home-section-heading h2 {
    font-size: 20px !important;
  }

  .home-section .m-scroll-x {
    padding-inline: 24px !important;
  }

  .home-product-slide {
    width: 190px !important;
    flex-basis: 190px !important;
  }

  .home-sponsored-card {
    width: 190px;
    flex-basis: 190px;
  }

  .home-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .home-trust-section {
    overflow: hidden;
    border-radius: 28px;
  }

  .hts-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding: 22px 28px;
  }

  .hts-card {
    border-bottom: 0;
  }
}

@media (min-width: 1280px) {
  #app-sidebar {
    width: 268px;
  }

  .home-products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* ── Convite e reivindicação de loja ─────────────────────────────── */
body.claim-route-active {
  background:
    radial-gradient(circle at 8% 8%, rgba(233, 0, 95, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 50%, rgba(109, 40, 217, 0.12), transparent 34rem),
    #f4f0f6;
}

body.claim-route-active #app-sidebar,
body.claim-route-active #app-header,
body.claim-route-active #bottom-nav {
  display: none !important;
}

body.claim-route-active #app-container {
  max-width: none;
  width: 100%;
  padding-bottom: 0 !important;
  background: transparent;
  box-shadow: none;
}

body.claim-route-active #app-main,
body.claim-route-active #app-view {
  width: 100%;
  min-height: 100dvh;
}

body.claim-route-active #app-view {
  padding: 0 !important;
}

.claim-page {
  --claim-ink: #1c1422;
  --claim-muted: #6f6875;
  min-height: 100dvh;
  padding: 0 18px 28px;
  color: var(--claim-ink);
  background:
    radial-gradient(circle at 16% 0%, rgba(233, 0, 95, 0.11), transparent 24rem),
    radial-gradient(circle at 90% 45%, rgba(109, 40, 217, 0.1), transparent 28rem);
}

.claim-page--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-block: 42px;
}

.claim-topbar {
  width: min(1080px, 100%);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.claim-brand {
  width: 132px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--primary);
}

.claim-brand-mark {
  display: block;
  width: 124px;
  height: 42px;
  background: currentColor;
  -webkit-mask: url('../img/Logo.png') no-repeat left center / contain;
  mask: url('../img/Logo.png') no-repeat left center / contain;
}

.claim-secure-pill,
.claim-unclaimed-pill,
.claim-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.claim-secure-pill {
  padding: 8px 12px;
  color: #453d4b;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 19, 29, 0.07);
  box-shadow: 0 6px 18px rgba(34, 24, 43, 0.06);
}

.claim-secure-pill svg,
.claim-unclaimed-pill svg,
.claim-preview-label svg {
  width: 14px;
  height: 14px;
}

.claim-layout {
  width: min(1080px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
}

.claim-store-preview,
.claim-card,
.claim-loading-card,
.claim-result-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 19, 29, 0.07);
  box-shadow: 0 24px 70px rgba(48, 30, 57, 0.12);
}

.claim-store-preview {
  position: sticky;
  top: 28px;
  overflow: hidden;
  border-radius: 30px;
}

.claim-cover {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(135deg, #25142d 0%, #6d28d9 52%, #e9005f 100%);
}

.claim-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 8, 20, 0.04), rgba(16, 8, 20, 0.58));
}

.claim-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.claim-cover-pattern {
  position: absolute;
  inset: -30%;
  opacity: 0.36;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .35) 0 2px, transparent 3px) 0 0 / 22px 22px,
    linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, .12) 46% 54%, transparent 55%);
  transform: rotate(-8deg);
}

.claim-preview-label {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  color: white;
  background: rgba(17, 11, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
}

.claim-store-summary {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 22px 18px;
}

.claim-store-logo {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  margin-top: -34px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 4px solid white;
  border-radius: 23px;
  color: white;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 30px rgba(34, 24, 43, 0.18);
  font: 900 22px/1 'League Spartan', sans-serif;
}

.claim-store-logo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: white;
}

.claim-store-copy {
  min-width: 0;
  padding-top: 14px;
}

.claim-unclaimed-pill {
  margin-bottom: 8px;
  padding: 5px 9px;
  color: #8a5300;
  background: #fff6d9;
  border: 1px solid #f4daa0;
}

.claim-store-copy h1 {
  margin: 0 0 5px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.05;
}

.claim-store-copy p {
  margin: 0;
  color: var(--claim-muted);
  font-size: 12px;
  line-height: 1.55;
}

.claim-preview-link {
  min-height: 48px;
  margin: 0 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 15px;
  color: #473e4d;
  background: #f7f5f8;
  border: 1px solid rgba(23, 19, 29, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.claim-preview-link svg {
  width: 15px;
  height: 15px;
}

.claim-card {
  padding: clamp(26px, 5vw, 46px);
  border-radius: 34px;
}

.claim-card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 32px rgba(233, 0, 95, 0.23);
}

.claim-card-icon svg {
  width: 25px;
  height: 25px;
}

.claim-eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.claim-card h2,
.claim-result-card h1,
.claim-loading-card h1 {
  margin: 0;
  color: var(--claim-ink);
  font-family: 'League Spartan', sans-serif;
  letter-spacing: -.025em;
}

.claim-card h2 {
  max-width: 520px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: .98;
}

.claim-card h2 span {
  color: var(--primary);
}

.claim-lead {
  margin: 17px 0 24px;
  color: var(--claim-muted);
  font-size: 14px;
  line-height: 1.7;
}

.claim-benefits {
  display: grid;
  gap: 12px;
  margin-bottom: 25px;
}

.claim-benefits>div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.claim-benefits>div>span {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  color: #137a38;
  border-radius: 50%;
  background: #e8f8ed;
}

.claim-benefits svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.claim-benefits p {
  margin: 0;
  color: #5f5766;
  font-size: 12.5px;
}

.claim-benefits strong {
  color: #332a39;
}

.claim-primary-btn {
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #ff386b);
  box-shadow: 0 14px 32px rgba(233, 0, 95, 0.25);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.claim-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(233, 0, 95, 0.31);
}

.claim-primary-btn:active {
  transform: scale(.985);
}

.claim-primary-btn:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.claim-primary-btn svg {
  width: 19px;
  height: 19px;
}

.claim-security-note {
  margin: 11px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #847d89;
  font-size: 10.5px;
  text-align: center;
}

.claim-security-note svg {
  width: 13px;
  height: 13px;
  color: #168340;
}

.claim-action-status {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.claim-action-status--error {
  display: block;
  color: #9e2830;
  background: #fff0f1;
  border: 1px solid #ffd1d5;
}

.claim-divider {
  margin: 25px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a838f;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}

.claim-divider::before,
.claim-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(23, 19, 29, 0.08);
}

.claim-secondary-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}

.claim-secondary-btn,
.claim-text-btn,
.claim-panel-submit,
.claim-panel-cancel,
.claim-panel-close {
  border: 0;
  font-weight: 800;
}

.claim-secondary-btn {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 15px;
  color: #443b4a;
  background: #f5f2f6;
  border: 1px solid rgba(23, 19, 29, 0.07);
  font-size: 12px;
}

.claim-secondary-btn svg {
  width: 16px;
  height: 16px;
}

.claim-text-btn {
  padding: 10px;
  color: #817986;
  background: transparent;
  font-size: 11px;
}

.claim-secondary-btn:hover,
.claim-text-btn:hover {
  color: var(--primary);
}

.claim-inline-panel {
  position: relative;
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  background: #f8f6f9;
  border: 1px solid rgba(23, 19, 29, 0.08);
}

.claim-inline-panel[hidden] {
  display: none;
}

.claim-inline-panel--warning {
  background: #fff9ec;
  border-color: #f0dfb5;
}

.claim-inline-panel h3 {
  margin: 0 30px 5px 0;
  font-size: 17px;
}

.claim-inline-panel>p {
  margin: 0 0 15px;
  color: var(--claim-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.claim-panel-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #6e6673;
  border-radius: 50%;
  background: white;
}

.claim-panel-close svg {
  width: 15px;
  height: 15px;
}

.claim-inline-panel form {
  display: grid;
  gap: 12px;
}

.claim-inline-panel label {
  display: block;
  margin-bottom: 6px;
  color: #4e4654;
  font-size: 10.5px;
  font-weight: 800;
}

.claim-inline-panel label small {
  color: #8b8490;
  font-weight: 600;
}

.claim-inline-panel input,
.claim-inline-panel textarea {
  width: 100%;
  padding: 11px 12px;
  color: #29202f;
  background: white;
  border: 1px solid rgba(23, 19, 29, 0.11);
  border-radius: 12px;
  outline: 0;
  font: 500 12px/1.5 'Inter', sans-serif;
  resize: vertical;
}

.claim-inline-panel input:focus,
.claim-inline-panel textarea:focus {
  border-color: rgba(233, 0, 95, .5);
  box-shadow: 0 0 0 3px rgba(233, 0, 95, .09);
}

.claim-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.claim-panel-submit,
.claim-panel-cancel {
  min-height: 43px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 11.5px;
}

.claim-panel-submit {
  color: white;
  background: #2d2333;
}

.claim-panel-submit:disabled {
  opacity: .6;
}

.claim-panel-cancel {
  color: #6d6572;
  background: transparent;
}

.claim-confirm-actions {
  display: flex;
  gap: 8px;
}

.claim-request-success {
  display: flex;
  align-items: center;
  gap: 12px;
}

.claim-request-success>span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #137a38;
  border-radius: 50%;
  background: #e1f7e8;
}

.claim-request-success svg {
  width: 19px;
  height: 19px;
  stroke-width: 3;
}

.claim-request-success h3,
.claim-request-success p {
  margin: 0;
}

.claim-request-success p {
  margin-top: 3px;
  color: var(--claim-muted);
  font-size: 11px;
}

.claim-expiry {
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #948d98;
  font-size: 10px;
}

.claim-expiry svg {
  width: 13px;
  height: 13px;
}

.claim-footer {
  width: min(1080px, 100%);
  margin: 28px auto 0;
  color: #8d8592;
  font-size: 10.5px;
  text-align: center;
}

.claim-footer span {
  color: var(--primary);
  font-weight: 900;
}

.claim-loading-card,
.claim-result-card {
  width: min(450px, 100%);
  padding: clamp(30px, 7vw, 48px);
  border-radius: 30px;
  text-align: center;
}

.claim-loading-card h1,
.claim-result-card h1 {
  margin: 18px 0 10px;
  font-size: clamp(27px, 6vw, 36px);
  line-height: 1.04;
}

.claim-loading-card p,
.claim-result-card>p {
  margin: 0;
  color: var(--claim-muted);
  font-size: 13px;
  line-height: 1.65;
}

.claim-loader,
.claim-result-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 34px rgba(109, 40, 217, .22);
}

.claim-loader svg,
.claim-result-icon svg {
  width: 29px;
  height: 29px;
}

.claim-loader svg,
.claim-spin {
  animation: claim-spin .8s linear infinite;
}

.claim-result-card .claim-primary-btn {
  margin-top: 25px;
}

.claim-result-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.claim-result-hint {
  margin-top: 14px !important;
  padding: 12px;
  border-radius: 12px;
  background: #f8f6f9;
  font-size: 10.5px !important;
}

.claim-result-card--success .claim-result-icon {
  background: linear-gradient(135deg, #169447, #0fbd59);
  box-shadow: 0 14px 34px rgba(22, 148, 71, .2);
}

.claim-result-card--error .claim-result-icon {
  background: linear-gradient(135deg, #e15662, #b72e47);
  box-shadow: 0 14px 34px rgba(183, 46, 71, .18);
}

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

/* Badge exibido no perfil público sem expor o link secreto. */
.st-unclaimed-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px 7px;
  color: #8a5300;
  background: #fff2bf;
  border: 1px solid rgba(255, 220, 108, .62);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  white-space: nowrap;
}

.st-unclaimed-badge svg {
  width: 11px;
  height: 11px;
}

.st-info-badge--unclaimed {
  color: #765000;
  background: #fff8df !important;
  border: 1px solid #f2dfaa !important;
}

@media (max-width: 780px) {
  .claim-layout {
    max-width: 560px;
    grid-template-columns: 1fr;
    margin-top: 4px;
    gap: 18px;
  }

  .claim-store-preview {
    position: relative;
    top: auto;
  }

  .claim-cover {
    height: 190px;
  }

  .claim-card {
    border-radius: 28px;
  }
}

@media (max-width: 420px) {
  .claim-page {
    padding-inline: 12px;
  }

  .claim-topbar {
    min-height: 67px;
  }

  .claim-brand,
  .claim-brand-mark {
    width: 106px;
  }

  .claim-secure-pill {
    padding: 7px 9px;
    font-size: 9px;
  }

  .claim-store-preview {
    border-radius: 24px;
  }

  .claim-cover {
    height: 165px;
  }

  .claim-store-summary {
    padding-inline: 15px;
    gap: 12px;
  }

  .claim-store-logo {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    border-radius: 19px;
  }

  .claim-card {
    padding: 25px 19px;
  }

  .claim-card h2 {
    font-size: 31px;
  }

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

  .claim-confirm-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {

  .claim-loader svg,
  .claim-spin {
    animation-duration: 1.8s;
  }
}

/* Minimal home toolbar: the catalog, not the chrome, owns the first screen. */
.home-view .home-hero {
  min-height: 0;
  padding: 11px 14px 13px;
  color: var(--text-main, #251b2b);
  border-bottom: 1px solid rgba(42, 28, 51, .06);
  background: #f6f3f8;
  box-shadow: none;
}

.home-view .home-hero::before,
.home-view .home-hero-glow {
  display: none;
}

.home-view .home-hero-topbar {
  margin-bottom: 8px;
}

.home-view .home-city-button {
  gap: 6px;
  color: var(--text-main, #251b2b);
}

.home-view .home-city-button strong {
  color: var(--text-main, #251b2b);
  font-size: 15px;
}

.home-view .home-city-chevron {
  width: 20px;
  height: 20px;
  color: #776d7c;
  border-color: rgba(42, 28, 51, .08);
  background: white;
}

.home-view .home-hero-grid {
  display: block;
}

.home-view .home-search {
  min-height: 43px;
  padding: 5px 5px 5px 11px;
  border: 1px solid rgba(42, 28, 51, .08);
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(35, 21, 43, .055);
}

.home-view .home-search-placeholder {
  font-size: 11px;
}

.home-view .home-search-action {
  padding: 8px 11px;
  border-radius: 9px;
}

.home-view .home-hero-proof,
.home-view .home-cart-button,
.home-view .home-greeting {
  display: none !important;
}

@media (min-width: 900px) {
  .home-view .home-hero {
    margin-top: 16px;
    padding: 14px 16px 16px;
    border: 1px solid rgba(42, 28, 51, .07);
    border-radius: 19px;
  }

  .home-view .home-search {
    max-width: 720px;
  }
}

/* Compact discovery header */
#app-header {
  min-height: 58px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(42, 28, 51, .055);
  box-shadow: none;
}

.header-content {
  gap: 12px;
}

.logo-area div {
  width: 92px !important;
  height: 32px !important;
}

.header-actions {
  gap: 6px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #615767;
  background: #f8f6f9;
  border-color: transparent;
  box-shadow: none;
}

.icon-btn.active {
  color: var(--primary);
  background: var(--primary-light, #ffe7f0);
  border-color: rgba(233, 0, 95, .1);
  box-shadow: none;
}

.icon-btn.active::before {
  opacity: 0;
}

#app-header.home-header #search-btn,
#app-header.home-header .header-favorites-button {
  display: none;
}

.home-view .home-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  min-height: 60px;
}

.home-view .home-hero-topbar {
  min-width: 0;
  margin: 0;
}

.home-view .home-location,
.home-view .home-hero-grid,
.home-view .home-hero-copy {
  min-width: 0;
}

.home-view .home-city-button {
  min-height: 42px;
  max-width: 132px;
  padding: 5px 7px 5px 5px;
  gap: 5px;
  border: 1px solid rgba(42, 28, 51, .075);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(35, 21, 43, .035);
}

.home-view .home-city-button strong {
  min-width: 0;
  overflow: hidden;
  color: #302536;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-view .home-city-pin {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: var(--primary-light, #ffe7f0);
}

.home-view .home-city-pin svg,
.home-view .home-city-pin i {
  width: 15px;
  height: 15px;
}

.home-view .home-city-chevron {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 0;
  color: #8a808f;
  background: transparent;
}

.home-view .home-city-chevron svg,
.home-view .home-city-chevron i {
  width: 12px;
  height: 12px;
}

.home-view .home-search {
  min-width: 0;
  min-height: 42px;
  padding: 5px 5px 5px 11px;
  gap: 8px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(35, 21, 43, .035);
}

.home-view .home-search>svg,
.home-view .home-search>i {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--primary);
}

.home-view .home-search-placeholder {
  min-width: 0;
  overflow: hidden;
  color: #746a79;
  font-size: 11.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-view .home-search-action {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  padding: 0;
  place-items: center;
  border-radius: 10px;
}

.home-view .home-search-action svg,
.home-view .home-search-action i {
  width: 14px;
  height: 14px;
}

@media (max-width: 340px) {
  .home-view .home-hero {
    grid-template-columns: 1fr;
  }

  .home-view .home-city-button {
    max-width: 100%;
  }
}

@media (min-width: 900px) {
  #app-header {
    min-height: 62px;
    padding-block: 8px;
  }

  .home-view .home-hero {
    grid-template-columns: auto minmax(320px, 620px);
    justify-content: start;
    padding: 10px 12px;
  }
}

/* Unified home header: location joins the brand row, search owns the second row. */
.header-home-city {
  display: none;
  min-width: 0;
  height: 36px;
  padding: 4px 7px 4px 4px;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  color: #372b3d;
  background: #fff0f6;
}

#app-header.home-header {
  min-height: 56px;
  padding-block: 6px;
  border-bottom: 0;
  background: #fff;
}

#app-header.home-header .logo-area div {
  width: 88px !important;
  height: 31px !important;
}

#app-header.home-header .header-home-city {
  display: flex;
}

.header-home-city-pin {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 9px;
  color: var(--primary);
  background: #fff;
}

.header-home-city-pin svg {
  width: 14px;
  height: 14px;
}

#header-home-city-label {
  max-width: 66px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-home-city-chevron {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  color: #8e7280;
}

#app-header.home-header .icon-btn {
  width: 34px;
  height: 34px;
  color: #655b6a;
  background: transparent;
  border-color: transparent;
}

.home-view .home-hero {
  display: block;
  min-height: 53px;
  padding: 0 14px 10px;
  border-bottom: 1px solid rgba(42, 28, 51, .055);
  background: #fff;
}

.home-view .home-hero-grid,
.home-view .home-hero-copy,
.home-view .home-search {
  width: 100%;
}

.home-view .home-search {
  min-height: 43px;
  border: 0;
  background: #f7f4f8;
  box-shadow: none;
}

@media (max-width: 360px) {
  #app-header.home-header {
    padding-inline: 10px;
  }

  #app-header.home-header .logo-area div {
    width: 78px !important;
  }

  .header-actions {
    gap: 3px;
  }

  .header-home-city {
    max-width: 100px;
    padding-right: 5px;
  }

  .header-home-city-pin {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  #header-home-city-label {
    max-width: 48px;
    font-size: 10px;
  }

  #app-header.home-header .icon-btn {
    width: 31px;
    height: 31px;
  }
}

@media (min-width: 900px) {
  #app-header.home-header .header-home-city {
    display: none;
  }

  .home-view .home-hero {
    padding: 12px;
    border: 1px solid rgba(42, 28, 51, .07);
    background: #f8f6f9;
  }

  .home-view .home-search {
    max-width: 720px;
    background: #fff;
  }
}

/* Final header composition: one calm brand row + one connected discovery control. */
#app-header.home-header .header-home-city {
  display: none;
}

#app-header.home-header .icon-btn[data-view="notificacoes"]:has(.badge-count[style*="display: none"]) {
  display: none;
}

.home-view .home-hero {
  min-height: 54px;
  padding: 0 14px 10px;
}

.home-view .home-discovery-bar {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(42, 28, 51, .055);
  border-radius: 15px;
  background: #f7f4f8;
}

.home-view .home-city-button {
  min-height: 44px;
  max-width: 126px;
  padding: 5px 8px 5px 5px;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-view .home-city-pin {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 10px;
  background: #ffe5ef;
}

.home-view .home-city-button strong {
  font-size: 11px;
}

.home-view .home-discovery-divider {
  width: 1px;
  height: 22px;
  flex: 0 0 1px;
  background: rgba(42, 28, 51, .09);
}

.home-view .home-hero-grid {
  flex: 1;
  width: auto;
}

.home-view .home-search {
  min-height: 42px;
  padding-left: 9px;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 340px) {
  .home-view .home-city-button {
    max-width: 105px;
  }

  .home-view .home-city-chevron {
    display: none;
  }

  .home-view .home-search-placeholder {
    font-size: 10.5px;
  }
}

@media (min-width: 900px) {
  .home-view .home-discovery-bar {
    max-width: 760px;
    background: #fff;
  }
}

/* The city is part of the brand promise, not just a location filter. */
.header-city-identity {
  display: none;
  min-width: 0;
  margin-left: auto;
  margin-right: 3px;
  padding: 2px 4px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border: 0;
  color: #2f2435;
  background: transparent;
  text-align: left;
}

#app-header.home-header .header-city-identity {
  display: flex;
}

.header-city-kicker {
  color: var(--primary);
  font-size: 7px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.header-city-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 3px;
}

.header-city-line strong {
  max-width: 86px;
  overflow: hidden;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-city-line svg {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  color: #988c9d;
}

.home-view .home-discovery-bar .home-hero-grid {
  width: 100%;
}

.home-view .home-discovery-bar .home-search {
  width: 100%;
  padding-left: 12px;
  border-radius: 14px;
}

@media (max-width: 360px) {
  .header-city-identity {
    margin-right: 0;
    padding-inline: 2px;
  }

  .header-city-line strong {
    max-width: 62px;
    font-size: 11.5px;
  }

  .header-city-kicker {
    font-size: 6.5px;
  }
}

@media (min-width: 900px) {
  #app-header.home-header .header-city-identity {
    display: none;
  }
}

/* Clearer local masthead and one shared horizontal grid. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

#app-container,
#app-main,
#app-view,
.home-view {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#app-container {
  margin-inline: auto;
}

#app-header.home-header {
  padding: 8px 18px 10px;
}

#app-header.home-header .header-content {
  min-height: 34px;
  gap: 11px;
}

#app-header.home-header .logo-area div {
  width: 68px !important;
  height: 29px !important;
}

#app-header.home-header .header-city-identity {
  position: relative;
  min-width: 0;
  margin-right: auto;
  padding: 2px 0 2px 11px;
  border-left: 1px solid rgba(42, 28, 51, .09);
}

#app-header.home-header .header-city-kicker {
  gap: 4px;
  font-size: 8px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: .025em;
  text-transform: none;
}

#app-header.home-header .header-greeting-icon {
  width: 9px;
  height: 9px;
}

#app-header.home-header .header-city-line {
  margin-top: 2px;
  gap: 4px;
}

#app-header.home-header .header-city-line strong {
  max-width: 130px;
  font-size: 14px;
  line-height: 1;
}

#app-header.home-header .header-city-flag {
  height: 10px;
}

#app-header.home-header .icon-btn[data-view="chats"] {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

#app-header.home-header .header-home-search {
  height: 36px;
  margin-top: 7px;
  padding-inline: 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .78);
  font-size: 11.5px;
}

@media (max-width: 360px) {
  #app-header.home-header {
    padding-inline: 18px;
  }

  #app-header.home-header .header-content {
    gap: 9px;
  }

  #app-header.home-header .logo-area div {
    width: 64px !important;
    height: 27px !important;
  }

  #app-header.home-header .header-city-identity {
    padding-left: 9px;
  }

  #app-header.home-header .header-city-kicker {
    font-size: 7.5px;
  }

  #app-header.home-header .header-city-line strong {
    max-width: 92px;
    font-size: 13px;
  }

  #app-header.home-header .icon-btn[data-view="chats"] {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
}

/* Final home row: platform left, city in the former message position. */
#app-header.home-header .header-actions {
  display: none !important;
}

#app-header.home-header .header-content {
  justify-content: space-between;
}

#app-header.home-header .header-city-identity {
  margin-left: auto !important;
  margin-right: 0 !important;
  padding: 2px 0 !important;
  align-items: flex-end;
  border-left: 0 !important;
  text-align: right;
}

#app-header.home-header .header-city-kicker,
#app-header.home-header .header-city-line {
  justify-content: flex-end;
}

/* Align both lines of the local identity to one visual axis. */
#app-header.home-header .header-city-identity {
  align-items: stretch;
  text-align: left;
}

#app-header.home-header .header-city-kicker,
#app-header.home-header .header-city-line {
  justify-content: flex-start;
}

/* Home: the city owns the action position; messaging remains on other routes. */
#app-header.home-header .header-actions {
  display: none;
}

#app-header.home-header .header-city-identity {
  margin-left: auto;
  margin-right: 0;
  padding: 2px 0;
  align-items: flex-end;
  border-left: 0;
  text-align: right;
}

#app-header.home-header .header-city-kicker,
#app-header.home-header .header-city-line {
  justify-content: flex-end;
}

/* Compact local masthead requested for the home screen. */
.header-home-search {
  display: none;
}

#app-header.home-header {
  min-height: 0;
  padding: 7px 14px 9px;
  border-bottom: 1px solid rgba(233, 0, 95, .045);
  background:
    radial-gradient(circle at 72% 0%, rgba(233, 0, 95, .045), transparent 72px),
    linear-gradient(180deg, #fffafd 0%, #fff7fb 100%);
}

#app-header.home-header .header-content {
  min-height: 30px;
  justify-content: space-between;
}

#app-header.home-header .logo-area {
  display: flex;
}

#app-header.home-header .logo-area div {
  width: 72px !important;
  height: 28px !important;
}

#app-header.home-header .header-city-identity {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1px;
}

#app-header.home-header .header-city-kicker {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--primary);
  font-size: 7px;
  line-height: 1;
  letter-spacing: .07em;
}

.header-greeting-icon {
  width: 8px;
  height: 8px;
}

.header-greeting-icon--day {
  display: none;
}

html[data-greeting-period="day"] .header-greeting-icon--night,
html[data-greeting-period="afternoon"] .header-greeting-icon--night {
  display: none;
}

html[data-greeting-period="day"] .header-greeting-icon--day,
html[data-greeting-period="afternoon"] .header-greeting-icon--day {
  display: block;
}

#app-header.home-header .header-city-line {
  gap: 4px;
}

#app-header.home-header .header-city-line strong {
  max-width: 150px;
  color: var(--primary);
  font-size: 13px;
  line-height: 1;
}

#app-header.home-header .header-city-line>svg {
  width: 13px;
  height: 13px;
  padding: 2px;
  border-radius: 50%;
  color: var(--primary);
  background: #ffe5ef;
}

.header-city-flag {
  width: auto;
  height: 9px;
  border-radius: 1px;
}

#app-header.home-header .header-actions {
  margin-left: auto;
}

#app-header.home-header #search-btn,
#app-header.home-header .header-favorites-button,
#app-header.home-header .icon-btn[data-view="notificacoes"] {
  display: none !important;
}

#app-header.home-header .icon-btn[data-view="chats"] {
  display: flex;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--primary);
  background: #fff0f6;
}

#app-header.home-header .header-home-search {
  display: flex;
  height: 34px;
  margin-top: 5px;
  padding: 0 10px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(42, 28, 51, .07);
  border-radius: 11px;
  color: #6f6575;
  background: #f8f6f9;
  font-size: 10.5px;
  font-weight: 600;
}

#app-header.home-header .header-home-search svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--primary);
}

.home-view .home-hero {
  display: none !important;
}

@media (max-width: 360px) {
  #app-header.home-header {
    padding-inline: 9px;
  }

  #app-header.home-header .header-city-line strong {
    max-width: 125px;
    font-size: 12px;
  }

  #app-header.home-header .logo-area div {
    width: 66px !important;
    height: 26px !important;
  }
}

@media (min-width: 900px) {
  #app-header.home-header .header-city-identity {
    display: flex;
  }

  #app-header.home-header .header-home-search {
    max-width: 720px;
    margin-inline: auto;
  }
}

/* Definitive mobile alignment: same 18px gutter used by home content. */
#app-header.home-header {
  padding: 8px 18px 10px;
}

#app-header.home-header .header-content {
  min-height: 34px;
  gap: 11px;
}

#app-header.home-header .logo-area div {
  width: 68px !important;
  height: 29px !important;
}

#app-header.home-header .header-city-identity {
  width: 110px;
  flex: 0 0 110px;
  margin-left: auto;
  margin-right: 0;
  padding: 2px 0;
  gap: 1px;
  align-items: stretch;
  border-left: 0;
  text-align: left;
}

#app-header.home-header .header-city-kicker {
  gap: 4px;
  font-size: 8px;
  line-height: 1.05;
  letter-spacing: .025em;
  text-transform: none;
}

#app-header.home-header .header-city-kicker,
#app-header.home-header .header-city-line {
  width: 100%;
  justify-content: flex-start !important;
}

#app-header.home-header .header-greeting-icon {
  width: 9px;
  height: 9px;
}

#app-header.home-header .header-city-line {
  margin-top: 2px;
}

#app-header.home-header .header-city-line strong {
  max-width: 130px;
  font-size: 14px;
}

#app-header.home-header .header-city-flag {
  height: 10px;
}

#app-header.home-header .icon-btn[data-view="chats"] {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

#app-header.home-header .header-home-search {
  height: 36px;
  margin-top: 7px;
  padding-inline: 11px;
  background: rgba(255, 255, 255, .78);
  font-size: 11.5px;
}

/* Home search stays in context and opens lightweight results below the field. */
#app-header.home-header .header-home-search {
  position: relative;
  cursor: text;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

#app-header.home-header .header-home-search:focus-within,
#app-header.home-header .header-home-search.is-searching {
  border-color: rgba(233, 0, 95, .2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 0, 95, .055), 0 8px 24px rgba(42, 23, 49, .07);
}

#app-header.home-header .header-home-search>input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: #2b2230;
  font: inherit;
  font-weight: 650;
}

#app-header.home-header .header-home-search>input::-webkit-search-cancel-button {
  display: none;
}

#app-header.home-header .header-home-search>input::placeholder {
  color: #756b79;
  opacity: 1;
}

#app-header.home-header .header-home-search-clear {
  width: 24px;
  height: 24px;
  display: none;
  flex: 0 0 24px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f5edf2;
  color: #7b6e78;
  cursor: pointer;
}

#app-header.home-header .header-home-search-clear.is-visible {
  display: grid;
}

#app-header.home-header .header-home-search-clear>svg {
  width: 12px;
  height: 12px;
  color: currentColor;
}

.home-quick-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 260;
  display: none;
  max-height: min(58dvh, 430px);
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(48, 31, 53, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 48px rgba(47, 25, 52, .16), 0 3px 10px rgba(47, 25, 52, .06);
  backdrop-filter: blur(20px);
  cursor: default;
}

.home-quick-search-panel.is-open {
  display: block;
  animation: home-search-reveal .16s ease-out both;
}

@keyframes home-search-reveal {
  from { opacity: 0; transform: translateY(-4px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.home-quick-search-intro,
.home-quick-search-empty,
.home-quick-search-message {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  color: #766b79;
}

.home-quick-search-intro>span,
.home-quick-search-empty>span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: #fff0f6;
}

#app-header.home-header .home-quick-search-panel .home-quick-search-intro svg,
#app-header.home-header .home-quick-search-panel .home-quick-search-empty svg {
  width: 15px;
  height: 15px;
  color: currentColor;
}

.home-quick-search-intro strong,
.home-quick-search-empty strong {
  display: block;
  color: #302636;
  font-size: 11.5px;
  font-weight: 850;
}

.home-quick-search-intro small,
.home-quick-search-empty small {
  display: block;
  margin-top: 2px;
  color: #8a808d;
  font-size: 9.5px;
  font-weight: 600;
}

.home-quick-search-message {
  justify-content: center;
  min-height: 48px;
  font-size: 10.5px;
  font-weight: 700;
}

#app-header.home-header .home-quick-search-panel .home-quick-search-message svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.home-quick-search-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 5px 7px;
}

.home-quick-search-summary strong {
  color: #302636;
  font-size: 10.5px;
  font-weight: 850;
}

.home-quick-search-summary span {
  color: #968d99;
  font-size: 8.5px;
  font-weight: 700;
}

.home-quick-search-list {
  display: grid;
  gap: 3px;
}

.home-quick-search-result {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #302636;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.home-quick-search-result:hover,
.home-quick-search-result:focus-visible {
  outline: 0;
  background: #faf4f8;
}

.home-quick-search-result:active {
  transform: scale(.985);
}

.home-quick-search-media {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  color: var(--primary);
  background: #f5edf3;
}

.home-quick-search-media.is-store {
  border-radius: 50%;
}

.home-quick-search-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#app-header.home-header .home-quick-search-panel .home-quick-search-media svg {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.home-quick-search-copy {
  min-width: 0;
  flex: 1;
}

.home-quick-search-copy strong,
.home-quick-search-copy small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-quick-search-copy strong {
  font-size: 11px;
  font-weight: 850;
}

.home-quick-search-copy small {
  margin-top: 2px;
  color: #8a808d;
  font-size: 8.5px;
  font-weight: 650;
}

.home-quick-search-status {
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: #a8a1aa;
  vertical-align: 1px;
}

.home-quick-search-status.is-open {
  background: #0db85b;
}

#app-header.home-header .home-quick-search-panel .home-quick-search-arrow {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: #b2aab4;
}

.home-quick-search-price {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

#app-header:not(.home-header) .home-quick-search-panel {
  display: none !important;
}

@media (min-width: 900px) {
  .home-quick-search-panel {
    right: 12%;
    left: 12%;
  }
}

@media (max-width: 360px) {
  #app-header.home-header {
    padding-inline: 18px;
  }

  #app-header.home-header .header-content {
    gap: 9px;
  }

  #app-header.home-header .logo-area div {
    width: 64px !important;
    height: 27px !important;
  }

  #app-header.home-header .header-city-identity {
    width: 102px;
    flex-basis: 102px;
    padding: 2px 0;
  }

  #app-header.home-header .header-city-kicker {
    font-size: 7.5px;
  }

  #app-header.home-header .header-city-line strong {
    max-width: 92px;
    font-size: 13px;
  }

  #app-header.home-header .icon-btn[data-view="chats"] {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
}

/* ─── CATEGORY PILLS DESIGN SYSTEM ─── */
.home-category-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-category-strip::-webkit-scrollbar {
  display: none;
}

.home-category-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 4px 14px 4px 5px;
  border: 1px solid rgba(42, 28, 51, 0.08);
  border-radius: 100px;
  background: #ffffff;
  color: #372b3d;
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35, 21, 43, 0.035);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.home-category-pill .home-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cat-color, #e9005f) 12%, transparent);
  color: var(--cat-color, #e9005f);
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.home-category-pill .home-category-icon svg {
  width: 13px;
  height: 13px;
  stroke-width: 2px;
}

.home-category-pill:hover {
  border-color: color-mix(in srgb, var(--cat-color, #e9005f) 40%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(35, 21, 43, 0.08);
}

.home-category-pill:active {
  transform: scale(0.96);
}

.home-category-pill.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cat-color, #e9005f), color-mix(in srgb, var(--cat-color, #e9005f) 82%, #000));
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--cat-color, #e9005f) 42%, transparent);
  transform: translateY(-1px) scale(1.03);
}

.home-category-pill.is-active .home-category-icon {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Daily Store: stories reais das lojas, com estados novo/visto. */
@keyframes home-story-breathe {
  0%, 100% { box-shadow: 0 5px 14px rgba(233, 0, 95, .13), 0 0 0 0 rgba(233, 0, 95, .12); }
  50% { box-shadow: 0 7px 17px rgba(109, 40, 217, .16), 0 0 0 4px rgba(233, 0, 95, 0); }
}

.home-stories-section {
  padding-top: 14px !important;
}

.home-stories-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px 9px;
}

.home-stories-title-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.home-stories-title-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #e9005f;
  background: rgba(233, 0, 95, .09);
  box-shadow: none;
}

.home-stories-title-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke-width: 2.4;
}

.home-stories-heading h2 {
  margin: 0;
  color: #211827;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.home-stories-heading p {
  margin: 2px 0 0;
  color: #8b8290;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
}

.home-stories-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid rgba(233, 0, 95, .08);
  border-radius: 999px;
  color: #d00055;
  background: rgba(233, 0, 95, .055);
  font-size: 8.5px;
  font-weight: 850;
}

.home-stories-count i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e9005f;
  box-shadow: none;
}

.home-stories-shell {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-stories-shell::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(247, 247, 250, .94));
}

.home-section .home-stories-strip {
  align-items: flex-start;
  gap: 12px !important;
  padding: 3px 18px 8px !important;
  scroll-padding-inline: 18px;
}

.home-story-card {
  display: flex;
  flex: 0 0 62px;
  width: 62px;
  min-width: 0;
  padding: 0;
  flex-direction: column;
  align-items: center;
  border: 0;
  color: #211827;
  background: transparent;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease;
}

.home-story-card:hover {
  transform: translateY(-2px);
}

.home-story-card:active {
  transform: scale(.96);
}

.home-story-card:focus-visible {
  outline: 3px solid rgba(233, 0, 95, .2);
  outline-offset: 4px;
  border-radius: 14px;
}

.home-story-avatar {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  padding: 2.5px;
  border-radius: 50%;
  background: conic-gradient(from -35deg, #ffbe0b, #ff6a18 23%, #e9005f 49%, #8a22d2 76%, #ffbe0b);
  animation: home-story-breathe 2.7s ease-in-out infinite;
}

.home-story-media {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1.5px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.home-story-media img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.home-story-play {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #e9005f, #6d28d9);
  box-shadow: 0 4px 10px rgba(76, 25, 94, .22);
}

.home-story-play svg {
  width: 9px;
  height: 9px;
}

.home-story-name {
  display: block;
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
  color: #2a202f;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-story-meta {
  display: none;
  max-width: 100%;
  margin-top: 2px;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: #99919d;
  font-size: 7px;
  font-weight: 750;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-story-meta i {
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #aaa3ae;
}

.home-story-meta.is-open {
  color: #168944;
}

.home-story-meta.is-open i {
  background: #18a957;
  box-shadow: 0 0 0 2px rgba(24, 169, 87, .1);
}

.home-story-card.is-store-only .home-story-avatar {
  background: linear-gradient(145deg, #d8d2dc, #f2eef4);
  box-shadow: 0 4px 12px rgba(46, 35, 51, .09);
  animation: none;
}

.home-story-card.is-store-only .home-story-play {
  background: #149c50;
  box-shadow: 0 4px 10px rgba(20, 156, 80, .2);
}

.home-story-card.is-store-only .home-story-meta {
  color: #168944;
}

.home-story-card.is-store-only .home-story-meta i {
  background: #18a957;
}

.home-trends-card .home-story-avatar {
  background: conic-gradient(from 30deg, #08070a, #4a4350, #111014, #08070a);
  box-shadow: 0 5px 15px rgba(24, 20, 28, .16);
  animation: none;
}

.home-trends-card .home-story-media {
  display: grid;
  padding: 0;
  place-items: center;
  border: 1.5px solid #fff;
  color: #fff;
  background: linear-gradient(145deg, #242027, #08070a);
}

.home-trends-card .home-story-media>svg {
  width: 21px;
  height: 21px;
}

.home-trends-card .home-story-play {
  background: linear-gradient(135deg, #e9005f, #6d28d9);
}

.home-trends-card .home-story-name {
  font-weight: 900;
}

.home-trends-card .home-story-meta {
  color: #716878;
}

.home-trends-card .home-story-meta i {
  background: #6d28d9;
}

.home-story-card.is-seen .home-story-avatar {
  background: #d8d3dc;
  box-shadow: none;
  animation: none;
}

.home-story-card.is-seen .home-story-media img {
  opacity: .78;
  filter: saturate(.72);
}

.home-story-card.is-seen .home-story-play {
  background: #8f8794;
  box-shadow: none;
}

@media (min-width: 900px) {
  .home-stories-heading {
    padding-inline: 24px;
  }

  .home-stories-shell {
    margin-inline: 0;
  }

  .home-story-card {
    flex-basis: 66px;
    width: 66px;
  }

  .home-story-avatar {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-story-avatar {
    animation: none;
  }
}

/* Category carousel: lighter selection and a clearer horizontal affordance. */
.home-category-carousel {
  position: relative;
  isolation: isolate;
}

.home-category-section .home-section-heading {
  padding-bottom: 7px !important;
}

.home-category-section .home-category-strip {
  gap: 8px !important;
  padding: 8px 34px 14px 18px !important;
  scroll-padding-inline: 18px !important;
  scroll-snap-type: x proximity;
}

.home-category-pill {
  min-height: 38px !important;
  height: 38px;
  gap: 8px;
  padding: 4px 13px 4px 5px !important;
  border-color: rgba(45, 32, 52, .09);
  background: rgba(255, 255, 255, .92);
  color: #3b3240;
  font-size: 11.5px;
  font-weight: 750;
  box-shadow: 0 3px 10px rgba(42, 29, 49, .045);
  transform: none;
}

.home-category-pill .home-category-icon,
.home-category-pill>div {
  width: 29px !important;
  height: 29px !important;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cat-color, #e9005f) 10%, #fff);
}

.home-category-pill .home-category-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.15px;
}

.home-category-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(42, 29, 49, .065);
}

.home-category-pill:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--cat-color, #e9005f) 55%, #fff);
  outline-offset: 2px;
}

.home-category-pill.is-active {
  border-color: transparent;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .1) 0%, rgba(31, 20, 33, .08) 48%, rgba(31, 20, 33, .24) 100%),
    var(--cat-color, #e9005f);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 5px 13px color-mix(in srgb, var(--cat-color, #e9005f) 23%, transparent);
  text-shadow: 0 1px 2px rgba(31, 20, 33, .32);
  transform: translateY(-1px) rotate(-1.15deg);
}

.home-category-pill.is-active .home-category-icon {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.home-category-pill.is-active:hover {
  transform: translateY(-2px) rotate(-1.15deg);
}

.home-category-scroll-hint {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 0;
  bottom: 10px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(247, 246, 249, .82) 52%, #f7f6f9 100%);
  opacity: 1;
  transition: opacity .18s ease;
}

.home-category-scroll-hint.is-hidden {
  opacity: 0;
}

.home-category-scroll-hint svg {
  width: 14px;
  height: 14px;
  color: #8b818f;
  stroke-width: 2.25px;
}

@media (min-width: 900px) {
  .home-category-section .home-category-strip {
    padding-inline: 24px 40px !important;
  }
}

@media (max-width: 0px) {
/* Disabled home-ending redesign; retained temporarily for design comparison. */
@keyframes home-merchant-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.home-merchant-section {
  margin: 28px 14px 0;
  padding: 14px;
  border: 1px solid rgba(48, 31, 54, .07);
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 6%, rgba(255, 190, 11, .12), transparent 8rem),
    linear-gradient(160deg, #fff 0%, #fff8fb 100%);
  box-shadow: 0 12px 34px rgba(51, 30, 59, .08);
}

.home-merchant-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 4px 8px;
  color: #9a315d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-merchant-eyebrow svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.2px;
}

.home-merchant-visual {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-merchant-visual.visible {
  animation: home-merchant-in .52s cubic-bezier(.22, 1, .36, 1) both;
}

.home-merchant-visual img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-.45deg);
  filter: drop-shadow(0 10px 12px rgba(56, 25, 57, .12));
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}

.home-merchant-visual:hover img {
  transform: translateY(-2px) rotate(-.75deg);
}

.home-merchant-conversion {
  padding: 8px 4px 2px;
}

.home-merchant-copy {
  margin-bottom: 13px;
  text-align: left;
}

.home-merchant-copy h2 {
  margin: 0 0 4px;
  color: #241b28;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.home-merchant-copy p {
  margin: 0;
  color: #786e7e;
  font-size: 11px;
  line-height: 1.45;
}

.home-merchant-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 7px 8px 7px 17px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, .1), rgba(31, 20, 33, .13)),
    linear-gradient(135deg, #f50068, #8b2be2);
  box-shadow: 0 9px 22px rgba(207, 17, 119, .24);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-merchant-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(207, 17, 119, .3);
}

.home-merchant-cta:active {
  transform: scale(.985);
}

.home-merchant-cta-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.home-merchant-cta-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.3px;
}

.home-merchant-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 10px;
  color: #776c7b;
  font-size: 8.5px;
  font-weight: 750;
}

.home-merchant-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.home-merchant-meta svg {
  width: 10px;
  height: 10px;
  color: #16a455;
  stroke-width: 2.6px;
}

.home-trust-section {
  margin: 16px 14px 0;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  background: #140c19;
  box-shadow: 0 -8px 30px rgba(50, 27, 59, .08);
}

.home-trust-section .hts-hero {
  padding: 27px 20px 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 0, 95, .2), transparent 11rem),
    radial-gradient(circle at 8% 94%, rgba(109, 40, 217, .16), transparent 10rem),
    linear-gradient(150deg, #17101e 0%, #2b1536 100%);
}

.home-trust-section .hts-hero-inner {
  margin-bottom: 18px;
}

.home-trust-section .hts-brazil-chip {
  margin-bottom: 11px;
  padding: 4px 9px;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .62);
  font-size: 8.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-trust-section .hts-headline {
  margin-bottom: 9px;
  font-size: 30px;
  line-height: 1.04;
}

.home-trust-section .hts-subline {
  color: rgba(255, 255, 255, .58);
  font-size: 11.5px;
  line-height: 1.55;
}

.home-trust-section .hts-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.home-trust-section .hts-pill {
  justify-content: center;
  min-width: 0;
  padding: 7px 5px;
  border-color: rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .72);
  font-size: 8px;
  line-height: 1;
}

.home-trust-section .hts-pill-dot {
  display: none;
}

.home-trust-section .hts-pill svg {
  width: 11px !important;
  height: 11px !important;
}

.hts-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hts-stat {
  padding: 9px 4px 8px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, .045);
}

.hts-stat-value {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}

.hts-stat:nth-child(1) .hts-stat-value { color: #ff76aa; }
.hts-stat:nth-child(2) .hts-stat-value { color: #9f8cff; }
.hts-stat:nth-child(3) .hts-stat-value { color: #57df91; }

.hts-stat-label {
  margin-top: 5px;
  color: rgba(255, 255, 255, .52);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-trust-section .hts-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 11px;
  background: #fff;
}

.home-trust-section .hts-card {
  min-width: 0;
  min-height: 86px;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 10px;
  border: 1px solid rgba(45, 31, 51, .07);
  border-radius: 16px;
  background: #fbfafc;
}

.home-trust-section .hts-card:last-child {
  border-bottom: 1px solid rgba(45, 31, 51, .07);
}

.home-trust-section .hts-card:hover {
  opacity: 1;
  background: #fff;
  box-shadow: 0 6px 16px rgba(45, 31, 51, .07);
}

.home-trust-section .hts-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 9px rgba(40, 25, 48, .12);
}

.home-trust-section .hts-card-icon svg {
  width: 14px !important;
  height: 14px !important;
}

.home-trust-section .hts-card-body {
  min-width: 0;
  gap: 3px;
}

.home-trust-section .hts-card-body strong {
  color: #2b222f;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
}

.home-trust-section .hts-card-body span {
  color: #7b707f;
  font-size: 8.5px;
  line-height: 1.35;
}

.home-trust-section .hts-legal {
  padding: 17px 20px 20px;
  background: #100a14;
}

.home-trust-section .hts-legal-brand {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

.hts-legal-tagline {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .3);
  font-size: 9px;
}

.home-trust-section .hts-legal-links {
  margin-bottom: 8px;
}

.home-trust-section .hts-legal-links a {
  color: rgba(255, 255, 255, .46);
  font-size: 9.5px;
}

.home-trust-section .hts-legal-copy {
  color: rgba(255, 255, 255, .24);
  font-size: 8px;
}

body:has(#pwa-install-banner) .home-view {
  padding-bottom: 150px;
}

@media (min-width: 900px) {
  .home-merchant-section {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
    gap: 10px 26px;
    align-items: center;
    margin: 34px 0 0;
    padding: 20px;
  }

  .home-merchant-eyebrow {
    grid-column: 1 / -1;
  }

  .home-merchant-copy h2 {
    font-size: 24px;
  }

  .home-merchant-copy p {
    font-size: 12px;
  }

  .home-trust-section {
    margin-inline: 0;
    border-radius: 28px;
  }

  .home-trust-section .hts-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 14px 32px;
    align-items: center;
    padding: 34px;
  }

  .home-trust-section .hts-hero-inner {
    grid-row: 1 / 3;
    margin: 0;
  }

  .home-trust-section .hts-pills,
  .hts-stats {
    grid-column: 2;
  }

  .hts-stats {
    margin-top: 0;
  }

  .home-trust-section .hts-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 14px;
  }

  .home-trust-section .hts-card {
    min-height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-merchant-visual.visible {
    animation: none;
  }
}
}

/* Compact benefit grid at the end of Home. */
.home-trust-section .hts-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #f7f6f9;
}

.home-trust-section .hts-card,
.home-trust-section .hts-card:last-child {
  min-width: 0;
  min-height: 58px;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(43, 31, 49, .07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(43, 31, 49, .035);
}

.home-trust-section .hts-card:hover {
  opacity: 1;
  border-color: rgba(43, 31, 49, .11);
  box-shadow: 0 5px 13px rgba(43, 31, 49, .06);
}

.home-trust-section .hts-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  box-shadow: 0 4px 9px rgba(43, 31, 49, .11);
}

.home-trust-section .hts-card-icon svg {
  width: 14px !important;
  height: 14px !important;
}

.home-trust-section .hts-card-body {
  min-width: 0;
}

.home-trust-section .hts-card-body strong {
  color: #302736;
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.15;
}

.home-trust-section .hts-card-body span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 900px) {
  .home-trust-section .hts-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 14px;
  }

  .home-trust-section .hts-card,
  .home-trust-section .hts-card:last-child {
    min-height: 62px;
  }
}

/* Trust signals as one clean row instead of separate pills. */
.home-trust-section .hts-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  width: 100%;
}

.home-trust-section .hts-pill {
  flex: 0 0 auto;
  justify-content: center;
  min-width: 0;
  gap: 3px;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(7.25px, 2.15vw, 8.25px);
  line-height: 1.2;
}

.home-trust-section .hts-pill + .hts-pill {
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.home-trust-section .hts-pill:hover {
  border-color: rgba(255, 255, 255, .1);
  background: transparent;
}

.home-trust-section .hts-pill-dot {
  display: none;
}

.home-trust-section .hts-pill svg {
  width: 10px !important;
  height: 10px !important;
  stroke-width: 2.25px;
}

@media (max-width: 340px) {
  .home-trust-section .hts-pills {
    gap: 4px;
  }

  .home-trust-section .hts-pill + .hts-pill {
    padding-left: 5px;
  }
}
