/* SmartShope — página de descoberta local */
.city-discovery {
  --cd-ink: #20172a;
  --cd-muted: #786f82;
  --cd-purple: #6d37f5;
  --cd-pink: #ef236f;
  --cd-orange: #ff8a3d;
  --cd-lime: #c9f45a;
  --cd-green: #21a468;
  --cd-line: rgba(38, 22, 50, 0.09);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 0 54px;
  color: var(--cd-ink);
  font-family: 'Inter', sans-serif;
}

.city-discovery *,
.city-discovery *::before,
.city-discovery *::after {
  box-sizing: border-box;
}

.city-discovery button,
.city-discovery input {
  font: inherit;
}

.city-discovery button,
.city-discovery a {
  -webkit-tap-highlight-color: transparent;
}

.city-discovery button:focus-visible,
.city-discovery a:focus-visible,
.city-discovery input:focus-visible {
  outline: 3px solid rgba(109, 55, 245, 0.3);
  outline-offset: 3px;
}

.city-discovery .no-scrollbar {
  scrollbar-width: none;
}

.city-discovery .no-scrollbar::-webkit-scrollbar {
  display: none;
}

.cd-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  color: var(--cd-purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cd-kicker svg {
  width: 14px;
  height: 14px;
}

/* Hero */
.cd-hero {
  position: relative;
  min-height: 410px;
  margin: 0 0 26px;
  padding: 28px 30px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 38px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.21), transparent 28%),
    linear-gradient(138deg, #5c2fe0 0%, #7d35ea 40%, #de247b 100%);
  box-shadow: 0 24px 62px rgba(74, 35, 122, 0.24);
  color: #fff;
  isolation: isolate;
}

.cd-hero::after {
  position: absolute;
  right: -60px;
  bottom: -95px;
  z-index: -1;
  width: 310px;
  height: 310px;
  border: 52px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: '';
}

.cd-hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.cd-hero__orb--one {
  top: 108px;
  right: 25%;
  width: 70px;
  height: 70px;
  background: rgba(201, 244, 90, 0.82);
  box-shadow: 0 14px 35px rgba(31, 19, 50, 0.16);
  animation: cd-float 5s ease-in-out infinite;
}

.cd-hero__orb--two {
  right: 8%;
  bottom: 34px;
  width: 28px;
  height: 28px;
  background: #ffb249;
  animation: cd-float 4.2s 0.6s ease-in-out infinite reverse;
}

.cd-hero__route {
  position: absolute;
  top: 106px;
  right: 35px;
  z-index: -1;
  width: 34%;
  height: 190px;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  border-width: 2px 0 0 2px;
  border-radius: 90% 0 0;
  transform: rotate(-12deg);
  pointer-events: none;
}

.cd-hero__route span {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8c3adf;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
}

.cd-hero__route span:nth-child(1) { top: -5px; left: 38%; }
.cd-hero__route span:nth-child(2) { top: 30%; left: -5px; }
.cd-hero__route span:nth-child(3) { bottom: 22%; left: 20%; }
.cd-hero__route span:nth-child(4) { right: 8%; bottom: 0; }

.cd-hero__topline {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cd-location,
.cd-map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease;
}

.cd-location:hover,
.cd-map-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cd-location svg,
.cd-map-link svg {
  width: 15px;
  height: 15px;
}

.cd-location span {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin-top: 53px;
}

.cd-hero__copy .cd-kicker {
  color: var(--cd-lime);
}

.cd-hero__copy h1 {
  margin: 0;
  font: 900 clamp(38px, 5.4vw, 66px) / 0.92 'League Spartan', 'Outfit', sans-serif;
  letter-spacing: -0.048em;
}

.cd-hero__copy h1 em {
  position: relative;
  color: var(--cd-lime);
  font-style: normal;
  display: inline-block;
}

.cd-hero__copy h1 em::after {
  position: absolute;
  right: -2px;
  bottom: -1px;
  left: -2px;
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(90deg, #c9f45a 0%, #00f5d4 100%);
  content: '';
  transform: rotate(-1deg);
  box-shadow: 0 3px 12px rgba(201, 244, 90, 0.5);
  opacity: 0.95;
}

.cd-hero__copy > p:last-child {
  max-width: 450px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.cd-surprise-button {
  display: flex;
  position: absolute;
  right: 30px;
  bottom: 64px;
  z-index: 2;
  align-items: center;
  gap: 12px;
  width: min(310px, 32%);
  min-height: 74px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(43, 14, 61, 0.24);
  color: var(--cd-ink);
  text-align: left;
  cursor: pointer;
  transform: rotate(1deg);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease;
}

.cd-surprise-button:hover {
  box-shadow: 0 20px 45px rgba(43, 14, 61, 0.3);
  transform: rotate(-1deg) translateY(-4px);
}

.cd-walk-button .cd-surprise-button__icon {
  background: linear-gradient(135deg, #fb5607, #e9005f);
  box-shadow: 0 7px 16px rgba(233, 0, 95, 0.24);
}

.cd-surprise-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cd-surprise-button__icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff8a3d, #f63278);
  box-shadow: 0 7px 16px rgba(239, 35, 111, 0.25);
  color: #fff;
  place-items: center;
}

.cd-surprise-button__icon svg {
  width: 21px;
  height: 21px;
}

.cd-surprise-button > span:nth-child(2) {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.cd-surprise-button strong {
  font: 900 16px/1.1 'League Spartan', 'Inter', sans-serif;
}

.cd-surprise-button small {
  margin-top: 3px;
  color: var(--cd-muted);
  font-size: 10px;
  font-weight: 700;
}

.cd-surprise-button > svg {
  width: 18px;
  color: var(--cd-purple);
}

.cd-city-pulse {
  display: flex;
  position: absolute;
  bottom: 22px;
  left: 30px;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
}

.cd-city-pulse span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-city-pulse span + span::before {
  width: 1px;
  height: 17px;
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.22);
  content: '';
}

.cd-city-pulse strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.cd-city-pulse i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cd-lime);
  box-shadow: 0 0 0 5px rgba(201, 244, 90, 0.13);
}

/* Sections */
.cd-section {
  margin: 0 0 26px;
  padding: 25px;
  border: 1px solid var(--cd-line);
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 38px rgba(50, 30, 67, 0.055);
}

.cd-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.cd-section__heading h2,
.cd-passport h2,
.cd-local-cta h2,
.cd-surprise__sheet h2,
.cd-empty-state h1 {
  margin: 0;
  color: var(--cd-ink);
  font: 900 25px/1.05 'League Spartan', 'Outfit', sans-serif;
  letter-spacing: -0.025em;
}

.cd-section__heading > span {
  color: var(--cd-muted);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

/* Intents */
.cd-intents {
  overflow: hidden;
}

.cd-intent-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding: 3px 2px 8px;
  scroll-snap-type: x proximity;
}

.cd-intent {
  display: flex;
  min-width: 130px;
  min-height: 139px;
  padding: 14px;
  border: 1px solid var(--cd-line);
  border-radius: 21px;
  background: #faf9fb;
  color: var(--cd-ink);
  text-align: left;
  cursor: pointer;
  flex-direction: column;
  scroll-snap-align: start;
  transition: border-color 190ms ease, background 190ms ease, color 190ms ease, transform 190ms ease, box-shadow 190ms ease;
}

.cd-intent:hover {
  border-color: rgba(109, 55, 245, 0.25);
  transform: translateY(-3px);
}

.cd-intent > span {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: auto;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(39, 19, 56, 0.08);
  color: var(--cd-purple);
  place-items: center;
}

.cd-intent > span svg {
  width: 20px;
  height: 20px;
}

.cd-intent strong {
  margin-top: 14px;
  font: 850 14px/1.08 'Inter', sans-serif;
}

.cd-intent small {
  margin-top: 4px;
  color: var(--cd-muted);
  font-size: 10px;
  font-weight: 650;
}

.cd-intent.is-active {
  border-color: transparent;
  background: linear-gradient(150deg, #6d37f5, #8c3fe5);
  box-shadow: 0 12px 25px rgba(109, 55, 245, 0.24);
  color: #fff;
  transform: rotate(-1deg) translateY(-2px);
}

.cd-intent.is-active > span {
  background: var(--cd-lime);
  color: #44248b;
}

.cd-intent.is-active small {
  color: rgba(255, 255, 255, 0.72);
}

/* Passport */
.cd-passport {
  display: grid;
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) minmax(170px, 260px);
  align-items: center;
  gap: 20px;
  margin: 0 0 26px;
  padding: 22px 25px;
  overflow: hidden;
  border: 1px dashed rgba(79, 44, 99, 0.21);
  border-radius: 26px;
  background: linear-gradient(115deg, #fff6d9 0%, #fffdfa 52%, #f1ecff 100%);
  box-shadow: 0 11px 32px rgba(50, 30, 67, 0.055);
}

.cd-passport::before,
.cd-passport::after {
  position: absolute;
  left: 31%;
  width: 16px;
  height: 16px;
  border: 1px dashed rgba(79, 44, 99, 0.2);
  border-radius: 50%;
  background: #eeeaf2;
  content: '';
  transform: translateX(-50%);
}

.cd-passport::before { top: -9px; }
.cd-passport::after { bottom: -9px; }

.cd-passport__stamp {
  display: grid;
  width: 58px;
  height: 58px;
  border: 2px solid var(--cd-pink);
  border-radius: 50%;
  color: var(--cd-pink);
  opacity: 0.78;
  place-items: center;
  transform: rotate(-11deg);
}

.cd-passport__stamp svg {
  width: 25px;
  height: 25px;
}

.cd-passport h2 {
  font-size: 22px;
}

.cd-passport__copy > p:last-child {
  margin: 5px 0 0;
  color: var(--cd-muted);
  font-size: 11px;
  line-height: 1.45;
}

.cd-passport__progress {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.cd-passport__progress > div {
  height: 9px;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(109, 55, 245, 0.11);
}

.cd-passport__progress > div span {
  display: block;
  min-width: 5px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cd-purple), var(--cd-pink));
  transition: width 350ms ease;
}

.cd-passport__progress > strong {
  color: var(--cd-purple);
  font: 900 23px/1 'League Spartan', sans-serif;
}

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

/* Daily walk */
.cd-walk {
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 244, 90, 0.15), transparent 24%),
    #20172a;
  color: #fff;
}

.cd-walk .cd-kicker {
  color: var(--cd-lime);
}

.cd-walk .cd-section__heading h2 {
  color: #fff;
}

.cd-walk .cd-section__heading > span {
  color: rgba(255, 255, 255, 0.58);
}

.cd-walk__intro {
  margin: -9px 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.cd-walk__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cd-walk-stop {
  position: relative;
}

.cd-walk-stop:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 2;
  width: 13px;
  border-top: 2px dotted rgba(201, 244, 90, 0.55);
  content: '';
}

.cd-walk-stop button {
  display: grid;
  position: relative;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 87px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.cd-walk-stop button:hover {
  border-color: rgba(201, 244, 90, 0.36);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.cd-walk-stop__number {
  display: grid;
  width: 25px;
  height: 25px;
  border-radius: 9px;
  background: var(--cd-lime);
  color: #35245a;
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

.cd-walk-stop__number svg {
  width: 14px;
  height: 14px;
}

.cd-walk-stop img {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  object-fit: cover;
}

.cd-walk-stop__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.cd-walk-stop__copy small,
.cd-walk-stop__copy em {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-walk-stop__copy strong {
  margin: 2px 0 3px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-walk-stop__arrow {
  width: 16px;
  color: rgba(255, 255, 255, 0.35);
}

.cd-walk-stop.is-visited .cd-walk-stop__number {
  background: #fff;
  color: var(--cd-green);
}

/* Cards */
.cd-curated {
  overflow: hidden;
}

.cd-curated__rail {
  display: grid;
  grid-auto-columns: minmax(260px, 31%);
  grid-auto-flow: column;
  gap: 13px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
}

.cd-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 15px;
}

.cd-store-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cd-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(43, 26, 55, 0.055);
  scroll-snap-align: start;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.cd-store-card:hover {
  border-color: rgba(109, 55, 245, 0.2);
  box-shadow: 0 16px 36px rgba(43, 26, 55, 0.12);
  transform: translateY(-5px);
}

.cd-store-card__tap {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.cd-store-card__media {
  display: grid;
  position: relative;
  height: 152px;
  overflow: hidden;
  background: linear-gradient(135deg, #ddd4ff, #ffd8e7 58%, #ffe7b5);
  place-items: center;
}

.cd-store-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cd-store-card:hover .cd-store-card__media > img {
  transform: scale(1.05);
}

.cd-store-card__media--empty > svg {
  width: 42px;
  height: 42px;
  color: rgba(80, 40, 120, 0.35);
}

.cd-store-card__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 12, 34, 0.02), rgba(24, 12, 34, 0.34));
  pointer-events: none;
}

.cd-store-card__badges {
  display: flex;
  position: absolute;
  top: 11px;
  left: 11px;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 22px);
}

.cd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  padding: 5px 8px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(30, 17, 40, 0.12);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

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

.cd-badge--sponsored {
  background: rgba(31, 23, 42, 0.76);
  color: #fff;
}

.cd-badge--visited {
  background: rgba(255, 255, 255, 0.9);
  color: var(--cd-green);
}

.cd-store-card__status {
  display: inline-flex;
  position: absolute;
  right: 10px;
  bottom: 10px;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 100px;
  background: rgba(30, 22, 40, 0.76);
  color: rgba(255, 255, 255, 0.82);
  font-size: 8px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.cd-store-card__status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a59da9;
}

.cd-store-card__status.is-open {
  background: rgba(21, 72, 49, 0.84);
  color: #fff;
}

.cd-store-card__status.is-open > span {
  background: #6cf2a9;
  box-shadow: 0 0 0 4px rgba(108, 242, 169, 0.13);
}

.cd-store-card__body {
  position: relative;
  padding: 18px 17px 16px;
}

.cd-store-card__logo {
  position: absolute;
  top: -34px;
  left: 16px;
  width: 54px;
  height: 54px;
  border: 3px solid #fff;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(38, 20, 52, 0.14);
  object-fit: cover;
}

.cd-store-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 43px;
  margin-left: 65px;
}

.cd-store-card__heading > div {
  min-width: 0;
}

.cd-store-card__eyebrow {
  margin: 0 0 3px;
  overflow: hidden;
  color: var(--cd-purple);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cd-store-card h3 {
  margin: 0;
  overflow: hidden;
  color: var(--cd-ink);
  font: 900 17px/1.05 'League Spartan', 'Inter', sans-serif;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-store-card__arrow {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #f4f0fb;
  color: var(--cd-purple);
  place-items: center;
}

.cd-store-card__arrow svg {
  width: 15px;
  height: 15px;
}

.cd-store-card__description {
  display: -webkit-box;
  min-height: 34px;
  margin: 12px 0 10px;
  overflow: hidden;
  color: var(--cd-muted);
  font-size: 10.5px;
  font-weight: 550;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cd-store-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  overflow: hidden;
}

.cd-store-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 9px;
  background: #f8f6fa;
  color: var(--cd-muted);
  font-size: 8.5px;
  font-weight: 750;
  white-space: nowrap;
}

.cd-store-card__meta svg {
  width: 11px;
  height: 11px;
  color: var(--cd-purple);
}

.cd-store-card__meta span:first-child svg {
  color: #efa319;
  fill: currentColor;
}

.cd-store-card--compact .cd-store-card__media {
  height: 126px;
}

.cd-store-card--compact .cd-store-card__description {
  display: none;
}

.cd-store-card--compact .cd-store-card__body {
  min-height: 109px;
}

.cd-store-card--compact .cd-store-card__heading {
  margin-bottom: 14px;
}

/* Catalog and filters */
.cd-catalog {
  background: rgba(255, 255, 255, 0.92);
}

.cd-section__heading--catalog {
  margin-bottom: 15px;
}

.cd-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  margin-bottom: 11px;
  padding: 0 14px;
  border: 1px solid var(--cd-line);
  border-radius: 17px;
  background: #f8f7f9;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cd-search:focus-within {
  border-color: rgba(109, 55, 245, 0.42);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 55, 245, 0.08);
}

.cd-search > svg {
  flex: 0 0 auto;
  width: 19px;
  color: var(--cd-purple);
}

.cd-search input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0 !important;
  background: transparent;
  color: var(--cd-ink);
  font-size: 13px;
  font-weight: 650;
}

.cd-search input::placeholder {
  color: #9a929f;
}

.cd-search button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #ebe7ef;
  color: var(--cd-muted);
  cursor: pointer;
  place-items: center;
}

.cd-search button svg {
  width: 14px;
}

.cd-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -3px 16px;
  padding: 4px 3px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cd-filter {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  height: 38px;
  min-height: 38px;
  padding: 4px 13px 4px 5px;
  border: 1px solid rgba(45, 32, 52, 0.09);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  color: #3b3240;
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(42, 29, 49, 0.045);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.cd-filter svg {
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  padding: 7px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cd-item-color, #e9005f) 10%, #fff);
  stroke-width: 2.15px;
}

.cd-filter > span {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cd-green) 10%, #fff);
  box-shadow: none;
  place-items: center;
}

.cd-filter > span::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cd-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cd-green) 13%, transparent);
  content: '';
}

.cd-filter:hover {
  border-color: rgba(109, 55, 245, 0.3);
  color: var(--cd-purple);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(50, 30, 67, 0.08);
}

.cd-filter:active {
  transform: scale(0.96);
}

.cd-filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #6d37f5 0%, #8c3fe5 100%);
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(109, 55, 245, 0.35);
  transform: translateY(-1px) scale(1.02);
}

.cd-filter.is-open.is-active {
  border-color: var(--cd-green);
  background: #eaf8f1;
  color: #16764b;
}

.cd-no-results {
  display: flex;
  align-items: center;
  min-height: 310px;
  padding: 35px 18px;
  border: 1px dashed rgba(109, 55, 245, 0.22);
  border-radius: 22px;
  background: linear-gradient(145deg, #faf8ff, #fff8fb);
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.cd-no-results > span {
  display: grid;
  width: 65px;
  height: 65px;
  margin-bottom: 15px;
  border-radius: 22px;
  background: #eee7ff;
  color: var(--cd-purple);
  place-items: center;
  transform: rotate(-5deg);
}

.cd-no-results > span svg {
  width: 29px;
  height: 29px;
}

.cd-no-results h3 {
  margin: 0;
  font: 900 21px/1.1 'League Spartan', sans-serif;
}

.cd-no-results p {
  max-width: 340px;
  margin: 8px 0 18px;
  color: var(--cd-muted);
  font-size: 12px;
}

.cd-load-more {
  display: flex;
  justify-content: center;
  padding: 20px 0 1px;
}

.cd-load-more button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(109, 55, 245, 0.18);
  border-radius: 14px;
  background: #f3effd;
  color: var(--cd-purple);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.cd-load-more button:hover {
  background: #eae2ff;
}

.cd-load-more span {
  padding: 2px 6px;
  border-radius: 100px;
  background: #fff;
  font-size: 9px;
}

.cd-load-more svg {
  width: 14px;
  height: 14px;
}

/* Buttons and bottom CTA */
.cd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border: 0;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cd-button:hover {
  transform: translateY(-2px);
}

.cd-button svg {
  width: 15px;
  height: 15px;
}

.cd-button--primary {
  background: linear-gradient(135deg, var(--cd-purple), #8940dc);
  box-shadow: 0 9px 20px rgba(109, 55, 245, 0.22);
  color: #fff;
}

.cd-button--ghost {
  border: 1px solid var(--cd-line);
  background: #fff;
  color: var(--cd-ink);
}

body.cd-surprise-open {
  overflow: hidden;
}

.cd-match-cta {
  display: grid;
  position: relative;
  grid-template-columns: 165px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 150px;
  margin: 0 0 25px;
  padding: 22px 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 29px;
  background:
    radial-gradient(circle at 5% 90%, rgba(201, 244, 90, 0.18), transparent 23%),
    linear-gradient(126deg, #251a31, #43236d 62%, #6d37f5);
  box-shadow: 0 17px 40px rgba(50, 30, 67, 0.15);
  color: #fff;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cd-match-cta:hover {
  box-shadow: 0 22px 48px rgba(50, 30, 67, 0.22);
  transform: translateY(-3px);
}

.cd-match-cta::after {
  position: absolute;
  top: -48px;
  right: 15%;
  width: 145px;
  height: 145px;
  border: 25px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: '';
}

.cd-match-cta__cards {
  display: block;
  position: relative;
  width: 145px;
  height: 102px;
}

.cd-match-cta__cards svg {
  display: grid;
  position: absolute;
  width: 67px;
  height: 86px;
  padding: 21px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(16, 8, 22, 0.23);
  color: var(--cd-pink);
  transform-origin: 50% 110%;
}

.cd-match-cta__cards svg:nth-child(1) { left: 4px; bottom: 2px; transform: rotate(-15deg); }
.cd-match-cta__cards svg:nth-child(2) { left: 40px; bottom: 7px; z-index: 2; color: var(--cd-purple); }
.cd-match-cta__cards svg:nth-child(3) { right: 3px; bottom: 2px; color: var(--cd-orange); transform: rotate(15deg); }

.cd-match-cta__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.cd-match-cta__copy small {
  margin-bottom: 4px;
  color: var(--cd-lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cd-match-cta__copy strong {
  font: 900 29px/1 'League Spartan', sans-serif;
  letter-spacing: -0.025em;
}

.cd-match-cta__copy em {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.cd-match-cta__go {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 10px 15px;
  border-radius: 13px;
  background: var(--cd-lime);
  box-shadow: 0 9px 22px rgba(15, 9, 22, 0.18);
  color: #332251;
  font-size: 11px;
  font-weight: 900;
}

.cd-match-cta__go svg {
  width: 15px;
}

.cd-local-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding: 25px;
  border-radius: 28px;
  background: linear-gradient(125deg, #f2eaff, #ffe9f2 56%, #fff0d7);
  box-shadow: inset 0 0 0 1px rgba(109, 55, 245, 0.08);
}

.cd-local-cta > span {
  display: grid;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(50, 30, 67, 0.1);
  color: var(--cd-pink);
  place-items: center;
  transform: rotate(-4deg);
}

.cd-local-cta > span svg {
  width: 26px;
}

.cd-local-cta h2 {
  font-size: 23px;
}

.cd-local-cta div > p:last-child {
  margin: 5px 0 0;
  color: var(--cd-muted);
  font-size: 11px;
}

.cd-local-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 14px;
  background: var(--cd-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.cd-local-cta > a svg {
  width: 15px;
}

/* Surprise sheet */
.cd-surprise {
  --cd-ink: #20172a;
  --cd-muted: #786f82;
  --cd-purple: #6d37f5;
  --cd-pink: #ef236f;
  --cd-orange: #ff8a3d;
  --cd-lime: #c9f45a;
  --cd-green: #21a468;
  --cd-line: rgba(38, 22, 50, 0.09);
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 99990;
  padding: 22px;
  place-items: center;
  color: var(--cd-ink);
  font-family: 'Inter', sans-serif;
}

.cd-surprise *,
.cd-surprise *::before,
.cd-surprise *::after {
  box-sizing: border-box;
}

.cd-surprise button {
  font: inherit;
}

.cd-surprise__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(25, 15, 31, 0.66);
  cursor: default;
  backdrop-filter: blur(10px);
  animation: cd-fade-in 180ms ease both;
}

.cd-surprise__sheet {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100dvh - 44px);
  padding: 27px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 35px 90px rgba(20, 10, 28, 0.35);
  animation: cd-sheet-in 350ms cubic-bezier(0.18, 0.89, 0.32, 1.18) both;
}

.cd-surprise__sheet::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(90deg, var(--cd-purple), var(--cd-pink), var(--cd-orange), var(--cd-lime));
  content: '';
}

.cd-surprise__close {
  display: grid;
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--cd-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--cd-ink);
  cursor: pointer;
  place-items: center;
}

.cd-surprise__close svg {
  width: 17px;
}

.cd-surprise__sheet h2 {
  margin-bottom: 18px;
  font-size: 31px;
}

.cd-surprise__pick {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cd-line);
  border-radius: 22px;
  background: #faf9fb;
}

.cd-surprise__image {
  display: grid;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #ddd4ff, #ffd8e7, #ffe7b5);
  place-items: center;
}

.cd-surprise__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-surprise__image svg {
  width: 50px;
  color: rgba(80, 40, 120, 0.35);
}

.cd-surprise__logo {
  position: absolute;
  top: 155px;
  left: 20px;
  width: 64px;
  height: 64px;
  border: 4px solid #fff;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(30, 18, 40, 0.16);
  object-fit: cover;
}

.cd-surprise__pick > div:last-child {
  min-height: 128px;
  padding: 20px 20px 18px 99px;
}

.cd-surprise__pick > div:last-child > span {
  color: var(--cd-purple);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cd-surprise__pick h3 {
  margin: 3px 0 6px;
  font: 900 21px/1.05 'League Spartan', sans-serif;
}

.cd-surprise__pick p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.cd-surprise__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 14px;
}

.cd-surprise__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 13px 0 0;
  color: var(--cd-muted);
  font-size: 9px;
  font-weight: 650;
  text-align: center;
}

.cd-surprise__hint svg {
  width: 13px;
  color: var(--cd-green);
}

.cd-surprise__confetti span {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 15px;
  border-radius: 3px;
  pointer-events: none;
  animation: cd-confetti 800ms ease-out both;
}

.cd-surprise__confetti span:nth-child(1) { top: 15px; left: 13%; background: var(--cd-lime); transform: rotate(22deg); }
.cd-surprise__confetti span:nth-child(2) { top: 41px; left: 7%; background: var(--cd-pink); transform: rotate(-32deg); animation-delay: 70ms; }
.cd-surprise__confetti span:nth-child(3) { top: 18px; right: 18%; background: var(--cd-orange); transform: rotate(35deg); animation-delay: 110ms; }
.cd-surprise__confetti span:nth-child(4) { top: 61px; right: 10%; background: var(--cd-purple); transform: rotate(-21deg); animation-delay: 150ms; }
.cd-surprise__confetti span:nth-child(5) { top: 10px; left: 48%; background: #55ccef; transform: rotate(12deg); animation-delay: 30ms; }

/* Loading and empty */
.cd-hero--loading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.cd-loading-pill,
.cd-loading-title,
.cd-loading-copy,
.cd-loading-card span,
.cd-loading-card strong,
.cd-loading-card em {
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.28), rgba(255,255,255,.1));
  background-size: 200% 100%;
  animation: cd-shimmer 1.5s linear infinite;
}

.cd-loading-pill { width: 130px; height: 19px; }
.cd-loading-title { width: min(560px, 90%); height: 69px; margin-top: 24px; }
.cd-loading-copy { width: min(410px, 75%); height: 15px; margin-top: 20px; }

.cd-loading-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 45px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
}

.cd-loading-status svg { width: 17px; }

.cd-loading-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cd-loading-card {
  display: flex;
  height: 260px;
  padding: 14px;
  border: 1px solid var(--cd-line);
  border-radius: 24px;
  background: #fff;
  flex-direction: column;
}

.cd-loading-card span { width: 100%; height: 135px; border-radius: 16px; background-color: #eee9f1; }
.cd-loading-card strong { width: 66%; height: 17px; margin-top: 22px; background-color: #eee9f1; }
.cd-loading-card em { width: 88%; height: 11px; margin-top: 12px; background-color: #eee9f1; }

.cd-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(680px, calc(100dvh - 150px));
  padding: 50px 22px;
  border: 1px solid var(--cd-line);
  border-radius: 34px;
  background: radial-gradient(circle at 50% 30%, #f0e9ff, transparent 38%), #fff;
  text-align: center;
  flex-direction: column;
}

.cd-empty-state__art {
  display: grid;
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 26px;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--cd-purple), var(--cd-pink));
  box-shadow: 0 20px 45px rgba(109, 55, 245, 0.25);
  color: #fff;
  place-items: center;
  transform: rotate(-5deg);
}

.cd-empty-state__art svg { width: 48px; height: 48px; }
.cd-empty-state__art span { position: absolute; top: -15px; right: -12px; color: var(--cd-lime); font: 900 42px 'League Spartan'; transform: rotate(12deg); }
.cd-empty-state h1 { max-width: 580px; font-size: 36px; }
.cd-empty-state > p:not(.cd-kicker) { max-width: 490px; margin: 13px 0 22px; color: var(--cd-muted); font-size: 13px; line-height: 1.55; }
.cd-empty-state__actions { display: flex; gap: 9px; }

@keyframes cd-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(7deg); }
}

@keyframes cd-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cd-sheet-in {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cd-confetti {
  from { opacity: 0; translate: 0 -18px; scale: 0.3; }
  60% { opacity: 1; }
  to { opacity: 0.8; translate: 0 8px; scale: 1; }
}

@keyframes cd-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (max-width: 1050px) {
  .cd-hero__copy { max-width: 54%; }
  .cd-surprise-button { width: 36%; }
  .cd-intent-list { grid-template-columns: repeat(6, 145px); }
  .cd-walk__list { grid-template-columns: 1fr; }
  .cd-walk-stop:not(:last-child)::after { top: auto; right: auto; bottom: -12px; left: 31px; width: 0; height: 13px; border-top: 0; border-left: 2px dotted rgba(201, 244, 90, 0.55); }
  .cd-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-curated__rail { grid-auto-columns: minmax(270px, 43%); }
  .cd-loading-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .city-discovery { padding-top: 0; }
  .cd-hero { min-height: 500px; margin-right: -2px; margin-left: -2px; padding: 22px 20px 21px; border-radius: 0 0 34px 34px; }
  .cd-hero__copy { max-width: 92%; margin-top: 51px; }
  .cd-hero__copy h1 { font-size: clamp(40px, 12vw, 58px); }
  .cd-hero__copy > p:last-child { max-width: 88%; }
  .cd-hero__route { right: -25px; width: 46%; opacity: 0.65; }
  .cd-hero__orb--one { top: 128px; right: 9%; width: 52px; height: 52px; }
  .cd-surprise-button { right: 20px; bottom: 65px; left: 20px; width: auto; min-height: 70px; transform: none; }
  .cd-city-pulse { bottom: 21px; left: 21px; gap: 9px; }
  .cd-city-pulse span + span::before { margin-right: 5px; }
  .cd-section { padding: 20px 16px; border-radius: 25px; }
  .cd-section__heading { align-items: flex-start; }
  .cd-section__heading h2 { font-size: 23px; }
  .cd-section__heading > span { padding-top: 18px; }
  .cd-intents { margin-right: -1px; margin-left: -1px; }
  .cd-intent-list { margin-right: -16px; padding-right: 16px; }
  .cd-passport { grid-template-columns: auto 1fr; padding: 20px 17px; }
  .cd-passport::before, .cd-passport::after { display: none; }
  .cd-passport__progress { grid-column: 1 / -1; }
  .cd-passport__stamp { width: 52px; height: 52px; }
  .cd-walk__list { grid-template-columns: 1fr; }
  .cd-curated__rail { grid-auto-columns: minmax(260px, 78vw); margin-right: -16px; padding-right: 16px; }
  .cd-store-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cd-store-card__media { height: 135px; }
  .cd-store-card__body { padding: 17px 13px 13px; }
  .cd-store-card__logo { left: 12px; width: 50px; height: 50px; }
  .cd-store-card__heading { margin-left: 58px; }
  .cd-store-card__description { display: none; }
  .cd-store-card__meta span:nth-child(n + 3) { display: none; }
  .cd-local-cta { grid-template-columns: auto 1fr; padding: 21px 17px; }
  .cd-local-cta > a { grid-column: 1 / -1; justify-content: center; }
  .cd-match-cta { grid-template-columns: 105px minmax(0, 1fr); gap: 15px; min-height: 145px; padding: 20px 17px; }
  .cd-match-cta__cards { width: 100px; height: 85px; }
  .cd-match-cta__cards svg { width: 52px; height: 69px; padding: 16px; }
  .cd-match-cta__cards svg:nth-child(2) { left: 25px; }
  .cd-match-cta__copy strong { font-size: 24px; }
  .cd-match-cta__go { display: none; }
  .cd-surprise { align-items: end; padding: 10px; }
  .cd-surprise__sheet { width: 100%; max-height: calc(100dvh - 20px); padding: 24px 18px 20px; border-radius: 27px; }
}

@media (max-width: 480px) {
  .city-discovery .cd-map-link { width: 40px; padding: 0; font-size: 0; justify-content: center; }
  .cd-location { min-width: 0; max-width: calc(100% - 52px); }
  .cd-location span { max-width: 170px; }
  .cd-city-pulse { font-size: 9px; }
  .cd-city-pulse strong { font-size: 12px; }
  .cd-section__heading > span { max-width: 110px; white-space: normal; text-align: right; }
  .cd-passport h2 { font-size: 19px; }
  .cd-passport__stamp { width: 45px; height: 45px; }
  .cd-store-grid { grid-template-columns: 1fr; gap: 12px; }
  .cd-store-card__media { height: 162px; }
  .cd-store-card__description { display: -webkit-box; }
  .cd-store-card__meta span:nth-child(n + 3) { display: inline-flex; }
  .cd-store-card h3 { font-size: 18px; }
  .cd-curated__rail { grid-auto-columns: 84vw; }
  .cd-surprise__image { height: 166px; }
  .cd-surprise__logo { top: 133px; }
  .cd-surprise__pick > div:last-child { padding-left: 91px; }
  .cd-surprise__actions { grid-template-columns: 1fr; }
  .cd-local-cta > span { width: 50px; height: 50px; }
  .cd-match-cta { grid-template-columns: 74px minmax(0, 1fr); }
  .cd-match-cta__cards { width: 72px; }
  .cd-match-cta__cards svg { width: 43px; height: 61px; padding: 13px; }
  .cd-match-cta__cards svg:nth-child(2) { left: 15px; }
  .cd-match-cta__copy strong { font-size: 22px; }
  .cd-match-cta__copy em { font-size: 10px; }
  .cd-empty-state h1 { font-size: 30px; }
  .cd-loading-grid { grid-template-columns: 1fr; }
}

/* Clear exploration hierarchy: discovery tools first, store catalog second,
   optional game-like sections later. */
.city-discovery {
  display: flex;
  flex-direction: column;
}

.city-discovery .cd-hero { order: 0; }
.city-discovery .cd-intents { order: 1; }
.city-discovery .cd-catalog { order: 2; }
.city-discovery .cd-match-cta { order: 3; }
.city-discovery .cd-passport { order: 4; }
.city-discovery .cd-walk { order: 3; scroll-margin-top: 88px; }
.city-discovery .cd-curated { order: 6; }
.city-discovery .cd-local-cta { order: 7; }

@media (max-width: 760px) {
  .city-discovery {
    gap: 8px;
    padding-bottom: 100px;
  }

  .city-discovery .cd-hero {
    display: flex;
    min-height: 0;
    margin: 0;
    padding: 16px 16px 18px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    flex-direction: column;
    background:
      radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.22), transparent 35%),
      linear-gradient(138deg, #5227d8 0%, #7833ec 42%, #e51d74 100%);
    box-shadow: 0 14px 38px rgba(60, 24, 105, 0.2);
  }

  .cd-hero__route,
  .cd-hero__orb {
    display: none;
  }

  .cd-hero__topline {
    position: relative;
    z-index: 2;
  }

  .cd-location {
    min-height: 38px;
    padding: 7px 11px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    font-size: 13px;
    font-weight: 800;
  }

  .city-discovery .cd-map-link {
    width: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    font-size: 0;
  }

  .cd-hero__copy {
    max-width: 100%;
    margin-top: 14px;
  }

  .cd-hero__copy h1 {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .cd-surprise-button {
    position: static;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    margin-top: 14px;
    padding: 8px 12px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(35, 12, 55, 0.15);
    transform: none;
    transition: transform 0.18s ease, background 0.18s ease;
  }

  .cd-surprise-button:active {
    transform: scale(0.98);
  }

  .cd-surprise-button__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ff0077, #ff6b35);
    box-shadow: 0 4px 12px rgba(255, 0, 119, 0.25);
  }

  .cd-surprise-button__icon svg {
    width: 17px;
    height: 17px;
  }

  .cd-surprise-button strong {
    font-size: 14.5px;
    font-weight: 850;
    color: #1e1329;
  }

  .cd-surprise-button small {
    display: none;
  }

  .cd-surprise-button > svg {
    margin-left: auto;
    width: 18px;
    height: 18px;
    color: var(--cd-purple);
  }

  .cd-city-pulse {
    position: static;
    display: flex;
    align-items: center;
    margin-top: 12px;
    gap: 10px;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
  }

  .cd-city-pulse strong {
    font-size: 13px;
    font-weight: 900;
    color: #fff;
  }

  .cd-city-pulse i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9f45a;
    box-shadow: 0 0 0 4px rgba(201, 244, 90, 0.25);
  }

  .city-discovery .cd-section {
    margin: 0 8px;
    padding: 13px 12px;
    border-radius: 18px;
    box-shadow: 0 7px 22px rgba(50, 30, 67, .045);
  }

  .city-discovery .cd-intents {
    padding-bottom: 9px;
  }

  .cd-intents .cd-section__heading {
    margin-bottom: 8px;
  }

  .cd-intents .cd-section__heading .cd-kicker,
  .cd-intents .cd-section__heading > span {
    display: none;
  }

  .cd-intents .cd-section__heading h2 {
    font-size: 16px;
  }

  .cd-intent-list {
    display: flex;
    gap: 6px;
    margin: 0 -12px;
    padding: 1px 12px 3px;
  }

  .cd-intent {
    min-width: auto;
    min-height: 36px;
    padding: 5px 10px 5px 6px;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    flex-direction: row;
    white-space: nowrap;
  }

  .cd-intent > span {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin: 0;
    border-radius: 8px;
    box-shadow: none;
  }

  .cd-intent > span svg {
    width: 13px;
    height: 13px;
  }

  .cd-intent strong {
    margin: 0;
    font-size: 10px;
  }

  .cd-intent small {
    display: none;
  }

  .cd-intent.is-active {
    box-shadow: 0 6px 14px rgba(109, 55, 245, .18);
    transform: none;
  }

  .cd-catalog .cd-section__heading {
    align-items: center;
    margin-bottom: 10px;
  }

  .cd-catalog .cd-section__heading .cd-kicker {
    display: none;
  }

  .cd-catalog .cd-section__heading h2 {
    font-size: 20px;
  }

  .cd-catalog .cd-section__heading > span {
    padding: 0;
    font-size: 9px;
  }

  .cd-search {
    min-height: 43px;
    margin-bottom: 7px;
    padding: 0 10px;
    border-radius: 13px;
  }

  .cd-search input {
    height: 41px;
    font-size: 11px;
  }

  .cd-filter-row {
    gap: 5px;
    margin-bottom: 10px;
  }

  .cd-filter {
    min-height: 32px;
    padding: 5px 8px;
    border-radius: 10px;
    font-size: 9px;
  }

  .city-discovery .cd-passport,
  .city-discovery .cd-walk,
  .city-discovery .cd-curated,
  .city-discovery .cd-match-cta,
  .city-discovery .cd-local-cta {
    display: none;
  }

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

  .cd-store-card {
    border-radius: 15px;
  }

  .cd-store-card__media {
    height: 112px;
  }

  .cd-store-card__badges {
    top: 7px;
    left: 7px;
  }

  .cd-store-card__status {
    right: 7px;
    bottom: 7px;
    padding: 4px 6px;
    font-size: 7px;
  }

  .cd-store-card__body {
    min-height: 91px;
    padding: 11px 9px 10px;
  }

  .cd-store-card__logo {
    top: -25px;
    left: 9px;
    width: 40px;
    height: 40px;
    border-width: 2px;
    border-radius: 12px;
  }

  .cd-store-card__heading {
    min-height: 38px;
    margin-left: 45px;
  }

  .cd-store-card h3 {
    font-size: 14px;
  }

  .cd-store-card__eyebrow {
    font-size: 7px;
  }

  .cd-store-card__arrow,
  .cd-store-card__description {
    display: none;
  }

  .cd-store-card__meta {
    min-height: 20px;
    gap: 3px;
    margin-top: 5px;
  }

  .cd-store-card__meta span {
    padding: 4px 5px;
    font-size: 7px;
  }

  .cd-store-card__meta span:nth-child(n + 3) {
    display: none;
  }
}

/* Compact surprise card: fully usable above the mobile navigation, including
   short/landscape screens. */
body.cd-surprise-open #bottom-nav {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .cd-surprise {
    align-items: center;
    padding: 12px;
  }

  .cd-surprise__sheet {
    width: min(500px, 100%);
    max-height: calc(100dvh - 24px);
    padding: 17px 14px 14px;
    border-radius: 22px;
  }

  .cd-surprise__sheet::before {
    height: 5px;
    border-radius: 22px 22px 0 0;
  }

  .cd-surprise__close {
    top: 11px;
    right: 11px;
    width: 32px;
    height: 32px;
  }

  .cd-surprise__sheet .cd-kicker {
    max-width: calc(100% - 40px);
    margin-bottom: 3px;
    font-size: 8px;
  }

  .cd-surprise__sheet h2 {
    margin-bottom: 9px;
    font-size: 24px;
  }

  .cd-surprise__pick {
    border-radius: 16px;
  }

  .cd-surprise__image {
    height: 122px;
  }

  .cd-surprise__logo {
    top: 94px;
    left: 13px;
    width: 52px;
    height: 52px;
    border-width: 3px;
    border-radius: 15px;
  }

  .cd-surprise__pick > div:last-child {
    min-height: 82px;
    padding: 12px 12px 11px 76px;
  }

  .cd-surprise__pick h3 {
    margin: 2px 0 3px;
    font-size: 18px;
  }

  .cd-surprise__pick p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cd-surprise__actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    margin-top: 9px;
  }

  .cd-surprise__actions .cd-button {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .cd-surprise__hint {
    margin-top: 8px;
    font-size: 8px;
  }
}

@media (max-height: 520px) and (max-width: 760px) {
  .cd-surprise__sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    padding: 13px;
  }

  .cd-surprise__sheet > .cd-kicker,
  .cd-surprise__sheet > h2,
  .cd-surprise__sheet > .cd-surprise__pick {
    grid-column: 1 / -1;
  }

  .cd-surprise__sheet h2 {
    margin-bottom: 7px;
    font-size: 21px;
  }

  .cd-surprise__image {
    height: 105px;
  }

  .cd-surprise__logo {
    top: 80px;
  }

  .cd-surprise__pick > div:last-child {
    min-height: 66px;
    padding-top: 9px;
    padding-bottom: 8px;
  }

  .cd-surprise__pick p,
  .cd-surprise__hint {
    display: none;
  }

  .cd-surprise__actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-discovery *,
  .city-discovery *::before,
  .city-discovery *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Explorar v2: mesma linguagem cromática da Home e cards de loja mais legíveis. */
.city-discovery {
  --cd-ink: var(--text-main, #17131d);
  --cd-muted: var(--text-muted, #5f5968);
  --cd-purple: var(--primary, #e9005f);
  --cd-pink: var(--primary, #e9005f);
  --cd-orange: #fb5607;
  --cd-lime: #ffbe0b;
  --cd-green: var(--success, #16a34a);
  --cd-line: var(--border, rgba(23, 19, 29, 0.08));
}

.city-discovery button:focus-visible,
.city-discovery a:focus-visible,
.city-discovery input:focus-visible {
  outline-color: color-mix(in srgb, var(--primary, #e9005f) 35%, transparent);
}

.cd-hero {
  background:
    radial-gradient(circle at 88% 5%, rgba(255, 190, 11, 0.46), transparent 25%),
    radial-gradient(circle at 52% 120%, rgba(251, 86, 7, 0.34), transparent 42%),
    linear-gradient(132deg, #ff006e 0%, #d90c91 48%, #8338ec 100%);
  box-shadow: 0 24px 62px rgba(185, 18, 112, 0.24);
}

.cd-hero__orb--one {
  background: #ffbe0b;
}

.cd-hero__orb--two {
  background: #3a86ff;
}

.cd-hero__route span {
  background: #ff006e;
}

.cd-hero__copy h1 em,
.cd-hero__copy .cd-kicker {
  color: #ffde59;
}

.cd-hero__copy h1 em::after {
  background: linear-gradient(90deg, #ffbe0b, #fb5607);
  box-shadow: 0 3px 12px rgba(255, 190, 11, 0.42);
}

.cd-surprise-button__icon {
  background: linear-gradient(135deg, var(--primary, #e9005f), #fb5607);
  box-shadow: 0 8px 18px rgba(233, 0, 95, 0.24);
}

.cd-kicker,
.cd-search > svg {
  color: var(--primary, #e9005f);
}

.cd-intent {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--cd-item-color, #e9005f) 5%, #fff), #fff 62%);
}

.cd-intent:hover {
  border-color: color-mix(in srgb, var(--cd-item-color, #e9005f) 35%, transparent);
  box-shadow: 0 9px 20px color-mix(in srgb, var(--cd-item-color, #e9005f) 11%, transparent);
}

.cd-intent > span {
  background: color-mix(in srgb, var(--cd-item-color, #e9005f) 11%, #fff);
  color: var(--cd-item-color, #e9005f);
}

.cd-intent.is-active {
  border-color: transparent;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), rgba(31, 20, 33, 0.08) 48%, rgba(31, 20, 33, 0.27)),
    var(--cd-item-color, #e9005f);
  box-shadow: 0 10px 23px color-mix(in srgb, var(--cd-item-color, #e9005f) 29%, transparent);
  color: #fff;
  text-shadow: 0 1px 2px rgba(31, 20, 33, 0.28);
}

.cd-intent.is-active > span {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.17);
  color: #fff;
}

.cd-search:focus-within {
  border-color: color-mix(in srgb, var(--primary, #e9005f) 42%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary, #e9005f) 8%, transparent);
}

.cd-filter:not(.is-open) svg {
  color: var(--cd-item-color, var(--primary, #e9005f));
}

.cd-filter:hover {
  border-color: color-mix(in srgb, var(--cd-item-color, #e9005f) 34%, transparent);
  color: var(--cd-item-color, #e9005f);
}

.cd-filter.is-active:not(.is-open) {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), rgba(31, 20, 33, 0.08) 48%, rgba(31, 20, 33, 0.25)),
    var(--cd-item-color, #e9005f);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--cd-item-color, #e9005f) 27%, transparent);
  color: #fff;
  text-shadow: 0 1px 2px rgba(31, 20, 33, 0.25);
}

.cd-filter.is-active:not(.is-open) svg {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
}

.cd-filter.is-open.is-active > span {
  background: rgba(255, 255, 255, 0.62);
}

.cd-filter--open-toggle,
.cd-filter--open-toggle:hover,
.cd-filter--open-toggle.is-active,
.cd-filter--open-toggle.is-open.is-active {
  gap: 6px;
  height: 30px;
  min-height: 30px;
  padding: 0 10px 0 2px;
  border: 0;
  border-right: 1px solid rgba(45, 32, 52, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #5f5968;
  font-size: 9.5px;
  font-weight: 750;
  text-shadow: none;
  transform: none;
}

.cd-filter--open-toggle:hover {
  color: #16764b;
}

.cd-filter--open-toggle > span,
.cd-filter--open-toggle.is-active > span,
.cd-filter--open-toggle.is-open.is-active > span {
  display: block;
  position: relative;
  flex: 0 0 27px;
  width: 27px;
  height: 16px;
  border-radius: 100px;
  background: #dedbe1;
  box-shadow: inset 0 0 0 1px rgba(45, 32, 52, 0.06);
  transition: background 180ms ease;
}

.cd-filter--open-toggle > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(34, 24, 43, 0.22);
  content: '';
  transition: transform 180ms ease;
}

.cd-filter--open-toggle.is-active > span,
.cd-filter--open-toggle.is-open.is-active > span {
  background: var(--cd-green);
}

.cd-filter--open-toggle.is-active > span::after,
.cd-filter--open-toggle.is-open.is-active > span::after {
  transform: translateX(11px);
}

/* Marketplace-style discovery shelf: search, visual shortcuts and availability. */
.cd-market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.cd-market-head span {
  display: block;
  margin-bottom: 3px;
  color: var(--primary, #e9005f);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cd-market-head h2 {
  margin: 0;
  color: var(--cd-ink);
  font: 900 25px/1 'League Spartan', 'Outfit', sans-serif;
  letter-spacing: -0.025em;
}

.cd-market-head > svg {
  width: 42px;
  height: 42px;
  padding: 11px;
  border-radius: 14px;
  background: var(--primary-light, rgba(233, 0, 95, 0.09));
  color: var(--primary, #e9005f);
}

.cd-market-search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(45, 32, 52, 0.09);
  border-radius: 16px;
  background: #f8f7f9;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cd-market-search:focus-within {
  border-color: color-mix(in srgb, var(--primary, #e9005f) 38%, transparent);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary, #e9005f) 8%, transparent);
}

.cd-market-search > svg {
  flex: 0 0 18px;
  width: 18px;
  color: var(--primary, #e9005f);
}

.cd-market-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cd-ink);
  font-size: 12px;
  font-weight: 700;
}

.cd-market-search input::placeholder {
  color: #958e9b;
}

.cd-market-search button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #ebe7ef;
  color: var(--cd-muted);
  cursor: pointer;
  place-items: center;
}

.cd-market-search button svg {
  width: 13px;
}

.cd-market-categories {
  display: grid;
  grid-auto-columns: 66px;
  grid-auto-flow: column;
  gap: 8px;
  margin: 11px -2px 7px;
  padding: 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.cd-market-category {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #625969;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  scroll-snap-align: start;
}

.cd-market-category > span {
  display: grid;
  width: 43px;
  height: 43px;
  border: 1px solid color-mix(in srgb, var(--cd-item-color, #e9005f) 12%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--cd-item-color, #e9005f) 9%, #fff);
  box-shadow: 0 4px 11px rgba(42, 29, 49, 0.045);
  color: var(--cd-item-color, #e9005f);
  place-items: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cd-market-category svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1px;
}

.cd-market-category strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-market-category:hover > span {
  transform: translateY(-2px);
}

.cd-market-category.is-active > span {
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(31, 20, 33, 0.17)),
    var(--cd-item-color, #e9005f);
  box-shadow: 0 7px 15px color-mix(in srgb, var(--cd-item-color, #e9005f) 25%, transparent);
  color: #fff;
  transform: translateY(-2px);
}

.cd-market-category.is-active strong {
  color: var(--cd-item-color, #e9005f);
  font-weight: 900;
}

.cd-market-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 7px 2px 0;
  border-top: 1px solid rgba(45, 32, 52, 0.07);
}

.cd-market-results > span {
  color: var(--cd-muted);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.cd-market-results > span strong {
  color: var(--cd-ink);
  font-weight: 900;
}

.cd-market-results--count-only {
  min-height: 20px;
  justify-content: flex-end;
  padding-top: 4px;
}

.cd-market-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #625969;
  cursor: pointer;
}

.cd-market-open > span {
  display: block;
  position: relative;
  width: 27px;
  height: 16px;
  border-radius: 100px;
  background: #dedbe1;
  box-shadow: inset 0 0 0 1px rgba(45, 32, 52, 0.06);
  transition: background 180ms ease;
}

.cd-market-open > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(34, 24, 43, 0.22);
  content: '';
  transition: transform 180ms ease;
}

.cd-market-open strong {
  font-size: 10px;
  font-weight: 800;
}

.cd-market-open.is-active {
  color: #16764b;
}

.cd-market-open.is-active > span {
  background: var(--cd-green);
}

.cd-market-open.is-active > span::after {
  transform: translateX(11px);
}

.cd-store-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cd-store-card {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--cd-card-color, #e9005f) 13%, var(--cd-line));
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(43, 26, 55, 0.065);
}

.cd-store-card::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 52px;
  height: 3px;
  border-radius: 0 0 0 10px;
  background: var(--cd-card-color, #e9005f);
  content: '';
  pointer-events: none;
}

.cd-store-card:hover {
  border-color: color-mix(in srgb, var(--cd-card-color, #e9005f) 32%, transparent);
  box-shadow: 0 17px 36px color-mix(in srgb, var(--cd-card-color, #e9005f) 11%, rgba(43, 26, 55, 0.11));
}

.cd-store-card__tap {
  display: block;
  min-height: 0;
}

.cd-store-card__media,
.cd-store-card--compact .cd-store-card__media {
  height: 132px;
  min-height: 0;
}

.cd-store-card__media-shade {
  background: linear-gradient(180deg, rgba(24, 12, 34, 0.02), rgba(24, 12, 34, 0.48));
}

.cd-store-card__body,
.cd-store-card--compact .cd-store-card__body {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 11px 12px 10px;
  flex-direction: column;
}

.cd-store-card__brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cd-store-card__logo {
  position: static;
  width: 38px;
  height: 38px;
  border: 2px solid color-mix(in srgb, var(--cd-card-color, #e9005f) 18%, #fff);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(38, 20, 52, 0.12);
}

.cd-store-card__heading,
.cd-store-card--compact .cd-store-card__heading {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.cd-store-card__heading > div {
  min-width: 0;
}

.cd-store-card__eyebrow {
  color: var(--cd-card-color, #e9005f);
}

.cd-store-card__eyebrow-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.cd-store-card__eyebrow-line .cd-store-card__eyebrow {
  min-width: 0;
  margin-bottom: 3px;
}

.cd-store-card__availability {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
  color: #16804f;
  font-size: 7.5px;
  font-weight: 850;
  white-space: nowrap;
}

.cd-store-card__availability i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22b66d;
  box-shadow: 0 0 0 3px rgba(34, 182, 109, 0.11);
}

.cd-store-card__rating {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  margin-bottom: 3px;
  color: #7c697f;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.cd-store-card__rating svg {
  width: 9px;
  height: 9px;
  color: #f2aa19;
  fill: currentColor;
}

.cd-store-card h3 {
  font-size: 15px;
}

.cd-store-card__arrow {
  flex: none;
  background: color-mix(in srgb, var(--cd-card-color, #e9005f) 9%, #fff);
  color: var(--cd-card-color, #e9005f);
}

.cd-store-card__description,
.cd-store-card--compact .cd-store-card__description {
  display: none;
}

.cd-store-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin-top: auto;
}

.cd-store-card__meta {
  flex-wrap: nowrap;
  min-width: 0;
}

.cd-store-card__meta span {
  background: color-mix(in srgb, var(--cd-card-color, #e9005f) 5%, #faf9fb);
}

.cd-store-card__meta svg,
.cd-store-card__meta span:first-child svg {
  color: var(--cd-card-color, #e9005f);
  fill: none;
}

.cd-store-card__meta span:first-child svg {
  fill: currentColor;
}

.cd-store-card__cta {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  color: var(--cd-card-color, #e9005f);
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.cd-store-card__cta svg {
  width: 12px;
  height: 12px;
}

.cd-curated__rail {
  grid-auto-columns: minmax(235px, 28%);
}

.cd-store-card--compact .cd-store-card__tap {
  display: block;
  min-height: 0;
}

.cd-store-card--compact .cd-store-card__media {
  height: 116px;
  min-height: 0;
}

.cd-store-card--compact .cd-store-card__body {
  min-height: 0;
}

@media (max-width: 1050px) and (min-width: 761px) {
  .cd-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .city-discovery .cd-hero {
    background:
      radial-gradient(circle at 92% 4%, rgba(255, 190, 11, 0.42), transparent 31%),
      radial-gradient(circle at 45% 130%, rgba(251, 86, 7, 0.3), transparent 45%),
      linear-gradient(132deg, #ff006e 0%, #d90c91 48%, #8338ec 100%);
    box-shadow: 0 14px 38px rgba(185, 18, 112, 0.2);
  }

  .cd-hero__copy > p:last-child {
    max-width: 92%;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  .cd-intent.is-active {
    box-shadow: 0 6px 14px color-mix(in srgb, var(--cd-item-color, #e9005f) 24%, transparent);
  }

  .city-discovery .cd-catalog {
    padding: 11px 10px 10px;
  }

  .cd-catalog .cd-section__heading {
    margin-bottom: 7px;
  }

  .cd-catalog .cd-section__heading h2 {
    font-size: 18px;
  }

  .cd-catalog .cd-section__heading > span {
    font-size: 8px;
  }

  .cd-market-head {
    margin-bottom: 7px;
  }

  .cd-market-head span {
    margin-bottom: 2px;
    font-size: 6.5px;
  }

  .cd-market-head h2 {
    font-size: 18px;
  }

  .cd-market-head > svg {
    width: 30px;
    height: 30px;
    padding: 8px;
    border-radius: 10px;
  }

  .cd-market-search {
    height: 36px;
    padding: 0 9px;
    border-radius: 11px;
  }

  .cd-market-search > svg {
    flex-basis: 15px;
    width: 15px;
  }

  .cd-market-search input {
    height: 34px;
    font-size: 10px;
  }

  .cd-market-categories {
    grid-auto-columns: 51px;
    gap: 4px;
    margin: 7px -10px 5px;
    padding: 1px 10px;
    scroll-padding-inline: 10px;
  }

  .cd-market-category {
    gap: 3px;
  }

  .cd-market-category > span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .cd-market-category svg {
    width: 15px;
    height: 15px;
  }

  .cd-market-category strong {
    font-size: 7.3px;
  }

  .cd-market-results {
    min-height: 24px;
    padding-top: 5px;
  }

  .cd-market-open {
    gap: 6px;
  }

  .cd-market-open strong,
  .cd-market-results > span {
    font-size: 8px;
  }

  .cd-search {
    min-height: 35px;
    margin-bottom: 5px;
    padding: 0 9px;
    border-radius: 12px;
  }

  .cd-search > svg {
    width: 16px;
  }

  .cd-search input {
    height: 33px;
    font-size: 10px;
  }

  .cd-filter-row {
    gap: 6px;
    margin: 0 -2px 8px;
    padding: 2px;
  }

  .cd-filter {
    height: 32px;
    min-height: 32px;
    gap: 6px;
    padding: 3px 10px 3px 4px;
    border-radius: 100px;
    font-size: 9.5px;
  }

  .cd-filter svg {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    padding: 5.5px;
    border-radius: 8px;
  }

  .cd-filter--open-toggle,
  .cd-filter--open-toggle:hover,
  .cd-filter--open-toggle.is-active,
  .cd-filter--open-toggle.is-open.is-active {
    height: 28px;
    min-height: 28px;
    padding: 0 8px 0 1px;
    font-size: 8.5px;
  }

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

  .cd-store-card {
    border-radius: 17px;
  }

  .cd-store-card__tap {
    display: block;
    min-height: 0;
  }

  .cd-store-card__media,
  .cd-store-card--compact .cd-store-card__media {
    height: 96px;
    min-height: 0;
  }

  .cd-store-card__badges {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
  }

  .cd-badge {
    min-height: 21px;
    padding: 4px 6px;
    font-size: 6.5px;
  }

  .cd-store-card__status {
    right: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    padding: 4px 6px;
    overflow: hidden;
    font-size: 6.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cd-store-card__body,
  .cd-store-card--compact .cd-store-card__body {
    min-height: 0;
    padding: 8px 8px 7px;
  }

  .cd-store-card__brand {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
  }

  .cd-store-card__logo {
    top: auto;
    left: auto;
    width: 30px;
    height: 30px;
    border-width: 2px;
    border-radius: 9px;
  }

  .cd-store-card__heading,
  .cd-store-card--compact .cd-store-card__heading {
    min-height: 0;
    margin: 0;
  }

  .cd-store-card h3 {
    font-size: 13px;
  }

  .cd-store-card__eyebrow {
    font-size: 6.2px;
  }

  .cd-store-card__eyebrow-line {
    gap: 4px;
  }

  .cd-store-card__availability {
    gap: 3px;
    font-size: 6.2px;
  }

  .cd-store-card__availability i {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 0 2px rgba(34, 182, 109, 0.11);
  }

  .cd-store-card__rating {
    gap: 2px;
    font-size: 6.2px;
  }

  .cd-store-card__rating svg {
    width: 7px;
    height: 7px;
  }

  .cd-store-card__arrow {
    display: none;
  }

  .cd-store-card__arrow svg {
    width: 13px;
    height: 13px;
  }

  .cd-store-card__description,
  .cd-store-card--compact .cd-store-card__description {
    display: none;
  }

  .cd-store-card__footer {
    align-items: center;
  }

  .cd-store-card__meta {
    min-height: 19px;
    gap: 3px;
    margin: 0;
    flex-wrap: nowrap;
  }

  .cd-store-card__meta span {
    padding: 4px 5px;
    overflow: hidden;
    font-size: 6.5px;
    text-overflow: ellipsis;
  }

  .cd-store-card__meta span:nth-child(n + 2) {
    display: none;
  }

  .cd-store-card__cta {
    display: none;
  }
}

@media (max-width: 360px) {
  .cd-store-card__brand {
    grid-template-columns: 27px minmax(0, 1fr);
  }

  .cd-store-card__logo {
    width: 27px;
    height: 27px;
  }

  .cd-store-card__arrow {
    display: none;
  }
}

/* Hero location context: quieter hierarchy with a clear secondary map action. */
.city-discovery .cd-location {
  min-width: 0;
  min-height: 42px;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.city-discovery .cd-location:hover {
  background: transparent;
  transform: none;
}

.cd-location__icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  place-items: center;
}

.city-discovery .cd-location__icon svg {
  width: 15px;
  height: 15px;
}

.city-discovery .cd-location__copy {
  display: flex;
  min-width: 0;
  max-width: 230px;
  align-items: flex-start;
  gap: 1px;
  flex-direction: column;
}

.cd-location__copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.cd-location__copy strong {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-discovery .cd-location__chevron {
  width: 13px;
  height: 13px;
  margin-left: -3px;
  opacity: 0.72;
}

.city-discovery .cd-map-link {
  width: auto;
  min-width: 76px;
  min-height: 36px;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 10px;
  backdrop-filter: blur(12px);
}

.city-discovery .cd-map-link span {
  display: inline;
}

@media (max-width: 760px) {
  .city-discovery .cd-walk {
    display: block;
    margin: 0;
    padding: 18px 14px;
    border-radius: 22px;
  }

  .cd-walk .cd-section__heading {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .cd-walk .cd-section__heading h2 {
    font-size: 19px;
    line-height: 1.05;
  }

  .cd-walk .cd-section__heading > span {
    padding: 0;
    font-size: 8px;
  }

  .cd-walk__intro {
    margin: -3px 0 13px;
    font-size: 10px;
    line-height: 1.4;
  }

  .cd-walk__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cd-walk-stop:not(:last-child)::after {
    display: none;
  }

  .cd-walk-stop button {
    min-height: 66px;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 15px;
  }

  .cd-walk-stop img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .city-discovery .cd-location {
    max-width: calc(100% - 88px);
  }

  .city-discovery .cd-location__copy {
    max-width: min(190px, calc(100vw - 184px));
  }

  .city-discovery .cd-map-link {
    width: auto;
    min-width: 72px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 9px;
  }
}

/* Passeio de hoje as an editorial, swipeable trendbook. */
body.cd-walkbook-open {
  overflow: hidden;
}

.cd-walkbook {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: end;
  justify-items: center;
}

.cd-walkbook__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(20, 10, 29, 0.68);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.cd-walkbook__sheet {
  display: flex;
  position: relative;
  width: min(720px, 100%);
  height: min(780px, calc(100dvh - 22px));
  min-height: 0;
  padding: 14px 14px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px 30px 0 0;
  background: #f7f4f8;
  box-shadow: 0 -24px 70px rgba(25, 10, 37, 0.28);
  flex-direction: column;
  animation: cd-walkbook-enter 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes cd-walkbook-enter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.cd-walkbook__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 3px 11px;
}

.cd-walkbook__header > div {
  min-width: 0;
}

.cd-walkbook__header small {
  display: block;
  margin-bottom: 2px;
  color: #e9005f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cd-walkbook__header h2 {
  margin: 0;
  color: #211526;
  font: 900 25px/1 'League Spartan', 'Inter', sans-serif;
  letter-spacing: -0.025em;
}

.cd-walkbook__header > button {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(47, 28, 58, 0.08);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(34, 18, 44, 0.08);
  color: #34223c;
  cursor: pointer;
  place-items: center;
}

.cd-walkbook__header > button svg {
  width: 17px;
  height: 17px;
}

.cd-walkbook__rail {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 5px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.cd-walkbook__page {
  display: grid;
  position: relative;
  flex: 0 0 min(390px, 82%);
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cd-book-color, #e9005f) 18%, #e7dfe9);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(39, 20, 49, 0.13);
  grid-template-rows: minmax(230px, 1fr) auto;
  scroll-snap-align: start;
}

.cd-walkbook__media {
  display: grid;
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--cd-book-color, #e9005f) 32%, #35213e), #1f1525);
  place-items: center;
}

.cd-walkbook__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-walkbook__media > svg {
  width: 58px;
  height: 58px;
  color: rgba(255, 255, 255, 0.48);
}

.cd-walkbook__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 8, 22, 0.16), transparent 42%, rgba(17, 8, 22, 0.56));
  pointer-events: none;
}

.cd-walkbook__edition {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  background: rgba(24, 12, 31, 0.3);
  color: #fff;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.cd-walkbook__number {
  position: absolute;
  right: 14px;
  bottom: -7px;
  color: rgba(255, 255, 255, 0.92);
  font: 900 72px/0.75 'League Spartan', sans-serif;
  letter-spacing: -0.06em;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.22);
}

.cd-walkbook__content {
  display: grid;
  position: relative;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 11px;
  min-height: 190px;
  padding: 16px;
  align-content: start;
}

.cd-walkbook__logo {
  grid-row: 1;
  width: 48px;
  height: 48px;
  border: 2px solid color-mix(in srgb, var(--cd-book-color, #e9005f) 22%, #fff);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(36, 20, 44, 0.12);
  object-fit: cover;
}

.cd-walkbook__title {
  min-width: 0;
  align-self: center;
}

.cd-walkbook__title > span {
  display: block;
  margin-bottom: 2px;
  overflow: hidden;
  color: var(--cd-book-color, #e9005f);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cd-walkbook__title h3 {
  margin: 0;
  overflow: hidden;
  color: #211526;
  font: 900 23px/1 'League Spartan', 'Inter', sans-serif;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-walkbook__content > p {
  display: -webkit-box;
  grid-column: 1 / -1;
  min-height: 34px;
  margin: 2px 0 0;
  overflow: hidden;
  color: #796c7c;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cd-walkbook__actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.cd-walkbook__actions > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #746978;
  font-size: 9px;
  font-weight: 800;
}

.cd-walkbook__actions > span i {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa1ad;
}

.cd-walkbook__actions > span.is-open {
  color: #16804f;
}

.cd-walkbook__actions > span.is-open i {
  background: #22b66d;
  box-shadow: 0 0 0 3px rgba(34, 182, 109, 0.12);
}

.cd-walkbook__actions > button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 0;
  border-radius: 12px;
  background: #24152c;
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.cd-walkbook__actions > button svg {
  width: 13px;
  height: 13px;
}

.cd-walkbook__footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 8px 4px 0;
  color: #847787;
  font-size: 8px;
  font-weight: 750;
}

.cd-walkbook__footer span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cd-walkbook__footer svg {
  width: 13px;
  height: 13px;
  color: #e9005f;
}

.cd-walkbook__footer strong {
  color: #35263b;
  font-weight: 850;
}

@media (max-width: 520px) {
  .cd-walkbook__sheet {
    height: calc(100dvh - 58px);
    padding: 12px 10px 9px;
    border-radius: 26px 26px 0 0;
  }

  .cd-walkbook__page {
    flex-basis: 88%;
    border-radius: 22px;
    grid-template-rows: minmax(220px, 1fr) auto;
  }

  .cd-walkbook__content {
    min-height: 178px;
    padding: 14px;
  }

  .cd-walkbook__title h3 {
    font-size: 21px;
  }

  .cd-walkbook__number {
    font-size: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cd-walkbook__sheet {
    animation: none;
  }
}

/* Stories presentation for the daily walk. */
.cd-walkbook__sheet.cd-stories {
  display: block;
  position: relative;
  width: min(430px, 100%);
  height: min(820px, calc(100dvh - 18px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px 28px 0 0;
  background: #17101b;
  box-shadow: 0 -24px 80px rgba(13, 6, 18, 0.45);
  animation: cd-story-enter 180ms ease both;
}

@keyframes cd-story-enter {
  from { opacity: 0.65; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

.cd-stories__media,
.cd-stories__shade {
  position: absolute;
  inset: 0;
}

.cd-stories__media {
  display: grid;
  background: linear-gradient(145deg, color-mix(in srgb, var(--cd-story-color, #e9005f) 46%, #211329), #100b13);
  place-items: center;
}

.cd-stories__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: cd-story-image 7s linear both;
}

.cd-stories__media > svg {
  width: 66px;
  height: 66px;
  color: rgba(255, 255, 255, 0.45);
}

@keyframes cd-story-image {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

.cd-stories__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 7, 15, 0.58) 0%, rgba(12, 7, 15, 0.08) 28%, rgba(12, 7, 15, 0.12) 47%, rgba(12, 7, 15, 0.9) 82%, #120b16 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.cd-stories__chrome {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 6;
  padding: max(13px, env(safe-area-inset-top)) 13px 0;
}

.cd-stories__progress {
  display: flex;
  gap: 4px;
  width: 100%;
}

.cd-stories__progress > span {
  flex: 1 1 0;
  height: 3px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
}

.cd-stories__progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.cd-stories__progress .is-seen i {
  width: 100%;
}

.cd-stories__progress .is-active i {
  animation: cd-story-progress 7s linear both;
}

@keyframes cd-story-progress {
  from { width: 0; }
  to { width: 100%; }
}

.cd-stories__header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}

.cd-stories__header > img {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.cd-stories__header > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.cd-stories__header strong {
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-stories__header small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  font-weight: 650;
}

.cd-stories__header > button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 8, 19, 0.38);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  place-items: center;
}

.cd-stories__header > button svg {
  width: 18px;
  height: 18px;
}

.cd-stories__nav {
  position: absolute;
  top: 70px;
  bottom: 210px;
  z-index: 4;
  width: 50%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cd-stories__nav--prev {
  left: 0;
}

.cd-stories__nav--next {
  right: 0;
}

.cd-stories__nav:disabled {
  cursor: default;
}

.cd-stories__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  padding: 24px 19px max(16px, env(safe-area-inset-bottom));
  color: #fff;
  pointer-events: none;
}

.cd-stories__category {
  display: inline-block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

.cd-stories__category::before {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 7px;
  border-radius: 5px;
  background: var(--cd-story-color, #e9005f);
  box-shadow: 0 0 16px color-mix(in srgb, var(--cd-story-color, #e9005f) 60%, transparent);
  content: '';
  vertical-align: middle;
}

.cd-stories__content h2 {
  margin: 0;
  color: #fff;
  font: 900 clamp(31px, 9vw, 42px)/0.92 'League Spartan', 'Inter', sans-serif;
  letter-spacing: -0.045em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
}

.cd-stories__content > p {
  display: -webkit-box;
  max-width: 92%;
  margin: 10px 0 15px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cd-stories__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: auto;
}

.cd-stories__status {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 800;
}

.cd-stories__status i {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa2ad;
}

.cd-stories__status.is-open {
  color: #83f0b8;
}

.cd-stories__status.is-open i {
  background: #44df91;
  box-shadow: 0 0 0 4px rgba(68, 223, 145, 0.14);
}

.cd-stories__bottom button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: #24142b;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.cd-stories__bottom button svg {
  width: 14px;
  height: 14px;
}

.cd-stories__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  font-weight: 650;
}

.cd-stories__hint svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 520px) {
  .cd-walkbook__sheet.cd-stories {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .cd-stories__chrome {
    padding-right: 12px;
    padding-left: 12px;
  }

  .cd-stories__content {
    padding-right: 17px;
    padding-left: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cd-stories__media img,
  .cd-stories__progress .is-active i,
  .cd-walkbook__sheet.cd-stories {
    animation: none;
  }

  .cd-stories__progress .is-active i {
    width: 100%;
  }
}
